list-fixed-bugs: use argparse for the commandline
[glibc.git] / ChangeLog
blob183c55b1595627fd17697ebcdeaff070e78fe430
1 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4         (get_parser): New function.
5         (main): New function.
7 2015-12-29  Rob Wu  <rob@robwu.nl>
9         [BZ #19369]
10         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14         [BZ #19270]
15         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19         [BZ #15421]
20         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
22 2015-12-23  Torvald Riegel  <triegel@redhat.com>
24         [BZ #13690]
25         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
26         after releasing it.
27         (__lll_robust_unlock): Likewise.
28         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
30         (lll_robust_unlock): Likewise.
31         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
32         Prevent warnings in callers.
34 2015-12-23  Florian Weimer  <fweimer@redhat.com>
36         * malloc/arena.c (list_lock): Update comment.
38 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
40         * sysdeps/powerpc/hwcapinfo.c: Export symbol
41         __parse_hwcap_and_convert_at_platform to libc.a.
43 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
45         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
46         platform and feature support for POWER9.
47         * sysdeps/powerpc/dl-procinfo.h: Likewise.
48         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
49         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
50         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
51         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
52         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
53         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
54         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
56 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58         Harmonize generic stdio-lock support with nptl
60         This fixes build when _IO_funlockfile is a macro, fixes build where
61         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
62         stack unwind.
64         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
65         _IO_release_lock ): Use cleanup attribute on new
66         _IO_acquire_lock_file variable instead of assuming that
67         _IO_release_lock will be called.
68         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
69         _IO_acquire_lock_needs_exceptions_enabled.
70         (_IO_acquire_lock_clear_flags2): New macro.
72 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
74         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
76 2015-12-21  Florian Weimer  <fweimer@redhat.com>
78         [BZ #19182]
79         * malloc/arena.c (list_lock): Document lock ordering requirements.
80         (free_list_lock): New lock.
81         (ptmalloc_lock_all): Comment on free_list_lock.
82         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
83         (detach_arena): Update comment.  free_list_lock is now needed.
84         (_int_new_arena): Use free_list_lock around detach_arena call.
85         Acquire arena lock after list_lock.  Add comment, including FIXME
86         about incorrect synchronization.
87         (get_free_list): Switch to free_list_lock.
88         (reused_arena): Acquire free_list_lock around detach_arena call
89         and attached threads counter update.  Add two FIXMEs about
90         incorrect synchronization.
91         (arena_thread_freeres): Switch to free_list_lock.
92         * malloc/malloc.c (struct malloc_state): Update comments to
93         mention free_list_lock.
95 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
97         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
98         Remove functions.
99         (sloww, sloww1): Accept argument to offset quadrant.
100         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
101         quadrant.
102         (__sin, __cos): Consolidate common code into new functions.
103         (reduce_sincos_1, do_sincos_1): New functions.
104         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
107         code to new functions.
108         (reduce_sincos_2, do_sincos_2): New functions.
109         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
111         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
112         common code for sincos.
113         (__cos) [!IN_SINCOS]: Likewise.
114         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
115         New function.
116         (__sincos): Use it.
118 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
120         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
121         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
122         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
124 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
126         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
129         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
130         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
131         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
132         index_Prefer_No_VZEROUPPER): New feature.
133         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
134         Prefer_No_VZEROUPPER for Knights Landing.
136 015-12-18  Torvald Riegel  <triegel@redhat.com>
138         * math/atest-exp2.c (mp_exp_m1): Remove.
140 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
142         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
143         syscalls.
144         (__SYSCALL0): New macro.
145         (__SYSCALL1): Likewise.
146         (__SYSCALL2): Likewise.
147         (__SYSCALL3): Likewise.
148         (__SYSCALL4): Likewise.
149         (__SYSCALL5): Likewise.
150         (__SYSCALL6): Likewise.
151         (__SYSCALL_CONCAT_X): Likewise.
152         (__SYSCALL_CONCAT): Likewise.
153         (__SYSCALL_DIST): Likewise.
154         (__SYSCALL_CALL): Likewise.
156 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
158         [BZ #19363]
159         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
161 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
163         [BZ #19375]
164         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
165         negative subnormals.
167 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
170         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
171         (INTERNAL_SYSCALL_NCS): Use it.
172         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
174 2015-12-16  Florian Weimer  <fweimer@redhat.com>
176         [BZ #19243]
177         * malloc/arena.c (get_free_list): Remove assert and adjust
178         reference count handling.  Add comment about reused_arena
179         interaction.
180         (reused_arena): Add comments abount get_free_list interaction.
181         * malloc/tst-malloc-thread-exit.c: New file.
182         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
183         (tst-malloc-thread-exit): Link against libpthread.
185 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
187         [BZ #19367]
188         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
189         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
190         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
191         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
192         (index_Prefer_MAP_32BIT_EXEC): Likewise.
194 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
196         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
197         Silvermont optimizations for Knights Landing.
199 2015-12-15  Andreas Schwab  <schwab@suse.de>
201         [BZ #17197]
202         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
203         immediately after emitting SI.
204         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
205         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
206         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
207         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
208         * iconvdata/bug-iconv10.c: New file.
209         * iconvdata/Makefile (tests): Add bug-iconv10.
210         ($(objpfx)bug-iconv10.out): New rule.
212 2015-12-15  Florian Weimer  <fweimer@redhat.com>
214         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
215         aliasing violation.
217 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
219         [BZ #18472]
220         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
221         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
222         conditionals for them.
223         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
224         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
226         sys/kdaemon.h.
227         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
228         compat-only syscall, obsoleted in glibc 2.23.
229         (create_module): Likewise.
230         (get_kernel_syms): Likewise.
231         (query_module): Likewise.
232         (uselib): Likewise.
233         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
235 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
237         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
238         <linux/version.h>.
239         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
240         conditional code.
241         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
242         and ioshift_name initialization.
244 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
246         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
247         Fix indentation.
249 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
251         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
253 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
255         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
257 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
258             Jakub Wilk  <jwilk@debian.org>
260         [BZ #19347]
261         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
262         to change the group of the device to the tty group.
264 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
266         Split large string section; add truncation advice
267         * manual/examples/strncat.c: Remove.
268         This example was misleading, as the code would have undefined
269         behavior if "hello" was longer than SIZE.  Anyway, the manual
270         shouldn't encourage strncpy+strncat for this sort of thing.
271         * manual/string.texi (Copying Strings and Arrays): Split into
272         three sections Copying Strings and Arrays, Concatenating Strings,
273         and Truncating Strings, as this section was way too long.  All
274         cross-referenced changed.  Add advice about string-truncation
275         functions.  Remove misleading strncat example.
277 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
279         * manual/nss.texi (NSS Modules Interface): Document
280         NSS_STATUS_NOTFOUND and SUCCESS.
282 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
284         [BZ 18568]
285         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
286         201505L, for Unicode 8.
288 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
290         * locale/C-translit.h: Regenerate.
292 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
294         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
295         and U+0153.
297 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
299         [BZ #19351]
300         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
301         expanding log(1+z), compare z rather than its square with epsilon
302         to determine when to avoid evaluating the expansion.
304         [BZ #19350]
305         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
306         Increase overflow threshold.
308         [BZ #19349]
309         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
310         when small.
312         * sysdeps/unix/sysv/linux/i386/kernel-features.h
313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
314         New macro.
315         [__LINUX_KERNEL_VERSION >= 0x040300]
316         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
317         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
318         Likewise.
319         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
320         Likewise.
321         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
322         Likewise.
323         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
324         Likewise.
325         [__LINUX_KERNEL_VERSION >= 0x040300]
326         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
327         [__LINUX_KERNEL_VERSION >= 0x040300]
328         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
329         [__LINUX_KERNEL_VERSION >= 0x040300]
330         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
331         [__LINUX_KERNEL_VERSION >= 0x040300]
332         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
333         [__LINUX_KERNEL_VERSION >= 0x040300]
334         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
336         Likewise.
337         [__LINUX_KERNEL_VERSION >= 0x040300]
338         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
339         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
340         Likewise.
341         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
342         Likewise.
343         [__LINUX_KERNEL_VERSION >= 0x040300]
344         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
345         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
346         Likewise.
347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
348         Likewise.
349         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
350         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
351         Likewise.
352         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
353         Likewise.
354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
355         Likewise.
356         [__LINUX_KERNEL_VERSION >= 0x040300]
357         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
358         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
359         Likewise.
360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
361         Likewise.
362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
363         Likewise.
364         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
365         Likewise.
366         [__LINUX_KERNEL_VERSION >= 0x040300]
367         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
368         [__LINUX_KERNEL_VERSION >= 0x040300]
369         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
370         [__LINUX_KERNEL_VERSION >= 0x040300]
371         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
372         [__LINUX_KERNEL_VERSION >= 0x040300]
373         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
374         [__LINUX_KERNEL_VERSION >= 0x040300]
375         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
377         Likewise.
378         [__LINUX_KERNEL_VERSION >= 0x040300]
379         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
381         Likewise.
382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
383         Likewise.
384         [__LINUX_KERNEL_VERSION >= 0x040300]
385         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
386         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
387         Likewise.
388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
389         Likewise.
390         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
391         (__ASSUME_SOCKET_SYSCALL): Likewise.
392         (__ASSUME_BIND_SYSCALL): Likewise.
393         (__ASSUME_CONNECT_SYSCALL): Likewise.
394         (__ASSUME_LISTEN_SYSCALL): Likewise.
395         (__ASSUME_ACCEPT_SYSCALL): Likewise.
396         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
397         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
398         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
399         (__ASSUME_SEND_SYSCALL): Likewise.
400         (__ASSUME_SENDTO_SYSCALL): Likewise.
401         (__ASSUME_RECV_SYSCALL): Likewise.
402         (__ASSUME_RECVFROM_SYSCALL): Likewise.
403         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
404         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
405         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
406         (__ASSUME_SENDMSG_SYSCALL): Likewise.
407         (__ASSUME_RECVMSG_SYSCALL): Likewise.
408         * sysdeps/unix/sysv/linux/sh/kernel-features.h
409         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
410         Likewise.
411         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
412         Likewise.
413         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
414         Likewise.
415         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
416         Likewise.
417         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
418         Likewise.
419         [__LINUX_KERNEL_VERSION >= 0x020625]
420         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
421         [__LINUX_KERNEL_VERSION >= 0x020625]
422         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
423         [__LINUX_KERNEL_VERSION >= 0x020625]
424         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
426         Likewise.
427         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
428         Likewise.
429         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
430         Likewise.
431         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
432         Likewise.
433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
434         Likewise.
435         [__LINUX_KERNEL_VERSION >= 0x020625]
436         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
437         [__LINUX_KERNEL_VERSION >= 0x020625]
438         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
439         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
440         Likewise.
441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
442         Likewise.
444 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
446         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
447         record the current if the current ABI and CPU support the FP64
448         extension.
449         (has-modd-spreg): Define to record the current if the current ABI and
450         CPU support 32-bit floating point values in odd FPU registers.
451         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
452         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
453         $(has-modd-spreg) equals yes.
454         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
455         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
456         $(has-modd-spreg) equal yes.
458 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
460         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
461         basename.
463 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
465         * benchtests/Makefile (bench-math): Move ffs and ffsll...
466         (bench-string): ... here.
467         (bench): Add bench-string.
468         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
469         to *-benchset to reflect what they are.
470         (benchset): Adjust.
472         * benchtests/sincos-inputs: Add inputs from sin-inputs and
473         cos-inputs.
475 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
477         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
478         __attribute__ ((__simd__)) for vector math function declarations.
480 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
482         Fix typo in strncat, wcsncat manual entries
483         * manual/string.texi (Copying and Concatenation): Fix typos in
484         sample implementations of strncat and wcsncat, by having them use
485         the old value of the destination length, not the new one.
487 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
489         [BZ #16961]
490         [BZ #16962]
491         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
492         string on the stack for strtod.
493         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
494         a string on the stack for strtof.
495         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
496         constructing a string on the stack for strtold.
497         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
498         __strtold_nan to GLIBC_PRIVATE.
499         * math/test-nan-overflow.c: New file.
500         * math/test-nan-payload.c: Likewise.
501         * math/Makefile (tests): Add test-nan-overflow and
502         test-nan-payload.
504 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
506         Consistency about byte vs character in string.texi
507         * manual/string.texi (String and Array Utilities):
508         Distinguish more carefully among bytes, multibyte characters,
509         and wide characters.  Use "byte" when talking about C 'char',
510         to distinguish it more clearly from multibyte characters.
511         Say "wide character" or "multibyte character" instead of
512         "character", when a wide or multibyte character is intended.
513         Similarly for "multibyte string" versus "string".
514         Define these terms more carefully.
516 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
518         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
519         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
520         Likewise.
521         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
522         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
523         * sysdeps/sh/math_private.h: New file.
524         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
525         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
526         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
527         long double function name.
528         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
529         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
530         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
531         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
532         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
534         Remove __finitel, __isinfl, and __isnanl.
535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
536         Likewise.
537         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
539         Remove __finitel.
540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
541         Likewise.
542         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
544 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
546         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
547         installed libmvec_nonshared.a.
549 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
551         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
552         (sysdep_routines): Likewise.
553         (sysdep-rtld-routines): Likewise.
554         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
555         [$(subdir) = nptl](tests-static): test-get_hwcap-static
556         * sysdeps/powerpc/Versions: Added new
557         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
558         * sysdeps/powerpc/hwcapinfo.c: New file.
559         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
560         and parse hwcap, hwcap2 and platform number information.
561         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
562         to store HWCAP+HWCAP2 and platform number.
563         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
564         for HWCAP+HWCAP2 and platform number in the TCB.
565         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
566         the HWCAP, HWCAP2 and platform number in the TCB.
567         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
568         (TLS_INIT_TP): Included calls to add the hwcap and
569         at_platform values in the TCB in TP initialization.
570         (TLS_DEFINE_INIT_TP): Likewise.
571         (THREAD_GET_HWCAP): New macro.
572         (THREAD_SET_HWCAP): Likewise.
573         (THREAD_GET_AT_PLATFORM): Likewise.
574         (THREAD_SET_AT_PLATFORM): Likewise.
575         * sysdeps/powerpc/powerpc32/dl-machine.h:
576         (dl_platform_init): New function that calls
577         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
578         powerpc32.
579         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
580         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
581         this functionality, static linking case.
582         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
583         linking case.
584         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
585         __parse_hwcap_and_convert_at_platform for the static linking case.
586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
587         Included the new __parse_hwcap_and_convert_at_platform symbol in the
588         ABI list for GLIBC 2.23.
589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
590         Likewise.
591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
592         Likewise.
594 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
596         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
597         * configure: Regenerate.
598         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
599         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
601 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
603         * iconvdata/ibm930.c: Add comment explaining encoding uses.
604         * iconvdata/ibm933.c: Likewise.
605         * iconvdata/ibm935.c: Likewise.
606         * iconvdata/ibm937.c: Likewise.
607         * iconvdata/ibm939.c: Likewise.
609 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
611         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
612         pthread_join.
613         * nptl/tst-cancel21.c (tf): Likewise.
615 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
617         [BZ #19313]
618         * bits/typesizes.h (__CPU_MASK_TYPE): New.
619         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
620         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
621         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
622         Likewise.
623         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
624         Likewise.
625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
626         Likewise.
627         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
628         Likewise.
629         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
630         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
631         unsigned long int with __CPU_MASK_TYPE.
633 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
635         * sysdeps/aarch64/libm-test-ulps: Regenerated.
637 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
639         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
640         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
641         t512.x.
642         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
644 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
646         [BZ #19214]
647         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
648         argument to return extended model.  Update family and model
649         with extended family and model when family == 0x0f.
650         (init_cpu_features): Updated.
652 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
654         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
655         signed off_t, so 32bit bigger than 2GiB values are fine actually.
657         * sysdeps/mach/hurd/mmap64.c: New file.
659 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
661         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
662         rights for its main user thread in NEWTASK.
664 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
666         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
667         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
669 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
671         [BZ #14259]
672         * Makeconfig: Rename localedir to complocaledir.
673         Rename inst_localedir to inst_complocaledir.
674         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
675         * config.make.in: Use complocaledir and libc_cv_complocaledir.
676         * configure.ac: Use libc_cv_complocaledir.
677         * configure: Regenerate.
678         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
679         -DCOMPLOCALEDIR.
680         * locale/findlocale.c: Use COMPLOCALEDIR.
681         * locale/loadarchive.c: Likewise.
682         * locale/programs/locale.c: Likewise.
683         * locale/programs/localedef.c: Likewise.
684         * locale/programs/locarchive.c: Likewise.
685         * localedata/Makefile: Use inst_complocaledir.
686         * sysdeps/gnu/configure: Regenerate.
687         * sysdeps/hppa/configure: Regenerate.
688         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
689         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
691         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
692         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
693         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
694         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
696 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
698         [BZ #19058]
699         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
700         AS_NEEDED.
701         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
702         workaround.
703         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
704         libmvec-static-only-routines): Added new file.
705         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
707 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
709         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
710         of interrupted RPC instead of restoring it.
712         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
713         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
714         libc_hidden_def.
715         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
716         into initialized data instead of common. Define rtld_hidden_data_def.
717         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
718         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
719         libc_hidden_def.
720         (if_freenameindex): Add libc_hidden_weak.
721         (if_nameindex): Add libc_hidden_weak.
722         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
723         __open64.
724         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
725         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
726         * sysdeps/mach/nanosleep.c: Include <time.h>
727         (__nanosleep): Rename to __libc_nanosleep.
728         (__nanosleep): Add weak_alias.
729         (nanosleep): Update alias.
731 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
733         * stdlib/strtod_nan.c: New file.
734         * stdlib/strtod_nan_double.h: Likewise.
735         * stdlib/strtod_nan_float.h: Likewise.
736         * stdlib/strtod_nan_main.c: Likewise.
737         * stdlib/strtod_nan_narrow.h: Likewise.
738         * stdlib/strtod_nan_wide.h: Likewise.
739         * stdlib/strtof_nan.c: Likewise.
740         * stdlib/strtold_nan.c: Likewise.
741         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
742         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
743         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
744         * wcsmbs/wcstod_nan.c: Likewise.
745         * wcsmbs/wcstof_nan.c: Likewise.
746         * wcsmbs/wcstold_nan.c: Likewise.
747         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
748         strtold_nan.
749         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
750         wcstof_nan.
751         * include/stdlib.h (__strtof_nan): Declare and use
752         libc_hidden_proto.
753         (__strtod_nan): Likewise.
754         (__strtold_nan): Likewise.
755         (__wcstof_nan): Likewise.
756         (__wcstod_nan): Likewise.
757         (__wcstold_nan): Likewise.
758         * include/wchar.h (____wcstoull_l_internal): Declare.
759         * stdlib/strtod_l.c: Do not include <ieee754.h>.
760         (____strtoull_l_internal): Remove declaration.
761         (STRTOF_NAN): Define macro.
762         (SET_MANTISSA): Remove macro.
763         (STRTOULL): Likewise.
764         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
765         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
766         (STRTOF_NAN): Define macro.
767         (SET_MANTISSA): Remove macro.
768         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
769         (SET_MANTISSA): Remove macro.
770         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
771         macro.
772         (SET_MANTISSA): Remove macro.
773         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
774         macro.
775         (SET_MANTISSA): Remove macro.
776         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
777         (SET_MANTISSA): Remove macro.
778         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
779         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
780         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
782         [BZ #19266]
783         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
784         upper case and lower case letters inside NAN(), not using TOLOWER.
785         * stdlib/tst-strtod-nan-locale-main.c: New file.
786         * stdlib/tst-strtod-nan-locale.c: Likewise.
787         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
788         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
789         Depend on $(gen-locales).
790         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
791         * wcsmbs/tst-wcstod-nan-locale.c: New file.
792         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
793         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
794         Depend on $(gen-locales).
795         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
797 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
799         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
801         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
803         __finitel, __isinfl, and __isnanl.
804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
805         Likewise.
806         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
808         __finitel.
809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
810         Likewise.
811         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
813 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
815         * malloc/memusage.c (me): Remove redundant getenv call.
817 2015-10-24  Florian Weimer  <fweimer@redhat.com>
819         [BZ #19143]
820         [BZ #19164]
821         * nptl/check-cpuset.h: Remove.
822         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
823         Remove CPU set size check.
824         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
825         Likewise.
826         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
827         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
828         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
829         (__pthread_setaffinity_new): Remove CPU set size check.
830         * sysdeps/unix/sysv/linux/sched_setaffinity.c
831         (__kernel_cpumask_size): Remove.
832         (__sched_setaffinity_new): Remove CPU set size check.
833         * manual/threads.texi (Default Thread Attributes): Remove stale
834         reference to check_cpuset_attr, determine_cpumask_size in comment.
835         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
836         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
837         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
838         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
839         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
840         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
841         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
842         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
843         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
844         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
845         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
846         skeleton test file.
847         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
848         tst-affinity-pid.
850 2015-11-24  Florian Weimer  <fweimer@redhat.com>
852         * scripts/update-abilist.sh: New file.
853         * Makefile (+subdir_targets): Add subdir_update-all-abi.
854         * Makerules (update-all-abi-%, update-all-abi)
855         (subdir_update-all-abi): New targets.
856         * elf/Makefile (update-all-abi): New target.
858 2015-11-24  Florian Weimer  <fweimer@redhat.com>
860         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
861         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
862         (__libc_lock_define_initialized): Use it.
863         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
864         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
865         * malloc/malloc.c (main_arena): Likewise.
866         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
867         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
869 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
871         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
872         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
873         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
874         (PTRACE_O_MASK): Update value.
875         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
876         New value in enum __ptrace_setoptions.
877         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
878         (PTRACE_O_MASK): Update value.
879         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
880         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
881         (PTRACE_O_MASK): Update value.
882         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
883         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
884         (PTRACE_O_MASK): Update value.
885         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
886         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
887         (PTRACE_O_MASK): Update value.
888         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
889         New value in enum __ptrace_setoptions.
890         (PTRACE_O_MASK): Update value.
891         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
892         New value in enum __ptrace_setoptions.
893         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
894         (PTRACE_O_MASK): Update value.
896         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
897         New macro.
898         (PACKET_AUXDATA): Likewise.
899         (PACKET_ORIGDEV): Likewise.
900         (PACKET_VERSION): Likewise.
901         (PACKET_HDRLEN): Likewise.
902         (PACKET_RESERVE): Likewise.
903         (PACKET_TX_RING): Likewise.
904         (PACKET_LOSS): Likewise.
905         (PACKET_VNET_HDR): Likewise.
906         (PACKET_TX_TIMESTAMP): Likewise.
907         (PACKET_TIMESTAMP): Likewise.
908         (PACKET_FANOUT): Likewise.
909         (PACKET_TX_HAS_OFF): Likewise.
910         (PACKET_QDISC_BYPASS): Likewise.
911         (PACKET_ROLLOVER_STATS): Likewise.
912         (PACKET_FANOUT_DATA): Likewise.
913         (PACKET_MR_UNICAST): Likewise.
915         [BZ #19242]
916         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
917         (TOUPPER): Likewise.
918         * stdlib/tst-strtol-locale-main.c: New file.
919         * stdlib/tst-strtol-locale.c: Likewise.
920         * stdlib/Makefile (tests): Add tst-strtol-locale.
921         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
922         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
923         Depend on $(gen-locales).
924         * wcsmbs/tst-wcstol-locale.c: New file.
925         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
926         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
927         tr_TR.ISO-8859-9.
928         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
929         Depend on $(gen-locales).
931 2015-11-20  Roland McGrath  <roland@hack.frob.com>
933         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
934         __glibc_likely instead of __builtin_expect.  After falling back to
935         dyncode_create in a non-ET_DYN case, use the allocate_code_data
936         system interface to register the code pages as occupied.
938 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
940         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
941         [!ARM_MATH_PRIVATE_H].
942         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
943         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
944         [!HPPA_MATH_PRIVATE_H].
945         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
946         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
947         to [!I386_MATH_PRIVATE_H].
948         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
949         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
950         Change guard to [!M68K_MATH_PRIVATE_H].
951         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
952         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
953         guard to [!MICROBLAZE_MATH_PRIVATE_H].
954         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
955         macro.
956         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
957         [!MIPS_MATH_PRIVATE_H].
958         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
959         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
960         [!NIO2_MATH_PRIVATE_H].
961         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
962         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
963         [!TILE_MATH_PRIVATE_H].
964         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
966         [BZ #15421]
967         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
968         initialize with 0 and define as weak alias of __signgam.
969         * include/math.h [!_ISOMAC] (__signgam): Declare.
970         * math/Makefile (libm-calls): Add w_lgamma_compat.
971         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
972         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
973         test-signgam-ullong-init.
974         (tests-static): Add test-signgam-uchar-static,
975         test-signgam-uchar-init-static, test-signgam-uint-static,
976         test-signgam-uint-init-static, test-signgam-ullong-static and
977         test-signgam-ullong-init-static.
978         (CFLAGS-test-signgam-uchar.c): New variable.
979         (CFLAGS-test-signgam-uchar-init.c): Likewise.
980         (CFLAGS-test-signgam-uchar-static.c): Likewise.
981         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
982         (CFLAGS-test-signgam-uint.c): Likewise.
983         (CFLAGS-test-signgam-uint-init.c): Likewise.
984         (CFLAGS-test-signgam-uint-static.c): Likewise.
985         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
986         (CFLAGS-test-signgam-ullong.c): Likewise.
987         (CFLAGS-test-signgam-ullong-init.c): Likewise.
988         (CFLAGS-test-signgam-ullong-static.c): Likewise.
989         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
990         * math/Versions (libm): Add GLIBC_2.23.
991         * math/lgamma-compat.h: New file.
992         * math/test-signgam-main.c: Likewise.
993         * math/test-signgam-uchar-init-static.c: Likewise.
994         * math/test-signgam-uchar-init.c: Likewise.
995         * math/test-signgam-uchar-static.c: Likewise.
996         * math/test-signgam-uchar.c: Likewise.
997         * math/test-signgam-uint-init-static.c: Likewise.
998         * math/test-signgam-uint-init.c: Likewise.
999         * math/test-signgam-uint-static.c: Likewise.
1000         * math/test-signgam-uint.c: Likewise.
1001         * math/test-signgam-ullong-init-static.c: Likewise.
1002         * math/test-signgam-ullong-init.c: Likewise.
1003         * math/test-signgam-ullong-static.c: Likewise.
1004         * math/test-signgam-ullong.c: Likewise.
1005         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1006         wrapper of w_lgamma_main.c.
1007         * math/w_lgamma_compat.c: New file.
1008         * math/w_lgamma_compatf.c: Likewise.
1009         * math/w_lgamma_compatl.c: Likewise.
1010         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1011         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1012         defining compatibility symbols.
1013         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1014         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1015         wrapper of w_lgammaf_main.c.
1016         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1017         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1018         defining compatibility symbols.
1019         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1020         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1021         wrapper of w_lgammal_main.c.
1022         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1023         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1024         defining compatibility symbols.
1025         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1026         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1027         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1028         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1029         <lgamma-compat.h>.
1030         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1031         (__ieee754_gamma): Define as alias.
1032         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1033         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1034         <lgamma-compat.h>.
1035         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1036         (__ieee754_gammaf): Define as alias.
1037         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1038         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1039         <lgamma-compat.h>.
1040         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1041         (__ieee754_gammal): Define as alias.
1042         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1043         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1044         <math/w_lgamma_compat.c>.
1045         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1046         Define as alias of __lgamma_compat and use in defining lgammal.
1047         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1048         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1049         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1050         (USE_AS_COMPAT): New macro.
1051         (LGAMMA_OLD_VER): Undefine and redefine.
1052         (lgammal): Do not define here.
1053         (gammal): Only define here if [GAMMA_ALIAS].
1054         * conform/linknamespace.pl (@whitelist): Remove signgam.
1055         * sysdeps/nacl/libm.abilist: Update.
1056         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1057         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1060         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1062         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1063         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1064         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1069         Likewise.
1070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1071         Likewise.
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1073         Likewise.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1075         Likewise.
1076         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1077         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1078         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1079         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1082         Likewise.
1083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1084         Likewise.
1085         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1086         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1087         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1089 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1091         [BZ #16364]
1092         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1093         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1095 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1097         * sysdeps/s390/fpu/bits/mathinline.h:
1098         Use __asm__ [__volatile__] instead of asm [volatile].
1099         * sysdeps/s390/abort-instr.h: Likewise.
1100         * sysdeps/s390/atomic-machine.h: Likewise.
1101         * sysdeps/s390/bits/string.h: Likewise.
1102         * sysdeps/s390/dl-tls.h: Likewise.
1103         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1104         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1105         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1106         * sysdeps/s390/fpu/fesetround.c: Likewise.
1107         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1108         * sysdeps/s390/fpu/s_fma.c: Likewise.
1109         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1110         * sysdeps/s390/memusage.h: Likewise.
1111         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1112         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1113         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1114         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1115         * sysdeps/s390/nptl/tls.h: Likewise.
1116         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1117         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1118         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1119         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1120         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1121         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1122         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1123         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1124         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1125         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1126         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1127         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1128         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1129         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1130         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1131         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1132         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1133         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1134         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1135         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1136         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1137         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1138         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1140 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1141             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1143         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1144         Add lwarx hint, and use macro for acquire instruction.
1145         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1146         Likewise.
1147         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1148         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1149         update to use new atomic macros.
1151 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1153         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1154         (__lll_trylock_elision): Fix setting of adapt_count.
1155         * sysdeps/unix/sysv/linux/powerpc/htm.h
1156         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1157         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1158         (_ABORT_SYSCALL): Renumber, and clarify definition.
1159         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1161 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1163         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1164         after system headers to prevent MIN/MAX redefinition.  Define
1165         HAVE_ALLOCA to preserve builtin alloca usage.
1167 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1170         static and don't set or restore rounding.
1171         (__cos)[IN_SINCOS]: Likewise.
1172         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1173         (__sincos): Set and restore rounding mode.  Remove check for infinite
1174         or NaN input.
1176         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1178         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1179         as used.
1181 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1183         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1185 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1187         * config.make.in (have-glob-dat-reloc): New.
1188         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1189         target supports GLOB_DAT relocaton. AC_SUBST.
1190         * configure: Regenerated.
1191         * elf/Makefile (tests): Add tst-prelink.
1192         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1193         (tst-prelink-ENV): New.
1194         ($(objpfx)tst-prelink-conflict.out): Likewise.
1195         ($(objpfx)tst-prelink-cmp.out): Likewise.
1196         * sysdeps/x86/tst-prelink.c: Moved to ...
1197         * elf/tst-prelink.c: Here.
1198         * sysdeps/x86/tst-prelink.exp: Moved to ...
1199         * elf/tst-prelink.exp: Here.
1200         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1201         (tst-prelink-ENV): Removed.
1202         ($(objpfx)tst-prelink-conflict.out): Likewise.
1203         ($(objpfx)tst-prelink-cmp.out): Likewise.
1204         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1206 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1208         [BZ #14551]
1209         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1210         (__mpn_construct_long_double): If high part overflows to infinity,
1211         set errno and recompute overflowed result of the correct sign.
1212         * sysdeps/ieee754/ldbl-128ibm/Makefile
1213         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1214         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1215         $(libm).
1216         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1218 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1220         [BZ #15479]
1221         [BZ #19238]
1222         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1223         floating-point state after first operation on input.  Restore full
1224         state rather than just rounding mode.
1225         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1226         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1227         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1229         [BZ #19235]
1230         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1231         add 0.5 to integer arguments.
1232         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1233         Likewise.
1234         (.LC2): New object.
1236 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1238         * scripts/pylintrc (reports): Set to no.
1240 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1242         * elf/dl-load.c (open_verify): Take new argument FD.
1243         Skip __open call if passed FD is not -1.
1244         (_dl_map_object, open_path): Update callers.
1245         * elf/dl-sysdep-open.h: New file.
1246         * elf/dl-load.c: Include it.
1247         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1248         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1249         * sysdeps/nacl/dl-sysdep-open.h: New file.
1250         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1251         from libc to rtld.
1253 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1255         [BZ #19228]
1256         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1257         and restore full floating-point state.
1258         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1259         Likewise.
1260         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1261         Likewise.
1262         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1263         Likewise.
1264         * math/test-nearbyint-except-2.c: New file.
1265         * math/Makefile (tests): Add test-nearbyint-except-2.
1267 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1269         [BZ #19178]
1270         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1271         (tst-prelink-ENV): New.
1272         ($(objpfx)tst-prelink-conflict.out): Likewise.
1273         ($(objpfx)tst-prelink-cmp.out): Likewise.
1274         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1275         * sysdeps/x86/tst-prelink.c: New file.
1276         * sysdeps/x86/tst-prelink.exp: Likewise.
1278 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1280         * math/auto-libm-test-in: Add another test of pow.
1281         * math/auto-libm-test-out: Regenerated.
1282         * math/libm-test.inc (pow_test_data): Add another test.
1284 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1286         [BZ #19219]
1287         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1288         weak_alias to nearbyintl.
1290 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1292         * sysdeps/aarch64/bits/string.h: New file.
1293         (_STRING_ARCH_unaligned): Define.
1295 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1297         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1298         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1299         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1300         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1303 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1305         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1306         for original name of the DSO.  Add it to the name list of the DSO
1307         if it is actually given.
1308         (_dl_map_object): Keep track of whether an audit module rewrote
1309         the file name.  If yes, pass the original name to
1310         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1311         debugging is enabled, log the change of the file name.
1312         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1313         _dl_map_object_from_fd.
1314         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1315         * elf/tst-audit11.c: New file
1316         * elf/tst-auditmod11.c: New file.
1317         * elf/tst-audit11mod1.c: New file.
1318         * elf/tst-audit11mod2.c: New file.
1319         * elf/tst-audit11mod2.map: New file.
1320         * elf/tst-audit12.c: New file
1321         * elf/tst-auditmod12.c: New file.
1322         * elf/tst-audit12mod1.c: New file.
1323         * elf/tst-audit12mod2.c: New file.
1324         * elf/tst-audit12mod2.map: New file.
1325         * elf/tst-audit12mod3.c: New file.
1327 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1329         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1330         Don't create weak aliases,
1331         because versioned symbols are created later.
1332         * sysdeps/s390/s390-32/setjmp.S
1333         (setjmp, _setjmp): Remove weak and rename to an unique name
1334         in SHARED case due to existing versioned symbols.
1335         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1336         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1337         (getcontext): Create weak alias only in non SHARED case.
1338         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1340 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1342         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1343         (__ASSUME_*_SYSCALL) Define new macros.
1344         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1345         Remove socketcall syscalls.
1346         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1347         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1348         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1349         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1350         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1351         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1353 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1355         [BZ #12926]
1356         Terminate process on invalid netlink response.
1357         * sysdeps/unix/sysv/linux/netlinkaccess.h
1358         (__netlink_assert_response): Declare.
1359         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1360         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1361         (sysdep_routines): Add netlink_assert_response.
1362         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1363         __netlink_assert_response.
1364         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1365         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1366         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1367         __netlink_assert_response.
1369 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1371         [BZ #19178]
1372         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1373         (RTYPE_CLASS_PLT): Likewise.
1374         (RTYPE_CLASS_COPY): Likewise.
1375         (RTYPE_CLASS_TLS): Likewise.
1376         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1377         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1378         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1379         DL_DEBUG_PRELINK.
1381 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1383         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1384         calls with argument -0.5.
1385         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1387         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1388         (libc_cv_z_nodlopen): Likewise.
1389         (libc_cv_z_initfirst): Likewise.
1390         * configure: Regenerated.
1392 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1394         Simplify abilist format to be line-based.
1395         * scripts/abilist.awk: Collect descriptors in the descs variable.
1396         (emit): Write descs variable and sort it
1397         externally, with sort.
1398         * sysdeps/**/*.abilist: Convert to new format.
1400 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1402         [BZ #11460]
1403         * io/Makefile (routines): Add fts64.
1404         (tests): Add tst-fts and tst-fts-lfs.
1405         (CFLAGS-fts64.c): New.
1406         * io/Versions (GLIBC_2.23): New.
1407         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1408         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1409         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1410         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1411         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1412         (FTSENT64): Likewise.
1413         (fts64_children): Likewise.
1414         (fts64_close): Likewise.
1415         (fts64_open): Likewise.
1416         (fts64_read): Likewise.
1417         (fts64_set): Likewise.
1418         * io/fts64.c: New file.
1419         * io/tst-fts.c: New test.
1420         * io/tst-fts-lfs.c: Likewise.
1421         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1422         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1423         fts64_set.
1424         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1425         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1426         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1427         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1431         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1432         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1436         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1438         Likewise.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1440         Likewise.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1443         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1444         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1445         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1446         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1447         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1450         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1451         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1452         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1453         * sysdeps/wordsize-64/fts.c: New file.
1454         * sysdeps/wordsize-64/fts64.c: Likewise.
1455         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1456         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1457         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1458         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1460 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1462         * math/libm-test.inc (NON_FINITE): New macro.
1463         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1464         * math/gen-libm-test.pl (show_exceptions): Add argument
1465         $non_finite.
1466         (parse_args): Update call to show_exceptions.
1467         * math/test-math-finite.h: New file.
1468         * math/test-math-no-finite.h: Likewise.
1469         * math/test-double-finite.c: Likewise.
1470         * math/test-float-finite.c: Likewise.
1471         * math/test-ldouble-finite.c: Likewise.
1472         * math/test-double.c: Include "test-math-no-finite.h".
1473         * math/test-float.c: Include "test-math-no-finite.h".
1474         * math/test-ldouble.c: Include "test-math-no-finite.h".
1475         * math/test-math-inline.h (TEST_FINITE): New macro.
1476         * math/test-math-vector.h (TEST_FINITE): Likewise.
1477         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1478         (libm-tests): Add test-float-finite and test-double-finite.
1479         ($(objpfx)test-float-finite.o): New dependency on
1480         $(objpfx)libm-test.stmp.
1481         ($(objpfx)test-double-finite.o): Likewise.
1482         ($(objpfx)test-ldouble-finite.o): Likewise.
1483         (libm-test-no-inline-cflags): New variable.
1484         (libm-test-finite-cflags): Likewise.
1485         (CFLAGS-test-float-finite.c): Likewise.
1486         (CFLAGS-test-double-finite.c): Likewise.
1487         (CFLAGS-test-ldouble-finite.c): Likewise.
1488         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1489         (CFLAGS-test-double.c): Likewise.
1490         (CFLAGS-test-ldouble.c): Likewise.
1492 2015-11-05  Roland McGrath  <roland@hack.frob.com>
1494         * io/fcntl.c (__fcntl): Add ... to prototype.
1495         * misc/ioctl.c (__ioctl): Likewise.
1496         * misc/syscall.c (syscall): Likewise.
1498 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1500         * scripts/list-fixed-bugs.py: New file.
1502         [BZ #19213]
1503         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1504         returned for argument 1.
1505         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1506         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1507         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1508         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1509         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1510         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1512         [BZ #19211]
1513         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1514         __USE_XOPEN], not if [!__USE_ISOC99].
1515         (lgammaf): Likewise.
1516         (lgammal): Likewise.
1517         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1518         (gammaf): Likewise.
1519         (gammal): Likewise.
1520         * math/test-signgam-finite-c11.c: New file.
1521         * math/test-signgam-finite-c99.c: Likewise.
1522         * math/test-signgam-finite.c: Likewise.
1523         * math/Makefile (tests): Add test-signgam-finite,
1524         test-signgam-finite-c99 and test-signgam-finite-c11.
1525         (CFLAGS-test-signgam-finite.c): New variable.
1526         (CFLAGS-test-signgam-finite-c99.c): Likewise.
1527         (CFLAGS-test-signgam-finite-c11.c): Likewise.
1529         [BZ #19212]
1530         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1531         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1532         500].
1533         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1534         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1535         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1536         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1537         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1538         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1539         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1540         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1541         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1542         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1544         [BZ #19209]
1545         * math/bits/math-finite.h (ldexp): Remove declaration.
1546         (ldexpf): Likewise.
1547         (ldexpl): Likewise.
1549         [BZ #19205]
1550         * math/bits/math-finite.h (acosf): Condition declaration on
1551         [__USE_ISOC99].
1552         (acosl): Likewise.
1553         (acoshf): Likewise.
1554         (acoshl): Likewise.
1555         (asinf): Likewise.
1556         (asinl): Likewise.
1557         (atan2f): Likewise.
1558         (atan2l): Likewise.
1559         (atanhf): Likewise.
1560         (atanhl): Likewise.
1561         (coshf): Likewise.
1562         (coshl): Likewise.
1563         (expf): Likewise.
1564         (expl): Likewise.
1565         (fmodf): Likewise.
1566         (fmodl): Likewise.
1567         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1568         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1569         (j0l): Likewise.
1570         (y0f): Likewise.
1571         (y0l): Likewise.
1572         (j1f): Likewise.
1573         (j1l): Likewise.
1574         (y1f): Likewise.
1575         (y1l): Likewise.
1576         (jnf): Likewise.
1577         (jnl): Likewise.
1578         (ynf): Likewise.
1579         (ynl): Likewise.
1580         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1581         (lgammal_r): Likewise.
1582         (__lgamma_r_finite): New declaration.
1583         (__lgammaf_r_finite): Likewise.
1584         (__lgammal_r_finite): Likewise.
1585         (lgamma): Use __lgamma_r_finite.
1586         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1587         __lgammaf_r_finite.
1588         (lgammal): Condition definition on [__USE_ISOC99].  Use
1589         __lgammal_r_finite.
1590         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1591         __lgamma_r_finite.
1592         (gammaf): Condition definition on [__USE_ISOC99].  Use
1593         __lgammaf_r_finite.
1594         (gammal): Condition definition on [__USE_ISOC99].  Use
1595         __lgammal_r_finite.
1596         (logf): Condition declaration on [__USE_ISOC99].
1597         (logl): Likewise.
1598         (log10f): Likewise.
1599         (log10l): Likewise.
1600         (ldexpf): Likewise.
1601         (ldexpl): Likewise.
1602         (powf): Likewise.
1603         (powl): Likewise.
1604         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1605         __USE_ISOC99].
1606         (remainderf): Condition declaration on [__USE_ISOC99].
1607         (remainderl): Likewise.
1608         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1609         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1610         (scalbl): Likewise.
1611         (sinhf): Condition declaration on [__USE_ISOC99].
1612         (sinhl): Likewise.
1613         (sqrtf): Likewise.
1614         (sqrtl): Likewise.
1616 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1618         * sysdeps/arm/atomic-machine.h
1619         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1620         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1621         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1622         Remove conditional code.
1623         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1624         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1625         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1626         Change conditional to [__ASSEMBLER__].
1627         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1628         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1629         [!__ASSEMBLER__].
1630         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1631         code.
1632         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
1633         conditional macro definitions.
1634         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
1635         (__arch_compare_and_exchange_val_16_acq): Likewise.
1636         (__arch_compare_and_exchange_val_32_acq): Likewise.
1637         (atomic_exchange_and_add): Likewise.
1638         (atomic_add): Likewise.
1639         (atomic_add_negative): Likewise.
1640         (atomic_add_zero): Likewise.
1641         (atomic_bit_set): Likewise.
1642         (atomic_bit_test_set): Likewise.
1643         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
1644         code unconditional.
1645         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1647         * math/test-math-errno.h: New file.
1648         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
1649         empty.
1650         (TEST_ERRNO): New macro.
1651         (TEST_EXCEPTIONS): Likewise.
1652         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1653         (TEST_EXCEPTIONS): Likewise.
1654         * math/test-math-vector.h (TEST_ERRNO): Likewise.
1655         * math/test-double.c: Include "test-math-errno.h".
1656         * math/test-float.c: Likewise.
1657         * math/test-ldouble.c: Likewise.
1658         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1659         code unconditional.
1660         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1661         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1662         unconditional.
1663         (test_errno): Only run code if TEST_ERRNO.
1664         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1666 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1668         * nptl/tst-once5.cc: Remove attribution.
1670 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1672         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1673         sqrt, tan, tanh, y0, y1 and yn.
1674         * math/auto-libm-test-out: Regenerated.
1675         * math/libm-test.inc (scalb_test_data): Add more tests.
1676         (scalbn_test_data): Likewise.
1677         (scalbln_test_data): Likewise.
1678         (signbit_test_data): Likewise.
1679         (sin_test_data): Likewise.
1680         (sincos_test_data): Likewise.
1681         (sinh_test_data): Likewise.
1682         (sqrt_test_data): Likewise.
1683         (tan_test_data): Likewise.
1684         (tanh_test_data): Likewise.
1685         (tgamma_test_data): Likewise.
1686         (y0_test_data): Likewise.
1687         (y1_test_data): Likewise.
1688         (yn_test_data): Likewise.
1689         (significand_test_data): Likewise.
1690         * sysdeps/i386/fpu/libm-test-ulps: Update.
1692 2015-11-03  David Kastrup  <dak@gnu.org>
1694         [BZ #18604]
1695         * assert/assert.h (assert): Don't macro-expand failed assertion
1696         expression in error message.
1697         * malloc/malloc.c (assert): Likewise.
1699 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1701         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1702         test.
1703         * configure: Regenerated.
1705 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1707         * math/libm-test.inc (modf_test_data): Add more tests.
1708         (nearbyint_test_data): Likewise.
1709         (nextafter_test_data): Likewise.
1710         (nexttoward_test_data): Likewise.
1711         (pow_test_data): Likewise.
1712         (remainder_test_data): Likewise.
1713         (remquo_test_data): Likewise.
1714         (rint_test_data): Likewise.
1716         [BZ #19201]
1717         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1718         Check for zero remainder in case of large exponents and ensure
1719         correct sign of result in that case.
1720         * math/libm-test.inc (remainder_test_data): Add more tests.
1722         [BZ #6799]
1723         * math/s_nextafter.c: Include <errno.h>.
1724         (__nextafter): Set errno on overflow and underflow.
1725         * math/s_nexttowardf.c: Include <errno.h>.
1726         (__nexttowardf): Set errno on overflow and underflow.
1727         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1728         (__nextafterl): Set errno on overflow and underflow.
1729         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1730         (__nexttoward): Set errno on overflow and underflow.
1731         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1732         (__nexttowardf): Set errno on overflow and underflow.
1733         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1734         (__nextafterf): Set errno on overflow and underflow.
1735         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1736         (__nextafterl): Set errno on overflow and underflow.
1737         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1738         (__nexttoward): Set errno on overflow and underflow.
1739         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1740         (__nexttowardf): Set errno on overflow and underflow.
1741         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1742         (__nextafterl): Set errno on overflow and underflow.
1743         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1744         (__nexttoward): Set errno on overflow and underflow.
1745         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1746         (__nexttowardf): Set errno on overflow and underflow.
1747         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1748         (__nexttoward): Set errno on overflow and underflow.
1749         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1750         (__nexttowardf): Set errno on overflow and underflow.
1751         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1752         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1753         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1754         (__nextafterl): Set errno on overflow and underflow.
1755         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1756         setting to be missing on overflow.  Add more tests.
1757         (nexttoward_test_data): Likewise.
1759         * configure.ac (libc_cv_initfini_array): Remove configure test.
1760         * configure: Regenerated.
1762 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1764         [BZ #19189]
1765         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1766         non-finite argument handle arguments with negative sign.
1768         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1769         result from infinite argument.
1770         (j1_test_data): Likewise.
1771         (jn_test_data): Likewise.
1772         (y0_test_data): Likewise.
1773         (y1_test_data): Likewise.
1774         (yn_test_data): Likewise.
1776         [BZ #16171]
1777         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1778         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1779         * math/w_remainderf.c (dremf): Define as weak alias of
1780         __remainderf.
1781         * math/w_remainderl.c (dreml): Define as weak alias of
1782         __remainderl.
1783         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1784         __remainder.
1785         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1786         __remainderf.
1787         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1788         __remainderl.
1789         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1790         weak alias of remainderl.
1791         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1792         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1793         alias of __remainder.
1794         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1795         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1796         strong alias of __remainderl.
1797         (dreml): Use long_double_symbol.
1798         * math/Makefile (libm-calls): Remove w_drem.
1799         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1800         (CFLAGS-nldbl-drem.c): Remove variable.
1801         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1802         * math/w_drem.c: Remove file.
1803         * math/w_dremf.c: Likewise.
1804         * math/w_dreml.c: Likewise.
1805         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1806         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1807         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1809         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1810         * sysdeps/i386/configure: Regenerated.
1811         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1812         * sysdeps/x86_64/configure: Regenerated.
1814         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1815         test.
1816         (libc_cv_visibility_attribute): Likewise.
1817         (libc_cv_protected_data): Test unconditionally.
1818         (libc_cv_broken_visibility_attribute): Remove configure test.
1819         (libc_cv_have_sdata_section): Test unconditionally.
1820         * configure: Regenerated.
1822         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1823         * include/scratch_buffer.h: Include <stddef.h> instead of
1824         <libc-internal.h>.
1825         (struct scratch_buffer): Use max_align_t instead of
1826         libc_max_align_t.
1828 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1830         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1831         instead of extend_alloca.  Change control flow to avoid a goto.
1832         Remove assert which is trivially always true.
1834 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1836         [BZ #16068]
1837         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1838         (FE_ALL_EXCEPT_X86): New macro.
1839         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1840         FE_ALL_EXCEPT.  Ensure precision control is included in
1841         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1842         handle "denormal operand exception" and clear FZ and DAZ bits.
1843         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1844         (FE_ALL_EXCEPT_X86): New macro.
1845         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1846         FE_ALL_EXCEPT.  Ensure precision control is included in
1847         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1848         handle "denormal operand exception" and clear FZ and DAZ bits.
1849         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1850         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1851         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1852         test-fenv-x87 and test-fenv-sse-2.
1853         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1855         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1856         * math/test-double.h (BUILD_COMPLEX): New macro.
1857         * math/test-float.h (BUILD_COMPLEX): Likewise.
1858         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1860         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1861         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1862         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1864         instead of DBL_DENORM_MIN in comment.
1865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1866         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1867         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1868         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1869         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1870         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1872 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1874         [BZ# 19048]
1875         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1876         attached_threads member.
1877         (main_arena): Initialize attached_threads.
1878         * malloc/arena.c (list_lock): Update comment.
1879         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1880         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1881         (deattach_arena): New function.
1882         (_int_new_arena): Initialize arena reference count and deattach
1883         replaced arena.
1884         (get_free_list, reused_arena): Update reference count and deattach
1885         replaced arena.
1886         (arena_thread_freeres): Update arena reference count and only put
1887         unreferenced arenas on the free list.
1889 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1891         [BZ #19181]
1892         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1893         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1894         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1895         * math/test-fenv-clear-main.c: New file.
1896         * math/test-fenv-clear.c: Likewise.
1897         * math/Makefile (tests): Add test-fenv-clear.
1898         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1899         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1900         test-fenv-clear-sse.
1901         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1903         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1904         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1905         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1907 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1909         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1910         static libc.
1912 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1914         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1915         test.
1916         * sysdeps/i386/configure: Regenerated.
1917         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1918         test.
1919         * sysdeps/x86_64/configure: Regenerated.
1920         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1922         memset-avx2 unconditionally instead of conditionally on
1923         [$(config-cflags-avx2) = yes].
1924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1925         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1926         unconditional.
1927         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1928         * sysdeps/x86_64/multiarch/memset_chk.S
1929         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1930         to [IS_IN (libc) && SHARED].
1932 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1934         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1935         configure test.
1936         * sysdeps/arm/configure: Regenerated.
1937         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1938         Define variable if not already defined.
1940         [BZ #17404]
1941         * sysdeps/mips/atomic-machine.h
1942         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1943         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1944         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1946         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1947         unconditional.
1948         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1949         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1950         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1951         unconditional.
1952         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1953         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1954         unconditional.
1955         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1956         * stdlib/setenv.c
1957         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1958         code unconditional.
1959         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1960         Remove conditional code.
1961         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1962         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1963         unconditional.
1964         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1965         code.
1966         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1967         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1968         unconditional.
1969         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1970         code.
1971         * sysdeps/ieee754/ldbl-128/k_tanl.c
1972         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1973         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1974         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1975         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1976         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1977         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1978         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1979         unconditional.
1980         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1981         code.
1982         * sysdeps/ieee754/ldbl-96/k_tanl.c
1983         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1984         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1986         * nptl/tst-initializers1-c11.c: New file.
1987         * nptl/tst-initializers1-gnu11.c: Likewise.
1988         * nptl/Makefile (tests): Add these new tests.
1989         (CFLAGS-tst-initializers1-c11.c): New variable.
1990         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1992         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1993         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1994         instead of -std=gnu99.
1995         * configure.ac (systemtap): Test with -std=gnu11 instead of
1996         -std=gnu99.
1997         * configure: Regenerated.
1998         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1999         in compilation command in comment.
2001         * sysdeps/nptl/configure.ac: Remove file.
2002         * sysdeps/nptl/configure: Remove generated file.
2003         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2004         * configure: Regenerated.
2005         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2006         * config.make.in (have-forced-unwind): Remove variable.
2007         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2008         unconditional.
2009         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2010         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2011         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2012         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2013         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2014         unconditional.
2016 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2018         [BZ #19174]
2019         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2020         .skip_lock_out_of_tbegin_retries.
2021         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2022         (__lll_lock_elision): Likewise, and respect a value of
2023         try_tbegin <= 0.
2025 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2027         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2028         statement.
2030 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2032         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2033         variable.
2034         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2035         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2037         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2038         of -std=c1x -D_ISOC11_SOURCE.
2040         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2041         * configure: Regenerated.
2042         * manual/install.texi (Tools for Compilation): Document
2043         requirement for GCC 4.7 or later.
2044         * INSTALL: Regenerated.
2046 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2048         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2049         on CNT to a conditional jump to 'puntdata'.
2051 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2053         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2054         (libc_cv_gcc_tls_model_attr): Likewise.
2055         * configure: Regenerated.
2057         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2058         * configure: Regenerated.
2059         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2061 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2063         * configure.ac (old_glibc_headers): Remove configure test.
2064         * configure: Regenerated.
2065         * config.make.in (old-glibc-headers): Remove variable.
2066         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2067         (install): Remove dependency on remove-old-headers.
2068         (headers2_0): Remove variable.
2069         (remove-old-headers): Remove rule.
2071         * configure.ac (libc_cv_dot_text): Remove configure test.
2072         (libc_cv_asm_set_directive): Use .text instead of
2073         ${libc_cv_dot_text} in configure test.
2074         * configure: Regenerated.
2076 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2078         [BZ #19168]
2079         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2081 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2083         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2084         not support static linking.
2085         * configure: Regenerate.
2087 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2089         * math/libm-test.inc (check_float_internal): Do not special-case
2090         errors up to 0.5 ulp.
2092         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2093         log2.
2094         * math/auto-libm-test-out: Regenerated.
2095         * math/libm-test.inc (MAX_EXP): New macro.
2096         (ilogb_test_data): Add more tests.
2097         (isfinite_test_data): Likewise.
2098         (isgreater_test_data): Likewise.
2099         (isgreaterequal_test_data): Likewise.
2100         (isinf_test_data): Likewise.
2101         (isless_test_data): Likewise.
2102         (islessequal_test_data): Likewise.
2103         (islessgreater_test_data): Likewise.
2104         (isnan_test_data): Likewise.
2105         (isnormal_test_data): Likewise.
2106         (issignaling_test_data): Likewise.
2107         (isunordered_test_data): Likewise.
2108         (j0_test_data): Likewise.
2109         (j1_test_data): Likewise.
2110         (jn_test_data): Likewise.
2111         (lgamma_test_data): Likewise.
2112         (log_test_data): Likewise.
2113         (log10_test_data): Likewise.
2114         (log1p_test_data): Likewise.
2115         (log2_test_data): Likewise.
2116         (logb_test_data): Likewise.
2117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2119         [BZ #18611]
2120         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2121         avoid excess range and precision on underflow.
2122         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2123         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2124         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2125         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2126         underflow.
2127         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2128         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2129         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2130         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2131         * math/auto-libm-test-in: Do not allow missing errno setting for
2132         tests of j1 and jn.
2133         * math/auto-libm-test-out: Regenerated.
2135 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2137         [BZ #15491]
2138         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2139         floating-point environment instead of clearing all exceptions.
2140         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2141         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2142         merging in "invalid" exceptions from frndint.
2143         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2144         * math/test-nearbyint-except.c: New file.
2145         * math/Makefile (tests): Add test-nearbyint-except.
2147 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2149         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2151         * sysdeps/tile/libm-test-ulps: Regenerated.
2153 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2156         (__NR_sync_file_range2): Assume it is always defined.
2157         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2158         (__NR_sync_file_range): Assume it is always defined.
2160 2015-10-22  Andreas Schwab  <schwab@suse.de>
2162         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2163         INTERNAL_SYSCALL_ERRNO.
2164         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2165         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2166         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2167         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2168         Likewise.
2169         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2171 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2173         * io/tst-fcntl.c (fd): New static variable.
2174         (do_prepare): Open temporary file here....
2175         (do_test): ...not here.
2177         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2179 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2181         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2182         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2183         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2184         Moved before "#ifdef __ASSEMBLER__".
2186 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2188         [BZ #19156]
2189         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2190         arguments very close to 0.
2192 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2194         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2195         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2197 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2199         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2200         New.  Defined for GCC 5 and above when not compiling for
2201         profiling.
2202         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2204         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2205         Renamed to ...
2206         (CFLAGS-epoll_pwait.o): This.
2207         (CFLAGS-mmap.c): Renamed to ...
2208         (CFLAGS-mmap.o): This.
2209         (CFLAGS-mmap64.c): Renamed to ...
2210         (CFLAGS-mmap64.o): This.
2211         (CFLAGS-epoll_pwait.os): New.
2212         (CFLAGS-mmap.os): Likewise.
2213         (CFLAGS-mmap64.os): Likewise.
2214         (CFLAGS-semtimedop.os): Likewise.
2215         (CFLAGS-semtimedop.c): Renamed to ...
2216         (CFLAGS-semtimedop.o): This.
2218 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2220         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2221         warning message.
2223 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2225         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2226         * Makefile ($(objpfx)c++-types-check.out): Filter out
2227         $(+gccwarn-c) instead of -Wstrict-prototypes.
2229         * io/fts.c (fts_open): Convert to prototype-style function
2230         definition.
2231         * malloc/mcheck.c (mcheck): Likewise.
2232         (mcheck_pedantic): Likewise.
2233         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2234         internal_function.
2235         (re_search_internal): Likewise.
2236         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2237         prototype-style function definition.
2238         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2239         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2240         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2241         (xdr_utmpptr): Likewise.
2242         (xdr_utmparr): Likewise.
2243         (xdr_utmpidle): Likewise.
2244         (xdr_utmpidleptr): Likewise.
2245         (xdr_utmpidlearr): Likewise.
2247         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2248         log, log10 and log2.
2249         * math/auto-libm-test-out: Regenerated.
2250         * math/libm-test.inc (fmod_test_data): Add more tests.
2251         (fpclassify_test_data): Likewise.
2252         (frexp_test_data): Likewise.
2253         (hypot_test_data): Likewise.
2254         (ilogb_test_data): Likewise.
2256 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2258         * debug/fortify_fail.c (__fortify_fail): Convert to
2259         prototype-style function definition.  Use internal_function.
2260         * libio/genops.c (save_for_backup): Convert to prototype-style
2261         function definition.
2262         * libio/wgenops.c (save_for_wbackup): Likewise.
2263         * login/grantpt.c (grantpt): Likewise.
2264         * login/ptsname.c (ptsname): Likewise.
2265         (__ptsname_r): Likewise.
2266         * login/unlockpt.c (unlockpt): Likewise.
2267         * mach/msgserver.c (__mach_msg_server): Likewise.
2268         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2269         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2270         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2271         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2272         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2273         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2274         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2275         Likewise.
2276         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2277         internal_function.
2278         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2279         prototype-style function definition.
2280         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2281         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2282         (__pthread_create_2_0): Likewise.
2283         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2284         * nptl/register-atfork.c (__register_atfork): Likewise.
2285         * posix/glob.c (glob): Likewise.
2286         * posix/regcomp.c (re_comp): Likewise.
2287         * posix/regexec.c (re_exec): Likewise.
2288         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2289         [!__STDC__]: Remove conditional code.
2290         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2291         [!__STDC__]: Remove conditional code.
2292         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2293         [!__STDC__]: Remove conditional code.
2294         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2295         [!__STDC__]: Remove conditional code.
2296         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2297         [!__STDC__]: Remove conditional code.
2298         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2299         [!__STDC__]: Remove conditional code.
2300         * stdlib/mul.c [__STDC__]: Make code unconditional.
2301         [!__STDC__]: Remove conditional code.
2302         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2303         [!__STDC__]: Remove conditional code.
2304         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2305         [!__STDC__]: Remove conditional code.
2306         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2307         function definition.
2308         (STRTOF): Likewise.
2309         * stdlib/strtod_l.c (__STRTOF): Likewise.
2310         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2311         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2312         (__strtol_l): Likewise.
2313         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2314         [!__STDC__]: Remove conditional code.
2315         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2316         definition.
2317         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2318         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2319         type.
2320         (__strcasecmp): Convert to prototype-style function definition.
2321         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2322         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2323         type.
2324         (__strncasecmp): Convert to prototype-style function definition.
2325         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2326         * sunrpc/xdr.c (xdr_union): Likewise.
2327         * sunrpc/xdr_array.c (xdr_array): Likewise.
2328         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2329         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2330         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2331         Likewise.
2332         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2333         Likewise.
2334         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2335         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2336         Likewise.
2337         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2338         (LOCALE_PARAM_PROTO): Likewise.
2339         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2340         argument type.
2341         (ut_argument_spec): Remove macro.
2342         (ut_argument_spec_iso): Rename to ut_argument_spec.
2343         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2344         prototype-style function definition.
2345         (memcpy_uppcase): Likewise.
2346         (__strftime_internal): Likewise.
2347         (my_strftime): Likewise.
2348         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2349         (LOCALE_PARAM_DECL): Likewise.
2350         [_LIBC] (LOCALE_PARAM): Include argument type.
2351         (__strptime_internal): Convert to prototype-style function
2352         definition.
2353         (strptime): Likewise.
2354         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2355         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2356         type.
2357         (__wcscasecmp): Convert to prototype-style function definition.
2358         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2359         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2360         type.
2361         (__wcsncasecmp): Convert to prototype-style function definition.
2363         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2364         function definition.
2365         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2366         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2367         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2368         * elf/dl-minimal.c (_itoa): Likewise.
2369         * hurd/hurdmalloc.c (malloc): Likewise.
2370         (free): Likewise.
2371         (realloc): Likewise.
2372         * inet/inet6_option.c (inet6_option_space): Likewise.
2373         (inet6_option_init): Likewise.
2374         (inet6_option_append): Likewise.
2375         (inet6_option_alloc): Likewise.
2376         (inet6_option_next): Likewise.
2377         (inet6_option_find): Likewise.
2378         * io/ftw.c (FTW_NAME): Likewise.
2379         (NFTW_NAME): Likewise.
2380         (NFTW_NEW_NAME): Likewise.
2381         (NFTW_OLD_NAME): Likewise.
2382         * libio/iofwide.c (_IO_fwide): Likewise.
2383         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2384         (_IO_str_init_static): Likewise.
2385         (_IO_str_init_readonly): Likewise.
2386         (_IO_str_overflow): Likewise.
2387         (_IO_str_underflow): Likewise.
2388         (_IO_str_count): Likewise.
2389         (_IO_str_seekoff): Likewise.
2390         (_IO_str_pbackfail): Likewise.
2391         (_IO_str_finish): Likewise.
2392         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2393         (_IO_wstr_overflow): Likewise.
2394         (_IO_wstr_underflow): Likewise.
2395         (_IO_wstr_count): Likewise.
2396         (_IO_wstr_seekoff): Likewise.
2397         (_IO_wstr_pbackfail): Likewise.
2398         (_IO_wstr_finish): Likewise.
2399         * locale/programs/localedef.c (normalize_codeset): Likewise.
2400         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2401         (add_locales_to_archive): Likewise.
2402         (delete_locales_from_archive): Likewise.
2403         * malloc/malloc.c (__libc_mallinfo): Likewise.
2404         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2405         * misc/tsearch.c (__tfind): Likewise.
2406         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2407         * nptl/pthread_attr_getdetachstate.c
2408         (__pthread_attr_getdetachstate): Likewise.
2409         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2410         Likewise.
2411         * nptl/pthread_attr_getinheritsched.c
2412         (__pthread_attr_getinheritsched): Likewise.
2413         * nptl/pthread_attr_getschedparam.c
2414         (__pthread_attr_getschedparam): Likewise.
2415         * nptl/pthread_attr_getschedpolicy.c
2416         (__pthread_attr_getschedpolicy): Likewise.
2417         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2418         Likewise.
2419         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2420         Likewise.
2421         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2422         Likewise.
2423         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2424         Likewise.
2425         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2426         (__pthread_attr_init_2_0): Likewise.
2427         * nptl/pthread_attr_setdetachstate.c
2428         (__pthread_attr_setdetachstate): Likewise.
2429         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2430         Likewise.
2431         * nptl/pthread_attr_setinheritsched.c
2432         (__pthread_attr_setinheritsched): Likewise.
2433         * nptl/pthread_attr_setschedparam.c
2434         (__pthread_attr_setschedparam): Likewise.
2435         * nptl/pthread_attr_setschedpolicy.c
2436         (__pthread_attr_setschedpolicy): Likewise.
2437         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2438         Likewise.
2439         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2440         Likewise.
2441         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2442         Likewise.
2443         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2444         Likewise.
2445         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2446         Likewise.
2447         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2448         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2449         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2450         use internal_function.
2451         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2452         prototype-style function definition.
2453         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2454         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2455         internal_function.
2456         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2457         Convert to prototype-style function definition.
2458         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2459         Likewise.
2460         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2461         Likewise.
2462         (__pthread_mutex_unlock): Likewise.
2463         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2464         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2465         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2466         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2467         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2468         * nss/makedb.c (process_input): Likewise.
2469         * posix/fnmatch.c (__strchrnul): Likewise.
2470         (__wcschrnul): Likewise.
2471         (fnmatch): Likewise.
2472         * posix/fnmatch_loop.c (FCT): Likewise.
2473         * posix/glob.c (globfree): Likewise.
2474         (__glob_pattern_type): Likewise.
2475         (__glob_pattern_p): Likewise.
2476         * posix/regcomp.c (re_compile_pattern): Likewise.
2477         (re_set_syntax): Likewise.
2478         (re_compile_fastmap): Likewise.
2479         (regcomp): Likewise.
2480         (regerror): Likewise.
2481         (regfree): Likewise.
2482         * posix/regexec.c (regexec): Likewise.
2483         (re_match): Likewise.
2484         (re_search): Likewise.
2485         (re_match_2): Likewise.
2486         (re_search_2): Likewise.
2487         (re_search_stub): Likewise.  Use internal_function
2488         (re_copy_regs): Likewise.
2489         (re_set_registers): Convert to prototype-style function
2490         definition.
2491         (prune_impossible_nodes): Likewise.  Use internal_function.
2492         * resolv/inet_net_pton.c (inet_net_pton): Convert to
2493         prototype-style function definition.
2494         (inet_net_pton_ipv4): Likewise.
2495         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2496         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2497         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2498         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2499         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2500         Make variadic.
2501         * time/strptime_l.c (localtime_r): Convert to prototype-style
2502         function definition.
2503         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2504         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2505         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2506         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2508         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2509         definition.
2510         (_ufc_doit_r): Likewise.
2511         * crypt/crypt_util.c (_ufc_copymem): Likewise.
2512         (_ufc_output_conversion_r): Likewise.
2513         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2514         * inet/rcmd.c (rcmd_af): Likewise.
2515         (rcmd): Likewise.
2516         (ruserok_af): Likewise.
2517         (ruserok): Likewise.
2518         (ruserok2_sa): Likewise.
2519         (ruserok_sa): Likewise.
2520         (iruserok_af): Likewise.
2521         (iruserok): Likewise.
2522         (__ivaliduser): Likewise.
2523         (__validuser2_sa): Likewise.
2524         * inet/rexec.c (rexec_af): Likewise.
2525         (rexec): Likewise.
2526         * inet/ruserpass.c (ruserpass): Likewise.
2527         * locale/programs/xmalloc.c (xcalloc): Likewise.
2528         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2529         * math/w_drem.c (__drem): Likewise.
2530         * math/w_dremf.c (__dremf): Likewise.
2531         * math/w_dreml.c (__dreml): Likewise.
2532         * misc/daemon.c (daemon): Likewise.
2533         * resolv/res_debug.c (p_fqnname): Likewise.
2534         * stdlib/div.c (div): Likewise.
2535         * string/memcmp.c (memcmp_bytes): Likewise.
2536         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2537         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2539         * crypt/cert.c (main): Convert to prototype-style function
2540         definition.
2541         * io/pipe.c (__pipe): Likewise.
2542         * io/pipe2.c (__pipe2): Likewise.
2543         * misc/futimesat.c (futimesat): Likewise.
2544         * misc/utimes.c (__utimes): Likewise.
2545         * posix/execve.c (__execve): Likewise.
2546         * posix/execvp.c (execvp): Likewise.
2547         * posix/execvpe.c (__execvpe): Likewise.
2548         * posix/fexecve.c (fexecve): Likewise.
2549         * socket/socketpair.c (socketpair): Likewise.
2550         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2551         * stdlib/erand48.c (erand48): Likewise.
2552         * stdlib/erand48_r.c (__erand48_r): Likewise.
2553         * stdlib/jrand48.c (jrand48): Likewise.
2554         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2555         * stdlib/lcong48.c (lcong48): Likewise.
2556         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2557         * stdlib/nrand48.c (nrand48): Likewise.
2558         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2559         * stdlib/seed48.c (seed48): Likewise.
2560         * stdlib/seed48_r.c (__seed48_r): Likewise.
2561         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2562         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2563         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2565 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2567         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2568         * configure: Regenerated.
2569         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2570         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2571         unconditional.
2572         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2573         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2574         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2575         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2576         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2577         unconditional.
2578         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2580         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2581         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2583         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2584         function definition.
2585         * crypt/crypt_util.c (__encrypt_r): Likewise.
2586         * libio/genops.c (_IO_no_init): Likewise.
2587         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2588         (_IO_old_fopencookie): Likewise.
2589         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2590         * libio/iogetline.c (_IO_getline): Likewise.
2591         (_IO_getline_info): Likewise.
2592         * libio/iogetwline.c (_IO_getwline): Likewise.
2593         (_IO_getwline_info): Likewise.
2594         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2595         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2596         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2597         (find_entry): Likewise.
2598         (iterate_table): Likewise.
2599         (lookup): Likewise.
2600         * login/forkpty.c (forkpty): Likewise.
2601         * misc/hsearch_r.c (__hsearch_r): Likewise.
2602         * misc/select.c (__select): Likewise.
2603         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2604         Likewise.
2605         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2606         Likewise.
2607         * nptl/old_pthread_cond_timedwait.c
2608         (__pthread_cond_timedwait_2_0): Likewise.
2609         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2610         * nptl/pthread_barrierattr_getpshared.c
2611         (pthread_barrierattr_getpshared): Likewise.
2612         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2613         Likewise.
2614         * nptl/pthread_mutex_setprioceiling.c
2615         (pthread_mutex_setprioceiling): Likewise.
2616         * nptl/pthread_mutexattr_getprioceiling.c
2617         (pthread_mutexattr_getprioceiling): Likewise.
2618         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2619         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2620         Likewise.
2621         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2622         Likewise.
2623         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2624         Likewise.
2625         * socket/recvfrom.c (__recvfrom): Likewise.
2626         * socket/sendto.c (__sendto): Likewise.
2627         * socket/setsockopt.c (__setsockopt): Likewise.
2628         * stdio-common/_itoa.c (_itoa): Likewise.
2629         * stdio-common/_itowa.c (_itowa): Likewise.
2630         * stdio-common/reg-printf.c (__register_printf_specifier):
2631         Likewise.
2632         (__register_printf_function): Likewise.
2633         * stdio-common/tempname.c (__path_search): Likewise.
2634         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
2635         * stdlib/mul_1.c (mpn_mul_1): Likewise.
2636         * stdlib/random_r.c (__initstate_r): Likewise.
2637         * stdlib/setenv.c (__add_to_environ): Likewise.
2638         * stdlib/submul_1.c (mpn_submul_1): Likewise.
2639         * streams/getpmsg.c (getpmsg): Likewise.
2640         * streams/putmsg.c (putmsg): Likewise.
2641         * streams/putpmsg.c (putpmsg): Likewise.
2642         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
2643         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2644         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
2645         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2646         * sunrpc/pm_getport.c (pmap_getport): Likewise.
2647         * sunrpc/svc_udp.c (cache_get): Likewise.
2648         * sunrpc/xdr_array.c (xdr_vector): Likewise.
2649         * sysdeps/mach/hurd/getcwd.c
2650         (__canonicalize_directory_name_internal): Likewise.
2651         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2652         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2653         * sysdeps/mach/hurd/select.c (__select): Likewise.
2654         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2655         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2656         * sysdeps/sparc/nptl/pthread_barrier_init.c
2657         (__pthread_barrier_init): Likewise.
2658         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2659         (__pthread_cond_timedwait): Likewise.
2660         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2661         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2662         Likewise.
2663         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2664         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2665         Likewise.
2666         * sysvipc/semtimedop.c (semtimedop): Likewise.
2667         * time/setitimer.c (__setitimer): Likewise.
2668         * time/strftime_l.c (emacs_strftime): Likewise.
2670 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2672         * config.make.in (have-ssp): Delete.
2673         (stack-protector): New variable.
2674         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2675         cache test for -fstack-protector-strong.  Export stack_protector to
2676         the best ssp flag.
2677         * configure: Regenerated.
2678         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2679         * nscd/Makefile (CFLAGS-nscd): Likewise.
2680         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2682 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2684         [BZ #19122]
2685         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2686         attribute_hidden.
2688 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2690         [BZ #18743]
2691         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2692         code to...
2693         (ELIDE_LOCK): ...here.
2694         (__get_new_count): New function with part of the code from
2695         __elide_lock that updates the value of adapt_count after a
2696         transaction abort.
2697         (__elided_trylock): Moved this code to...
2698         (ELIDE_TRYLOCK): ...here.
2700 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2702         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2703         * configure: Regenerate.
2704         * INSTALL: Regenerate.
2705         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2706         and tweak grammar.
2708 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2710         * login/programs/pt_chown.c: Include signal.h
2711         (main): Clear any signal mask from the parent process.
2713 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2715         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2716         * configure: Regenerated.
2717         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2718         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2719         $(gnu89-inline-CFLAGS).
2721         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2722         test.
2723         (libc_cv_asm_weakext_directive): Likewise.
2724         * configure: Regenerated.
2725         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2726         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2727         * include/libc-symbols.h
2728         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2729         #error.
2730         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2731         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2733         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2734         prototype-style function definition.
2735         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2736         * sysdeps/i386/ffs.c (__ffs): Likewise.
2737         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2738         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2739         Likewise.
2740         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2741         Likewise.
2742         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2743         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2744         Likewise.
2745         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2746         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2747         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2748         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2749         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2750         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2751         * sysdeps/mach/hurd/access.c (__access): Likewise.
2752         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2753         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2754         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2755         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2756         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2757         (cthread_getspecific): Likewise.
2758         (cthread_setspecific): Likewise.
2759         (__libc_getspecific): Likewise.
2760         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2761         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2762         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2763         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2764         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2765         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2766         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2767         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2768         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2769         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2770         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2771         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2772         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2773         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2774         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2775         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2776         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2777         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2778         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2779         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2780         * sysdeps/mach/hurd/link.c (__link): Likewise.
2781         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2782         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2783         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2784         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2785         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2786         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2787         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2788         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2789         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2790         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2791         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2792         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2793         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2794         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2795         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2796         * sysdeps/mach/hurd/send.c (__send): Likewise.
2797         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2798         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2799         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2800         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2801         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2802         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2803         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2804         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2805         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2806         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2807         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2808         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2809         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2810         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2811         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2812         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2813         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2814         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2815         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2816         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2817         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2818         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2819         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2820         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2821         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2822         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2823         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2824         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2825         * sysdeps/posix/alarm.c (alarm): Likewise.
2826         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2827         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2828         * sysdeps/posix/dup.c (__dup): Likewise.
2829         * sysdeps/posix/dup2.c (__dup2): Likewise.
2830         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2831         (main): Likewise.
2832         * sysdeps/posix/flock.c (__flock): Likewise.
2833         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2834         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2835         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2836         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2837         * sysdeps/posix/isatty.c (__isatty): Likewise.
2838         * sysdeps/posix/killpg.c (killpg): Likewise.
2839         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2840         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2841         * sysdeps/posix/raise.c (raise): Likewise.
2842         * sysdeps/posix/remove.c (remove): Likewise.
2843         * sysdeps/posix/rename.c (rename): Likewise.
2844         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2845         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2846         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2847         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2848         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2849         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2850         * sysdeps/posix/sigset.c (sigset): Likewise.
2851         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2852         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2853         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2854         * sysdeps/posix/time.c (time): Likewise.
2855         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2856         (ttyname): Likewise.
2857         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2858         * sysdeps/posix/utime.c (utime): Likewise.
2859         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2860         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2861         Likewise.
2862         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2863         (pthread_spin_trylock): Likewise.
2864         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2865         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2866         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2867         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2868         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2869         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2870         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2871         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2872         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2873         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2874         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2875         * sysdeps/s390/ffs.c (__ffs): Likewise.
2876         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2877         Likewise.
2878         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2879         Likewise.
2880         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2881         Likewise.
2882         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2883         (pthread_barrier_destroy): Likewise.
2884         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2885         (__pthread_barrier_wait): Likewise.
2886         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2887         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2888         (__pthread_barrier_wait): Likewise.
2889         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2890         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2891         (memcmp_not_common_alignment): Likewise.
2892         (MEMCMP): Likewise.
2893         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2894         (_wordcopy_fwd_dest_aligned): Likewise.
2895         (_wordcopy_bwd_aligned): Likewise.
2896         (_wordcopy_bwd_dest_aligned): Likewise.
2897         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2898         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2899         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2900         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2901         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2902         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2903         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2904         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2905         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2906         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2907         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2908         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2909         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2910         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2911         * sysdeps/unix/stime.c (stime): Likewise.
2912         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2913         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2914         Likewise.  Use internal_function.
2915         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2916         Convert to prototype-style function definition.
2917         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2918         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2919         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2920         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2921         Likewise.  Use internal_function.
2922         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2923         prototype-style function definition
2924         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2925         Likewise.
2926         (__getlogin_r): Likewise.
2927         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2928         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2929         (__pthread_cond_broadcast): Likewise.
2930         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2931         (__pthread_cond_destroy): Likewise.
2932         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2933         (__pthread_cond_init): Likewise.
2934         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2935         (__pthread_cond_signal): Likewise.
2936         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2937         (__pthread_cond_wait): Likewise.
2938         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2939         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2940         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2941         Likewise.
2942         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2943         Likewise.
2944         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2945         Likewise.
2946         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2947         Likewise.
2948         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2950         (__ftruncate64): Likewise.
2951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2952         (truncate64): Likewise.
2953         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2954         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2955         (pthread_getcpuclockid): Likewise.
2956         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2957         Likewise.
2958         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2959         Likewise.
2960         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2961         Likewise.
2962         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2963         Likewise.
2964         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2965         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2966         (__libc_sigaction): Likewise.
2967         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2968         Likewise.
2969         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2970         (__sigprocmask): Likewise.
2971         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2972         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2973         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2974         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2975         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2976         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2977         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2978         Likewise.
2979         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2980         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2981         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2982         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2983         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2984         Likewise.
2985         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2986         (__sigprocmask): Likewise.
2987         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2988         (cfgetispeed): Likewise.
2989         (cfsetospeed): Likewise.
2990         (cfsetispeed): Likewise.
2991         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2992         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2993         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2994         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2995         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2996         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2997         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2998         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2999         Likewise.
3000         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3001         Likewise.
3002         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3003         Likewise.
3004         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3005         Likewise.
3006         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3008 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3010         sunrpc: Rewrite with explicit TLS access using __thread.
3011         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3012         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3013         directly.
3014         (__rpc_thread_variables): Access thread_rpc_vars directly.
3015         Eliminate redundant assignment of the tvp variable.
3017 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3019         malloc: Rewrite with explicit TLS access using __thread.
3020         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3021         (tsd_setspecific, tsd_getspecific): Remove.
3022         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3023         (tsd_setspecific, tsd_getspecific): Likewise.
3024         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3025         (tsd_setspecific, tsd_getspecific): Likewise.
3026         * malloc/arena.c (thread_arena): New TLS variable.
3027         (arena_key): Remove variable.
3028         (arena_get): Use thread_arena.
3029         (arena_lookup): Remove macro.
3030         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3031         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3032         (_int_new_arena, get_free_list, reused_arena)
3033         (arena_thread_freeres): Use thread_arena.
3034         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3035         tsd_getspecific, tsd_setspecific from safety annotations.
3036         (Allocating Cleared Space): Remove arena_lookup from safety
3037         annotations.
3039 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3041         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3042         struct scratch_buffer instead of extend_alloca.
3044 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3046         * sysdeps/unix/sysv/linux/kernel-features.h
3047         (__ASSUME_SOCK_CLOEXEC): Remove.
3048         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3049         (__have_paccept): Remove unused macro.
3050         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3051         * misc/syslog.c (openlog_internal): Remove fallback code for
3052         !__ASSUME_SOCK_CLOEXEC.
3053         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3054         missing SOCK_CLOEXEC.
3055         * nscd/connections.c (have_sock_cloexec): Remove definition.
3056         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3057         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3058         !__ASSUME_SOCK_CLOEXEC.
3059         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3060         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3061         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3062         definition.
3063         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3064         code for !__ASSUME_SOCK_CLOEXEC.
3066 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3068         [BZ #18982]
3069         * manual/stdio.texi (Variable Arguments Output): Add portability
3070         note, explaining that vfprintf clobbers the va_list pointer.
3072 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3074         * math/libm-test.inc (fabs_test_data): Add more tests.
3075         (fdim_test_data): Likewise.
3076         (fma_test_data): Likewise.
3077         (fmax_test_data): Likewise.
3078         (fmin_test_data): Likewise.
3079         (fmod_test_data): Likewise.
3081 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3083         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3084         data.
3086 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3088         * math/libm-test.inc (ceil_test_data): Add more tests and more
3089         expectations for "inexact".
3090         (floor_test_data): Add more tests.
3091         (round_test_data): Likewise.
3092         (trunc_test_data): Likewise.
3094         * crypt/cert.c (good_bye): Convert to prototype-style function
3095         definition.
3096         (get8): Likewise.
3097         (put8): Likewise.
3098         * crypt/crypt-entry.c (crypt): Likewise.
3099         (__fcrypt): Likewise.
3100         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3101         (_ufc_set_bits): Likewise.
3102         (_ufc_clearmem): Likewise.
3103         (__init_des_r): Likewise.
3104         (shuffle_sb): Likewise.
3105         (shuffle_sb): Likewise.
3106         (_ufc_setup_salt_r): Likewise.
3107         (_ufc_mk_keytab_r): Likewise.
3108         (_ufc_dofinalperm_r): Likewise.
3109         (encrypt): Likewise.
3110         (__setkey_r): Likewise.
3111         (setkey): Likewise.
3112         * crypt/md5.c (md5_init_ctx): Likewise.
3113         (md5_read_ctx): Likewise.
3114         (md5_finish_ctx): Likewise.
3115         (md5_stream): Likewise.
3116         (md5_buffer): Likewise.
3117         (md5_process_bytes): Likewise.
3118         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3119         (__sha256_finish_ctx): Likewise.
3120         (__sha256_process_bytes): Likewise.
3121         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3122         (__sha512_finish_ctx): Likewise.
3123         (__sha512_process_bytes): Likewise.
3124         * ctype/isctype.c (__isctype): Likewise.
3125         * debug/backtrace.c (__backtrace): Likewise.
3126         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3127         * debug/fgets_chk.c (__fgets_chk): Likewise.
3128         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3129         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3130         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3131         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3132         * debug/memset_chk.c (__memset_chk): Likewise.
3133         * debug/strcat_chk.c (__strcat_chk): Likewise.
3134         * debug/strncat_chk.c (__strncat_chk): Likewise.
3135         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3136         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3137         * dirent/dirfd.c (dirfd): Likewise.
3138         * dirent/getdents.c (__getdirentries): Likewise.
3139         * dirent/getdents64.c (getdirentries64): Likewise.
3140         * dirent/rewinddir.c (__rewinddir): Likewise.
3141         * dirent/seekdir.c (seekdir): Likewise.
3142         * dirent/telldir.c (telldir): Likewise.
3143         * elf/sln.c (makesymlinks): Likewise.
3144         (makesymlink): Likewise.
3145         * gmon/gmon.c (__moncontrol): Likewise.
3146         (__monstartup): Likewise.
3147         (write_hist): Likewise.
3148         (write_call_graph): Likewise.
3149         (write_bb_counts): Likewise.
3150         * grp/setgroups.c (setgroups): Likewise.
3151         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3152         * inet/inet_net.c (inet_network): Likewise.
3153         * inet/inet_netof.c (inet_netof): Likewise.
3154         * inet/rcmd.c (rresvport_af): Likewise.
3155         (rresvport): Likewise.
3156         * io/access.c (__access): Likewise.
3157         * io/chdir.c (__chdir): Likewise.
3158         * io/chmod.c (__chmod): Likewise.
3159         * io/chown.c (__chown): Likewise.
3160         * io/close.c (__close): Likewise.
3161         * io/creat.c (creat): Likewise.
3162         * io/creat64.c (creat64): Likewise.
3163         * io/dup.c (__dup): Likewise.
3164         * io/dup2.c (__dup2): Likewise.
3165         * io/dup3.c (__dup3): Likewise.
3166         * io/euidaccess.c (__euidaccess): Likewise.
3167         * io/faccessat.c (faccessat): Likewise.
3168         * io/fchmod.c (__fchmod): Likewise.
3169         * io/fchmodat.c (fchmodat): Likewise.
3170         * io/fchown.c (__fchown): Likewise.
3171         * io/fchownat.c (fchownat): Likewise.
3172         * io/fcntl.c (__fcntl): Likewise.
3173         * io/flock.c (__flock): Likewise.
3174         * io/fts.c (fts_load): Likewise.
3175         (fts_close): Likewise.
3176         (fts_read): Likewise.
3177         (fts_set): Likewise.
3178         (fts_children): Likewise.
3179         (fts_build): Likewise.
3180         (fts_stat): Likewise.
3181         (fts_sort): Likewise.
3182         (fts_alloc): Likewise.
3183         (fts_lfree): Likewise.
3184         (fts_palloc): Likewise.
3185         (fts_padjust): Likewise.
3186         (fts_maxarglen): Likewise.
3187         (fts_safe_changedir): Likewise.
3188         * io/getwd.c (getwd): Likewise.
3189         * io/isatty.c (__isatty): Likewise.
3190         * io/lchown.c (__lchown): Likewise.
3191         * io/link.c (__link): Likewise.
3192         * io/linkat.c (linkat): Likewise.
3193         * io/lseek.c (__libc_lseek): Likewise.
3194         * io/mkdir.c (__mkdir): Likewise.
3195         * io/mkdirat.c (mkdirat): Likewise.
3196         * io/mkfifo.c (mkfifo): Likewise.
3197         * io/mkfifoat.c (mkfifoat): Likewise.
3198         * io/open.c (__libc_open): Likewise.
3199         * io/open64.c (__libc_open64): Likewise.
3200         * io/readlink.c (__readlink): Likewise.
3201         * io/readlinkat.c (readlinkat): Likewise.
3202         * io/rmdir.c (__rmdir): Likewise.
3203         * io/symlink.c (__symlink): Likewise.
3204         * io/symlinkat.c (symlinkat): Likewise.
3205         * io/ttyname.c (ttyname): Likewise.
3206         * io/ttyname_r.c (__ttyname_r): Likewise.
3207         * io/umask.c (__umask): Likewise.
3208         * io/unlink.c (__unlink): Likewise.
3209         * io/unlinkat.c (unlinkat): Likewise.
3210         * io/utime.c (utime): Likewise.
3211         * libio/clearerr.c (clearerr): Likewise.
3212         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3213         * libio/feof.c (_IO_feof): Likewise.
3214         * libio/feof_u.c (feof_unlocked): Likewise.
3215         * libio/ferror.c (_IO_ferror): Likewise.
3216         * libio/ferror_u.c (ferror_unlocked): Likewise.
3217         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3218         * libio/fileno.c (__fileno): Likewise.
3219         * libio/fputc.c (fputc): Likewise.
3220         * libio/fputc_u.c (fputc_unlocked): Likewise.
3221         * libio/fputwc.c (fputwc): Likewise.
3222         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3223         * libio/freopen.c (freopen): Likewise.
3224         * libio/freopen64.c (freopen64): Likewise.
3225         * libio/fseek.c (fseek): Likewise.
3226         * libio/fseeko.c (fseeko): Likewise.
3227         * libio/fseeko64.c (fseeko64): Likewise.
3228         * libio/ftello.c (__ftello): Likewise.
3229         * libio/ftello64.c (ftello64): Likewise.
3230         * libio/fwide.c (fwide): Likewise.
3231         * libio/genops.c (_IO_un_link): Likewise.
3232         (_IO_link_in): Likewise.
3233         (_IO_least_marker): Likewise.
3234         (_IO_switch_to_main_get_area): Likewise.
3235         (_IO_switch_to_backup_area): Likewise.
3236         (_IO_switch_to_get_mode): Likewise.
3237         (_IO_free_backup_area): Likewise.
3238         (_IO_switch_to_put_mode): Likewise.
3239         (__overflow): Likewise.
3240         (__underflow): Likewise.
3241         (__uflow): Likewise.
3242         (_IO_setb): Likewise.
3243         (_IO_doallocbuf): Likewise.
3244         (_IO_default_underflow): Likewise.
3245         (_IO_default_uflow): Likewise.
3246         (_IO_default_xsputn): Likewise.
3247         (_IO_sgetn): Likewise.
3248         (_IO_default_xsgetn): Likewise.
3249         (_IO_sync): Likewise.
3250         (_IO_default_setbuf): Likewise.
3251         (_IO_default_seekpos): Likewise.
3252         (_IO_default_doallocate): Likewise.
3253         (_IO_init): Likewise.
3254         (_IO_old_init): Likewise.
3255         (_IO_default_sync): Likewise.
3256         (_IO_default_finish): Likewise.
3257         (_IO_default_seekoff): Likewise.
3258         (_IO_sputbackc): Likewise.
3259         (_IO_sungetc): Likewise.
3260         (_IO_set_column): Likewise.
3261         (_IO_set_column): Likewise.
3262         (_IO_adjust_column): Likewise.
3263         (_IO_get_column): Likewise.
3264         (_IO_init_marker): Likewise.
3265         (_IO_remove_marker): Likewise.
3266         (_IO_marker_difference): Likewise.
3267         (_IO_marker_delta): Likewise.
3268         (_IO_seekmark): Likewise.
3269         (_IO_unsave_markers): Likewise.
3270         (_IO_nobackup_pbackfail): Likewise.
3271         (_IO_default_pbackfail): Likewise.
3272         (_IO_default_seek): Likewise.
3273         (_IO_default_stat): Likewise.
3274         (_IO_default_read): Likewise.
3275         (_IO_default_write): Likewise.
3276         (_IO_default_showmanyc): Likewise.
3277         (_IO_default_imbue): Likewise.
3278         (_IO_iter_next): Likewise.
3279         (_IO_iter_file): Likewise.
3280         * libio/getc.c (_IO_getc): Likewise.
3281         * libio/getwc.c (_IO_getwc): Likewise.
3282         * libio/iofclose.c (_IO_new_fclose): Likewise.
3283         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3284         * libio/iofflush.c (_IO_fflush): Likewise.
3285         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3286         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3287         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3288         * libio/iofgets.c (_IO_fgets): Likewise.
3289         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3290         * libio/iofgetws.c (fgetws): Likewise.
3291         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3292         * libio/iofopen64.c (_IO_fopen64): Likewise.
3293         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3294         (_IO_cookie_write): Likewise.
3295         (_IO_cookie_seek): Likewise.
3296         (_IO_cookie_close): Likewise.
3297         (_IO_cookie_seekoff): Likewise.
3298         (_IO_old_cookie_seek): Likewise.
3299         * libio/iofputs.c (_IO_fputs): Likewise.
3300         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3301         * libio/iofputws.c (fputws): Likewise.
3302         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3303         * libio/iofread.c (_IO_fread): Likewise.
3304         * libio/iofread_u.c (__fread_unlocked): Likewise.
3305         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3306         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3307         * libio/ioftell.c (_IO_ftell): Likewise.
3308         * libio/iofwrite.c (_IO_fwrite): Likewise.
3309         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3310         * libio/iogets.c (_IO_gets): Likewise.
3311         * libio/iopadn.c (_IO_padn): Likewise.
3312         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3313         (_IO_new_popen): Likewise.
3314         (_IO_new_proc_close): Likewise.
3315         * libio/ioputs.c (_IO_puts): Likewise.
3316         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3317         (_IO_seekoff): Likewise.
3318         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3319         (_IO_seekpos): Likewise.
3320         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3321         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3322         * libio/ioungetc.c (_IO_ungetc): Likewise.
3323         * libio/ioungetwc.c (ungetwc): Likewise.
3324         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3325         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3326         * libio/iowpadn.c (_IO_wpadn): Likewise.
3327         * libio/libc_fatal.c (__libc_fatal): Likewise.
3328         * libio/memstream.c (__open_memstream): Likewise.
3329         (_IO_mem_sync): Likewise.
3330         (_IO_mem_finish): Likewise.
3331         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3332         (_IO_old_file_close_it): Likewise.
3333         (_IO_old_file_finish): Likewise.
3334         (_IO_old_file_fopen): Likewise.
3335         (_IO_old_file_attach): Likewise.
3336         (_IO_old_file_setbuf): Likewise.
3337         (_IO_old_do_write): Likewise.
3338         (old_do_write): Likewise.
3339         (_IO_old_file_underflow): Likewise.
3340         (_IO_old_file_overflow): Likewise.
3341         (_IO_old_file_sync): Likewise.
3342         (_IO_old_file_seekoff): Likewise.
3343         (_IO_old_file_write): Likewise.
3344         (_IO_old_file_xsputn): Likewise.
3345         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3346         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3347         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3348         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3349         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3350         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3351         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3352         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3353         (_IO_old_popen): Likewise.
3354         (_IO_old_proc_close): Likewise.
3355         * libio/oldpclose.c (__old_pclose): Likewise.
3356         * libio/pclose.c (__new_pclose): Likewise.
3357         * libio/peekc.c (_IO_peekc_locked): Likewise.
3358         * libio/putc.c (_IO_putc): Likewise.
3359         * libio/putc_u.c (putc_unlocked): Likewise.
3360         * libio/putchar.c (putchar): Likewise.
3361         * libio/putchar_u.c (putchar_unlocked): Likewise.
3362         * libio/putwc.c (putwc): Likewise.
3363         * libio/putwc_u.c (putwc_unlocked): Likewise.
3364         * libio/putwchar.c (putwchar): Likewise.
3365         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3366         * libio/rewind.c (rewind): Likewise.
3367         * libio/setbuf.c (setbuf): Likewise.
3368         * libio/setlinebuf.c (setlinebuf): Likewise.
3369         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3370         * libio/vscanf.c (_IO_vscanf): Likewise.
3371         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3372         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3373         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3374         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3375         (_IO_switch_to_main_wget_area): Likewise.
3376         (_IO_switch_to_wbackup_area): Likewise.
3377         (_IO_wsetb): Likewise.
3378         (_IO_wdefault_pbackfail): Likewise.
3379         (_IO_wdefault_finish): Likewise.
3380         (_IO_wdefault_uflow): Likewise.
3381         (__woverflow): Likewise.
3382         (__wuflow): Likewise.
3383         (__wunderflow): Likewise.
3384         (_IO_wdefault_xsputn): Likewise.
3385         (_IO_wdefault_xsgetn): Likewise.
3386         (_IO_wdoallocbuf): Likewise.
3387         (_IO_wdefault_doallocate): Likewise.
3388         (_IO_switch_to_wget_mode): Likewise.
3389         (_IO_free_wbackup_area): Likewise.
3390         (_IO_switch_to_wput_mode): Likewise.
3391         (_IO_sputbackwc): Likewise.
3392         (_IO_sungetwc): Likewise.
3393         (_IO_adjust_wcolumn): Likewise.
3394         (_IO_init_wmarker): Likewise.
3395         (_IO_wmarker_delta): Likewise.
3396         (_IO_seekwmark): Likewise.
3397         (_IO_unsave_wmarkers): Likewise.
3398         * libio/wmemstream.c (open_wmemstream): Likewise.
3399         (_IO_wmem_sync): Likewise.
3400         (_IO_wmem_finish): Likewise.
3401         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3402         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3403         * locale/programs/simple-hash.c (init_hash): Likewise.
3404         (delete_hash): Likewise.
3405         (insert_entry): Likewise.
3406         (set_entry): Likewise.
3407         (next_prime): Likewise.
3408         (is_prime): Likewise.
3409         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3410         (xmalloc): Likewise.
3411         (xrealloc): Likewise.
3412         * locale/programs/xstrdup.c (xstrdup): Likewise.
3413         * localedata/collate-test.c (xstrcoll): Likewise.
3414         * localedata/xfrm-test.c (xstrcmp): Likewise.
3415         * login/getlogin_r.c (__getlogin_r): Likewise.
3416         * login/getpt.c (__posix_openpt): Likewise.
3417         * login/login_tty.c (login_tty): Likewise.
3418         * login/setlogin.c (setlogin): Likewise.
3419         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3420         (mach_msg_destroy_port): Likewise.
3421         (mach_msg_destroy_memory): Likewise.
3422         * malloc/mcheck.c (flood): Likewise.
3423         * misc/acct.c (acct): Likewise.
3424         * misc/brk.c (__brk): Likewise.
3425         * misc/chflags.c (chflags): Likewise.
3426         * misc/chroot.c (chroot): Likewise.
3427         * misc/fchflags.c (fchflags): Likewise.
3428         * misc/fstab.c (getfsspec): Likewise.
3429         (getfsfile): Likewise.
3430         * misc/fsync.c (fsync): Likewise.
3431         * misc/ftruncate.c (__ftruncate): Likewise.
3432         * misc/ftruncate64.c (__ftruncate64): Likewise.
3433         * misc/getdomain.c (getdomainname): Likewise.
3434         (getdomainname): Likewise.
3435         * misc/gethostname.c (__gethostname): Likewise.
3436         * misc/getpass.c (getpass): Likewise.
3437         * misc/getttyent.c (skip): Likewise.
3438         (value): Likewise.
3439         * misc/gtty.c (gtty): Likewise.
3440         * misc/hsearch.c (hsearch): Likewise.
3441         (hcreate): Likewise.
3442         * misc/hsearch_r.c (__hcreate_r): Likewise.
3443         (__hdestroy_r): Likewise.
3444         * misc/ioctl.c (__ioctl): Likewise.
3445         * misc/mkdtemp.c (mkdtemp): Likewise.
3446         * misc/mkostemp.c (mkostemp): Likewise.
3447         * misc/mkostemp64.c (mkostemp64): Likewise.
3448         * misc/mkostemps.c (mkostemps): Likewise.
3449         * misc/mkostemps64.c (mkostemps64): Likewise.
3450         * misc/mkstemp.c (mkstemp): Likewise.
3451         * misc/mkstemp64.c (mkstemp64): Likewise.
3452         * misc/mkstemps.c (mkstemps): Likewise.
3453         * misc/mkstemps64.c (mkstemps64): Likewise.
3454         * misc/mktemp.c (__mktemp): Likewise.
3455         * misc/preadv.c (preadv): Likewise.
3456         * misc/preadv64.c (preadv64): Likewise.
3457         * misc/pwritev.c (pwritev): Likewise.
3458         * misc/pwritev64.c (pwritev64): Likewise.
3459         * misc/readv.c (__readv): Likewise.
3460         * misc/revoke.c (revoke): Likewise.
3461         * misc/setdomain.c (setdomainname): Likewise.
3462         * misc/setegid.c (setegid): Likewise.
3463         * misc/seteuid.c (seteuid): Likewise.
3464         * misc/sethostid.c (sethostid): Likewise.
3465         * misc/sethostname.c (sethostname): Likewise.
3466         * misc/setregid.c (__setregid): Likewise.
3467         * misc/setreuid.c (__setreuid): Likewise.
3468         * misc/sstk.c (sstk): Likewise.
3469         * misc/stty.c (stty): Likewise.
3470         * misc/syscall.c (syscall): Likewise.
3471         * misc/syslog.c (setlogmask): Likewise.
3472         * misc/truncate.c (__truncate): Likewise.
3473         * misc/truncate64.c (truncate64): Likewise.
3474         * misc/ualarm.c (ualarm): Likewise.
3475         * misc/usleep.c (usleep): Likewise.
3476         * misc/ustat.c (ustat): Likewise.
3477         * misc/writev.c (__writev): Likewise.
3478         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3479         * nptl/old_pthread_cond_broadcast.c
3480         (__pthread_cond_broadcast_2_0): Likewise.
3481         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3482         Likewise.
3483         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3484         Likewise.
3485         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3486         Likewise.
3487         * nptl/pt-raise.c (raise): Likewise.
3488         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3489         Likewise.
3490         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3491         * nptl/pthread_barrierattr_destroy.c
3492         (pthread_barrierattr_destroy): Likewise.
3493         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3494         Likewise.
3495         * nptl/pthread_barrierattr_setpshared.c
3496         (pthread_barrierattr_setpshared): Likewise.
3497         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3498         Likewise.
3499         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3500         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3501         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3502         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3503         Likewise.
3504         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3505         Likewise.
3506         * nptl/pthread_condattr_getpshared.c
3507         (pthread_condattr_getpshared): Likewise.
3508         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3509         Likewise.
3510         * nptl/pthread_condattr_setpshared.c
3511         (pthread_condattr_setpshared): Likewise.
3512         * nptl/pthread_detach.c (pthread_detach): Likewise.
3513         * nptl/pthread_equal.c (__pthread_equal): Likewise.
3514         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3515         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3516         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3517         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3518         Likewise.
3519         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3520         Likewise.
3521         * nptl/pthread_mutex_getprioceiling.c
3522         (pthread_mutex_getprioceiling): Likewise.
3523         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3524         Likewise.
3525         * nptl/pthread_mutexattr_getprotocol.c
3526         (pthread_mutexattr_getprotocol): Likewise.
3527         * nptl/pthread_mutexattr_getpshared.c
3528         (pthread_mutexattr_getpshared): Likewise.
3529         * nptl/pthread_mutexattr_getrobust.c
3530         (pthread_mutexattr_getrobust): Likewise.
3531         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3532         Likewise.
3533         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3534         Likewise.
3535         * nptl/pthread_mutexattr_setprioceiling.c
3536         (pthread_mutexattr_setprioceiling): Likewise.
3537         * nptl/pthread_mutexattr_setprotocol.c
3538         (pthread_mutexattr_setprotocol): Likewise.
3539         * nptl/pthread_mutexattr_setpshared.c
3540         (pthread_mutexattr_setpshared): Likewise.
3541         * nptl/pthread_mutexattr_setrobust.c
3542         (pthread_mutexattr_setrobust): Likewise.
3543         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3544         Likewise.
3545         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3546         Likewise.
3547         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3548         Likewise.
3549         * nptl/pthread_rwlockattr_getkind_np.c
3550         (pthread_rwlockattr_getkind_np): Likewise.
3551         * nptl/pthread_rwlockattr_getpshared.c
3552         (pthread_rwlockattr_getpshared): Likewise.
3553         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3554         Likewise.
3555         * nptl/pthread_rwlockattr_setkind_np.c
3556         (pthread_rwlockattr_setkind_np): Likewise.
3557         * nptl/pthread_rwlockattr_setpshared.c
3558         (pthread_rwlockattr_setpshared): Likewise.
3559         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3560         Likewise.
3561         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3562         Likewise.
3563         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3564         Likewise.
3565         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3566         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3567         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3568         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3569         * nptl/sem_close.c (sem_close): Likewise.
3570         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3571         * nptl/sem_init.c (__old_sem_init): Likewise.
3572         * nptl/sigaction.c (__sigaction): Likewise.
3573         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3574         * posix/_exit.c (_exit): Likewise.
3575         * posix/alarm.c (alarm): Likewise.
3576         * posix/confstr.c (confstr): Likewise.
3577         * posix/fpathconf.c (__fpathconf): Likewise.
3578         * posix/getgroups.c (__getgroups): Likewise.
3579         * posix/getpgid.c (__getpgid): Likewise.
3580         * posix/group_member.c (__group_member): Likewise.
3581         * posix/pathconf.c (__pathconf): Likewise.
3582         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3583         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3584         * posix/setgid.c (__setgid): Likewise.
3585         * posix/setpgid.c (__setpgid): Likewise.
3586         * posix/setuid.c (__setuid): Likewise.
3587         * posix/sleep.c (__sleep): Likewise.
3588         * posix/sysconf.c (__sysconf): Likewise.
3589         * posix/times.c (__times): Likewise.
3590         * posix/uname.c (__uname): Likewise.
3591         * posix/waitid.c (__waitid): Likewise.
3592         * pwd/getpw.c (__getpw): Likewise.
3593         * resolv/base64.c (b64_pton): Likewise.
3594         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3595         * resolv/gethnamaddr.c (Dprintf): Likewise.
3596         (gethostbyname): Likewise.
3597         (gethostbyname2): Likewise.
3598         (gethostbyaddr): Likewise.
3599         (_sethtent): Likewise.
3600         (_gethtbyname): Likewise.
3601         (_gethtbyname2): Likewise.
3602         (_gethtbyaddr): Likewise.
3603         (map_v4v6_address): Likewise.
3604         (map_v4v6_hostent): Likewise.
3605         (addrsort): Likewise.
3606         (ht_sethostent): Likewise.
3607         (ht_gethostbyname): Likewise.
3608         (ht_gethostbyaddr): Likewise.
3609         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3610         (inet_net_ntop_ipv4): Likewise.
3611         * resolv/inet_neta.c (inet_neta): Likewise.
3612         * resolv/inet_ntop.c (inet_ntop): Likewise.
3613         (inet_ntop4): Likewise.
3614         (inet_ntop6): Likewise.
3615         * resolv/inet_pton.c (__inet_pton): Likewise.
3616         (inet_pton4): Likewise.
3617         (inet_pton6): Likewise.
3618         * resolv/res_debug.c (loc_aton): Likewise.
3619         (loc_ntoa): Likewise.
3620         * resource/getpriority.c (__getpriority): Likewise.
3621         * resource/getrusage.c (__getrusage): Likewise.
3622         * resource/nice.c (nice): Likewise.
3623         * resource/setpriority.c (__setpriority): Likewise.
3624         * resource/setrlimit64.c (setrlimit64): Likewise.
3625         * resource/vlimit.c (vlimit): Likewise.
3626         * resource/vtimes.c (vtimes): Likewise.
3627         * rt/aio_error.c (aio_error): Likewise.
3628         * rt/aio_return.c (aio_return): Likewise.
3629         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3630         * signal/kill.c (__kill): Likewise.
3631         * signal/killpg.c (killpg): Likewise.
3632         * signal/raise.c (raise): Likewise.
3633         * signal/sigaction.c (__sigaction): Likewise.
3634         * signal/sigaddset.c (sigaddset): Likewise.
3635         * signal/sigaltstack.c (sigaltstack): Likewise.
3636         * signal/sigandset.c (sigandset): Likewise.
3637         * signal/sigblock.c (__sigblock): Likewise.
3638         * signal/sigdelset.c (sigdelset): Likewise.
3639         * signal/sigempty.c (sigemptyset): Likewise.
3640         * signal/sigfillset.c (sigfillset): Likewise.
3641         * signal/sighold.c (sighold): Likewise.
3642         * signal/sigignore.c (sigignore): Likewise.
3643         * signal/sigintr.c (siginterrupt): Likewise.
3644         * signal/sigisempty.c (sigisemptyset): Likewise.
3645         * signal/sigismem.c (sigismember): Likewise.
3646         * signal/signal.c (signal): Likewise.
3647         * signal/sigorset.c (sigorset): Likewise.
3648         * signal/sigpause.c (__sigpause): Likewise.
3649         * signal/sigpending.c (sigpending): Likewise.
3650         * signal/sigprocmask.c (__sigprocmask): Likewise.
3651         * signal/sigrelse.c (sigrelse): Likewise.
3652         * signal/sigreturn.c (__sigreturn): Likewise.
3653         * signal/sigset.c (sigset): Likewise.
3654         * signal/sigsetmask.c (__sigsetmask): Likewise.
3655         * signal/sigstack.c (sigstack): Likewise.
3656         * signal/sigsuspend.c (__sigsuspend): Likewise.
3657         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3658         * signal/sysv_signal.c (__sysv_signal): Likewise.
3659         * socket/accept.c (accept): Likewise.
3660         * socket/accept4.c (__libc_accept4): Likewise.
3661         * socket/bind.c (__bind): Likewise.
3662         * socket/connect.c (__connect): Likewise.
3663         * socket/getpeername.c (getpeername): Likewise.
3664         * socket/getsockname.c (__getsockname): Likewise.
3665         * socket/getsockopt.c (getsockopt): Likewise.
3666         * socket/listen.c (__listen): Likewise.
3667         * socket/recv.c (__recv): Likewise.
3668         * socket/recvmsg.c (__recvmsg): Likewise.
3669         * socket/send.c (__send): Likewise.
3670         * socket/sendmsg.c (__sendmsg): Likewise.
3671         * socket/shutdown.c (shutdown): Likewise.
3672         * socket/sockatmark.c (sockatmark): Likewise.
3673         * socket/socket.c (__socket): Likewise.
3674         * stdio-common/ctermid.c (ctermid): Likewise.
3675         * stdio-common/cuserid.c (cuserid): Likewise.
3676         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3677         * stdio-common/remove.c (remove): Likewise.
3678         * stdio-common/rename.c (rename): Likewise.
3679         * stdio-common/renameat.c (renameat): Likewise.
3680         * stdio-common/tempname.c (__gen_tempname): Likewise.
3681         * stdio-common/xbug.c (InitBuffer): Likewise.
3682         (AppendToBuffer): Likewise.
3683         (ReadFile): Likewise.
3684         * stdlib/a64l.c (a64l): Likewise.
3685         * stdlib/drand48_r.c (drand48_r): Likewise.
3686         * stdlib/getcontext.c (getcontext): Likewise.
3687         * stdlib/getenv.c (getenv): Likewise.
3688         * stdlib/l64a.c (l64a): Likewise.
3689         * stdlib/llabs.c (llabs): Likewise.
3690         * stdlib/lldiv.c (lldiv): Likewise.
3691         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3692         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3693         * stdlib/putenv.c (putenv): Likewise.
3694         * stdlib/random.c (__srandom): Likewise.
3695         (__initstate): Likewise.
3696         (__setstate): Likewise.
3697         * stdlib/random_r.c (__srandom_r): Likewise.
3698         (__setstate_r): Likewise.
3699         (__random_r): Likewise.
3700         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3701         * stdlib/setcontext.c (setcontext): Likewise.
3702         * stdlib/setenv.c (setenv): Likewise.
3703         (unsetenv): Likewise.
3704         * stdlib/srand48.c (srand48): Likewise.
3705         * stdlib/srand48_r.c (__srand48_r): Likewise.
3706         * stdlib/swapcontext.c (swapcontext): Likewise.
3707         * stdlib/system.c (__libc_system): Likewise.
3708         * stdlib/tst-strtod.c (expand): Likewise.
3709         * stdlib/tst-strtol.c (expand): Likewise.
3710         * stdlib/tst-strtoll.c (expand): Likewise.
3711         * streams/fattach.c (fattach): Likewise.
3712         * streams/fdetach.c (fdetach): Likewise.
3713         * streams/getmsg.c (getmsg): Likewise.
3714         * streams/isastream.c (isastream): Likewise.
3715         * string/ffs.c (__ffs): Likewise.
3716         * string/ffsll.c (ffsll): Likewise.
3717         * string/memcmp.c (memcmp_common_alignment): Likewise.
3718         (memcmp_not_common_alignment): Likewise.
3719         (MEMCMP): Likewise.
3720         * string/memcpy.c (memcpy): Likewise.
3721         * string/memmove.c (MEMMOVE): Likewise.
3722         * string/memset.c (memset): Likewise.
3723         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3724         * string/strchrnul.c (STRCHRNUL): Likewise.
3725         * string/strerror.c (strerror): Likewise.
3726         * string/strndup.c (__strndup): Likewise.
3727         * string/strverscmp.c (__strverscmp): Likewise.
3728         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3729         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3730         (clnttcp_freeres): Likewise.
3731         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3732         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3733         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3734         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3735         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3736         (xdr_callhdr): Likewise.
3737         * sunrpc/rpcinfo.c (udpping): Likewise.
3738         (tcpping): Likewise.
3739         (pstatus): Likewise.
3740         (pmapdump): Likewise.
3741         (brdcst): Likewise.
3742         (deletereg): Likewise.
3743         (getprognum): Likewise.
3744         (getvers): Likewise.
3745         (get_inet_address): Likewise.
3746         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3747         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3748         (svcudp_stat): Likewise.
3749         (svcudp_recv): Likewise.
3750         (svcudp_reply): Likewise.
3751         (svcudp_getargs): Likewise.
3752         (svcudp_freeargs): Likewise.
3753         (svcudp_destroy): Likewise.
3754         * sunrpc/xdr.c (xdr_bytes): Likewise.
3755         (xdr_netobj): Likewise.
3756         (xdr_string): Likewise.
3757         (xdr_wrapstring): Likewise.
3758         * sunrpc/xdr_float.c (xdr_float): Likewise.
3759         (xdr_double): Likewise.
3760         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3761         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3762         * sysvipc/ftok.c (ftok): Likewise.
3763         * sysvipc/msgctl.c (msgctl): Likewise.
3764         * sysvipc/msgget.c (msgget): Likewise.
3765         * sysvipc/msgrcv.c (msgrcv): Likewise.
3766         * sysvipc/msgsnd.c (msgsnd): Likewise.
3767         * sysvipc/semget.c (semget): Likewise.
3768         * sysvipc/semop.c (semop): Likewise.
3769         * sysvipc/shmat.c (shmat): Likewise.
3770         * sysvipc/shmctl.c (shmctl): Likewise.
3771         * sysvipc/shmdt.c (shmdt): Likewise.
3772         * sysvipc/shmget.c (shmget): Likewise.
3773         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3774         * termios/speed.c (cfgetospeed): Likewise.
3775         (cfgetispeed): Likewise.
3776         (cfsetospeed): Likewise.
3777         (cfsetispeed): Likewise.
3778         * termios/tcflow.c (tcflow): Likewise.
3779         * termios/tcflush.c (tcflush): Likewise.
3780         * termios/tcgetattr.c (__tcgetattr): Likewise.
3781         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3782         * termios/tcgetsid.c (tcgetsid): Likewise.
3783         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3784         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3785         * time/adjtime.c (__adjtime): Likewise.
3786         * time/dysize.c (dysize): Likewise.
3787         * time/ftime.c (ftime): Likewise.
3788         * time/getitimer.c (__getitimer): Likewise.
3789         * time/gettimeofday.c (__gettimeofday): Likewise.
3790         * time/gmtime.c (__gmtime_r): Likewise.
3791         (gmtime): Likewise.
3792         * time/localtime.c (__localtime_r): Likewise.
3793         (localtime): Likewise.
3794         * time/offtime.c (__offtime): Likewise.
3795         * time/settimeofday.c (__settimeofday): Likewise.
3796         * time/stime.c (stime): Likewise.
3797         * time/strftime_l.c (tm_diff): Likewise.
3798         (iso_week_days): Likewise.
3799         * time/strptime.c (strptime): Likewise.
3800         * time/time.c (time): Likewise.
3801         * time/timespec_get.c (timespec_get): Likewise.
3802         * time/tzset.c (tzset_internal): Likewise.
3803         (compute_change): Likewise.
3804         (__tz_compute): Likewise.
3805         * wcsmbs/btowc.c (__btowc): Likewise.
3806         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3807         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3808         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3809         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3810         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3811         * wcsmbs/wcscat.c (__wcscat): Likewise.
3812         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3813         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3814         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3815         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3816         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3817         * wcsmbs/wcslen.c (__wcslen): Likewise.
3818         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3819         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3820         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3821         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3822         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3823         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3824         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3825         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3826         * wcsmbs/wcstok.c (wcstok): Likewise.
3827         * wcsmbs/wctob.c (wctob): Likewise.
3828         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3829         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3830         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3831         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3832         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3833         * wcsmbs/wmemset.c (__wmemset): Likewise.
3834         * wctype/wcfuncs.c (__towlower): Likewise.
3835         (__towupper): Likewise.
3837         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3838         (lll_unlock_elision): Add adapt_count parameter.
3840 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3842         * sysdeps/nptl/configure.ac: Do not give errors based on the
3843         results of top-level configure tests.
3844         * sysdeps/nptl/configure: Regenerated.
3846         * configure.ac (libc_cv_Bgroup): Remove configure test.
3847         * configure: Regenerated.
3848         * config.make.in (have-Bgroup): Remove variable.
3850         * configure.ac (sizeof_long_double): Remove configure test.
3851         * configure: Regenerated.
3852         * config.make.in (sizeof-long-double): Remove variable.
3854         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3855         * configure: Regenerated.
3856         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3857         variable.
3858         (exceptions): Likewise.
3859         * sysdeps/arm/configure: Regenerated.
3860         * config.make.in (exceptions): Remove variable.
3861         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3862         $(exceptions).
3863         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3864         (CFLAGS-vdprintf_chk.c): Likewise.
3865         (CFLAGS-printf_chk.c): Likewise.
3866         (CFLAGS-fprintf_chk.c): Likewise.
3867         (CFLAGS-vprintf_chk.c): Likewise.
3868         (CFLAGS-vfprintf_chk.c): Likewise.
3869         (CFLAGS-gets_chk.c): Likewise.
3870         (CFLAGS-fgets_chk.c): Likewise.
3871         (CFLAGS-fgets_u_chk.c): Likewise.
3872         (CFLAGS-fread_chk.c): Likewise.
3873         (CFLAGS-fread_u_chk.c): Likewise.
3874         (CFLAGS-wprintf_chk.c): Likewise.
3875         (CFLAGS-fwprintf_chk.c): Likewise.
3876         (CFLAGS-vwprintf_chk.c): Likewise.
3877         (CFLAGS-vfwprintf_chk.c): Likewise.
3878         (CFLAGS-fgetws_chk.c): Likewise.
3879         (CFLAGS-fgetws_u_chk.c): Likewise.
3880         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3881         (CFLAGS-fputc.c): Likewise.
3882         (CFLAGS-fputwc.c): Likewise.
3883         (CFLAGS-freopen64.c): Likewise.
3884         (CFLAGS-freopen.c): Likewise.
3885         (CFLAGS-fseek.c): Likewise.
3886         (CFLAGS-fseeko64.c): Likewise.
3887         (CFLAGS-fseeko.c): Likewise.
3888         (CFLAGS-ftello64.c): Likewise.
3889         (CFLAGS-ftello.c): Likewise.
3890         (CFLAGS-fwide.c): Likewise.
3891         (CFLAGS-genops.c): Likewise.
3892         (CFLAGS-getc.c): Likewise.
3893         (CFLAGS-getchar.c): Likewise.
3894         (CFLAGS-getwc.c): Likewise.
3895         (CFLAGS-getwchar.c): Likewise.
3896         (CFLAGS-iofclose.c): Likewise.
3897         (CFLAGS-iofflush.c): Likewise.
3898         (CFLAGS-iofgetpos64.c): Likewise.
3899         (CFLAGS-iofgetpos.c): Likewise.
3900         (CFLAGS-iofgets.c): Likewise.
3901         (CFLAGS-iofgetws.c): Likewise.
3902         (CFLAGS-iofputs.c): Likewise.
3903         (CFLAGS-iofputws.c): Likewise.
3904         (CFLAGS-iofread.c): Likewise.
3905         (CFLAGS-iofsetpos64.c): Likewise.
3906         (CFLAGS-iofsetpos.c): Likewise.
3907         (CFLAGS-ioftell.c): Likewise.
3908         (CFLAGS-iofwrite.c): Likewise.
3909         (CFLAGS-iogetdelim.c): Likewise.
3910         (CFLAGS-iogetline.c): Likewise.
3911         (CFLAGS-iogets.c): Likewise.
3912         (CFLAGS-iogetwline.c): Likewise.
3913         (CFLAGS-ioputs.c): Likewise.
3914         (CFLAGS-ioseekoff.c): Likewise.
3915         (CFLAGS-ioseekpos.c): Likewise.
3916         (CFLAGS-iosetbuffer.c): Likewise.
3917         (CFLAGS-iosetvbuf.c): Likewise.
3918         (CFLAGS-ioungetc.c): Likewise.
3919         (CFLAGS-ioungetwc.c): Likewise.
3920         (CFLAGS-oldfileops.c): Likewise.
3921         (CFLAGS-oldiofclose.c): Likewise.
3922         (CFLAGS-oldiofgetpos64.c): Likewise.
3923         (CFLAGS-oldiofgetpos.c): Likewise.
3924         (CFLAGS-oldiofsetpos64.c): Likewise.
3925         (CFLAGS-oldiofsetpos.c): Likewise.
3926         (CFLAGS-peekc.c): Likewise.
3927         (CFLAGS-putc.c): Likewise.
3928         (CFLAGS-putchar.c): Likewise.
3929         (CFLAGS-putwc.c): Likewise.
3930         (CFLAGS-putwchar.c): Likewise.
3931         (CFLAGS-rewind.c): Likewise.
3932         (CFLAGS-wfileops.c): Likewise.
3933         (CFLAGS-wgenops.c): Likewise.
3934         (CFLAGS-oldiofopen.c): Likewise.
3935         (CFLAGS-iofopen.c): Likewise.
3936         (CFLAGS-iofopen64.c): Likewise.
3937         (CFLAGS-oldtmpfile.c): Likewise.
3938         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3939         (CFLAGS-fprintf.c): Likewise.
3940         (CFLAGS-printf.c): Likewise.
3941         (CFLAGS-vfwprintf.c): Likewise.
3942         (CFLAGS-vfscanf.c): Likewise.
3943         (CFLAGS-vfwscanf.c): Likewise.
3944         (CFLAGS-fscanf.c): Likewise.
3945         (CFLAGS-scanf.c): Likewise.
3946         (CFLAGS-isoc99_vfscanf.c): Likewise.
3947         (CFLAGS-isoc99_vscanf.c): Likewise.
3948         (CFLAGS-isoc99_fscanf.c): Likewise.
3949         (CFLAGS-isoc99_scanf.c): Likewise.
3950         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3951         (CFLAGS-isoc99_fwscanf.c): Likewise.
3952         (CFLAGS-isoc99_vwscanf.c): Likewise.
3953         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3955         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3956         after mkstemp64.
3957         * login/tst-utmp.c (do_prepare): Likewise.
3958         * rt/tst-aio.c (do_prepare): Likewise.
3959         * rt/tst-aio64.c (do_prepare): Likewise.
3961 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3963         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3964         (__lll_lock_elision): Remove adapt_count decrement...
3965         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3966         (__lll_trylock_elision): Likewise.
3967         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3968         (__lll_unlock_elision): ... to here. And utilize
3969         new adapt_count parameter.
3970         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3971         (__lll_unlock_elision): Update to include adapt_count
3972         parameter.
3973         (lll_unlock_elision): Pass pointer to adapt_count
3974         variable.
3976 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3978         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3979         Add elision adapt_count parameter to list of arguments.
3980         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3981         (lll_unlock_elision): Update with new parameter list
3982         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3983         (lll_unlock_elision): Likewise
3984         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3985         (lll_unlock_elision): Likewise
3987 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3989         [BZ #19122]
3990         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3991         attribute_hidden.
3993         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3994         attribute_hidden.
3995         [IS_IN (rtld)] (__strdup): Likewise.
3996         [IS_IN (rtld)] (__strerror_r): Likewise.
3997         [IS_IN (rtld)] (__strsep_g): Likewise.
3998         [IS_IN (rtld)] (memchr): Likewise.
3999         [IS_IN (rtld)] (memcmp): Likewise.
4000         [IS_IN (rtld)] (memcpy): Likewise.
4001         [IS_IN (rtld)] (memmove): Likewise.
4002         [IS_IN (rtld)] (memset): Likewise.
4003         [IS_IN (rtld)] (rawmemchr): Likewise.
4004         [IS_IN (rtld)] (stpcpy): Likewise.
4005         [IS_IN (rtld)] (strchr): Likewise.
4006         [IS_IN (rtld)] (strcmp): Likewise.
4007         [IS_IN (rtld)] (strlen): Likewise.
4008         [IS_IN (rtld)] (strnlen): Likewise.
4009         [IS_IN (rtld)] (strsep): Likewise.
4011         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4012         attribute_hidden.
4013         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4015         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4016         attribute_hidden.
4017         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4019         * include/setjmp.h (__longjmp): Add attribute_hidden.
4020         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4022         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4023         Add attribute_hidden.
4025         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4026         [IS_IN (rtld)] (__open): Likewise.
4027         [IS_IN (rtld)] (__fcntl): Likewise.
4029         * include/dirent.h (__opendirat): Add attribute_hidden.
4030         (__getdents): Likewise.
4031         (__getdents64): Likewise.
4032         (__alloc_dir): Likewise.
4033         [IS_IN (rtld)] (__closedir): Likewise.
4034         [IS_IN (rtld)] (__fdopendir): Likewise.
4035         [IS_IN (rtld)] (__readdir): Likewise.
4036         [IS_IN (rtld)] (__readdir64): Likewise.
4037         [IS_IN (rtld)] (__rewinddir): Likewise.
4039         * include/dlfcn.h (_dl_catch_error): Moved to ...
4040         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4041         attribute_hidden.
4043         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4044         (_itoa_word): Likewise.
4046         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4047         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4048         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4049         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4050         (_dl_higher_prime_number): Likewise.
4051         (_dl_debug_printf_c): Likewise.
4052         (_dl_signal_cerror): Likewise.
4053         (_dl_receive_error): Likewise.
4054         (_dl_reloc_bad_type): Likewise.
4055         (_dl_resolve_conflicts): Likewise.
4056         (_dl_check_all_versions): Likewise.
4057         (_dl_check_map_versions): Likewise.
4058         (_dl_sort_fini): Likewise.
4059         (_dl_debug_initialize): Likewise.
4060         (_dl_init_paths): Likewise.
4061         (_dl_show_auxv): Likewise.
4062         (_dl_next_ld_env_entry): Likewise.
4063         (_dl_important_hwcaps): Likewise.
4064         (_dl_load_cache_lookup): Likewise.
4065         (_dl_update_slotinfo): Likewise.
4066         (_dl_show_scope): Likewise.
4068         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4069         attribute_hidden.
4070         (_wordcopy_fwd_dest_aligned): Likewise.
4071         (_wordcopy_bwd_aligned): Likewise.
4072         (_wordcopy_bwd_dest_aligned): Likewise.
4074         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4075         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4076         Likewise.
4077         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4078         Likewise.
4079         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4081 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4083         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4084         GCC 5 requirement.
4086 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4088         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4089         test.
4090         * sysdeps/i386/configure: Regenerated.
4091         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4092         code unconditional.
4094         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4095         test.
4096         (libc_cv_asm_popsection_directive): Likewise.
4097         * configure: Regenerated.
4098         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4099         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4100         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4101         (__make_section_unallocated): Make definition unconditional.
4102         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4103         Remove conditional definition.
4104         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4105         (__make_section_unallocated): Likewise.
4107         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4108         * configure: Regenerated.
4109         * config.make.in (static-libgcc): Remove variable.
4110         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4111         $(static-libgcc).
4112         (build-module-helper): Likewise.
4114         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4115         * configure: Regenerated.
4117 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4119         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4120         (struct char_buffer): New type.
4121         (char_buffer_start, char_buffer_size, char_buffer_error)
4122         (char_buffer_rewind, char_buffer_add): New functions.
4123         (ADDW): Remove macro, replaced by the char_buffer_add function.
4124         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4125         of extend_alloca.  Make control flow more explicit.
4127 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4129         [BZ #19137]
4130         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4131         Add -fomit-frame-pointer.
4132         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4134 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4136         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4137         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4138         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4139         only if !__GNUC_PREREQ (5,0).
4140         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4141         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4142         (INTERNAL_SYSCALL_NCS): Likewise.
4143         (LOADREGS_0): New macro for GCC 5.
4144         (ASMARGS_0): Likewise.
4145         (LOADREGS_1): Likewise.
4146         (ASMARGS_1): Likewise.
4147         (LOADREGS_2): Likewise.
4148         (ASMARGS_2): Likewise.
4149         (LOADREGS_3): Likewise.
4150         (ASMARGS_3): Likewise.
4151         (LOADREGS_4): Likewise.
4152         (ASMARGS_4): Likewise.
4153         (LOADREGS_5): Likewise.
4154         (ASMARGS_5): Likewise.
4155         (LOADREGS_6): Likewise.
4156         (ASMARGS_6): Likewise.
4158 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4160         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4161         -fomit-frame-pointer.
4162         (CFLAGS-mmap64.c): Likewise.
4163         (CFLAGS-semtimedop.c): Likewise.
4164         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4165         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4166         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4167         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4169 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4171         [BZ #18928]
4172         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4173         _dl_pointer_guard member.
4174         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4175         initializer.
4176         (security_init): Always set up pointer guard.
4177         (process_envvars): Do not process LD_POINTER_GUARD.
4179 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4181         [BZ #19134]
4182         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4183         (.LC2): Likewise.
4184         (.LC3): Likewise.
4185         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4187 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4189         [BZ #19129]
4190         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4191         r0 and r1.
4193 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4195         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4197 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4199         * include/stap-probe.h: Fix macro definition formatting.
4201 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4203         [BZ #19074]
4204         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4205         load and store num_ifs.
4207 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4209         [BZ #18822]
4210         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4211         (__sched_getaffinity_new): Add libc_hidden_proto and
4212         libc_hidden_def.
4214 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4216         [BZ #19007]
4217         * scripts/localplt.awk: Also allow GOT references.
4218         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4219         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4220         with "+ REL R_386_GLOB_DAT".
4221         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4222         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4224 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4226         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4227         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4228         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4229         Likewise.
4230         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4231         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4232         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4233         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4234         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4235         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4236         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4237         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4238         Likewise.
4239         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4241 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4243         [BZ #19125]
4244         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4245         <math_private.h> and <stdint.h>.
4246         (__llround): Avoid conversions to and from long long int, and
4247         subtractions, where those might raise spurious exceptions.
4248         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4249         <math_private.h> and <stdint.h>.
4250         (__llroundf): Avoid conversions to and from long long int, and
4251         subtractions, where those might raise spurious exceptions.
4253 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4255         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4256         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4257         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4258         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4259         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4260         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4261         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4262         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4263         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4264         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4265         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4266         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4267         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4268         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4269         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4270         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4271         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4272         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4273         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4274         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4275         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4276         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4277         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4278         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4279         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4280         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4281         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4282         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4283         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4284         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4285         (__xstat64_conv): Likewise.
4286         (__xstat32_conv): Likewise.
4288 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4290         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4291         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4292         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4293         <sysdeps/unix/sysv/linux/sysdep.h>.
4294         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4295         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4296         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4297         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4298         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4299         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4300         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4301         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4302         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4305         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4307         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4308         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4310         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4311         (sysdep-dl-routines): Add sysdep.
4312         [$(subdir) == nptl] (libpthread-routines): Likewise.
4313         [$(subdir) == rt] (librt-routines): Likewise.
4314         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4315         PIC when branching to SYSCALL_ERROR_LABEL.
4316         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4317         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4318         <sysdeps/unix/sysv/linux/sysdep.h>.
4319         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4320         (SYSCALL_ERROR_ERRNO): Removed.
4321         (SYSCALL_ERROR_HANDLER): Changed to empty.
4322         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4323         (__syscall_error): New prototype.
4324         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4325         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4327 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4329         [BZ #19124]
4330         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4331         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4332         _dl_runtime_resolve_avx.
4333         (_dl_runtime_profile_avx512): Make it a hidden alias of
4334         _dl_runtime_profile_avx.
4336 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4338         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4339         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4340         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4341         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4343         [BZ #16422]
4344         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4345         New configure test.
4346         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4347         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4348         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4349         <math_private.h> and <stdint.h>.
4350         (__llrint): Avoid conversions to long long int where those might
4351         raise spurious exceptions.
4352         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4353         <math_private.h> and <stdint.h>.
4354         (__llrintf): Avoid conversions to long long int where those might
4355         raise spurious exceptions.
4357 2015-10-12  Andreas Schwab  <schwab@suse.de>
4359         [BZ #18969]
4360         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4361         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4362         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4363         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4364         $(gen-locales).
4365         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4366         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4367         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4368         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4369         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4370         $(gen-locales).
4371         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4372         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4373         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4374         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4375         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4376         ($(objpfx)tst-ftell-active-handler.out)
4377         ($(objpfx)tst-ftell-append.out)
4378         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4379         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4380         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4381         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4382         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4383         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4384         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4385         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4386         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4387         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4388         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4389         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4390         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4391         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4392         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4393         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4394         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4395         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4396         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4397         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4398         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4399         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4400         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4401         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4402         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4403         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4404         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4405         $(gen-locales).
4406         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4407         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4408         $(gen-locales).
4409         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4410         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4411         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4412         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4413         $(gen-locales).
4414         * libio/tst_wprintf2.c (main): Use explicit locale.
4415         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4417 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4419         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4420         __msg_sig_post.
4421         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4423 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4425         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4426         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4428         * sysdeps/arm/libm-test-ulps: Regenerated.
4430         [BZ #15470]
4431         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4433         [BZ #16399]
4434         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4435         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4436         and <fix-fp-int-convert-overflow.h>.
4437         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4438         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4439         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4440         and <fix-fp-int-convert-overflow.h>.
4441         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4442         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4443         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4444         <fix-fp-int-convert-overflow.h>.
4445         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4446         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4447         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4448         <fix-fp-int-convert-overflow.h>.
4449         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4450         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4451         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4452         and <fix-fp-int-convert-overflow.h>.
4453         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4454         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4455         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4456         <limits.h> and <fix-fp-int-convert-overflow.h>.
4457         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4458         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4459         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4460         and <fix-fp-int-convert-overflow.h>.
4461         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4462         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4463         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4464         and <fix-fp-int-convert-overflow.h>.
4465         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4466         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4467         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4469 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4471         [BZ #18589]
4472         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4473         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4474         $(gen-locales).
4476 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4477             Phil Blundell <pb@pbcl.net>
4479         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4480         * nptl/tst-cancel26.c: New file.
4481         * nptl/tst-cancel27.c: Likewise.
4483 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
4485         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4486         __ILP32__ isn't defined.
4487         (lrint): Likewise.
4488         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4489         (lrintf): Likewise.
4490         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4491         (lrintl): Likewise.
4492         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4493         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4494         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4496 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4498         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4499         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4501         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4502         file.
4503         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4504         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4506 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4508         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4509         configure test.
4510         * sysdeps/i386/configure: Regenerated.
4511         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4512         configure test.
4513         * sysdeps/x86_64/configure: Regenerated.
4514         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4515         Make code unconditional.
4517         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4518         test.
4519         * sysdeps/i386/configure: Regenerated.
4520         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4521         test.
4522         * sysdeps/x86_64/configure: Regenerated.
4523         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4524         Make code unconditional.
4525         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4526         Likewise.
4527         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4528         Likewise.
4529         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4530         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4531         code unconditional.
4532         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4533         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4534         code unconditional.
4535         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4536         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4537         code unconditional.
4538         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4539         code unconditional.
4540         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4541         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4542         code unconditional.
4543         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4544         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4545         code unconditional.
4546         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4547         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4548         code unconditional.
4549         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4550         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4551         code unconditional.
4552         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4553         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4555         [BZ #19095]
4556         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4557         mantissa to long int before shifting left.
4559 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4561         [BZ #19094]
4562         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4563         <limits.h>.
4564         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4565         when result overflows but exception would not result from cast.
4566         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4567         <limits.h>.
4568         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4569         when result overflows but exception would not result from cast.
4570         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4571         <limits.h>.
4572         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4573         when result overflows but exception would not result from cast.
4574         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4575         <limits.h>.
4576         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4577         when result overflows but exception would not result from cast.
4578         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4579         <limits.h>.
4580         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4581         when result overflows but exception would not result from cast.
4582         * math/libm-test.inc (lrint_test_data): Add more tests.
4583         (llrint_test_data): Likewise.
4585 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4587         [BZ #18872]
4588         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4589         Move out from under [$(run-built-tests) = yes] conditional.
4590         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4591         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4593 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4595         [BZ #18589]
4596         * string/Makefile (tests): Add bug-strcoll2.
4597         (LOCALES): Add cs_CZ.UTF-8.
4598         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4600         [BZ #18589]
4601         * string/bug-strcoll2.c: New file.
4602         * locale/categories.def: Revert commit
4603         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4604         * locale/langinfo.h: Likewise.
4605         * locale/localeinfo.h: Likewise.
4606         * locale/C-collate.c: Likewise.
4607         * locale/programs/ld-collate.c (collate_output): Likewise.
4608         * string/strcoll_l.c (STRDIFF): Likewise.
4609         (STRCOLL): Likewise.
4610         * wcsmbs/wcscoll_l.c: Likewise.
4612 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4614         * math/libm-test.inc (lround_test_data): Do not expect the absence
4615         of "inexact" for some tests with non-integer arguments.
4616         (llround_test_data): Likewise.
4618         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4619         test.
4620         (libc_cv_cc_sse2avx): Likewise.
4621         * sysdeps/i386/configure: Regenerated.
4622         * sysdeps/i386/i686/multiarch/Makefile
4623         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4624         [$(subdir) = math].
4625         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4626         code unconditional.
4627         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4628         Likewise.
4629         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4630         Likewise.
4631         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4632         Likewise.
4633         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
4634         test.
4635         (libc_cv_cc_sse2avx): Likewise.
4636         * sysdeps/x86_64/configure: Regenerated.
4637         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
4638         unconditional.
4639         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
4640         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
4641         unconditional.
4642         (_dl_runtime_profile)
4643         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
4644         conditional code.
4645         * sysdeps/x86_64/fpu/multiarch/Makefile
4646         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
4647         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4648         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4649         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4650         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4651         * sysdeps/x86_64/fpu/multiarch/e_log.c
4652         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4653         * sysdeps/x86_64/fpu/multiarch/s_atan.c
4654         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4655         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4656         Likewise.
4657         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4658         Likewise.
4659         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4660         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4661         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4662         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4663         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4664         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4665         (HAVE_SSE2AVX_SUPPORT): Likewise.
4667 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4669         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4670         instead of #pragma optimize.
4672 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4674         [BZ #17195]
4675         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4676         as is similarly done in systrim and _int_free already.
4678 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4680         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4682 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4684         [BZ #19088]
4685         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4686         <limits.h>.
4687         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4688         overflows but exception would not result from cast.
4689         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4690         and <limits.h>.
4691         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4692         overflows but exception would not result from cast.
4693         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4694         <limits.h>.
4695         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4696         overflows but exception would not result from cast.
4697         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4698         <limits.h>.
4699         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4700         overflows but exception would not result from cast.
4701         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4702         <limits.h>.
4703         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4704         overflows but exception would not result from cast.
4705         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4706         <limits.h>.
4707         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4708         overflows but exception would not result from cast.
4709         * math/libm-test.inc (lround_test_data): Add more tests.
4710         (llround_test_data): Likewise.
4712 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4714         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4715         (CFLAGS-ialloc.c): Ditto.
4716         (CFLAGS-scheck.c): Ditto.
4718 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4720         [BZ #19086]
4721         * manual/filesys.texi (Storage Allocation): Fix argument order for
4722         posix_fallocate64.
4724 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4726         [BZ #19085]
4727         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4728         exponent below 48 inside case for non-overflowing exponent.
4729         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4731 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4733         * iconvdata/cp737.h (from_idx): Add const.
4734         * iconvdata/cp775.h (from_idx): Likewise.
4736 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4738         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4739         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4740         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4742         [BZ #19079]
4743         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4744         file, conditioned on [!_LP64].
4745         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4746         [!_LP64] (__lround): Do not define as function or alias.
4747         [!_LP64] (lround): Likewise.
4748         [!_LP64] (__lroundl): Likewise.
4749         [!_LP64] (lroundl): Likewise.
4750         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4751         macro.
4752         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4753         Likewise.
4755 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4757         * math/libm-test.inc (lrint_test_data): Add more tests.
4758         (llrint_test_data): Likewise.
4759         (lround_test_data): Likewise.
4760         (llround_test_data): Likewise.
4762         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4763         (llrint_test_data): Add tests used for lrint.
4765         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4766         test.
4767         * sysdeps/i386/configure: Regenerated.
4768         * sysdeps/i386/i686/multiarch/Makefile
4769         [$(config-cflags-sse4) = yes]: Make code unconditional.
4770         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4771         Likewise.
4772         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4773         Likewise.
4774         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4775         test.
4776         * sysdeps/x86_64/configure: Regenerated.
4777         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4778         Make code unconditional.
4779         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4780         Likewise.
4781         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4782         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4784         * scripts/rpm2dynsym.sh: Remove file.
4786 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4788         * configure.ac (libc_cv_cxx_thread_local): Define.
4789         * configure: Regenerate.
4790         * config.make.in (have-cxx-thread_local): Define.
4791         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4792         (LDLIBS-tst-thread_local1): Define.
4793         (tests): Add tst-thread_local1.
4794         [have-cxx-thread_local != yes] (tests-unsupported): Add
4795         tst-thread_local1.
4796         * nptl/tst-thread_local1.cc: New file.
4798 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4800         [BZ #19078]
4801         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4802         (u_thres): Likewise.
4803         (__expl): Determine whether to call __kernel_standard_l based on
4804         value of result, not argument.
4806         * math/libm-test.inc (scalb_test_data): Add more expectations for
4807         the "inexact" exception.
4809         [BZ #19077]
4810         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4811         0.0L for argument 1.0L.
4813         [BZ #19076]
4814         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4815         constant 0.0L when computing infinite result.
4817 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4819         [BZ #10432]
4820         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4821         malloc_usable_size.
4823 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4825         [BZ #19018]
4826         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4827         Mangle function pointer before storing it.
4828         (__call_tls_dtors): Demangle function pointer before calling it.
4830 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4832         [BZ #19012]
4833         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4834         Clean up on failure.
4836 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4838         [BZ #19071]
4839         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4840         long int variable to store possibly incremented high part of
4841         mantissa.
4842         * math/libm-test.inc (lround_test_data): Add tests used for
4843         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4844         for tests requiring 64-bit long.  Do not condition tests on
4845         [TEST_FLOAT] unnecessarily.
4846         (llround_test_data): Add tests used for lround.  Add another
4847         expectation for the "inexact" exception.  Do not condition tests
4848         on [TEST_FLOAT] unnecessarily.
4850         [BZ #887]
4851         [BZ #19049]
4852         [BZ #19050]
4853         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4854         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4855         <fix-int-fp-convert-zero.h>.
4856         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4857         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4858         <fix-int-fp-convert-zero.h>.
4859         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4860         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4861         <fix-int-fp-convert-zero.h>.
4862         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4863         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4864         <fix-int-fp-convert-zero.h>.
4865         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4866         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4867         <fix-int-fp-convert-zero.h>.
4868         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4869         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4870         <fix-int-fp-convert-zero.h>.
4871         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4872         * sysdeps/ieee754/flt-32/s_erff.c: Include
4873         <fix-int-fp-convert-zero.h>.
4874         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4875         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4876         <fix-int-fp-convert-zero.h>.
4877         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4878         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4879         <fix-int-fp-convert-zero.h>.
4880         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4881         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4882         <fix-int-fp-convert-zero.h>.
4883         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4884         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4885         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4886         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4887         file.
4888         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4890 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4892         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4894 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4896         [BZ #19059]
4897         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4898         overflowing computation.
4899         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4900         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4901         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4902         Likewise.
4903         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4904         Likewise.
4905         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4906         Likewise.
4907         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4908         Likewise.
4909         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4910         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4911         Likewise.
4912         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4913         Likewise.
4914         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4916         * nss/rewrite_field.c (__nss_rewrite_field): Use
4917         internal_function.
4918         * nss/valid_field.c (__nss_valid_field): Likewise.
4919         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4921 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4923         [BZ #18724]
4924         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4925         (__nss_invalid_field_characters, __nss_valid_field)
4926         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4927         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4928         tst-field.c: New file.
4929         * nss/Makefile (routines): Add valid_field, rewrite_field.
4930         (tests-static): Define unconditionally.
4931         (tests): Include tests-static.
4932         [build-static-nss] (tests-static): Use append.
4933         [build-static-nss] (tests): Remove modification.
4934         * nss/getent.c (print_group): Call putgrent.  Report error.
4935         (print_gshadow): Call putsgent.  Report error.
4936         (print_passwd): Call putpwent.  Report error.
4937         (print_shadow): Call putspent.  Report error.
4938         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4939         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4940         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4941         name, password, directory, shell fields for valid syntax.  Rewrite
4942         GECOS field to match syntax.
4943         * pwd/Makefile (tests): Add tst-putpwent.
4944         * pwd/tst-putpwent.c: New file.
4945         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4946         Check grName, grpasswd, gr_mem fields for valid syntax.
4947         Change loop variable i to size_t.
4948         * grp/Makefile (tests): Add tst-putgrent.
4949         * grp/tst-putgrent.c: New file.
4950         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4951         valid syntax.
4952         * shadow/Makefile (tests): Add tst-putspent.
4953         * shadow/tst-putspent.c: New file.
4954         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4955         sg_mem fields for valid syntax.
4956         * gshadow/Makefile (tests): Add tst-putsgent.
4957         * gshadow/tst-putsgent.c: New file.
4959 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4961         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4962         assembly instructions.
4964 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4966         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4967         prefix from operands.
4969 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4971         [BZ #16347]
4972         [BZ #19046]
4973         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4974         <libc-internal.h>.
4975         (MAXLGM): Do not use diagnostic control macros.
4976         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4977         threshold for ldbl-128ibm.
4978         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4979         instead of multiplying by log then subtracting.
4980         * math/auto-libm-test-in: Add more tests of lgamma.
4981         * math/auto-libm-test-out: Regenerated.
4983         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4984         (TYPE_HEX_DIG): Likewise.
4985         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4986         precisions when printing floating-point numbers.
4987         (check_float_internal): Likewise.
4989 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4991         [BZ #16620]
4992         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4993         of log (10) rounded downward to 48 bits.
4994         (log10_low): Use corresponding low part of log (10).
4996         [BZ #19032]
4997         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4998         compute result as (x - x) / (x - x) not as 0 / 0.
4999         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5000         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5002         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5003         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5004         and expm1.
5005         * math/auto-libm-test-out: Regenerated.
5006         * math/libm-test.inc (acos_test_data): Add more tests.
5007         (asin_test_data): Likewise.
5008         (asinh_test_data): Likewise.
5009         (atan_test_data): Likewise.
5010         (atanh_test_data): Likewise.
5011         (atan2_test_data): Likewise.
5012         (cbrt_test_data): Likewise.
5013         (ceil_test_data): Likewise.
5014         (copysign_test_data): Likewise.
5015         (cos_test_data): Likewise.
5016         (cosh_test_data): Likewise.
5017         (erf_test_data): Likewise.
5018         (erfc_test_data): Likewise.
5019         (exp_test_data): Likewise.
5020         (exp10_test_data): Likewise.
5021         (exp2_test_data): Likewise.
5022         (expm1_test_data): Likewise.
5023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5025 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5027         [BZ #19006]
5028         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5029         to ...
5030         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5031         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5032         to ...
5033         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5034         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5035         to ...
5036         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5037         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5038         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5039         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5040         to ...
5041         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5042         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5043         Moved to ...
5044         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5045         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5046         Moved to ...
5047         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5048         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5049         to ...
5050         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5051         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5052         Moved to ...
5053         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5054         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5055         to ...
5056         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5057         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5058         Removed.
5059         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5060         Likewise.
5061         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5062         Likewise.
5063         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5064         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5065         Likewise.
5066         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5067         Likewise.
5068         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5069         Likewise.
5070         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5071         Likewise.
5072         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5073         Likewise.
5074         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5075         Likewise.
5076         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5077         Likewise.
5078         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5079         Likewise.
5080         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5081         Likewise.
5082         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5083         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5084         Likewise.
5085         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5086         Likewise.
5087         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5088         Likewise.
5089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5090         Likewise.
5091         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5092         Likewise.
5093         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5094         Replace ../i486/pthread_cond_timedwait.S with
5095         ../pthread_cond_timedwait.S.
5097 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5099         * math/libm-test.inc (acos_test_data): Refine expectations for
5100         errno and "inexact" exceptions.
5101         (acosh_test_data): Likewise.
5102         (asin_test_data): Likewise.
5103         (asinh_test_data): Likewise.
5104         (atan_test_data): Likewise.
5105         (atanh_test_data): Likewise.
5106         (atan2_test_data): Likewise.
5107         (cbrt_test_data): Likewise.
5108         (ceil_test_data): Likewise.
5109         (copysign_test_data): Likewise.
5110         (cosh_test_data): Likewise.
5111         (erf_test_data): Likewise.
5112         (erfc_test_data): Likewise.
5113         (exp_test_data): Likewise.
5114         (exp10_test_data): Likewise.
5115         (exp2_test_data): Likewise.
5116         (expm1_test_data): Likewise.
5117         (fabs_test_data): Likewise.
5118         (floor_test_data): Likewise.
5119         (fma_test_data): Likewise.
5120         (fmax_test_data): Likewise.
5121         (fmin_test_data): Likewise.
5122         (fmod_test_data): Likewise.
5123         (fpclassify_test_data): Likewise.
5124         (frexp_test_data): Likewise.
5125         (hypot_test_data): Likewise.
5126         (ilogb_test_data): Likewise.
5127         (isgreater_test_data): Likewise.
5128         (isgreaterequal_test_data): Likewise.
5129         (isinf_test_data): Likewise.
5130         (isless_test_data): Likewise.
5131         (islessequal_test_data): Likewise.
5132         (islessgreater_test_data): Likewise.
5133         (isnan_test_data): Likewise.
5134         (isnormal_test_data): Likewise.
5135         (issignaling_test_data): Likewise.
5136         (isunordered_test_data): Likewise.
5137         (j0_test_data): Likewise.
5138         (j1_test_data): Likewise.
5139         (jn_test_data): Likewise.
5140         (lgamma_test_data): Likewise.
5141         (lrint_test_data): Likewise.
5142         (llrint_test_data): Likewise.
5143         (log_test_data): Likewise.
5144         (log10_test_data): Likewise.
5145         (log1p_test_data): Likewise.
5146         (log2_test_data): Likewise.
5147         (logb_test_data): Likewise.
5148         (lround_test_data): Likewise.
5149         (llround_test_data): Likewise.
5150         (modf_test_data): Likewise.
5151         (nearbyint_test_data): Likewise.
5152         (nextafter_test_data): Likewise.
5153         (nexttoward_test_data): Likewise.
5154         (pow_test_data): Likewise.
5155         (remainder_test_data): Likewise.
5156         (remquo_test_data): Likewise.
5157         (rint_test_data): Likewise.
5158         (round_test_data): Likewise.
5159         (signbit_test_data): Likewise.
5160         (sinh_test_data): Likewise.
5161         (sqrt_test_data): Likewise.
5162         (tanh_test_data): Likewise.
5163         (tgamma_test_data): Likewise.
5164         (trunc_test_data): Likewise.
5165         (y0_test_data): Likewise.
5166         (y1_test_data): Likewise.
5167         (yn_test_data): Likewise.
5168         (significand_test_data): Likewise.
5170 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5172         * manual/filesys.texi (Storage Allocation): Document that
5173         posix_fallocate emulation fails when fd is open with O_WRONLY.
5175 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5177         [BZ #19016]
5178         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5179         allow more cases with X^2 + Y^2 >= 0.5.
5180         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5181         normal element in sum instead of special-casing based on values of
5182         arguments.
5183         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5184         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5185         -1 as normal element in sum instead of special-casing based on
5186         values of arguments.
5187         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5188         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5189         (__x2y2m1): Update comment.
5190         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5191         as normal element in sum instead of special-casing based on values
5192         of arguments.
5193         * math/s_clog.c (__clog): Handle more cases using log1p without
5194         hypot.
5195         * math/s_clog10.c (__clog10): Likewise.
5196         * math/s_clog10f.c (__clog10f): Likewise.
5197         * math/s_clog10l.c (__clog10l): Likewise.
5198         * math/s_clogf.c (__clogf): Likewise.
5199         * math/s_clogl.c (__clogl): Likewise.
5200         * math/auto-libm-test-in: Add more tests of clog and clog10.
5201         * math/auto-libm-test-out: Regenerated.
5202         * sysdeps/i386/fpu/libm-test-ulps: Update.
5203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5205 2015-09-28  Martin Sebor  <msebor@redhat.com>
5207         [BZ #18969]
5208         * string/Makefile (LOCALES): Define.
5209         (gen-locales.mk): Include.
5210         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5211         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5212         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5213         on setlocale failure.
5215 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5217         [BZ #18985]
5218         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5219         (__strftime_internal): Likewise.
5220         * time/tst-strftime.c (do_bz18985): New test.
5221         (do_test): Call it.
5223 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5225         [BZ #18956]
5226         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5227         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5228         extracting high part.
5229         * math/auto-libm-test-in: Add another test of pow.
5230         * math/auto-libm-test-out: Regenerated.
5231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5233 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5235         [BZ #18825]
5236         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5237         New macro.
5238         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5239         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5240         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5241         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5242         DBL_NARROW_EVAL, reloading the PIC register as needed.
5243         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5244         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5245         FLT_NARROW_EVAL.  Use separate return path for case when first
5246         argument is NaN.
5247         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5248         DEFINE_LDBL_MIN.
5249         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5250         PIC register.
5251         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5252         math_check_force_underflow_nonneg.
5253         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5254         underflow for subnormal result.
5255         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5256         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5257         math_check_force_underflow_nonneg.
5258         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5259         math_check_force_underflow.
5260         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5261         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5262         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5263         DEFINE_LDBL_MIN.
5264         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5265         * math/auto-libm-test-in: Add more tests of pow.
5266         * math/auto-libm-test-out: Regenerated.
5268 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5270         * nss/bug17079.c (init_test_items): Add diagnostic for
5271         inconsistent entries.
5272         (test_buffer_size): Skip inconsistent entries.
5274 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5276         [BZ #13304]
5277         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5278         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5279         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5281         [BZ #13304]
5282         * sysdeps/microblaze/s_fma.c: New file.
5283         * sysdeps/microblaze/s_fmaf.c: Likewise.
5284         * sysdeps/microblaze/sfp-machine.h: Likewise.
5286 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5288         [BZ #17250]
5289         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5290         member.
5292 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5294         [BZ #18803]
5295         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5296         (MO): New macro.
5297         (__ieee754_hypot) [PIC]: Load PIC register.
5298         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5299         DBL_NARROW_EVAL.
5300         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5301         math_check_force_underflow_nonneg in case where result might be
5302         tiny.
5303         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5304         Likewise.
5305         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5306         Likewise.
5307         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5308         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5309         * math/auto-libm-test-in: Add more tests of hypot.
5310         * math/auto-libm-test-out: Regenerated.
5312 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5314         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5316 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5318         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5319         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5320         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5321         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5322         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5323         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5324         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5326         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5327         LOAD_PIC_REG.
5329         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5330         (FLT_CHECK_FORCE_UFLOW): Likewise.
5331         (DBL_CHECK_FORCE_UFLOW): Likewise.
5332         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5333         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5334         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5335         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5336         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5337         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5338         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5339         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5340         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5341         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5342         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5343         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5344         (flt_min): Replace with use of DEFINE_FLT_MIN.
5345         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5346         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5347         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5348         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5349         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5350         (flt_min): Replace with use of DEFINE_FLT_MIN.
5351         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5352         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5353         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5354         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5355         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5356         (flt_min): Replace with use of DEFINE_FLT_MIN.
5357         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5358         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5359         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5360         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5361         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5362         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5363         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5364         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5365         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5366         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5367         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5368         (flt_min): Replace with use of DEFINE_FLT_MIN.
5369         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5370         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5371         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5372         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5373         main computation.
5374         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5375         (flt_min): Replace with use of DEFINE_FLT_MIN.
5376         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5377         main computation.
5378         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5379         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5380         (MO): New macro.
5381         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5382         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5383         (flt_min): Replace with use of DEFINE_FLT_MIN.
5384         (MO): New macro.
5385         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5386         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5387         (__log1pl): Use MO.
5389         [BZ #19003]
5390         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5391         $(config-cflags-nofma).
5393 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5395         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5397 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5399         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5400         (TWO127): Likewise.
5402         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5403         (min_of_type): Likewise.
5404         (math_check_force_underflow): Likewise.
5405         (math_check_force_underflow_nonneg): Likewise.
5406         (math_check_force_underflow_complex): Likewise.
5407         * math/e_exp2l.c (__ieee754_exp2l): Use
5408         math_check_force_underflow_nonneg.
5409         * math/k_casinh.c (__kernel_casinh): Likewise.
5410         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5411         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5412         * math/s_catan.c (__catan): Use
5413         math_check_force_underflow_complex.
5414         * math/s_catanf.c (__catanf): Likewise.
5415         * math/s_catanh.c (__catanh): Likewise.
5416         * math/s_catanhf.c (__catanhf): Likewise.
5417         * math/s_catanhl.c (__catanhl): Likewise.
5418         * math/s_catanl.c (__catanl): Likewise.
5419         * math/s_ccosh.c (__ccosh): Likewise.
5420         * math/s_ccoshf.c (__ccoshf): Likewise.
5421         * math/s_ccoshl.c (__ccoshl): Likewise.
5422         * math/s_cexp.c (__cexp): Likewise.
5423         * math/s_cexpf.c (__cexpf): Likewise.
5424         * math/s_cexpl.c (__cexpl): Likewise.
5425         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5426         * math/s_clog10.c (__clog10): Likewise.
5427         * math/s_clog10f.c (__clog10f): Likewise.
5428         * math/s_clog10l.c (__clog10l): Likewise.
5429         * math/s_clogf.c (__clogf): Likewise.
5430         * math/s_clogl.c (__clogl): Likewise.
5431         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5432         * math/s_csinf.c (__csinf): Likewise.
5433         * math/s_csinh.c (__csinh): Likewise.
5434         * math/s_csinhf.c (__csinhf): Likewise.
5435         * math/s_csinhl.c (__csinhl): Likewise.
5436         * math/s_csinl.c (__csinl): Likewise.
5437         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5438         * math/s_csqrtf.c (__csqrtf): Likewise.
5439         * math/s_csqrtl.c (__csqrtl): Likewise.
5440         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5441         * math/s_ctanf.c (__ctanf): Likewise.
5442         * math/s_ctanh.c (__ctanh): Likewise.
5443         * math/s_ctanhf.c (__ctanhf): Likewise.
5444         * math/s_ctanhl.c (__ctanhl): Likewise.
5445         * math/s_ctanl.c (__ctanl): Likewise.
5446         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5447         instead of volatile.
5448         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5449         math_check_force_underflow.
5450         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5451         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5452         volatile when forcing underflow.
5453         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5454         math_check_force_underflow_nonneg.
5455         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5456         Likewise.
5457         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5458         math_check_force_underflow.
5459         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5460         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5461         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5462         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5463         math_check_force_underflow_nonneg.
5464         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5465         math_check_force_underflow.
5466         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5468         instead of volatile.
5469         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5470         math_check_force_underflow.
5471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5472         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5473         math_check_force_underflow_nonneg.
5474         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5475         math_check_force_underflow.
5476         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5477         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5478         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5479         math_check_force_underflow_nonneg.
5480         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5481         Likewise.
5482         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5483         math_check_force_underflow.
5484         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5485         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5486         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5487         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5488         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5489         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5490         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5491         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5492         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5493         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5494         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5495         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5496         Likewise.
5497         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5498         math_check_force_underflow_nonneg.
5499         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5500         Likewise.
5501         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5502         math_check_force_underflow.
5503         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5504         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5505         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5506         Likewise.
5507         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5508         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5509         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5510         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5511         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5512         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5514         instead of volatile.
5515         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5516         math_check_force_underflow.
5517         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5518         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5519         math_check_force_underflow.
5520         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5521         Likewise.
5522         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5523         Use math_check_force_underflow_nonneg.
5524         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5525         math_check_force_underflow.
5526         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5527         Likewise.
5528         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5529         Likewise.
5530         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5531         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5532         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5533         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5534         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5535         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5536         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5537         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5538         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5539         math_check_force_underflow_nonneg.
5540         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5541         math_check_force_underflow.
5542         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5543         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5544         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5545         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5546         math_check_force_underflow_nonneg.
5547         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5548         math_check_force_underflow.
5549         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5550         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5551         instead of volatile.
5552         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5553         math_check_force_underflow.
5555         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5556         * stdlib/strtod_l.c: Include <math_private.h>.
5557         (overflow_value): Use math_narrow_eval.
5558         (underflow_value): Likewise.
5559         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5560         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5561         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5562         (__ieee754_gamma_r): Likewise.
5563         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5564         Likewise.
5565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5566         Likewise.
5567         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5568         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5569         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5570         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5571         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5572         (__ieee754_gammaf_r): Likewise.
5573         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5574         Likewise.
5575         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5576         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5577         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5578         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5579         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5580         volatile.
5581         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5582         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5583         math_narrow_eval.
5584         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5585         Likewise.
5586         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5587         Likewise.
5588         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5589         Likewise.
5590         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5591         volatile.
5592         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5593         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5594         math_narrow_eval.
5595         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5596         Likewise.
5597         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5598         Likewise.
5600 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
5602         * nptl/Versions: Remove ignored symbols.
5604 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5606         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
5607         * nss/Makefile (tests): Update.
5609 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5611         * nss/bug18287.c: New file.
5612         * nss/Makefile (tests): Add bug18287.
5614 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5616         * mach/Versions (__mach_host_self_): Add symbol.
5618 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5620         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5621         vm_page_size.
5623 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5625         Really fix sysdeps/i386/fpu/s_scalbn.S build
5627         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5628         (libc: GLIBC_2_22): Remove unused version set.
5630 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5632         * config.make.in (enable-timezone-tools): New variable.
5633         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5634         (enable_timezone_tools): Export to generated files.
5635         * configure: Regenerate.
5636         * INSTALL: Regenerate.
5637         * manual/install.texi (--disable-timezone-tools): Document new flag.
5638         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
5639         ifeq ($(enable-timezone-tools),yes) check.
5641 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5643         * timezone/Makefile: Revert previous change.
5645         [BZ #18980]
5646         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5647         (DEFINE_DBL_MIN): Likewise.
5648         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5649         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5650         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5651         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5652         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5653         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5654         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5655         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5656         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5657         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5658         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5659         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5660         (flt_min): Replace with use of DEFINE_FLT_MIN.
5661         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5662         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5663         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5664         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5665         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5666         (flt_min): Replace with use of DEFINE_FLT_MIN.
5667         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5668         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5669         (flt_min): Replace with use of DEFINE_FLT_MIN.
5670         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5671         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5672         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5673         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5674         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5675         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5676         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5677         (__ieee754_pow): Use DBL_NARROW_EVAL.
5678         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5679         (__ieee754_powf): Use FLT_NARROW_EVAL.
5680         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5681         (__ieee754_expf_sse2): Convert double-precision result to single
5682         precision.
5683         * sysdeps/i386/fpu/libm-test-ulps: Update.
5685 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5687         * timezone/Makefile: Ignore unused variable errors due to private.h
5688         (time_t_min) and (time_t_max).
5689         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5690         Likewise.
5692 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5694         [BZ #18981]
5695         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5696         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5697         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5698         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5699         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5700         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5701         (__scalbn): Use DBL_NARROW_EVAL.
5702         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5703         (__scalbnf): Use FLT_NARROW_EVAL.
5705 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5707         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5708         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5709         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5710         * stdio-common/printf_fp.c (___printf_fp):
5711         Use signbit to get the sign. Use isinf macro to allow inlining.
5712         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5713         * stdio-common/printf_size.c (__printf_size): Likewise.
5715 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5717         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5719 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5721         [BZ #18980]
5722         * sysdeps/generic/math_private.h: Include <float.h>.
5723         (math_narrow_eval): New macro.
5724         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5725         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5726         math_narrow_eval on overflowing return value.
5727         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5728         Likewise.
5729         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5730         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5731         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5732         Likewise.
5733         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5735 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5737         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5738         * math/Makefile: Remove isinf_ns.c.
5739         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5740         * math/multc3.c (__multc3): Likewise.
5741         * math/s_casin.c (__casin): Likewise.
5742         * math/s_casinf.c (__casinf): Likewise.
5743         * math/s_casinl.c (__casinl): Likewise.
5744         * math/s_cproj.c (__cproj): Likewise.
5745         * math/s_cprojf.c (__cprojf): Likewise.
5746         * math/s_cprojl.c (__cprofl): Likewise.
5747         * math/s_ctan.c (__ctan): Likewise.
5748         * math/s_ctanf.c (__ctanf): Likewise.
5749         * math/s_ctanh.c (__ctanh): Likewise.
5750         * math/s_ctanhf.c (__ctanhf): Likewise.
5751         * math/s_ctanhl.c (__ctanhl): Likewise.
5752         * math/s_ctanl.c (__ctanl): Likewise.
5753         * math/w_fmod.c (__fmod): Likewise.
5754         * math/w_fmodf.c (__fmodf): Likewise.
5755         * math/w_fmodl.c (_fmodl): Likewise.
5756         * math/w_remainder.c (__remainder): Likewise.
5757         * math/w_remainderf.c (__remainderf): Likewise.
5758         * math/w_remainderl.c (__remainderl): Likewise.
5759         * math/w_scalb.c (__scalb): Likewise.
5760         * math/w_scalbf.c (__scalbf): Likewise.
5761         * math/w_scalbl.c (__scalbl): Likewise.
5762         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5763         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5764         with isinf.
5765         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5766         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5767         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5768         __isinf_nsf with isinf.
5769         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5770         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5771         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5772         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5773         with isinf.
5774         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5775         __isinf_nsl with isinf.
5776         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5777         with isinf.
5778         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5779         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5780         __isinf_nsl with isinf.
5781         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5782         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5783         with isinf.
5785 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5787         * resolv/base64.c (rcsid): Remove unused static.
5788         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5789         static.  (tqpi1): Likewise.
5790         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5791         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5792         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5793         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5794         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5795         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5796         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5797         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5798         Likewise.
5800 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5802         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5803         <nptl/pthreadP.h>.
5804         (_longjmp_unwind): Use __libc_ptf_call.
5805         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5807 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5809         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5810         * sysdeps/arm/__longjmp.S: Likewise
5812 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5814         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5815         Use __builtin_signbit.
5816         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5817         Use __builtin_signbitf.
5818         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5819         Use __builtin_signbitl.
5820         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5821         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5823 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5825         [BZ #15367]
5826         [BZ #17441]
5828         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5829         * math/math.h (fpclassify): Use __builtin_fpclassify when
5830         available.  (signbit): Use __builtin_signbit(f/l).
5831         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5832         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5833         (isinf): Use __builtin_isinf_sign.
5835 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5837         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5838         * benchtests/bench-math-inlines.c: New benchmark.
5839         * benchtests/bench-util.h: New file.
5840         * benchtests/bench-util.c: New file.
5841         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5843 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5845         * elf/tst-dlmopen1.c: Define TEST_SO.
5846         (do_test): Use TEST_SO.
5848         * elf/dl-load.c: Include libc-internal.h.
5849         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5851 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5853         [BZ #17887]
5854         * time/strptime_l.c (__strptime_internal): Make %z accept
5855         [+-]HH:MM time zones.
5857 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5859         [BZ #17886]
5860         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5861         valid time zone.
5863 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5865         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5866         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5867         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5868         (__ASSUME_FDATASYNC): Delete.
5870 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5872         * conform/linknamespace.pl: Require weak undefined symbols to be
5873         in the standard namespace.
5874         (%strong_syms): Rename to %seen_syms.
5875         (%strong_seen): Rename to %seen_where.
5877 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5879         [BZ #18970]
5880         * misc/error.c (error): Replace pthread_setcancelstate with
5881         __pthread_setcancelstate.
5882         (error_at_line): Likewise.
5883         * posix/wordexp.c (parse_comm): Likewise.
5884         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5885         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5886         (__pthread_setcancelstate): This.
5887         (pthread_setcancelstate): Add an alias.
5888         * nptl/nptl-init.c (pthread_functions): Replace
5889         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5890         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5891         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5892         hidden_proto.
5893         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5894         it with hidden_def.
5895         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5896         (pthread_setcancelstate): Renamed to ...
5897         (__pthread_setcancelstate): This.
5898         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5899         __libc_ptf_call with __pthread_setcancelstate.
5901 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5902             Andreas Schwab  <schwab@suse.de>
5904         [BZ #17118]
5905         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5906         result when imaginary part of argument is infinite using sine and
5907         cosine.
5908         * math/s_ctanf.c (__ctanf): Likewise.
5909         * math/s_ctanl.c (__ctanl): Likewise.
5910         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5911         of result when real part of argument is infinite using sine and
5912         cosine.
5913         * math/s_ctanhf.c (__ctanhf): Likewise.
5914         * math/s_ctanhl.c (__ctanhl): Likewise.
5915         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5916         (ctanh_test_data): Add more tests of ctanh.
5918 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5920         [BZ #15384]
5921         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5922         bit-mask as in subtraction.
5923         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5924         Likewise.
5925         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5926         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5927         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5929         [BZ #18951]
5930         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5931         underflow exception for small results.
5932         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5933         Likewise.
5934         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5935         Likewise.
5936         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5937         Likewise.
5938         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5939         Likewise.
5940         * math/auto-libm-test-in: Add more tests of tgamma.
5941         * math/auto-libm-test-out: Regenerated.
5943 2015-09-17  Andreas Schwab  <schwab@suse.de>
5945         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5947 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5949         [BZ #18977]
5950         * math/bits/mathcalls.h
5951         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5952         not declare.
5953         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5954         Likewise.
5955         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5956         Likewise.
5957         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5958         Likewise.
5959         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5960         Likewise.
5961         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5962         Likewise.
5963         * conform/data/math.h-data
5964         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5965         function.
5966         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5967         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5968         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5969         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5970         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5971         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5972         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5973         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5974         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5975         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5976         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5978         [BZ #6803]
5979         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5980         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5981         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5982         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5983         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5984         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5985         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5986         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5987         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5988         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5989         Likewise.
5990         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5991         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5992         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5993         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5994         long_double_symbol calls.
5995         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5996         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5997         strong alias of __ldexpl.
5998         (scalbnl): Define using long_double_symbol.
5999         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6000         Remove alias.
6001         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6002         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6003         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6004         (scalbln_test_data): Add more errno expectations.
6006 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6008         Cache the host port like we cache the task port.  This way we do not
6009         need to call the kernel just to get the port.  Furthermore, we no
6010         longer increase the reference count on every invocation of
6011         `mach_host_self'.
6013         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6014         Protect declarations against the macro expansion.
6015         * mach/mach_init.c (__mach_host_self_): New variable.
6016         (mach_init): Initialize `__mach_host_self_'.
6017         * mach/mach_init.h (__mach_host_self_): New declaration.
6018         (__mach_host_self, mach_host_self): New macros.
6019         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6020         Release reference.
6022 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6024         [BZ #4404]
6025         * po/de.po: Update from Translation Project.
6027         [BZ #16415]
6028         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6029         (__expm1l): Remove code to handle positive infinity and overflow.
6030         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6031         variable.
6032         (__expm1l): Remove code to handle positive infinity and overflow.
6034 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6035             Paul Pluzhnikov  <ppluzhnikov@google.com>
6037         [BZ #18872]
6038         * stdio-common/Makefile (tst-printf-bz18872): New test.
6039         (tst-printf-bz18872-mem.out): Likewise.
6040         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6041         * stdio-common/vfprintf.c: Fix memory leaks.
6043 2015-09-16  Andreas Schwab  <schwab@suse.de>
6045         [BZ #17244]
6046         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6047         Remove extra va_start/va_end calls.
6049         [BZ #17243]
6050         * posix/execl.c (execl): Add missing va_end.
6051         * posix/execle.c (execle): Likewise.
6052         * posix/execlp.c (execlp): Likewise.
6054 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6056         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6057         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6059 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6061         [BZ #18967]
6062         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6063         undefine around includes of <bits/mathcalls.h>.
6064         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6065         not declare function.
6066         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6067         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6068         (scalb): Likewise.
6069         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6070         not define macro.
6071         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6072         variable.
6073         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6074         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6075         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6077         [BZ #18857]
6078         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6079         return non-finite argument without doing ordered comparisons on
6080         it.
6082         [BZ #16296]
6083         * math/fenv.h (fegetround): Use __attribute_pure__.
6084         * include/fenv.h (__fegetround): Likewise.
6086         [BZ #18595]
6087         * math/s_ctan.c (__ctan): Force underflow exception for results
6088         whose real or imaginary part has small absolute value.
6089         * math/s_ctanf.c (__ctanf): Likewise.
6090         * math/s_ctanh.c (__ctanh): Likewise.
6091         * math/s_ctanhf.c (__ctanhf): Likewise.
6092         * math/s_ctanhl.c (__ctanhl): Likewise.
6093         * math/s_ctanl.c (__ctanl): Likewise.
6094         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6095         and ctanh.  Add more tests of ctan and ctanh.
6097         [BZ #15918]
6098         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6099         handling of cases where one argument is an infinity.
6101         [BZ #18875]
6102         [BZ #18966]
6103         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6104         (MO): New macro.
6105         (__ieee754_exp10): For small results, force underflow exception
6106         and remove excess range and precision from return value.
6107         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6108         (MO): New macro.
6109         (__ieee754_exp10f): For small results, force underflow exception
6110         and remove excess range and precision from return value.
6111         * math/auto-libm-test-in: Add more tests of exp10.
6112         * math/auto-libm-test-out: Regenerated.
6114 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6116         [BZ #18875]
6117         [BZ #18961]
6118         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6119         (MO): New macro.
6120         (__ieee754_exp): For small results, force underflow exception and
6121         remove excess range and precision from return value.
6122         (__exp_finite): Likewise.
6123         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6124         (MO): New macro.
6125         (__ieee754_expf): For small results, force underflow exception and
6126         remove excess range and precision from return value.
6127         (__expf_finite): Likewise.
6128         * math/auto-libm-test-in: Add more tests of exp.
6129         * math/auto-libm-test-out: Regenerated.
6131         [BZ #16521]
6132         [BZ #18875]
6133         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6134         small results.
6135         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6136         (MO): New macro.
6137         (__ieee754_exp2): For small results, force underflow exception and
6138         remove excess range and precision from return value.
6139         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6140         (MO): New macro.
6141         (__ieee754_exp2f): For small results, force underflow exception
6142         and remove excess range and precision from return value.
6143         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6144         (MO): New macro.
6145         (__ieee754_exp2l): Force underflow exception for small results.
6146         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6147         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6148         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6149         (MO): New macro.
6150         (__ieee754_exp2l): Force underflow exception for small results.
6151         * math/auto-libm-test-in: Add more tests or exp2.
6152         * math/auto-libm-test-out: Regenerated.
6154 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6156         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6158         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6159         /dev/null.
6161 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6163         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6164         io fs process)): Drop spurious backslash.
6166 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6168         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6169         Use sysinfo system call instead of parsing /proc/meminfo.
6170         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6171         Likewise.
6173 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6175         [BZ #16985]
6176         * programs/localedef.c (main): Display argv[remaining] when
6177         output_path is NULL.
6179 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6181         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6182         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6183         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6184         tanh.
6185         * math/auto-libm-test-out: Regenerated.
6186         * sysdeps/i386/fpu/libm-test-ulps: Update.
6187         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6188         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6191 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6193         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6194         Use 'override' keyword to freeze the value here, preventing
6195         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6197 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6199         [BZ #14912]
6200         * sysdeps/aarch64/bits/atomic.h: Move to ...
6201         * sysdeps/aarch64/atomic-machine.h: ...here.
6202         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6203         _AARCH64_ATOMIC_MACHINE_H.
6204         * sysdeps/alpha/bits/atomic.h: Move to ...
6205         * sysdeps/alpha/atomic-machine.h: ...here.
6206         * sysdeps/arm/bits/atomic.h: Move to ...
6207         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6208         * bits/atomic.h: Move to ...
6209         * sysdeps/generic/atomic-machine.h: ...here.
6210         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6211         * sysdeps/i386/bits/atomic.h: Move to ...
6212         * sysdeps/i386/atomic-machine.h: ...here.
6213         * sysdeps/ia64/bits/atomic.h: Move to ...
6214         * sysdeps/ia64/atomic-machine.h: ...here.
6215         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6216         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6217         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6218         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6219         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6220         * sysdeps/microblaze/bits/atomic.h: Move to ...
6221         * sysdeps/microblaze/atomic-machine.h: ...here.
6222         * sysdeps/mips/bits/atomic.h: Move to ...
6223         * sysdeps/mips/atomic-machine.h: ...here.
6224         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6225         * sysdeps/powerpc/bits/atomic.h: Move to ...
6226         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6227         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6228         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6229         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6230         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6231         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6232         <atomic-machine.h> instead of <bits/atomic.h>.
6233         * sysdeps/s390/bits/atomic.h: Move to ...
6234         * sysdeps/s390/atomic-machine.h: ...here.
6235         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6236         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6237         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6238         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6239         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6240         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6241         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6242         * sysdeps/tile/bits/atomic.h: Move to ...
6243         * sysdeps/tile/atomic-machine.h: ...here.
6244         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6245         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6246         <sysdeps/tile/atomic-machine.h> instead of
6247         <sysdeps/tile/bits/atomic.h>.
6248         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6249         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6250         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6251         <sysdeps/tile/atomic-machine.h> instead of
6252         <sysdeps/tile/bits/atomic.h>.
6253         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6254         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6255         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6256         <sysdeps/arm/atomic-machine.h> instead of
6257         <sysdeps/arm/bits/atomic.h>.
6258         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6259         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6260         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6261         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6262         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6263         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6264         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6265         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6266         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6267         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6268         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6269         * sysdeps/x86_64/bits/atomic.h: Move to ...
6270         * sysdeps/x86_64/atomic-machine.h: ...here.
6271         * include/atomic.h: Include <atomic-machine.h> instead of
6272         <bits/atomic.h>.
6274         * sysdeps/mips/mips32/libm-test-ulps: Update.
6275         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6277         [BZ #18952]
6278         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6279         not convert non-integer negative arguments to int to determine the
6280         value of signgam.
6281         * math/auto-libm-test-in: Add more tests of lgamma.
6282         * math/auto-libm-test-out: Regenerated.
6284         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6285         cosh, csqrt, erfc, expm1 and lgamma.
6286         * math/auto-libm-test-out: Regenerated.
6287         * sysdeps/i386/fpu/libm-test-ulps: Update.
6288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6290 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6292         [BZ #2542]
6293         [BZ #2543]
6294         [BZ #2558]
6295         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6296         __lgamma_neg for arguments from -28.0 to -2.0.
6297         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6298         __lgamma_negf for arguments from -15.0 to -2.0.
6299         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6300         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6301         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6302         Call __lgamma_negl for arguments from -33.0 to -2.0.
6303         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6304         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6305         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6306         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6307         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6308         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6309         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6310         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6311         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6312         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6313         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6314         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6315         (__lgamma_neg): Likewise.
6316         (__lgamma_negl): Likewise.
6317         (__lgamma_product): Likewise.
6318         (__lgamma_productl): Likewise.
6319         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6320         * math/auto-libm-test-in: Add more tests of lgamma.
6321         * math/auto-libm-test-out: Regenerated.
6322         * sysdeps/i386/fpu/libm-test-ulps: Update.
6323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6325 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6327         [BZ #18675]
6328         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6330 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6332         [BZ #14912]
6333         * bits/libc-lock.h: Move to ...
6334         * sysdeps/generic/libc-lock.h: ...here.
6335         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6336         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6337         * sysdeps/mach/hurd/libc-lock.h: ...here.
6338         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6339         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6340         * sysdeps/mach/bits/libc-lock.h: Move to ...
6341         * sysdeps/mach/libc-lock.h: ...here.
6342         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6343         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6344         * sysdeps/nptl/libc-lock.h: ...here.
6345         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6346         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6347         * sysdeps/nptl/libc-lockP.h: ...here.
6348         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6349         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6350         <bits/libc-lock.h>.
6351         * dirent/scandir-tail.c: Likewise.
6352         * dlfcn/dlerror.c: Likewise.
6353         * elf/dl-close.c: Likewise.
6354         * elf/dl-iteratephdr.c: Likewise.
6355         * elf/dl-lookup.c: Likewise.
6356         * elf/dl-open.c: Likewise.
6357         * elf/dl-support.c: Likewise.
6358         * elf/dl-writev.h: Likewise.
6359         * elf/rtld.c: Likewise.
6360         * grp/fgetgrent.c: Likewise.
6361         * gshadow/fgetsgent.c: Likewise.
6362         * gshadow/sgetsgent.c: Likewise.
6363         * iconv/gconv_conf.c: Likewise.
6364         * iconv/gconv_db.c: Likewise.
6365         * iconv/gconv_dl.c: Likewise.
6366         * iconv/gconv_int.h: Likewise.
6367         * iconv/gconv_trans.c: Likewise.
6368         * include/link.h: Likewise.
6369         * inet/getnameinfo.c: Likewise.
6370         * inet/getnetgrent.c: Likewise.
6371         * inet/getnetgrent_r.c: Likewise.
6372         * intl/bindtextdom.c: Likewise.
6373         * intl/dcigettext.c: Likewise.
6374         * intl/finddomain.c: Likewise.
6375         * intl/gettextP.h: Likewise.
6376         * intl/loadmsgcat.c: Likewise.
6377         * intl/localealias.c: Likewise.
6378         * intl/textdomain.c: Likewise.
6379         * libidn/idn-stub.c: Likewise.
6380         * libio/libioP.h: Likewise.
6381         * locale/duplocale.c: Likewise.
6382         * locale/freelocale.c: Likewise.
6383         * locale/newlocale.c: Likewise.
6384         * locale/setlocale.c: Likewise.
6385         * login/getutent_r.c: Likewise.
6386         * login/getutid_r.c: Likewise.
6387         * login/getutline_r.c: Likewise.
6388         * login/utmp-private.h: Likewise.
6389         * login/utmpname.c: Likewise.
6390         * malloc/mtrace.c: Likewise.
6391         * misc/efgcvt.c: Likewise.
6392         * misc/error.c: Likewise.
6393         * misc/fstab.c: Likewise.
6394         * misc/getpass.c: Likewise.
6395         * misc/mntent.c: Likewise.
6396         * misc/syslog.c: Likewise.
6397         * nis/nis_call.c: Likewise.
6398         * nis/nis_callback.c: Likewise.
6399         * nis/nss-default.c: Likewise.
6400         * nis/nss_compat/compat-grp.c: Likewise.
6401         * nis/nss_compat/compat-initgroups.c: Likewise.
6402         * nis/nss_compat/compat-pwd.c: Likewise.
6403         * nis/nss_compat/compat-spwd.c: Likewise.
6404         * nis/nss_nis/nis-alias.c: Likewise.
6405         * nis/nss_nis/nis-ethers.c: Likewise.
6406         * nis/nss_nis/nis-grp.c: Likewise.
6407         * nis/nss_nis/nis-hosts.c: Likewise.
6408         * nis/nss_nis/nis-network.c: Likewise.
6409         * nis/nss_nis/nis-proto.c: Likewise.
6410         * nis/nss_nis/nis-pwd.c: Likewise.
6411         * nis/nss_nis/nis-rpc.c: Likewise.
6412         * nis/nss_nis/nis-service.c: Likewise.
6413         * nis/nss_nis/nis-spwd.c: Likewise.
6414         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6415         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6416         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6417         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6418         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6419         * nis/nss_nisplus/nisplus-network.c: Likewise.
6420         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6421         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6422         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6423         * nis/nss_nisplus/nisplus-service.c: Likewise.
6424         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6425         * nis/ypclnt.c: Likewise.
6426         * nptl/libc_pthread_init.c: Likewise.
6427         * nss/getXXbyYY.c: Likewise.
6428         * nss/getXXent.c: Likewise.
6429         * nss/getXXent_r.c: Likewise.
6430         * nss/nss_db/db-XXX.c: Likewise.
6431         * nss/nss_db/db-netgrp.c: Likewise.
6432         * nss/nss_db/nss_db.h: Likewise.
6433         * nss/nss_files/files-XXX.c: Likewise.
6434         * nss/nss_files/files-alias.c: Likewise.
6435         * nss/nsswitch.c: Likewise.
6436         * posix/regex_internal.h: Likewise.
6437         * posix/wordexp.c: Likewise.
6438         * pwd/fgetpwent.c: Likewise.
6439         * resolv/res_hconf.c: Likewise.
6440         * resolv/res_libc.c: Likewise.
6441         * shadow/fgetspent.c: Likewise.
6442         * shadow/lckpwdf.c: Likewise.
6443         * shadow/sgetspent.c: Likewise.
6444         * socket/opensock.c: Likewise.
6445         * stdio-common/reg-modifier.c: Likewise.
6446         * stdio-common/reg-printf.c: Likewise.
6447         * stdio-common/reg-type.c: Likewise.
6448         * stdio-common/vfprintf.c: Likewise.
6449         * stdio-common/vfscanf.c: Likewise.
6450         * stdlib/abort.c: Likewise.
6451         * stdlib/cxa_atexit.c: Likewise.
6452         * stdlib/fmtmsg.c: Likewise.
6453         * stdlib/random.c: Likewise.
6454         * stdlib/setenv.c: Likewise.
6455         * string/strsignal.c: Likewise.
6456         * sunrpc/auth_none.c: Likewise.
6457         * sunrpc/bindrsvprt.c: Likewise.
6458         * sunrpc/create_xid.c: Likewise.
6459         * sunrpc/key_call.c: Likewise.
6460         * sunrpc/rpc_thread.c: Likewise.
6461         * sysdeps/arm/backtrace.c: Likewise.
6462         * sysdeps/generic/ldsodefs.h: Likewise.
6463         * sysdeps/generic/stdio-lock.h: Likewise.
6464         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6465         * sysdeps/i386/backtrace.c: Likewise.
6466         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6467         * sysdeps/m68k/backtrace.c: Likewise.
6468         * sysdeps/mach/hurd/cthreads.c: Likewise.
6469         * sysdeps/mach/hurd/dirstream.h: Likewise.
6470         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6471         * sysdeps/nptl/malloc-machine.h: Likewise.
6472         * sysdeps/nptl/stdio-lock.h: Likewise.
6473         * sysdeps/posix/dirstream.h: Likewise.
6474         * sysdeps/posix/getaddrinfo.c: Likewise.
6475         * sysdeps/posix/system.c: Likewise.
6476         * sysdeps/pthread/aio_suspend.c: Likewise.
6477         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6478         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6479         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6480         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6481         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6482         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6483         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6484         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6485         * sysdeps/unix/sysv/linux/system.c: Likewise.
6486         * sysdeps/x86_64/backtrace.c: Likewise.
6487         * time/alt_digit.c: Likewise.
6488         * time/era.c: Likewise.
6489         * time/tzset.c: Likewise.
6490         * wcsmbs/wcsmbsload.c: Likewise.
6491         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6492         instead of <bits/libc-lock.h> in comment.
6494 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
6496         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6497         Only use .set mips2 if the current ISA is below mips2.
6498         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6499         Likewise.
6500         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6501         mips32r2 if the current ISA is below mips32r2.
6502         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6503         (TLS_IE): Updated to use the TLD_RDHWR macro.
6504         (TLS_LE): Likewise.
6505         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6506         __ASSEMBLER__ condition.
6508 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6510         Fix parallel build of before-compile targets.
6512         * sysdeps/mach/Makefile ($(patsubst
6513         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6514         mach-before-compile target.
6515         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6516         io fs process)): Move rule to dedicated hurd-before-compile target.
6518 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6520         Fix rules generating headers in hurd/ and mach/ when initial make call
6521         has subdir= explicitly set.
6523         * sysdeps/mach/Makefile ($(patsubst
6524         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6525         calling $(MAKE).
6526         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6527         io fs process)): Force subdir to hurd when calling $(MAKE).
6528         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6529         subdir to mach when calling $(MAKE).
6531 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
6533         Check sysheaders when looking for Mach and Hurd headers
6535         * sysdeps/mach/configure.ac: Add sysheaders check.
6536         * sysdeps/mach/configure: Regenerate.
6537         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6538         * sysdeps/mach/hurd/configure: Regenerate.
6540 2015-09-04  Roland McGrath  <roland@hack.frob.com>
6542         [BZ #18921]
6543         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6544         Fix inverted sense of test of 'o_directory_works' value.
6545         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6546         Bernhard Voelker <mail@bernhard-voelker.de>.
6548 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6550         [BZ #14912]
6551         * bits/linkmap.h: Move to ...
6552         * sysdeps/generic/linkmap.h: ...here.
6553         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6554         * sysdeps/aarch64/linkmap.h: ...here.
6555         * sysdeps/arm/bits/linkmap.h: Move to ...
6556         * sysdeps/arm/linkmap.h: ...here.
6557         * sysdeps/hppa/bits/linkmap.h: Move to ...
6558         * sysdeps/hppa/linkmap.h: ...here.
6559         * sysdeps/ia64/bits/linkmap.h: Move to ...
6560         * sysdeps/ia64/linkmap.h: ...here.
6561         * sysdeps/mips/bits/linkmap.h: Move to ...
6562         * sysdeps/mips/linkmap.h: ...here.
6563         * sysdeps/s390/bits/linkmap.h: Move to ...
6564         * sysdeps/s390/linkmap.h: ...here.
6565         * sysdeps/sh/bits/linkmap.h: Move to ...
6566         * sysdeps/sh/linkmap.h: ...here.
6567         * sysdeps/x86/bits/linkmap.h: Move to ...
6568         * sysdeps/x86/linkmap.h: ...here.
6569         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6571 2015-09-04  Andreas Schwab  <schwab@suse.de>
6573         [BZ #18635]
6574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6575         (__makecontext): Terminate FDE before return label.
6576         (__novec_makecontext): Likewise.
6578 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6580         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6581         first member of struct sv in syscall macro.
6583 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6585         [BZ #14912]
6586         * bits/stdio-lock.h: Move to ...
6587         * sysdeps/generic/stdio-lock.h: ...here.
6588         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6589         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6590         * sysdeps/nptl/stdio-lock.h: ...here.
6591         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6592         * include/libio.h: Include <stdio-lock.h> instead of
6593         <bits/stdio-lock.h>.
6594         * sysdeps/nptl/fork.c: Likewise.
6595         * sysdeps/pthread/flockfile.c: Likewise.
6596         * sysdeps/pthread/ftrylockfile.c: Likewise.
6597         * sysdeps/pthread/funlockfile.c: Likewise.
6599         [BZ #14912]
6600         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6601         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6602         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6603         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6604         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6605         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6606         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6608 2015-09-03  Roland McGrath  <roland@hack.frob.com>
6610         * elf/Makefile (test-xfail-tst-protected1a): New variable.
6611         (test-xfail-tst-protected1b): New variable.
6613 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
6615         [BZ #14912]
6616         * bits/libc-tsd.h: Move to ...
6617         * sysdeps/generic/libc-tsd.h: ...here.
6618         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6619         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6620         * sysdeps/mach/hurd/libc-tsd.h: ...here.
6621         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6622         * include/ctype.h: Include <libc-tsd.h> instead of
6623         <bits/libc-tsd.h>.
6624         * include/rpc/rpc.h: Likewise.
6625         * locale/localeinfo.h: Likewise.
6626         * sunrpc/rpc_thread.c: Likewise.
6627         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6628         * sysdeps/nptl/malloc-machine.h: Likewise.
6630         * Makefile (headers): Remove bits/libc-lock.h.
6631         * libio/Makefile (headers): Remove bits/stdio-lock.h.
6633         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
6634         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
6635         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
6636         <bits/stdio-lock.h>.
6637         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
6638         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
6640 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6642         [BZ #18757]
6643         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
6644         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
6645         BZ #18757.
6647 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6649         * malloc/mtrace.pl: Filter out NULL entries.
6651 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
6653         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6654         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6655         macro.
6657         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6658         (TCP_CC_INFO): Likewise.
6659         (TCP_SAVE_SYN): Likewise.
6660         (TCP_SAVED_SYN): Likewise.
6662 2015-08-31  Brett Neumeier <brett@neumeier.us>
6664         [BZ #18870]
6665         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6667 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6669         [BZ #18873]
6670         Fix broken overflow check in posix_fallocate
6671         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6672         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6673         Fix parenthesization typo.
6675 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6677         [BZ #18887]
6678         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6679         tst-mntent-blank-passno.
6680         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6681         * misc/tst-mntent-blank-corrupt.c: New test.
6682         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6683         * misc/tst-mntent.c (do_test): ... here.
6685 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6687         [BZ #4404]
6688         * po/de.po: Fix SIGALRM typo.
6690 2015-08-28  James Perkins  <james@loowit.net>
6692         * time/tst-strptime2.c (tests): Replace short list of test
6693         strings for strptime %z specifier with code which exhaustively
6694         tests every combination of sign and 0 to 5 digits. Tests for
6695         rejection of invalid strings.
6697 2015-08-28  James Perkins  <james@loowit.net>
6699         [BZ #16141]
6700         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6701         calculation, removing incorrect decimal time rounding, so that
6702         all minute values result in a valid seconds value.
6703         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6704         offset range limits to UTC-99:59 through UTC+99:59 to parse
6705         current and historical use cases.
6706         * time/tst-strptime2.c (tests): Modify and add tests for the
6707         strptime %z input field descriptor, specifically conversion of
6708         minutes to seconds and validating an offset range of -9959 to
6709         +9959.
6711 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6712             Dmitry V. Levin  <ldv@altlinux.org>
6714         [BZ #18877]
6715         * posix/Makefile (tests): Add tst-mmap-offset.
6716         * posix/tst-mmap.c: New file.
6717         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6718         offset calculation for negative values.
6720 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6722         * sysdeps/i386/init-arch.h: New file.
6723         * sysdeps/i386/i586/init-arch.h: Likewise.
6724         * sysdeps/i386/i686/init-arch.h: Likewise.
6725         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6726         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6727         * sysdeps/x86/cpu-features.h (bit_I586): New.
6728         (bit_I686): Likewise.
6729         (bit_CX8): Likewise.
6730         (bit_CMOV): Likewise.
6731         (index_CX8): Likewise.
6732         (index_CMOV): Likewise.
6733         (index_I586): Likewise.
6734         (index_I686): Likewise.
6735         (reg_CX8): Likewise.
6736         (reg_CMOV): Likewise.
6737         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6738         available at compile-time.
6739         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6740         available at compile-time.
6741         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6742         (USE_I686): Likewise.
6744 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6746         * sysdeps/i386/bcopy.S: New file.
6747         * sysdeps/i386/bzero.S: Likewise.
6748         * sysdeps/i386/memcpy.S: Likewise.
6749         * sysdeps/i386/memmove.S: Likewise.
6750         * sysdeps/i386/mempcpy.S: Likewise.
6751         * sysdeps/i386/memset.S: Likewise.
6752         * sysdeps/i386/bzero.c: Removed.
6753         * sysdeps/i386/memset.c: Likewise.
6754         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6755         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6756         * sysdeps/i386/i586/memset_chk.S: Likewise.
6757         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6758         * sysdeps/i386/memcpy_chk.S: Here.
6759         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6760         * sysdeps/i386/memmove_chk.S: Here.
6761         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6762         * sysdeps/i386/mempcpy_chk.S: Likewise.
6763         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6764         * sysdeps/i386/memset_chk.S: Likewise.
6766 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6768         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6769         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6770         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6771         * soft-fp/fmadf4.c: Ditto.
6772         * soft-fp/fmatf4.c: Ditto.
6774 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6776         * sysdeps/i386/i586/Implies: Removed.
6777         * sysdeps/i386/i686/Implies: Likewise.
6779 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6781         * sysdeps/i386/i486/strlen.S: Moved to ...
6782         * sysdeps/i386/strlen.S: Here.
6784 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6786         * sysdeps/i386/i486/strcat.S: Moved to ...
6787         * sysdeps/i386/strcat.S: Here.
6789 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6791         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6792         * sysdeps/i386/pthread_spin_trylock.S: Here.
6793         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6794         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6796 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6798         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6799         * sysdeps/i386/string-inlines.c: Here.
6801 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6803         * sysdeps/i386/i486/htonl.S: Moved ...
6804         * sysdeps/i386/htonl.S: here.
6806 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6808         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6809         * sysdeps/i386/bits/atomic.h: Here.
6811 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6813         * sysdeps/i386/i486/Versions: Removed.
6815 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6817         [BZ #2898]
6818         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6819         Based on patch by Aurelien Jarno.
6821 2015-08-26  Stan Shebs  <stanshebs@google.com>
6823         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6824         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6826 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6828         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6829         * sysdeps/powerpc/dl-procinfo.c:
6830         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6831         feature so it shows when LD_SHOW_AUXV=1.
6833 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6835         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6836         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6837         definition.  ISA 2.07B no longer requires full sync.
6839 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6841         [BZ #18863]
6842         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6843         (si_call_addr): Define.
6844         (si_syscall): Define.
6845         (si_arch): Define.
6847 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6849         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6850         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6851         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6852         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6853         (__memset_zero_constant_len_parameter): New.
6854         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6855         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6856         (__memset_zero_constant_len_parameter): Don't define if
6857         __memset_chk or USE_AS_BZERO are defined.
6859         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6860         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6861         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6863         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6864         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6865         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6866         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6867         comments.
6868         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6869         -mno-mmx for $(all-rtld-routines).
6870         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6871         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6872         i386.
6874 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6876         * sysdeps/generic/unwind.h
6877         (_Unwind_Word): Use __mode__(__unwind_word__)
6878         instead of __mode__(__word__).
6879         (_Unwind_Sword): Likewise.
6881         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6882         (MAX_NEEDED_INPUT): New define.
6883         (MAX_NEEDED_OUTPUT): New define.
6885         * NEWS: New item for IBM z13 string optimizations.
6887         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6888         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6889         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6890         * sysdeps/s390/multiarch/Makefile
6891         (sysdep_routines): Add memrchr functions.
6892         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6893         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6895         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6896         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6897         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6898         * sysdeps/s390/multiarch/Makefile
6899         (sysdep_routines): Add wmemcmp functions.
6900         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6901         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6902         * benchtests/bench-wmemcmp.c: New File.
6903         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6905         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6906         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6907         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6908         * sysdeps/s390/multiarch/Makefile
6909         (sysdep_routines): Add wmemset functions.
6910         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6911         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6912         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6913         * string/test-memset.c: Add wmemset support.
6914         * wcsmbs/test-wmemset.c: New File.
6915         * wcsmbs/Makefile (strop-tests): Add wmemset.
6916         * benchtests/bench-memset.c: Add wmemset support.
6917         * benchtests/bench-wmemset.c: New File.
6918         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6920         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6921         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6922         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6923         * sysdeps/s390/multiarch/Makefile
6924         (sysdep_routines): Add memccpy functions.
6925         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6926         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6927         * string/memccpy.c: Use MEMCCPY if defined.
6929         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6930         * sysdeps/s390/multiarch/memchr.c: Likewise.
6931         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6932         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6933         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6934         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6935         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6936         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6937         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6938         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6939         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6940         and rawmemchr functions.
6941         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6942         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6943         and wmemchr.
6944         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6945         * string/test-memchr.c: Add wmemchr support.
6946         * wcsmbs/test-wmemchr.c: New File.
6947         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6948         * benchtests/bench-memchr.c: Add wmemchr support.
6949         * benchtests/bench-wmemchr.c: New File.
6950         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6952         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6953         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6954         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6955         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6956         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6957         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6958         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6959         wcscspn functions.
6960         * sysdeps/s390/multiarch/ifunc-impl-list.c
6961         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6962         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6963         * string/test-strcspn.c: Add wcscspn support.
6964         * wcsmbs/test-wcscspn.c: New File.
6965         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6966         * benchtests/bench-strcspn.c: Add wcscspn support.
6967         * benchtests/bench-wcscspn.c: New File.
6968         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6970         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6971         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6972         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6973         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6974         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6975         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6976         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6977         wcspbrk functions.
6978         * sysdeps/s390/multiarch/ifunc-impl-list.c
6979         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6980         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6981         * string/test-strpbrk.c: Add wcspbrk support.
6982         * wcsmbs/test-wcspbrk.c: New File.
6983         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6984         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6985         * benchtests/bench-wcspbrk.c: New File.
6986         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6988         * sysdeps/s390/multiarch/strspn-c.c: New File.
6989         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6990         * sysdeps/s390/multiarch/strspn.c: Likewise.
6991         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6992         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6993         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6994         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6995         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6996         wcsspn functions.
6997         * sysdeps/s390/multiarch/ifunc-impl-list.c
6998         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6999         * string/test-strspn.c: Add wcsspn support.
7000         * wcsmbs/test-wcsspn.c: New File.
7001         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7002         * benchtests/bench-strspn.c: Add wcsspn support.
7003         * benchtests/bench-wcsspn.c: New File.
7004         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7006         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7007         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7008         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7009         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7010         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7011         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7012         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7013         wcsrchr functions.
7014         * sysdeps/s390/multiarch/ifunc-impl-list.c
7015         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7016         * benchtests/bench-wcsrchr.c: New File.
7017         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7019         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7020         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7021         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7022         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7023         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7024         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7025         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7026         wcschrnul functions.
7027         * sysdeps/s390/multiarch/ifunc-impl-list.c
7028         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7029         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7030         * string/test-strchr.c: Add wcschrnul support.
7031         * wcsmbs/test-wcschrnul.c: New File.
7032         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7033         * benchtests/bench-strchr.c: Add wcschrnul support.
7034         * benchtests/bench-wcschrnul.c: New File.
7035         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7037         * sysdeps/s390/multiarch/strchr-c.c: New File.
7038         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7039         * sysdeps/s390/multiarch/strchr.c: Likewise.
7040         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7041         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7042         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7043         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7044         wcschr functions.
7045         * sysdeps/s390/multiarch/ifunc-impl-list.c
7046         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7047         * string/strchr.c (STRCHR): Define and use macro.
7048         * benchtests/bench-wcschr.c: New File.
7049         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7051         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7052         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7053         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7054         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7055         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7056         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7057         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7058         wcsncmp functions.
7059         * sysdeps/s390/multiarch/ifunc-impl-list.c
7060         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7061         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7062         * benchtests/bench-strncmp.c: Add wcsncmp support.
7063         * benchtests/bench-wcsncmp.c: New File.
7064         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7066         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7067         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7068         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7069         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7070         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7071         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7072         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7073         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7074         wcscmp functions.
7075         * sysdeps/s390/multiarch/ifunc-impl-list.c
7076         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7077         * string/strcmp.c (STRCMP): Define and use macro.
7078         * benchtests/bench-wcscmp.c: New File.
7079         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7080         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7081         instead of _HAVE_STRING_ARCH_memchr.
7083         * sysdeps/s390/multiarch/strncat-c.c: New File.
7084         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7085         * sysdeps/s390/multiarch/strncat.c: Likewise.
7086         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7087         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7088         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7089         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7090         wcsncat functions.
7091         * sysdeps/s390/multiarch/ifunc-impl-list.c
7092         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7093         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7094         * string/test-strncat.c: Add wcsncat support.
7095         * wcsmbs/test-wcsncat.c: New File.
7096         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7097         * benchtests/bench-strncat.c: Add wcsncat support.
7098         * benchtests/bench-wcsncat.c: New File.
7099         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7101         * sysdeps/s390/multiarch/strcat-c.c: New File.
7102         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7103         * sysdeps/s390/multiarch/strcat.c: Likewise.
7104         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7105         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7106         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7107         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7108         wcscat functions.
7109         * sysdeps/s390/multiarch/ifunc-impl-list.c
7110         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7111         * string/strcat.c (STRCAT): Define and use macro.
7112         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7113         * string/test-strcat.c: Add wcscat support.
7114         * wcsmbs/test-wcscat.c: New File.
7115         * wcsmbs/Makefile (strop-tests): Add wcscat.
7116         * benchtests/bench-strcat.c: Add wcscat support.
7117         * benchtests/bench-wcscat.c: New File.
7118         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7120         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7121         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7122         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7123         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7124         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7125         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7126         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7127         wcpncpy functions.
7128         * sysdeps/s390/multiarch/ifunc-impl-list.c
7129         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7130         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7131         * string/test-stpncpy.c: Add wcpncpy support.
7132         * wcsmbs/test-wcpncpy.c: New File.
7133         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7134         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7135         * benchtests/bench-wcpncpy.c: New File.
7136         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7138         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7139         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7140         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7141         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7142         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7143         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7144         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7145         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7146         wcsncpy functions.
7147         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7148         * sysdeps/s390/multiarch/ifunc-impl-list.c
7149         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7150         * string/test-strncpy.c: Add wcsncpy support.
7151         * wcsmbs/test-wcsncpy.c: New File.
7152         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7153         * benchtests/bench-strncpy.c: Add wcsncpy support.
7154         * benchtests/bench-wcsncpy.c: New File.
7155         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7157         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7158         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7159         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7160         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7161         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7162         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7163         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7164         wcpcpy functions.
7165         * string/stpcpy.c: Use STPCPY if defined.
7166         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7167         * sysdeps/s390/multiarch/ifunc-impl-list.c
7168         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7169         * string/test-stpcpy.c: Add wcpcpy support.
7170         * wcsmbs/test-wcpcpy.c: New File.
7171         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7172         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7173         * benchtests/bench-wcpcpy.c: New File.
7174         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7176         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7177         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7178         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7179         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7180         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7181         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7182         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7183         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7184         wcscpy functions.
7185         * sysdeps/s390/multiarch/ifunc-impl-list.c
7186         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7187         * benchtests/bench-wcscpy.c: New File.
7188         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7190         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7191         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7192         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7193         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7194         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7195         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7196         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7197         wcsnlen functions.
7198         * sysdeps/s390/multiarch/ifunc-impl-list.c
7199         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7200         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7201         * string/test-strnlen.c: Add wcsnlen support.
7202         * wcsmbs/test-wcsnlen.c: New File.
7203         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7204         * benchtests/bench-strnlen.c: Add wcsnlen support.
7205         * benchtests/bench-wcsnlen.c: New File.
7206         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7208         * sysdeps/s390/multiarch/Makefile: New File.
7209         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7210         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7211         * sysdeps/s390/multiarch/strlen.c: Likewise.
7212         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7213         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7214         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7215         * string/strlen.c (STRLEN): Define and use macro.
7216         * sysdeps/s390/multiarch/ifunc-impl-list.c
7217         (IFUNC_VX_IMPL): New macro function.
7218         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7219         * benchtests/Makefile (wcsmbs-bench): New variable.
7220         (string-bench-all): Added wcsmbs-bench.
7221         * benchtests/bench-wcslen.c: New File.
7223         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7224         s390_vx_libc_ifunc2): New macro function.
7226         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7227         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7228         assembler support.
7229         * sysdeps/s390/configure: Regenerated.
7231         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7232         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7234         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7235         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7236         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7238         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7239         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7240         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7241         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7242         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7243         (memcmp, bcmp): Use __memcmp_default as alias source.
7244         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7245         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7246         Rename to __memcmp_default.
7247         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7248         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7249         (memcpy): Use __memcpy_default as alias source.
7250         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7251         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7252         Rename to __memcpy_default.
7253         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7254         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7255         (memset): Use __memset_default as alias source.
7256         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7257         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7258         Rename to __memset_default.
7259         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7260         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7261         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7262         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7263         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7264         (memcmp, bcmp): Use __memcmp_default as alias source.
7265         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7266         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7267         Rename to __memcmp_default.
7268         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7269         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7270         (memcpy): Use __memcpy_default as alias source.
7271         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7272         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7273         Rename to __memcpy_default.
7274         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7275         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7276         (memset): Use __memset_default as alias source.
7277         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7278         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7279         Rename to __memset_default.
7280         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7281         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7283         [BZ #18610]
7284         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7285         __ieee_instruction_pointer to __unused.
7286         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7287         __ieee_instruction_pointer.
7288         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7289         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7290         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7291         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7292         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7293         Mark dxc-field as reserved.
7295 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7297         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7298         if the weak reference is not null.
7300 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7302         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7304         [BZ #11214]
7305         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7307 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7309         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7310         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7311         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7312         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7313         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7314         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7315         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7316         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7317         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7318         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7319         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7320         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7321         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7322         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7323         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7324         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7325         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7326         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7328 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7330         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7331         register other than r0 for tabort, it has special meaning.
7332         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7333         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7334         transaction before starting syscall.
7336 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7338         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7340 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7342         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7344         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7345         * sysdeps/x86_64/rtld-memset.S: Likewise.
7346         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7347         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7348         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7349         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7351         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7353 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7355         * debug/strcpy_chk.c: Improve performance.
7356         * debug/stpcpy_chk.c: Likewise.
7357         * sysdeps/x86_64/strcpy_chk.S: Remove.
7358         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7360         [BZ #18240]
7361         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7363 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7365         [BZ #15128]
7366         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7367         ifuncmain8.
7368         (modules-names): Add ifuncmod8.
7369         ($(objpfx)ifuncmain8): New rule.
7370         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7371         <cpuid.h>.
7372         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7373         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7374         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7375         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7376         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7377         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7378         * sysdeps/x86_64/ifuncmain8.c: New file.
7379         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7380         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7381         Removed.
7382         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7383         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7384         Change rtld_savespace_sse to __glibc_unused2.
7385         (RTLD_CHECK_FOREIGN_CALL): Removed.
7386         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7387         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7388         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7390 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7392         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7394 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7396         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7397         Unconditionally set __fpcr to avoid uninialized warning.
7398         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7400 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7402         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7403         is corrupt.
7405         * malloc/arena.c (arena_get2): Drop unused argument.
7406         (arena_lock): Adjust.
7407         (arena_get_retry): Likewise.
7409 2015-08-24  Andreas Schwab  <schwab@suse.de>
7411         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7412         Don't define.
7413         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7414         (__ASSUME_IPC64): Don't undef.
7415         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7416         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7417         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7418         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7419         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7420         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7421         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7422         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7423         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7424         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7425         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7426         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7427         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7428         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7429         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7430         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7431         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7432         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7433         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7434         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7435         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7437 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7439         * manual/Makefile (install): Only build manual when perl is available.
7441 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7443         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7444         '#undef memcpy' by '#undef memchr'.
7446 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7448         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7449         memchr not point to the internal __GI_memchr implementation.
7451 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7453         * timezone/Makefile (CFLAGS-zdump.c): Remove
7454         -Wno-strict-prototypes.
7455         (CFLAGS-zic.c): Likewise.
7456         (CFLAGS-ialloc.c): Likewise.
7457         (CFLAGS-scheck.c): Likewise.
7459         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7460         -Wno-error=undef.
7462 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7464         * i386/i686/multiarch/strcasestr-c.c: Removed.
7465         * x86_64/multiarch/strcasestr.c: Likewise.
7466         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7467         Remove strcasestr.
7469 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7471         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7473         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7474         variables for high and low parts before possibly modifying them.
7476 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7478         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7479         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7480         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7481         of "multiarch/init-arch.h".
7482         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7483         * sysdeps/x86/init-arch.h: This.
7485 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7487         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7488         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7490 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
7492         [BZ #17787]
7493         * manual/macros.texi: Add twoexp macro.
7494         * manual/filesys.texi: Fix exponents.
7495         * manual/llio.texi: Likewise.
7496         * manual/stdio.texi: Likewise.
7498 2015-08-20  Florian Weimer  <fweimer@redhat.com>
7500         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7501         incorrect use.
7503 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7505         [BZ #18370]
7506         * math/s_csqrt.c (__csqrt): Force underflow exception for results
7507         whose real or imaginary part has small absolute value.
7508         * math/s_csqrtf.c (__csqrtf): Likewise.
7509         * math/s_csqrtl.c (__csqrtl): Likewise.
7510         * math/auto-libm-test-in: Add more tests of csqrt.
7511         * math/auto-libm-test-out: Regenerated.
7512         * sysdeps/i386/fpu/libm-test-ulps: Update.
7514 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7516         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7517         __ppc_set_ppr_very_low): New functions.
7518         * manual/platform.texi: Add documentation about
7519         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7521 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
7523         * string/stpncpy.c (stpncpy): Improve performance using
7524         __strnlen/memcpy/memset.
7526 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7528         [BZ #18796]
7529         * scripts/test-installation.pl: Don't add -lmvec to build options if
7530         libmvec wasn't built.
7532 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7534         [BZ #14341]
7535         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7536         case when there is a gap between DT_REL and DT_JMPREL sections.
7537         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7538         (LDFLAGS-tst-split-dynreloc): New.
7539         (tst-split-dynreloc-ENV): Likewise.
7540         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7541         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7543 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7545         [BZ #18822]
7546         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7547         attribute_hidden.
7548         (__xstat64_conv): Likewise.
7549         (__xstat32_conv): Likewise.
7551 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7553         [BZ #18822]
7554         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7555         Don't load %ebx when calling __setcontext.  Call __setcontext
7556         with HIDDEN_JUMPTARGET.
7557         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7558         libc_hidden_def.
7560 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7562         * sysdeps/i386/i686/Makefile
7563         [$(subdir) == string] (sysdep_routines): Moved to ...
7564         * sysdeps/i386/Makefile: Here.
7565         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7566         * sysdeps/i386/cacheinfo.c: Here.
7567         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7568         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7569         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7570         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7572 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7574         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7575         __i586__ is defined.
7576         (HAS_I686): Defined to 1 if __i686__ is defined.
7578 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7580         * elf/Makefile [$(have-z-execstack) = yes]
7581         (CPPFLAGS-tst-execstack.c): New variable.
7583         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7584         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7585         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7586         UTMPX || _HAVE_UT_TV].
7587         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7588         UTMPX || _HAVE_UT_TV - 0].
7590 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7592         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7593         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7594         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7596 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7598         * sysdeps/powerpc/dl-procinfo.c:
7599         (_dl_powerpc_cap_flags): Added missing strings for some
7600         hwcap features.
7601         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7603 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7605         Port the 0x7efe...feff pattern to GCC 6.
7606         See Steve Ellcey's bug report in:
7607         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7608         * string/memrchr.c (MEMRCHR):
7609         * string/rawmemchr.c (RAWMEMCHR):
7610         * string/strchr.c (strchr):
7611         * string/strchrnul.c (STRCHRNUL):
7612         Rewrite code to avoid issues with signed shift overflow.
7614 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
7616         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7617         whether cpuid is available only if HAS_CPUID is 0.
7618         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7619         (HAS_I586): Likewise.
7620         (HAS_I686): Likewise.
7622 2015-08-18  Zack Weinberg  <zackw@panix.com>
7624         * misc/Versions (libc): Add GLIBC_2.23.
7626 2015-08-18  Alan Modra  <amodra@gmail.com>
7628         [BZ #18421]
7629         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7630         .Lp__global.
7631         (_start): Load %dp via .Lp__global.
7632         [!SHARED]: Use .section .rodata.
7634 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7636         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
7637         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
7639 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7641         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
7642         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
7644 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7646         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
7647         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
7649 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7651         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7652         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7654 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7656         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7657         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7659 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7661         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7662         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7664 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7666         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7668 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7670         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7671         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7672         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7673         (__ASSUME_LWS_CAS): Delete.
7675 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7677         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7678         * sysdeps/hppa/configure: Regenerated.
7679         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7680         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7681         * sysdeps/hppa/nptl/tls.h: Likewise.
7683 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7685         [BZ #18823]
7686         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7687         for scaling up small arguments.
7688         * math/s_csqrtf.c (__csqrtf): Likewise.
7689         * math/s_csqrtl.c (__csqrtl): Likewise.
7690         * math/auto-libm-test-in: Add more tests of csqrt.
7691         * math/auto-libm-test-out: Regenerated.
7693 2015-08-17  Andreas Schwab  <schwab@suse.de>
7695         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7696         version set GLIBC_2.19.
7698 2015-08-16  Zack Weinberg  <zackw@panix.com>
7700         [BZ #18681]
7701         * misc/regexp.h: This interface is no longer supported.
7702         Remove all contents, leaving only an #error directive.
7703         * misc/regexp.c (loc1, loc2, locs, step, advance):
7704         Demote to compatibility symbols.
7706 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7708         [BZ #18084]
7709         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7710         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7711         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7712         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7713         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7714         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7715         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7716         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7717         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7719 2015-08-15  Zack Weinberg  <zackw@panix.com>
7721         [BZ #18795]
7722         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7723         buffer length is known to be too large, not if it's known to be
7724         small enough.
7725         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7726         overflow at runtime, involving a length parameter, twice: once
7727         with a compile-time constant length parameter, once without.
7729 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7731         [BZ #18824]
7732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7733         scaling x * y up instead of down.
7734         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7735         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7736         * math/auto-libm-test-in: Add more tests of fma.
7737         * math/auto-libm-test-out: Regenerated.
7739 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7741         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7743 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7745         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7746         unnecessary movq.
7747         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7748         Likewise.
7750 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7752         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7753         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7754         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7755         and tgamma.
7756         * math/auto-libm-test-out: Regenerated.
7757         * sysdeps/i386/fpu/libm-test-ulps: Update.
7758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7760         [BZ #16520]
7761         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7762         (__tanh): Force underflow exception for arguments with small
7763         absolute value.
7764         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7765         (__tanhf): Force underflow exception for arguments with small
7766         absolute value.
7767         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7768         (__tanhl): Force underflow exception for arguments with small
7769         absolute value.
7770         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7771         (__tanhl): Force underflow exception for arguments with small
7772         absolute value.
7773         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7774         (__tanhl): Force underflow exception for arguments with small
7775         absolute value.
7776         * math/auto-libm-test-in: Add more tests of tanh.
7777         * math/auto-libm-test-out: Regenerated.
7778         * sysdeps/i386/fpu/libm-test-ulps: Update.
7780 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7782         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7783         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7785 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7787         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7788         <cpuid.h>.
7790 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7792         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7793         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7795 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7797         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7798         Remove $(objpfx)init-arch.o.
7799         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7800         init-arch.
7801         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7802         (INIT_ARCH_EXT): Defined as empty.
7803         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7804         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7805         __init_cpu_features call.  Replace HAS_XXX with
7806         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7807         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7808         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7809         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7810         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7811         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7812         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7813         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7814         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7815         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7816         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7817         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7818         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7819         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7820         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7821         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7822         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7823         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7824         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7825         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7826         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7827         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7828         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7829         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7830         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7831         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7832         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7833         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7834         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7835         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7836         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7837         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7838         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7839         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7840         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7841         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7843 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7845         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7846         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7847         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7848         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7849         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7850         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7851         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7852         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7853         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7854         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7855         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7856         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7857         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7858         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7859         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7860         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7861         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7862         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7863         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7864         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7865         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7866         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7867         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7868         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7869         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7870         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7871         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7872         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7873         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7874         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7875         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7876         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7877         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7878         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7879         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7880         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7881         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7882         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7883         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7884         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7885         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7886         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7887         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7889 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7891         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7892         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7893         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7894         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7895         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7896         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7897         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7898         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7899         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7900         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7901         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7902         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7903         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7904         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7905         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7906         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7907         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7908         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7909         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7910         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7912         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7913         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7914         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7915         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7916         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7917         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7918         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7919         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7920         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7921         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7922         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7923         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7924         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7925         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7926         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7927         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7928         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7929         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7930         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7931         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7932         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7933         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7935 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7937         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7938         (dl_platform_init): Call init_cpu_features.
7939         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7940         * sysdeps/i386/i686/cacheinfo.c
7941         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7942         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7943         * sysdeps/i386/i686/multiarch/Versions: Removed.
7944         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7945         Removed.
7946         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7947         * sysdeps/unix/sysv/linux/x86/Makefile
7948         (libpthread-sysdep_routines): Remove init-arch.
7949         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7950         <sysdeps/x86_64/dl-procinfo.c> instead of
7951         sysdeps/generic/dl-procinfo.c>.
7952         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7953         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7954         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7955         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7956         [$(subdir) == elf] (tests-static): Add
7957         tst-get-cpu-features-static.
7958         * sysdeps/x86/Versions: New file.
7959         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7960         * sysdeps/x86/cpu-features.c: Likewise.
7961         * sysdeps/x86/cpu-features.h: Likewise.
7962         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7963         * sysdeps/x86/libc-start.c: Likewise.
7964         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7965         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7966         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7967         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7968         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7969         Assume USE_MULTIARCH is defined and don't check it.
7970         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7971         (is_amd): Likewise.
7972         (max_cpuid): Likewise.
7973         (intel_check_word): Likewise.
7974         (__cache_sysconf): Don't call __init_cpu_features.
7975         (__x86_preferred_memory_instruction): Removed.
7976         (init_cacheinfo): Don't call __init_cpu_features. Replace
7977         __cpu_features with GLRO(dl_x86_cpu_features).
7978         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7979         (dl_platform_init): Call init_cpu_features.
7980         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7981         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7982         * sysdeps/x86_64/multiarch/Versions: Removed.
7983         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7984         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7985         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7986         Removed.
7987         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7989 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7991         [BZ #18820]
7992         * libio/Makefile (test-fmemopen-mem): New test.
7993         * libio/test-fmemopen.c (do_bz18820): New test.
7994         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7995         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7997 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7999         [BZ #16734]
8000         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8001         (FREE_BUF): Delete.
8002         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8003         * libio/genops.c (_IO_setb): Use malloc and free directly.
8004         (_IO_default_doallocate, _IO_default_finish): Likewise.
8005         ( _IO_unbuffer_all): Likewise.
8006         ( libc_freeres_fn): Likewise.
8007         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8008         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8009         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8010         (_IO_wdefault_doallocate): Likewise.
8012 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8014         [BZ #18086]
8015         * sysdeps/posix/nice.c (nice): Restore old errno.
8016         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8018 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8020         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8022 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8024         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8025         __bcopy and add a weak_alias to bcopy.
8026         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8027         for static build.
8029         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8030         cleanup macro usage.
8031         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8032         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8033         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8034         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8035         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8036         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8037         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8038         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8039         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8040         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8041         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8042         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8044         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8045         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8046         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8047         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8048         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8049         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8051         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8052         libc_hidden_def.
8053         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8055         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8056         (sysdep_routines): Add strstr-ppc64.
8057         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8059 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8061         [BZ #18778]
8062         * elf/Makefile (tests): Add Add tst-nodelete2.
8063         (modules-names): Add tst-nodelete2mod.
8064         (tst-nodelete2mod.so-no-z-defs): New.
8065         ($(objpfx)tst-nodelete2): Likewise.
8066         ($(objpfx)tst-nodelete2.out): Likewise.
8067         (LDFLAGS-tst-nodelete2): Likewise.
8068         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8069         out of loop through all loaded libraries.
8070         * elf/tst-nodelete2.c: New file.
8071         * elf/tst-nodelete2mod.c: Likewise.
8072         * elf/tst-znodelete-zlib.cc: Delete.
8074 2015-08-11  Andreas Schwab  <schwab@suse.de>
8076         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8077         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8078         (__openat64_nocancel): Likewise.
8080 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8082         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8083         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8084         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8085         * math/auto-libm-test-out: Regenerated.
8086         * sysdeps/i386/fpu/libm-test-ulps: Update.
8087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8089 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8091         [BZ #18790]
8092         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8093         threshold for returning +/- 1.
8094         * math/auto-libm-test-in: Add more tests of tanh.
8095         * math/auto-libm-test-out: Regenerated.
8096         * sysdeps/i386/fpu/libm-test-ulps: Update.
8098 2015-08-10  Andreas Schwab  <schwab@suse.de>
8100         [BZ #18781]
8101         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8102         MORE_OFLAGS to oflag.
8103         * io/test-lfs.c (do_test): Test openat64.
8105 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8107         [BZ #18789]
8108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8109         smaller threshold for returning the argument.
8110         * math/auto-libm-test-in: Add more tests of sinh.
8111         * math/auto-libm-test-out: Regenerated.
8112         * sysdeps/i386/fpu/libm-test-ulps: Update.
8114 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8116         [BZ #18674]
8117         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8118         break.
8120 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8122         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8123         (generated): Don't add $(addprefix z.,$(tzfiles)).
8125 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8127         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8128         * scripts/sysd-rules.awk: Likewise.
8130 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8132         * iconvdata/tst-tables.sh: Change echo -n to printf.
8133         * nss/db-Makefile: Likewise.
8134         * posix/tst-getconf.sh: Likewise.
8135         * stdio-common/tst-unbputc.sh: Likewise.
8137 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8139         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8140         MADV_*_PAGES defines behind this feature check.
8142 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8144         [BZ #18480]
8145         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8146         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8147         Define.
8148         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8149         LOAD_REGS_5, LOAD_REGS_6): Update.
8150         (INTERNAL_SYSCALL): Update using new LOAD defines.
8151         (INTERNAL_SYSCALL_NCS): Likewise.
8152         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8154 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8156         [BZ #16734]
8157         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8159 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8161         [BZ #17905]
8162         * catgets/Makefile (tst-catgets-mem): New test.
8163         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8164         * catgets/open_catalog.c (__open_catalog): Likewise.
8165         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8167 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8169         [BZ #18787]
8170         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8171         clobber registers.
8172         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8173         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8174         Cast return to __typeof (oldval).
8176 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8178         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8179         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8180         and delete sys/syscall.h include.
8182 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8184         [BZ #16517]
8185         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8186         (tan): Force underflow exception for arguments with small absolute
8187         value.
8188         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8189         (__kernel_tanf): Force underflow exception for arguments with
8190         small absolute value.
8191         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8192         (__kernel_tanl): Force underflow exception for arguments with
8193         small absolute value.
8194         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8195         (__kernel_tanl): Force underflow exception for arguments with
8196         small absolute value.
8197         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8198         (__kernel_tanl): Force underflow exception for arguments with
8199         small absolute value.
8200         * math/auto-libm-test-in: Add more tests of tan.
8201         * math/auto-libm-test-out: Regenerated.
8203 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8205         Fix sysdeps/i386/fpu/s_scalbn.S build
8207         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8209 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8211         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8213 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8215         Fix gcrt0.o compilation
8217         When static-start-installed-name is different from
8218         start-installed-name, we must not use the shared objects.
8220         * csu/Makefile
8221         (extra-objs): Add gmon-start.o when building shared library and
8222         $(static-start-installed-name) is different from
8223         $(start-installed-name).
8224         $(objpfx)g$(static-start-installed-name): When building shared
8225         library and $(static-start-installed-name) is different from
8226         $(static-start-installed-name), revert to non-shared rule,
8227         i.e. using $(objpfx)% and gmon-start.o.
8229 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8231         [BZ #16519]
8232         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8233         (__ieee754_sinh): Force underflow exception for arguments with
8234         small absolute value.
8235         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8236         (__ieee754_sinhf): Force underflow exception for arguments with
8237         small absolute value.
8238         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8239         (__ieee754_sinhl): Force underflow exception for arguments with
8240         small absolute value.
8241         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8242         (__ieee754_sinhl): Force underflow exception for arguments with
8243         small absolute value.
8244         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8245         (__ieee754_sinhl): Force underflow exception for arguments with
8246         small absolute value.
8247         * math/auto-libm-test-in: Add more tests of sinh.
8248         * math/auto-libm-test-out: Regenerated.
8249         * sysdeps/i386/fpu/libm-test-ulps: Update.
8251 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8253         * libio/oldfileops.c: Include unistd.h.
8255 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8257         * stdlib/isomac.c: Include ctype.h.
8259 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8261         * dirent/tst-seekdir.c (main): Converted to ...
8262         (do_test): ... this.
8263         (TEST_FUNCTION): New macro.
8264         Include test-skeleton.c.
8265         * elf/tst-dlmodcount.c (main): Converted to ...
8266         (do_test): ... this.
8267         (TEST_FUNCTION): New macro.
8268         Include test-skeleton.c.
8269         * elf/tst-order-main.c (main): Converted to ...
8270         (do_test): ... this.
8271         (TEST_FUNCTION): New macro.
8272         Include test-skeleton.c.
8273         * elf/tst-pie2.c (main): Converted to ...
8274         (do_test): ... this.
8275         (TEST_FUNCTION): New macro.
8276         Include test-skeleton.c.
8277         * inet/tst-ether_aton.c (main): Converted to ...
8278         (do_test): ... this.
8279         (TEST_FUNCTION): New macro.
8280         Include test-skeleton.c.
8281         * misc/tst-mntent.c (main): Converted to ...
8282         (do_test): ... this.
8283         (TEST_FUNCTION): New macro.
8284         Include test-skeleton.c.
8285         * misc/tst-tsearch.c (main): Converted to ...
8286         (do_test): ... this.
8287         (TEST_FUNCTION): New macro.
8288         Include test-skeleton.c.
8289         * posix/tst-regexloc.c (main): Converted to ...
8290         (do_test): ... this.
8291         (TEST_FUNCTION): New macro.
8292         Include test-skeleton.c.
8293         * resolv/tst-aton.c (main): Converted to ...
8294         (do_test): ... this.
8295         (TEST_FUNCTION): New macro.
8296         Include test-skeleton.c.
8297         * stdio-common/test-fwrite.c (main): Converted to ...
8298         (do_test): ... this.
8299         (TEST_FUNCTION): New macro.
8300         Include test-skeleton.c.
8301         * stdio-common/tst-ferror.c (main): Converted to ...
8302         (do_test): ... this.
8303         (TEST_FUNCTION): New macro.
8304         Include test-skeleton.c.
8305         * stdio-common/tst-printf.c (main): Converted to ...
8306         (do_test): ... this.
8307         (TEST_FUNCTION): New macro.
8308         Include test-skeleton.c.
8309         * stdio-common/tst-printfsz.c (main): Converted to ...
8310         (do_test): ... this.
8311         (TEST_FUNCTION): New macro.
8312         Include test-skeleton.c.
8313         * stdlib/tst-strtod.c (main): Converted to ...
8314         (do_test): ... this.
8315         (TEST_FUNCTION): New macro.
8316         Include test-skeleton.c.
8317         * string/tst-strlen.c (main): Converted to ...
8318         (do_test): ... this.
8319         (TEST_FUNCTION): New macro.
8320         Include test-skeleton.c.
8321         * string/tst-svc.c (main): Converted to ...
8322         (do_test): ... this.
8323         (TEST_FUNCTION): New macro.
8324         Include test-skeleton.c.
8325         * time/tst-strptime.c (main): Converted to ...
8326         (do_test): ... this.
8327         (TEST_FUNCTION): New macro.
8328         Include test-skeleton.c.
8329         * timezone/tst-timezone.c (main): Converted to ...
8330         (do_test): ... this.
8331         (TEST_FUNCTION): New macro.
8332         Include test-skeleton.c.
8334 2015-08-05  Zack Weinberg  <zackw@panix.com>
8336         * misc/regexp.h: Update comments.
8338 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8340         [BZ #18635]
8341         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8342         before return label.
8344 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8346         [BZ #18661]
8347         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8348         when calling __errno_location.
8349         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8350         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8352 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8354         [BZ #18661]
8355         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8356         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8357         __gettimeofday.
8359 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8361         [BZ #18661]
8362         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8363         (__start_context): Don't use pop to restore %rdi so that stack
8364         is aligned to 16 bytes when calling __setcontext.
8366 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8368         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8369         only for libc.
8370         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8372 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8374         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8375         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8376         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8378 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8380         * string/memccpy.c (memccpy):
8381         Improve performance by using memchr/memcpy/__mempcpy.
8383 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8385         * string/strncpy.c (strncpy):
8386         Improve performance by using __strnlen/memcpy.
8388 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8390         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8391         Optimize to avoid an unnecessary FPCR read.
8393 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8395         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8396         Optimize to reduce FPCR/FPSR accesses.
8398 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8400         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8401         dead->data[category] != NULL.
8403 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8405         [BZ #18647]
8406         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8407         and |x| close to 1, use absolute value of x when computing log.
8408         * math/auto-libm-test-in: Add more tests of pow.
8409         * math/auto-libm-test-out: Regenerated.
8411 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8413         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8414         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8415         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8417 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8419         [BZ #18525]
8420         * locales/km_KH: Remove timezone definition.
8421         * locales/lo_LA: Likewise.
8422         * locales/my_MM: Likewise.
8423         * locales/nan_TW@latin: Likewise.
8424         * locales/th_TH: Likewise.
8425         * locales/uk_UA: Likewise.
8427 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8429         [BZ #18265]
8430         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8431         (wcsncat): Likewise.
8432         (wcscmp): Likewise.
8433         (wcsncmp): Likewise.
8435 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8437         * test-skeleton.c (usage): New function.
8438         (main): Call usage when opt is '?'.
8440 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8442         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8443         before first use.
8445 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8447         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8448         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8449         in there too.
8451 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8453         * version.h (RELEASE): Set to "development".
8454         (VERSION): Set to "2.22.90"
8456         * version.h (RELEASE): Set to "stable".
8457         (VERSION): Set to "2.22"
8458         * include/features.h (__GLIBC_MINOR__): Set to 22.
8460 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8462         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8463         Restructure macro to avoid "value computed is not used" warning.
8464         (atomic_compare_and_exchange_val_acq): Likewise.
8466 2015-08-04  Andreas Schwab  <schwab@suse.de>
8468         [BZ #18635]
8469         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8470         ret.
8471         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8473 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
8475         * po/pl.po: Updated translation.
8476         * po/uk.po: Likewise.
8477         * po/fi.po: Likewise.
8478         * po/ko.po: Likewise.
8479         * po/ru.po: Likewise.
8480         * po/vi.po: Likewise.
8482 2015-07-31  Zack Weinberg  <zackw@panix.com>
8484         [BZ #18681]
8485         * regexp.h: Add unconditional #warning stating that this header
8486         will be removed soon.  Revise banner comment to match.
8487         (compile): Consistently use ERROR instead of RETURN to report
8488         errors (partial fix for bz#18681).
8489         * regexp.c: Don't include regexp.h. Remove some unnecessary
8490         declarations.
8492 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
8494         * po/libc.pot: Regenerated.
8496 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8498         [BZ #18740]
8499         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8500         float-vlen4-arch-ext-cflags): Removed.
8501         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8502         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8504 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8506         [BZ #14113]
8507         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8508         aligned to __aligned__.
8509         (pthread_cond_t, pthread_rwlock_t): Likewise.
8511 2015-07-30  Torvald Riegel  <triegel@redhat.com>
8513         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8515 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8517         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8518         (struct sigaction): Change sa_flags from a long to an int, and add
8519         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8521 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8523         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8524         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8525         sysdeps/generic/sysdep.h include.
8526         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8527         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
8528         sysdeps/hppa/sysdep.h.
8529         (ENTRY, PSEUDO): Undefine before defining.
8531 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8533         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8534         from scratch to use INTERNAL_SYSCALL.
8536 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
8538         [BZ #18078]
8539         * scripts/check-localplt.awk: Support alternate relocations.
8540         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8541         sections.
8542         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8543         malloc entries with + REL R_386_GLOB_DAT.
8544         * sysdeps/x86_64/localplt.data: New file.
8546 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8548         [BZ #18731]
8549         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8550         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8551         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8553 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8555         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8557 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8559         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8560         directly in terms of __sync_fetch_and_add and delete (int) cast.
8562 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8564         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8565         the -D_ASM_IA64_CURRENT_H flag.
8567 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8569         [BZ #18641]
8570         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8572 2015-07-27  Andreas Schwab  <schwab@suse.de>
8574         * conform/conformtest.pl (checknamespace): Filter out string
8575         literals while tokenizing.
8577 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8579         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8580         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8581         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8583 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8585         * nptl/tst-join7mod.c: Add #include <string.h>.
8587 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8589         * sysdeps/nios2/libm-test-ulps: Update.
8591 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8593         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8594         Fix order of arguments to the rt_sigprocmask syscall.
8595         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8596         Likewise.
8598 2015-07-24  Roland McGrath  <roland@hack.frob.com>
8600         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8602 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8604         [BZ #18457]
8605         * nptl/Makefile (tests): New test case tst-join7.
8606         (modules-names): New test case module tst-join7mod.
8607         * nptl/tst-join7.c: New file.
8608         * nptl/tst-join7mod.c: New file.
8609         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8610         all translation units in libc.so, libpthread.so and rtld.
8612 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8616 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8618         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8619         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8620         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8621         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8622         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8623         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8624         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8625         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8626         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8627         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8628         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8629         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8630         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8631         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8632         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
8633         implementation.
8635 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8637         [BZ #17711]
8638         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8639         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
8640         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8641         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8642         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
8643         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8645 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8647         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
8648         instead of just saying load lock in the comments.
8650 2015-07-23  Roland McGrath  <roland@hack.frob.com>
8652         * sysdeps/unix/Subdirs: Moved ...
8653         * sysdeps/posix/Subdirs: ... here.
8654         * login/pty.h (struct termios, struct winsize): Add forward decls.
8655         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8656         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8657         * sysdeps/arm/nacl/libc.abilist: Updated.
8658         * sysdeps/nacl/libutil.abilist: New file.
8660         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8661         (SIGWINCH): New macro.
8663         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8664         * sysdeps/arm/nacl/libc.abilist: Add it.
8666 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8668         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8670 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8672         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8673         Swap __glibc_reserved0 and sa_flags order.
8675 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8677         [BZ #18657]
8678         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8679         are pending TLS destructor calls.
8680         * include/link.h (struct link_map): Add concurrency note for
8681         L_TLS_DTOR_COUNT.
8682         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8683         Don't touch the link map flag.  Atomically increment
8684         l_tls_dtor_count.
8685         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8686         Avoid taking the load lock and don't touch the link map flag.
8687         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8688         * stdlib/Makefile (tests): Use it.
8689         * stdlib/tst-tls-atexit.c (do_test): dlopen
8690         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8691         to allow tst-tls-atexit-nodelete test case to use it.
8693 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8695         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8696         to bits/types.h.
8697         (msgqnum_t): New typedef.
8698         (msglen_t): Likewise.
8699         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8700         and msg_qbytes type to msglen_t.
8702 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8704         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8705         pad0 to __glibc_reserved0.
8706         (struct stat64): Likewise.
8708 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8710         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8711         Change sa_flags from a long to an int and add __glibc_reserved0 before
8712         it for padding.
8714 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8716         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8717         anonymous by deleting "siginfo" name.
8719 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8721         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8722         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8723         rather than __nacl_irt_filename.
8724         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8726         * NEWS: New item for arm-nacl port.
8727         * sysdeps/arm/nacl/libc.abilist: New file.
8728         * sysdeps/nacl/ld.abilist: New file.
8729         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8730         * sysdeps/nacl/libanl.abilist: New file.
8731         * sysdeps/nacl/libcrypt.abilist: New file.
8732         * sysdeps/nacl/libdl.abilist: New file.
8733         * sysdeps/nacl/libm.abilist: New file.
8734         * sysdeps/nacl/libpthread.abilist: New file.
8735         * sysdeps/nacl/libresolv.abilist: New file.
8736         * sysdeps/nacl/librt.abilist: New file.
8738 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8740         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8741         __startcontext to initialize the new context.
8742         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8743         up CFI directive to forbid further backtracing.
8745 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8747         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8748         reference.
8749         * charmaps/ANSI_X3.4-1968: Likewise.
8750         * charmaps/BS_4730: Likewise.
8751         * charmaps/BS_VIEWDATA: Likewise.
8752         * charmaps/CP1250: Likewise.
8753         * charmaps/CP1251: Likewise.
8754         * charmaps/CP1252: Likewise.
8755         * charmaps/CP1253: Likewise.
8756         * charmaps/CP1254: Likewise.
8757         * charmaps/CP1255: Likewise.
8758         * charmaps/CP1256: Likewise.
8759         * charmaps/CSN_369103: Likewise.
8760         * charmaps/EBCDIC-DK-NO: Likewise.
8761         * charmaps/GB_1988-80: Likewise.
8762         * charmaps/GREEK-CCITT: Likewise.
8763         * charmaps/GREEK7: Likewise.
8764         * charmaps/INIS-8: Likewise.
8765         * charmaps/ISIRI-3342: Likewise.
8766         * charmaps/ISO_2033-1983: Likewise.
8767         * charmaps/ISO_5427-EXT: Likewise.
8768         * locales/POSIX: Likewise.
8769         * locales/ar_SA: Likewise.
8770         * locales/be_BY: Likewise.
8771         * locales/be_BY@latin: Likewise.
8772         * locales/ca_ES: Likewise.
8773         * locales/cs_CZ: Likewise.
8774         * locales/da_DK: Likewise.
8775         * locales/de_BE: Likewise.
8776         * locales/de_CH: Likewise.
8777         * locales/de_LU: Likewise.
8778         * locales/en_AU: Likewise.
8779         * locales/en_BW: Likewise.
8780         * locales/en_CA: Likewise.
8781         * locales/en_DK: Likewise.
8782         * locales/en_GB: Likewise.
8783         * locales/en_IE: Likewise.
8784         * locales/en_NZ: Likewise.
8785         * locales/en_ZA: Likewise.
8786         * locales/en_ZW: Likewise.
8787         * locales/es_AR: Likewise.
8788         * locales/es_BO: Likewise.
8789         * locales/es_CL: Likewise.
8790         * locales/es_CO: Likewise.
8791         * locales/es_DO: Likewise.
8792         * locales/es_EC: Likewise.
8793         * locales/es_ES: Likewise.
8794         * locales/es_HN: Likewise.
8795         * locales/es_MX: Likewise.
8796         * locales/es_PA: Likewise.
8797         * locales/es_PE: Likewise.
8798         * locales/es_PY: Likewise.
8799         * locales/es_SV: Likewise.
8800         * locales/es_US: Likewise.
8801         * locales/es_UY: Likewise.
8802         * locales/es_VE: Likewise.
8803         * locales/et_EE: Likewise.
8804         * locales/fa_IR: Likewise.
8805         * locales/fo_FO: Likewise.
8806         * locales/fr_CA: Likewise.
8807         * locales/fr_CH: Likewise.
8808         * locales/gv_GB: Likewise.
8809         * locales/he_IL: Likewise.
8810         * locales/hr_HR: Likewise.
8811         * locales/id_ID: Likewise.
8812         * locales/is_IS: Likewise.
8813         * locales/it_CH: Likewise.
8814         * locales/iw_IL: Likewise.
8815         * locales/kl_GL: Likewise.
8816         * locales/ko_KR: Likewise.
8817         * locales/kw_GB: Likewise.
8818         * locales/lg_UG: Likewise.
8819         * locales/lt_LT: Likewise.
8820         * locales/lv_LV: Likewise.
8821         * locales/mi_NZ: Likewise.
8822         * locales/nhn_MX: Likewise.
8823         * locales/nl_BE: Likewise.
8824         * locales/pl_PL: Likewise.
8825         * locales/sk_SK: Likewise.
8826         * locales/sl_SI: Likewise.
8827         * locales/sv_FI: Likewise.
8828         * locales/tl_PH: Likewise.
8829         * locales/tr_TR: Likewise.
8830         * locales/vi_VN: Likewise.
8832 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8834         [BZ #17475]
8835         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8836         of tu_IN and bh_IN.
8838 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8840         [BZ #18694]
8841         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8842         bits/wordsize.h.
8843         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8845 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8847         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8848         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8849         (spawn_thread): New function.
8850         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8851         (do_test): ... here.  Use IS_LOADED to test for its
8852         availability.
8854 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8856         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8858 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8860         [BZ #18696]
8861         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8862         si_addr_bnd.
8863         (si_lower): New.
8864         (si_upper): Likewise.
8866 2015-07-16  David S. Miller  <davem@davemloft.net>
8868         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8870 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8872         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8873         buffer.
8874         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8875         fail output information.
8877 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8880         and strstr-ppc64..
8881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8882         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8883         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8884         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8885         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8887 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8889         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8890         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8891         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8892         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8894 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8896         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8897         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8898         rtld_hidden_proto.
8899         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8901 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8903         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8904         the test can fail.
8906         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8908         [BZ #18676]
8909         * elf/tst-nodelete-opened.c: New test case.
8910         * elf/tst-nodelete-opened-lib.c: New test case module.
8911         * elf/Makefile (tests, modules-names): Use them.
8912         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8913         early.
8915 2015-07-15  David S. Miller  <davem@davemloft.net>
8917         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8918         futex-intenal.h
8919         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8920         * sysdeps/sparc/sparc64/Makefile: Likewise.
8921         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8922         Remove space from macro define.
8923         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8925 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8927         [BZ #17475]
8928         * locale/iso-639.def: Update Bhili and Tulu language codes as
8929         per iso639-3.
8931 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8933         * elf/tst-leaks1.c (main): Converted to ...
8934         (do_test): ... this.
8935         (TEST_FUNCTION): New macro.
8936         Include test-skeleton.c.
8937         * localedata/tst-langinfo.c (main): Converted to ...
8938         (do_test): ... this.
8939         (TEST_FUNCTION): New macro.
8940         Include test-skeleton.c.
8941         * math/test-fpucw.c (main): Converted to ...
8942         (do_test): ... this.
8943         (TEST_FUNCTION): New macro.
8944         Include test-skeleton.c.
8945         * math/test-tgmath.c (main): Converted to ...
8946         (do_test): ... this.
8947         (TEST_FUNCTION): New macro.
8948         Include test-skeleton.c.
8949         * math/test-tgmath2.c (main): Converted to ...
8950         (do_test): ... this.
8951         (TEST_FUNCTION): New macro.
8952         Include test-skeleton.c.
8953         * setjmp/tst-setjmp.c (main): Converted to ...
8954         (do_test): ... this.
8955         (TEST_FUNCTION): New macro.
8956         Include test-skeleton.c.
8957         * stdio-common/tst-sscanf.c (main): Converted to ...
8958         (do_test): ... this.
8959         (TEST_FUNCTION): New macro.
8960         Include test-skeleton.c.
8961         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8962         (do_test): ... this.
8963         (TEST_FUNCTION): New macro.
8964         Include test-skeleton.c.
8966         * elf/tst-audit9.c (main): Converted to ...
8967         (do_test): ... this.
8968         (TEST_FUNCTION): New macro.
8969         Include test-skeleton.c.
8971 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8973         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8975 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8977         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8978         New variable.
8980 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8982         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8984 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8986         * sysdeps/generic/dl-fileid.h: New file.
8987         * sysdeps/posix/dl-fileid.h: New file.
8988         * sysdeps/nacl/dl-fileid.h: New file.
8989         * include/link.h: Include <dl-fileid.h>.
8990         (struct link_map): Replace l_dev and l_ino with l_file_id.
8991         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8992         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8993         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8995 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8997         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8999 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9001         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9002         Add iff $CXX is set.
9003         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9004         Likewise.
9005         (tst-nodelete-zmodiff): Likewise.
9006         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9008 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9010         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9012 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9014         * sysdeps/aarch64/fpu/math_private.h
9015         (define math_opt_barrier): Add AArch64 version.
9016         (math_force_eval): Likewise.
9018 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9020         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9022 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9024         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9025         %ld with %jd and cast to intmax_t.
9026         (do_test_length_zero): Likewise.
9028 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9030         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9032 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9034         * sysdeps/tile/libm-test-ulps: Regenerated.
9036         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9037         Comment out the whole function, not just its body.
9039 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9041         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9042         locks.
9044         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9046 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9048         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9049         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9051 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9053         * sysdeps/nptl/futex-internal.h: New file.
9054         * sysdeps/nacl/futex-internal.h: New file.
9055         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9056         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9057         error checking.
9058         (setxid_unmark_thread): Likewise.
9059         (__nptl_setxid): Likewise.
9060         (__wait_lookup_done): Likewise.
9061         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9062         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9063         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9064         * nptl/pthread_once.c (clear_once_control): Likewise.
9065         (__pthread_once_slow): Likewise.
9066         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9067         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9068         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9069         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9070         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9071         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9072         Likewise.
9073         (__pthread_rwlock_rdlock): Likewise.
9074         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9075         Likewise.
9076         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9077         Likewise.
9078         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9079         Likewise.
9080         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9081         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9082         Likewise.
9083         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9084         __ASSUME_PRIVATE_FUTEX check.
9085         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9086         Check that shared futexes are supported.
9087         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9088         wrappers with error checking.
9089         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9090         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9091         * nptl/pthread_barrierattr_setpshared.c
9092         (pthread_barrierattr_setpshared): Check that shared futexes are
9093         supported.
9094         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9095         Likewise.
9096         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9097         Likewise.
9098         * nptl/sem_init.c (futex_private_if_supported): Remove.
9099         (__new_sem_init): Adapt and check that shared futexes are supported.
9100         * nptl/sem_open.c (sem_open): Likewise.
9101         * nptl/sem_post.c (futex_wake): Remove.
9102         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9103         (do_futex_wait): Use futex wrappers with error checking.
9104         * nptl/sem_wait.c: Include lowlevellock.h.
9105         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9106         Use futex_supports_pshared.
9107         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9108         Use futex wrappers with error checking.
9109         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9110         Likewise.
9111         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9112         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9113         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9114         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9115         (futex_wake): Likewise.
9116         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9117         (do_futex_wait): Use futex wrappers with error checking.
9118         (__new_sem_wait_slow): Update EINTR handling.
9119         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9121 2015-07-09  Martin Sebor  <msebor@redhat.com>
9123         [BZ #18435]
9124         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9125         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9126         * nptl/Makefile (test-xfail-tst-once5): Define.
9128 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9130         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9131         * elf/dl-minimal.c: For readability, reorder some definitions and
9132         introduce more page breaks.  Include <stdio.h>.
9133         (__libc_fatal): New function.
9135         * include/unistd.h: Add rtld_hidden_proto for _exit.
9136         * posix/_exit.c: Add rtld_hidden_def.
9137         * sysdeps/mach/hurd/_exit.c: Likewise.
9138         * sysdeps/nacl/_exit.c: Likewise.
9139         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9140         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9142 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9144         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9145         bndmov encoding with zero displacement.
9147 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9148             H.J. Lu  <hongjiu.lu@intel.com>
9150         [BZ #18134]
9151         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9152         * sysdeps/i386/configure: Regenerated.
9153         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9154         (_dl_runtime_profile): Save and restore Intel MPX return bound
9155         registers when calling _dl_call_pltexit.  Add
9156         PRESERVE_BND_REGS_PREFIX before return.
9157         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9158         (LRV_BND1_OFFSET): Likewise.
9159         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9160         lrv_bnd1.
9161         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9162         typo in bndmov encoding.
9163         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9164         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9165         branch instructions to preserve bounds.
9167 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9170         [GLIBC_2.22]: Add fmemopen.
9172 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9174         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9175         returns an error, also try to use host port from __mach_host_self for
9176         the __vm_wire call.
9177         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9179 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9181         [BZ #18400]
9182         [BZ #18648]
9183         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9184         Fix pr_uid and pr_gid members.
9185         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9186         definition to elf_greg_t.
9188 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9190         [BZ #18383]
9191         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9192         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9193         * sysdeps/arm/configure: Regenerated.
9194         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9195         (test-xfail-tst-tlsalign-static): Variable removed.
9197         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9198         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9199         rather than explicit 'ln -s'.
9201         * resolv/rpc/netdb.h: New file.
9202         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9204 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9206         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9207         length buffers.
9208         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9209         test-skeleton.c.
9211         [BZ #6544]
9212         [BZ #11216]
9213         [BZ #12836]
9214         [BZ #13151]
9215         [BZ #13152]
9216         [BZ #14292]
9217         * include/stdio.h (fmemopen): Remove hidden prototype.
9218         (__fmemopen): Add new hidden prototype.
9219         * libio/Makefile: Add oldfmemopen object.
9220         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9221         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9222         compliance.
9223         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9224         symbol compatibility.
9225         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9226         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9227         fmemopen.
9228         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9229         on append and read mode.
9230         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9231         fmemopen.
9232         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9233         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9234         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9235         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9236         Likewise.
9237         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9238         [GLIBC_2.22]: Likewise.
9239         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9240         Likewise.
9241         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9242         Likewise.
9243         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9244         [GLIBC_2.22]: Likewise.
9245         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9246         [GLIBC_2.22]: Likewise.
9247         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9248         [GLIBC_2.22]: Likewise.
9249         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9250         [GLIBC_2.22]: Likewise.
9251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9252         [GLIBC_2.22]: Likewise.
9253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9254         [GLIBC_2.22]: Likewise.
9255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9256         [GLIBC_2.22]: Likewise.
9257         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9258         Likewise.
9259         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9260         Likewise.
9261         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9262         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9263         [GLIBC_2.22]: Likewise.
9264         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9265         [GLIBC_2.22]: Likewise.
9266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9267         [GLIBC_2.22]: Likewise.
9268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9269         [GLIBC_2.22]: Likewise.
9270         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9271         Likewise.
9272         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9273         Likewise.
9274         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9275         Likewise.
9276         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9277         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9279 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9281         [BZ #18643]
9282         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9283         IPV6_PATHMTU, and IPV6_DONTFRAG.
9285 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9287         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9288         and _IO_UNBUFFERED.
9289         * libio/oldfileops.c: Likewise.
9290         * libio/wfileops.c: Likewise.
9292 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9294         * nscd/selinux.c: Delete selinux/flask.h include.
9296 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9298         [BZ #18641]
9299         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9300         (putpwent): Likewise.
9301         (getpwnam): Likewise.
9302         (getpwent_r): Likewise.
9303         (getpwuid_r): Likewise.
9304         (getpwnam_r): Likewise.
9305         (fgetpwent_r): Likewise.
9307 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9309         [BZ #18557]
9310         * inet/rcmd.c (__validuser2_sa): Check user first to
9311         short-circuit host check.
9313 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9314             Mikhail Ilin  <m.ilin@samsung.com>
9316         [BZ #17833]
9317         * elf/Makefile (tests): Add tst-nodelete.
9318         (modules-names): Add tst-nodelete-uniquemod.
9319         (tst-nodelete-uniquemod.so-no-z-defs): New.
9320         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9321         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9322         ($(objpfx)tst-nodelete): Likewise.
9323         ($(objpfx)tst-nodelete.out): Likewise.
9324         (LDFLAGS-tst-nodelete): Likewise.
9325         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9326         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9327         implement forced object deletion.
9328         (_dl_close): Pass false to _dl_close_worker.
9329         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9330         * elf/tst-nodelete.cc: New file.
9331         * elf/tst-nodeletelib.cc: Likewise.
9332         * elf/tst-znodeletelib.cc: Likewise.
9333         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9335 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9337         [BZ #18508]
9338         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9339         Depend on $(libdl).
9340         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9341         is not called infinitely times.
9342         (backtrace_helper): New function.
9343         (trace_arg): New struct.
9344         (st1): Enlarge stack size.
9345         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9346         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9347         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9348         Likewise.
9350 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9352         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9354 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9356         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9357         Include sys/types.h instead of bits/types.h.
9358         Remove inclusion of bits/wordsize.h.
9360 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9362         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9363         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9364         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9365         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9366         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9367         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9369 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9371         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9372         link-defines.sym.
9373         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9374         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9375         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9376         and LR_SIZE.
9377         * sysdeps/i386/link-defines.sym: New file.
9379 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9381         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9382         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9383         ($(objpfx)tst-audit3): New rule.
9384         ($(objpfx)tst-audit3.out): Likewise.
9385         * sysdeps/i386/tst-audit3.c: New file.
9386         * sysdeps/i386/tst-audit3.h: Likewise.
9387         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9388         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9390 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9392         [BZ #18633]
9393         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9394         pointer in C code.
9395         (__strcat_c): Likewise.
9396         (__strcat_g): Likewise.
9398 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9400         [BZ #18592]
9401         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9403 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9405         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9406         New function.  (__ieee754_sqrtf): New function.
9407         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9408         New function.
9409         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9410         New function.
9412 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9414         * sysdeps/ieee754/support.c: Remove unused file.
9416 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9418         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9419         registers instead of d ones so the layout is kernel abi compatible.
9420         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9421         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9422         Likewise.
9424 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9426         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9428 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9430         [BZ #18619]
9431         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9432         and return argument in case of subnormal argument.
9434 2015-07-01  Martin Sebor  <msebor@redhat.com>
9436         [BZ #18435]
9437         * nptl/Makefile: Add tst-once5.cc.
9438         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9439         Remove macro redefinitions.
9440         * nptl/tst-once5.cc: New test.
9442 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9444         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9446         * sysdeps/arm/libm-test-ulps: Regenerated.
9448         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9449         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9451 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9453         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9454         lll_lock_wait_private and lll_futex_wake probes.
9456         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9457         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9458         Likewise.
9459         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9460         atomic_spin_nop.
9461         * sysdeps/x86_64/bits/atomic.h: Likewise.
9462         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9463         to atomic_spin_nop and move ...
9464         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9465         ... here and ...
9466         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9467         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9468         atomic_spin_nop instead of BUSY_WAIT_NOP.
9469         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9470         Likewise.
9471         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9472         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9473         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9474         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9475         instead of atomic_delay.
9477 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
9479         [BZ #18613]
9480         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9481         X_ADJ not X when adjusting exponent.
9482         (__ieee754_gamma_r): Do intermediate computations in
9483         round-to-nearest then adjust overflowing and underflowing results
9484         as needed.
9485         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9486         of X_ADJ not X when adjusting exponent.
9487         (__ieee754_gammaf_r): Do intermediate computations in
9488         round-to-nearest then adjust overflowing and underflowing results
9489         as needed.
9490         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9491         log of X_ADJ not X when adjusting exponent.
9492         (__ieee754_gammal_r): Do intermediate computations in
9493         round-to-nearest then adjust overflowing and underflowing results
9494         as needed.  Use 1.0L not 1.0f as numerator of division.
9495         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9496         log of X_ADJ not X when adjusting exponent.
9497         (__ieee754_gammal_r): Do intermediate computations in
9498         round-to-nearest then adjust overflowing and underflowing results
9499         as needed.  Use 1.0L not 1.0f as numerator of division.
9500         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9501         of X_ADJ not X when adjusting exponent.
9502         (__ieee754_gammal_r): Do intermediate computations in
9503         round-to-nearest then adjust overflowing and underflowing results
9504         as needed.  Use 1.0L not 1.0f as numerator of division.
9505         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
9506         to auto-libm-test-in.
9507         (tgamma_test): Use ALL_RM_TEST.
9508         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
9509         tests of tgamma with spurious-overflow.
9510         * math/auto-libm-test-out: Regenerated.
9511         * math/gen-libm-have-vector-test.sh: Do not check for START.
9512         * sysdeps/i386/fpu/libm-test-ulps: Update.
9513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9515         [BZ #18612]
9516         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9517         arguments, just return 0.5 times the argument, with underflow
9518         forced as needed.
9519         * math/auto-libm-test-in: Add more tests of j1.
9520         * math/auto-libm-test-out: Regenerated.
9522         [BZ #16559]
9523         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9524         (__ieee754_j1): Force underflow exception for small results.
9525         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9526         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9527         (__ieee754_j1f): Force underflow exception for small results.
9528         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9529         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9530         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9531         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9532         (__ieee754_j1l): Force underflow exception for small results.
9533         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9534         * math/auto-libm-test-in: Add more tests of j1 and jn.
9535         * math/auto-libm-test-out: Regenerated.
9537         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9538         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9539         (PF_MPLS): Likewise.
9540         (AF_IB): Likewise.
9541         (AF_MPLS): Likewise.
9542         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9543         value and macro.
9544         (MS_RMT_MASK): Include MS_LAZYTIME.
9546 2015-06-26  Mel Gorman  <mgorman@suse.de>
9548         [BZ #18502]
9549         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9550         already minimal.
9552 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9554         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9555         (DT_MIPS_NUM): Update.
9556         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9557         DT_MIPS_RLD_MAP_REL.
9559 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9561         [BZ #16559]
9562         [BZ #18602]
9563         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9564         round-to-nearest internally then recompute results that
9565         underflowed to zero in the original rounding mode.
9566         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9567         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9569         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9570         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9571         * sysdeps/i386/fpu/libm-test-ulps: Update.
9572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9574 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9576         * NEWS: Fixed description of link with vector math library.
9578 2015-06-25  Andreas Schwab  <schwab@suse.de>
9580         [BZ #18549]
9581         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9582         * libio/test-fmemopen.c (do_test): Add test for it.
9584 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9586         [BZ #17841]
9587         * Makeconfig (no-pie-ldflag): New.
9588         (+link): Set to $(+link-pie) if default to PIE.
9589         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9590         * config.make.in (build-pie-default): New.
9591         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9592         is default.  AC_SUBST.
9593         * configure: Regenerated.
9594         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9596 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9598         * nptl/descr.h (struct pthread): Change type of field setxid_futex
9599         to 'unsigned int'.
9601         * resolv/gai_misc.h (struct waitlist): Change type of field
9602         counterp to 'volatile unsigned int *'.
9603         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9604         FUTEXADDR and OLDVAL.
9605         * resolv/getaddrinfo_a.c (getaddrinfo_a):
9606         Give local variable TOTAL type 'volatile unsigned int'.
9607         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9608         * resolv/gai_suspend.c (gai_suspend):
9609         Give local variable CNTR type 'unsigned int'.
9611         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9612         counterp to 'volatile unsigned int *'.
9613         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9614         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9615         (aio_suspend): Give local variable CNTR type 'unsigned int'.
9616         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9617         Give local variable TOTAL type 'volatile unsigned int'.
9618         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9620 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9622         [BZ #18383]
9623         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9624         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
9625         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9626         comment for i386/x86-64.
9627         (test-xfail-tst-tlsalign-extern-static): Removed.
9629 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9631         * math/test-double.h: New file.
9632         * math/test-float.h: Likewise.
9633         * math/test-ldouble.h: Likewise.
9634         * math/test-math-inline.h: Likewise.
9635         * math/test-math-no-inline.h: Likewise.
9636         * math/test-math-scalar.h: Likewise.
9637         * math/test-math-vector.h: Likewise.
9638         * math/test-vec-loop.h: Remove file.  Contents moved into
9639         test-math-vector.h.
9640         * math/libm-test.inc (MATHCONST): Do not document macro.
9641         * math/test-double.c: Include test-double.h, test-math-no-inline.h
9642         and test-math-scalar.h.
9643         (FUNC): Remove macro.
9644         (FUNC_TEST): Likewise.
9645         (FLOAT): Likewise.
9646         (MATHCONST): Likewise.
9647         (PRINTF_EXPR): Likewise.
9648         (PRINTF_XEXPR): Likewise.
9649         (PRINTF_NEXPR): Likewise.
9650         (TEST_DOUBLE): Likewise.
9651         (TEST_MATHVEC): Likewise.
9652         (__NO_MATH_INLINES): Likewise.
9653         * math/test-float.c: Include test-float.h, test-math-no-inline.h
9654         and test-math-scalar.h.
9655         (FUNC): Remove macro.
9656         (FUNC_TEST): Likewise.
9657         (FLOAT): Likewise.
9658         (MATHCONST): Likewise.
9659         (PRINTF_EXPR): Likewise.
9660         (PRINTF_XEXPR): Likewise.
9661         (PRINTF_NEXPR): Likewise.
9662         (TEST_FLOAT): Likewise.
9663         (TEST_MATHVEC): Likewise.
9664         (__NO_MATH_INLINES): Likewise.
9665         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9666         and test-math-scalar.h.
9667         (FUNC): Remove macro.
9668         (FUNC_TEST): Likewise.
9669         (FLOAT): Likewise.
9670         (MATHCONST): Likewise.
9671         (PRINTF_EXPR): Likewise.
9672         (PRINTF_XEXPR): Likewise.
9673         (PRINTF_NEXPR): Likewise.
9674         (TEST_DOUBLE): Likewise.
9675         (TEST_MATHVEC): Likewise.
9676         (TEST_INLINE): Likewise.
9677         (__NO_MATH_INLINES): Likewise.
9678         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9679         test-math-scalar.h.
9680         (FUNC): Remove macro.
9681         (FUNC_TEST): Likewise.
9682         (FLOAT): Likewise.
9683         (MATHCONST): Likewise.
9684         (PRINTF_EXPR): Likewise.
9685         (PRINTF_XEXPR): Likewise.
9686         (PRINTF_NEXPR): Likewise.
9687         (TEST_FLOAT): Likewise.
9688         (TEST_MATHVEC): Likewise.
9689         (TEST_INLINE): Likewise.
9690         (__NO_MATH_INLINES): Likewise.
9691         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9692         and test-math-scalar.h.
9693         (FUNC): Remove macro.
9694         (FUNC_TEST): Likewise.
9695         (FLOAT): Likewise.
9696         (MATHCONST): Likewise.
9697         (PRINTF_EXPR): Likewise.
9698         (PRINTF_XEXPR): Likewise.
9699         (PRINTF_NEXPR): Likewise.
9700         (TEST_LDOUBLE): Likewise.
9701         (TEST_MATHVEC): Likewise.
9702         (TEST_INLINE): Likewise.
9703         (__NO_MATH_INLINES): Likewise.
9704         * math/test-ldouble.c: Include test-ldouble.h,
9705         test-math-no-inline.h and test-math-scalar.h.
9706         (FUNC): Remove macro.
9707         (FUNC_TEST): Likewise.
9708         (FLOAT): Likewise.
9709         (MATHCONST): Likewise.
9710         (PRINTF_EXPR): Likewise.
9711         (PRINTF_XEXPR): Likewise.
9712         (PRINTF_NEXPR): Likewise.
9713         (TEST_LDOUBLE): Likewise.
9714         (TEST_MATHVEC): Likewise.
9715         (__NO_MATH_INLINES): Likewise.
9716         * math/test-double-vlen2.h: Include test-double.h,
9717         test-math-no-inline.h and test-math-vector.h.
9718         (FLOAT): Remove macro.
9719         (FUNC): Likewise.
9720         (MATHCONST): Likewise.
9721         (PRINTF_EXPR): Likewise.
9722         (PRINTF_XEXPR): Likewise.
9723         (PRINTF_NEXPR): Likewise.
9724         (TEST_DOUBLE): Likewise.
9725         (TEST_MATHVEC): Likewise.
9726         (__NO_MATH_INLINES): Likewise.
9727         (CNCT): Likewise.
9728         (CONCAT): Likewise.
9729         (WRAPPER_NAME): Likewise.
9730         (WRAPPER_DECL): Likewise.
9731         (WRAPPER_DECL_ff): Likewise.
9732         (WRAPPER_DECL_fFF): Likewise.
9733         (VECTOR_WRAPPER): Likewise.
9734         (VECTOR_WRAPPER_ff): Likewise.
9735         (VECTOR_WRAPPER_fFF): Likewise.
9736         (VEC_LEN): New macro.
9737         * math/test-double-vlen4.h: Include test-double.h,
9738         test-math-no-inline.h and test-math-vector.h.
9739         (FLOAT): Remove macro.
9740         (FUNC): Likewise.
9741         (MATHCONST): Likewise.
9742         (PRINTF_EXPR): Likewise.
9743         (PRINTF_XEXPR): Likewise.
9744         (PRINTF_NEXPR): Likewise.
9745         (TEST_DOUBLE): Likewise.
9746         (TEST_MATHVEC): Likewise.
9747         (__NO_MATH_INLINES): Likewise.
9748         (CNCT): Likewise.
9749         (CONCAT): Likewise.
9750         (WRAPPER_NAME): Likewise.
9751         (WRAPPER_DECL): Likewise.
9752         (WRAPPER_DECL_ff): Likewise.
9753         (WRAPPER_DECL_fFF): Likewise.
9754         (VECTOR_WRAPPER): Likewise.
9755         (VECTOR_WRAPPER_ff): Likewise.
9756         (VECTOR_WRAPPER_fFF): Likewise.
9757         (VEC_LEN): New macro.
9758         * math/test-double-vlen8.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-float-vlen4.h: Include test-float.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_FLOAT): 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-float-vlen8.h: Include test-float.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_FLOAT): 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-vlen16.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         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9843         test-vec-loop.h.
9844         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9845         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9846         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9847         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9848         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9849         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9850         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9852 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9854         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9855         (__getlogin_r): ... this.
9857 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9859         [BZ #18594]
9860         * math/s_ccosh.c (__ccosh): Compare with least normal value
9861         instead of comparing class with FP_SUBNORMAL.
9862         * math/s_ccoshf.c (__ccoshf): Likewise.
9863         * math/s_ccoshl.c (__ccoshl): Likewise.
9864         * math/s_cexp.c (__cexp): Likewise.
9865         * math/s_cexpf.c (__cexpf): Likewise.
9866         * math/s_cexpl.c (__cexpl): Likewise.
9867         * math/s_csin.c (__csin): Likewise.
9868         * math/s_csinf.c (__csinf): Likewise.
9869         * math/s_csinh.c (__csinh): Likewise.
9870         * math/s_csinhf.c (__csinhf): Likewise.
9871         * math/s_csinhl.c (__csinhl): Likewise.
9872         * math/s_csinl.c (__csinl): Likewise.
9873         * math/s_ctan.c (__ctan): Likewise.
9874         * math/s_ctanf.c (__ctanf): Likewise.
9875         * math/s_ctanh.c (__ctanh): Likewise.
9876         * math/s_ctanhf.c (__ctanhf): Likewise.
9877         * math/s_ctanhl.c (__ctanhl): Likewise.
9878         * math/s_ctanl.c (__ctanl): Likewise.
9879         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9880         csin, csinh, ctan and ctanh.
9881         * math/auto-libm-test-out: Regenerated.
9882         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9883         * sysdeps/i386/fpu/libm-test-ulps: Update.
9884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9886 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9888         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9889         return value is wrong, print the expected value too.
9891 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9893         [BZ #18585]
9894         * elf/readlib.c (is_gdb_python_file): New.
9895         (process_file): Don't issue errors on filenames with -gdb.py
9896         suffix.
9898 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9900         * math/auto-libm-test-in: Add more tests of csin and csinh.
9901         * math/auto-libm-test-out: Regenerated.
9902         * math/libm-test.inc (csin_test_data): Remove tests moved to
9903         auto-libm-test-in.
9904         (csinh_test_data): Likewise.
9906         [BZ #18593]
9907         * math/s_csin.c (__csin): Negate before rather than after possibly
9908         overflowing multiplication.
9909         * math/s_csinf.c (__csinf): Likewise.
9910         * math/s_csinh.c (__csinh): Likewise.
9911         * math/s_csinhf.c (__csinhf): Likewise.
9912         * math/s_csinhl.c (__csinhl): Likewise.
9913         * math/s_csinl.c (__csinl): Likewise.
9914         * math/auto-libm-test-in: Add some tests of csin and csinh.
9915         * math/auto-libm-test-out: Regenerated.
9916         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9917         (csinh_test_data): Likewise.
9918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9920         [BZ #18586]
9921         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9922         underflow exception for small results.
9924 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9926         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9927         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9928         variable and included header.
9929         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9930         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9931         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9932         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9933         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9934         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9935         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9936         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9937         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9938         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9939         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9940         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9941         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9942         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9943         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9944         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9946 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9948         [BZ #16526]
9949         [BZ #16538]
9950         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9951         (__sin): Force underflow exception for arguments with small
9952         absolute value.
9953         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9954         (__kernel_sinf): Force underflow exception for arguments with
9955         small absolute value.
9956         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9957         (__kernel_sincosl): Force underflow exception for arguments with
9958         small absolute value.
9959         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9960         (__kernel_sinl): Force underflow exception for arguments with
9961         small absolute value.
9962         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9963         (__kernel_sincosl): Force underflow exception for arguments with
9964         small absolute value.
9965         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9966         (__kernel_sinl): Force underflow exception for arguments with
9967         small absolute value.
9968         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9969         (__kernel_sinl): Force underflow exception for arguments with
9970         small absolute value.
9971         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9972         (__kernel_sinf): Force underflow exception for arguments with
9973         small absolute value.
9974         * math/auto-libm-test-in: Add more tests of sin and sincos.
9975         * math/auto-libm-test-out: Regenerated.
9977         [BZ #18245]
9978         [BZ #18583]
9979         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9980         (__kernel_standard_l): Use feholdexcept and fesetenv around
9981         conversion to double instead of special-casing overflow and
9982         underflow.
9983         * math/libm-test.inc (fmod_test_data): Add more tests.
9984         (remainder_test_data): Likewise.
9985         (sqrt_test_data): Likewise.
9987 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9989         [BZ #17403]
9990         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9991         atomic_read_barrier, atomic_write_barrier): Define.
9992         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9993         atomic_read_barrier, atomic_write_barrier): Define.
9995 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9997         * math/Makefile [$(PERL) != no]
9998         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9999         dependency on libm-test.stmp below the inclusion of Rules.
10001 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10003         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10004         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10005         and included header.
10006         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10007         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10008         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10009         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10010         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10011         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10012         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10013         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10014         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10015         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10016         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10017         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10018         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10019         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10020         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10021         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10022         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10023         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10024         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10026 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10028         [BZ #18371]
10029         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10030         intermediate but not final result might underflow.
10031         * math/s_csqrtf.c (__csqrtf): Likewise.
10032         * math/s_csqrtl.c (__csqrtl): Likewise.
10033         * math/auto-libm-test-in: Add more tests of csqrt.
10034         * math/auto-libm-test-out: Regenerated.
10035         * sysdeps/i386/fpu/libm-test-ulps: Update.
10037         [BZ #18219]
10038         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10039         threshold on absolute value of exponent for which scaling is used.
10040         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10041         * math/auto-libm-test-in: Add more tests of exp2.
10042         * math/auto-libm-test-out: Regenerated.
10044 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10046         [BZ #17977]
10047         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10048         when initializing interface list, based on the bug analysis
10049         and the patch proposed by Eric Newton.
10050         * resolv/tst-res_hconf_reorder.c: New test.
10051         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10052         tst-res_hconf_reorder.
10053         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10054         and $(shared-thread-library).
10055         (tst-res_hconf_reorder-ENV): New variable.
10057         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10058         in comment.
10060 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10062         [BZ #16353]
10063         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10064         (__expm1): Force underflow exception for arguments with small
10065         absolute value.
10066         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10067         (__expm1f): Force underflow exception for arguments with small
10068         absolute value.
10069         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10070         (__expm1): Force underflow exception for arguments with small
10071         absolute value.
10072         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10073         (__expm1f): Force underflow exception for arguments with small
10074         absolute value.
10075         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10076         Check for small arguments before calling __expm1.
10077         * math/auto-libm-test-in: Do not mark underflow exceptions as
10078         possibly missing for bug 16353.
10079         * math/auto-libm-test-out: Regenerated.
10081 2015-06-22  Andreas Schwab  <schwab@suse.de>
10083         [BZ #18513]
10084         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10085         PTR queries.
10087 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10089         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10091         * string/strcoll_l.c: Remove unused struct element idxnow.
10093 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10095         [BZ #18569]
10096         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10097         underflow and return argument in case of subnormal argument.
10098         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10099         Likewise.
10100         * math/auto-libm-test-in: Add more tests of expm1.
10101         * math/auto-libm-test-out: Regenerated.
10103         [BZ #16361]
10104         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10105         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10106         tiny results.
10107         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10108         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10109         tiny results.
10110         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10111         mark underflow exceptions as possibly missing for bug 16361.
10112         * math/auto-libm-test-out: Regenerated.
10114 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10116         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10117         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10118         Remove variable.
10119         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10120         (test-xfail-XOPEN2K8/utmpx.h/conform).
10122         * conform/conformtest.pl ($xerrors): New variable.
10123         (note_error): New function.
10124         (compiletest): New argument $xfail.  Use not_error.
10125         (runtest): Likewise.
10126         (top level): Handle xfail- lines.  Update calls to compiletest and
10127         runtest.  Handle xfail- and optional- in headers listed with
10128         allow-header.
10129         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10130         (O_EXEC): Likewise.
10131         (O_SEARCH): Likewise.
10132         * conform/data/stropts.h-data (ioctl): Likewise.
10133         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10134         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10135         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10136         (msghdr.msg_controllen): Likewise.
10137         (cmsghdr.cmsg_len): Likewise.
10138         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10139         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10140         variable.
10141         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10142         (test-xfail-XPG4/stropts.h/conform): Likewise.
10143         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10144         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10145         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10146         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10147         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10148         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10149         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10150         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10151         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10152         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10153         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10154         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10155         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10156         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10157         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10158         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10159         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10160         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10161         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10163 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10165         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10166         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10167         definitions for proper unfolding of __MATHDECL_VEC.
10169 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10171         * benchtests/bench-strcoll.c:
10172         Include string.h.
10173         (main): Remove unused variable res.
10175 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10177         * timezone/Makefile (%/UTC %/Universal):
10178         Generate test-result files for UTC and Universal.
10180 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10182         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10184 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10186         [BZ #16350]
10187         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10188         for arguments with small absolute value.
10189         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10190         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10191         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10192         (__asinh): Force underflow exception for arguments with small
10193         absolute value.
10194         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10195         (__asinhf): Force underflow exception for arguments with small
10196         absolute value.
10197         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10198         (__asinhl): Force underflow exception for arguments with small
10199         absolute value.
10200         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10201         (__asinhl): Force underflow exception for arguments with small
10202         absolute value.
10203         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10204         (__asinhl): Force underflow exception for arguments with small
10205         absolute value.
10206         * math/auto-libm-test-in: Do not mark underflow exceptions as
10207         possibly missing for bug 16350.
10208         * math/auto-libm-test-out: Regenerated.
10210         * include/bits/ipc.h: Remove file.
10211         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10212         variable.
10213         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10214         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10215         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10216         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10217         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10218         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10219         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10220         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10221         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10223         * math/auto-libm-test-in: Remove spurious underflow allowance for
10224         tests of cexp.
10225         * math/auto-libm-test-out: Regenerated.
10227         [BZ #18558]
10228         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10229         unconditional definition.
10230         (MCAST_BLOCK_SOURCE): Likewise.
10231         (MCAST_UNBLOCK_SOURCE): Likewise.
10232         (MCAST_LEAVE_GROUP): Likewise.
10233         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10234         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10235         (MCAST_MSFILTER): Likewise.
10236         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10237         Remove variable.
10238         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10239         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10240         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10241         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10242         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10244 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10246         * NEWS: Mention addition of x86_64 vector sincosf.
10247         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10248         * math/test-float-vlen4.h: Likewise.
10249         * math/test-float-vlen8.h: Likewise.
10250         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10251         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10252         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10253         * sysdeps/x86_64/fpu/Versions: New versions added.
10254         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10255         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10256         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10257         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10258         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10259         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10261         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10262         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10263         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10264         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10265         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10266         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10267         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10268         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10269         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10270         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10271         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10272         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10273         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10274         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10275         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10276         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10277         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10279         * NEWS: Mention addition of x86_64 vector sincos.
10280         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10281         * math/math.h (__MATHDECL_VEC): New macro.
10282         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10283         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10284         declaration under condition.
10285         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10286         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10287         TEST_VEC_LOOP change.
10288         * math/test-double-vlen4.h: Likewise.
10289         * math/test-double-vlen8.h: Likewise.
10290         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10291         * math/test-float-vlen4.h: Likewise.
10292         * math/test-float-vlen8.h: Likewise.
10293         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10294         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10295         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10296         * sysdeps/x86_64/fpu/Versions: New versions added.
10297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10298         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10299         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10301         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10303         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10304         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10305         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10306         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10307         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10308         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10309         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10310         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10311         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10312         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10313         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10314         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10315         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10316         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10317         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10318         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10319         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10320         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10322         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10323         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10324         redirections for powf.
10325         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10326         * sysdeps/x86_64/fpu/Versions: New versions added.
10327         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10328         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10329         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10330         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10331         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10332         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10333         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10334         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10335         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10336         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10337         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10338         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10339         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10340         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10341         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10342         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10343         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10344         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10345         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10346         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10347         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10348         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10349         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10350         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10351         * math/test-float-vlen16.h: Fixed 2 argument macro.
10352         * math/test-float-vlen4.h: Likewise.
10353         * math/test-float-vlen8.h: Likewise.
10354         * NEWS: Mention addition of x86_64 vector powf.
10356 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10358         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10359         and redefine.
10360         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10361         and redefine.
10362         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10363         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10364         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10366         [BZ #18553]
10367         * resource/getpriority.c (getpriority): Rename to __getpriority
10368         and define as weak alias of __getpriority.
10369         * resource/setpriority.c (setpriority): Rename to __setpriority
10370         and define as weak alias of __setpriority.
10371         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10372         __getpriority and define as weak alias of __getpriority.
10373         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10374         __setpriority and define as weak alias of __setpriority.
10375         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10376         strong name.
10377         (setpriority): Use __setpriority as strong name.
10378         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10379         __getpriority and define as weak alias of __getpriority.
10380         * include/sys/resource.h (__getpriority): Declare.  Use
10381         libc_hidden_proto.
10382         (__setpriority): Likewise.
10383         (getpriority): Don't use libc_hidden_proto.
10384         (setpriority): Likewise.
10385         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10386         getpriority.  Call __setpriority instead of setpriority.
10387         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10388         Remove variable.
10390         [BZ #18547]
10391         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10392         as weak alias of __getttynam.  Use prototype function definition.
10393         Call __setttyent, __getttyent and __endttyent instead of
10394         setttyent, getttyent and endttyent.
10395         (getttyent): Rename to __getttyent and define as weak alias of
10396         __getttyent.  Call __setttyent instead of setttyent.  Call
10397         __fgets_unlocked instead of fgets_unlocked.
10398         (setttyent): Rename to __setttyent and define as weak alias of
10399         __setttyent.
10400         (endttyent): Rename to __endttyent and define as weak alias of
10401         __endttyent.
10402         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10403         (__setttyent): Likewise.
10404         (__endttyent): Likewise.
10405         (getttyent): Don't use libc_hidden_proto.
10406         (setttyent): Likewise.
10407         (endttyent): Likewise.
10408         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10409         __endttyent instead of setttyent, getttyent and endttyent.
10410         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10411         Remove variable.
10413         [BZ #18546]
10414         * socket/recv.c (__recv): Use libc_hidden_def.
10415         * socket/socket.c (__socket): Likewise.
10416         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10417         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10418         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10419         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10420         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10421         libc_hidden_def.
10422         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10423         libc_hidden_weak.
10424         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10425         Use libc_hidden_proto.
10426         (__recv): Likewise.
10427         * socket/Versions (libc): Export __recv and __socket at version
10428         GLIBC_PRIVATE.
10429         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10430         instead of recv.
10431         (init_mq_netlink): Call __socket instead of socket.
10432         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10433         Remove variable.
10435         [BZ #18545]
10436         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10437         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10438         hidden_weak.
10439         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10440         define as alias of __mq_timedsend.  Use hidden_weak.
10441         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10442         __mq_timedsend as strong name.
10443         (mq_timedreceive): Use __mq_timedreceive as strong name.
10444         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10445         (__mq_timedreceive): Likewise.
10446         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10447         __mq_timedreceive instead of mq_timedreceive.
10448         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10449         instead of mq_timedsend.
10450         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10451         Remove variable.
10453         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10454         hidden_def and hidden_weak instead of libc_hidden_def and
10455         libc_hidden_weak.
10456         (top level): Refer to hidden_def in comment.
10457         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10458         macro.  Use it instead of libc_hidden_def.
10459         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10460         specify __GI_* name explicitly.
10461         (mq_timedreceive): Likewise.
10462         (mq_setattr): Likewise.
10464         [BZ #18544]
10465         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10466         __pthread_barrier_init and define as weak alias of
10467         __pthread_barrier_init.
10468         * sysdeps/sparc/nptl/pthread_barrier_init.c
10469         (pthread_barrier_init): Likewise.
10470         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10471         __pthread_barrier_wait and define as weak alias of
10472         __pthread_barrier_wait.
10473         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10474         (pthread_barrier_wait): Likewise.
10475         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10476         (pthread_barrier_wait): Likewise.
10477         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10478         (pthread_barrier_wait): Likewise.
10479         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10480         (pthread_barrier_wait): Likewise.
10481         * nptl/Versions (libpthread): Export __pthread_barrier_init and
10482         __pthread_barrier_wait at version GLIBC_PRIVATE.
10483         * include/pthread.h (__pthread_barrier_init): Declare.
10484         (__pthread_barrier_wait): Likewise.
10485         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10486         Call __pthread_barrier_wait instead of pthread_barrier_wait.
10487         (helper_thread): Likewise.
10488         (init_mq_netlink): Call __pthread_barrier_init instead of
10489         pthread_barrier_init.
10491         [BZ #18542]
10492         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10493         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10494         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
10495         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10496         vswscanf.
10497         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10498         Remove variable.
10500         [BZ #18540]
10501         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10502         strong alias of _IO_fflush.  Use libc_hidden_def.
10503         * libio/iofflush_u.c (fflush_unlocked): Rename to
10504         __fflush_unlocked and define as weak alias of __fflush_unlocked.
10505         Use libc_hidden_weak.
10506         * include/stdio.h (__fflush_unlocked): Declare.  Use
10507         libc_hidden_proto.
10508         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10509         fflush_unlocked.
10510         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10511         Remove variable.
10513         [BZ #18539]
10514         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10515         define as weak alias of __addseverity.
10516         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10517         Remove variable.
10518         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10519         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10520         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10522         [BZ #18536]
10523         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10524         (__tfind): Likewise.
10525         (__tdelete): Likewise.
10526         (__twalk): Likewise.
10527         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10528         __twalk to GLIBC_PRIVATE.
10529         * include/search.h (__tsearch): Use libc_hidden_proto.
10530         (__tfind): Likewise.
10531         (__tdelete): Likewise.
10532         (__twalk): Likewise.
10533         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10534         Call __tdelete instead of tdelete.
10535         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10536         tfind.  Call __tsearch instead of tsearch.
10537         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10538         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10539         Remove variable.
10540         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10542         [BZ #18534]
10543         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10544         (dprintf): Define as a weak alias of __dprintf, not a strong
10545         alias.
10546         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10547         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10548         dprintf.
10549         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10550         Remove variable.
10551         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10552         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10554         [BZ #18533]
10555         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10556         not a strong alias.
10557         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10558         Remove variable.
10560         [BZ #18532]
10561         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10562         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10563         (in6addr_loopback): Rename to __in6addr_loopback and define as
10564         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10565         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10566         libc_hidden_proto.
10567         (__in6addr_any): Likewise.
10568         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10569         in6addr_any.
10570         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10571         variable.
10572         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10574 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10576         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10577         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10578         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10579         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10580         redirections for pow.
10581         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10582         * sysdeps/x86_64/fpu/Versions: New versions added.
10583         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10584         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10585         build of SSE, AVX2 and AVX512 IFUNC versions.
10586         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10587         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10588         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10589         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10590         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10591         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10592         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10593         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10594         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10595         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10596         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10597         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10598         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10599         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10600         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10601         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10602         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10603         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10604         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10605         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10606         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10607         * NEWS: Mention addition of x86_64 vector pow.
10609         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10610         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10611         redirections for expf.
10612         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10613         * sysdeps/x86_64/fpu/Versions: New versions added.
10614         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10615         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10616         build of SSE, AVX2 and AVX512 IFUNC versions.
10617         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10618         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10619         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10620         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10621         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10622         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10623         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10624         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10625         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10626         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10627         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10628         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10629         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10630         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10631         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10632         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10633         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10634         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10635         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10636         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10637         * NEWS: Mention addition of x86_64 vector expf.
10639         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
10640         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
10641         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10642         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10643         redirections for exp.
10644         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10645         * sysdeps/x86_64/fpu/Versions: New versions added.
10646         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10647         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10648         build of SSE, AVX2 and AVX512 IFUNC versions.
10649         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
10650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10651         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10652         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10653         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10654         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10655         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10656         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10657         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10658         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10659         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10660         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10661         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10662         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10663         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10664         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10665         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10666         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10667         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10668         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10669         * NEWS: Mention addition of x86_64 vector exp.
10671         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10672         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10673         redirections for logf.
10674         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10675         * sysdeps/x86_64/fpu/Versions: New versions added.
10676         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10677         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10678         build of SSE, AVX2 and AVX512 IFUNC versions.
10679         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10680         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10681         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10682         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10683         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10684         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10685         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10686         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10687         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10688         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10689         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10690         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10691         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10692         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10693         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10694         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10695         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10696         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10697         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10698         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10699         * NEWS: Mention addition of x86_64 vector logf.
10701         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10702         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10703         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10704         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10705         redirections for log.
10706         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10707         * sysdeps/x86_64/fpu/Versions: New versions added.
10708         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10709         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10710         build of SSE, AVX2 and AVX512 IFUNC versions.
10711         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10712         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10713         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10714         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10715         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10716         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10717         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10718         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10719         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10720         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10721         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10722         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10723         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10724         test.
10725         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10726         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10727         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10728         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10729         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10730         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10731         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10732         * NEWS: Mention addition of x86_64 vector log.
10734 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10736         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10737         cfi_adjust_cfa_offset argument.
10738         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10739         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10741         [BZ #18034]
10742         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10743         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10744         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10745         ordering using ldar.
10746         (_dl_tlsdesc_dynamic): Likewise.
10747         (_dl_tlsdesc_return_lazy): Likewise.
10748         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10749         relaxed atomics instead of volatile and synchronize with release store.
10750         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10751         volatile.
10752         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10754 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10756         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10757         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10758         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10759         * sysdeps/x86_64/fpu/Versions: New versions added.
10760         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10761         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10762         build of SSE, AVX2 and AVX512 IFUNC versions.
10763         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10764         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10765         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10766         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10767         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10768         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10769         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10770         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10771         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10772         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10773         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10774         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10775         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10776         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10777         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10778         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10779         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10780         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10781         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10782         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10783         * NEWS: Mention addition of x86_64 vector sinf.
10785 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10787         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10788         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10789         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10790         Remove variable.
10791         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10792         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10794 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10796         [BZ #18530]
10797         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10798         strong alias of _IO_fputs.  Use libc_hidden_def.
10799         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10800         and define as weak alias of __fputs_unlocked.  Use
10801         libc_hidden_weak.
10802         * include/stdio.h (__fputs_unlocked): Declare.  Use
10803         libc_hidden_proto.
10804         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10805         fputs_unlocked.
10807         [BZ #18529]
10808         * resolv/netdb.h [__USE_POSIX]: Change condition to
10809         [__USE_XOPEN2K].
10810         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10811         not expect.
10812         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10813         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10814         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10815         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10816         [XPG4 || UNIX98] (AI_ALL): Likewise.
10817         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10818         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10819         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10820         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10821         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10822         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10823         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10824         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10825         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10826         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10827         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10828         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10829         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10830         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10831         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10832         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10833         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10834         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10835         [XPG4 || UNIX98] (gai_strerror): Likewise.
10836         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10837         [XPG4 || UNIX98] (getnameinfo): Likewise.
10839         [BZ #18528]
10840         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10841         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10842         __USE_XOPEN2K8].
10843         (getgrent): Likewise.
10844         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10845         expect.
10846         [XPG3 || POSIX2008] (endgrent): Likewise.
10847         [XPG3] (setgrent): Likewise.
10848         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10849         variable.
10850         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10852         [BZ #18527]
10853         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10854         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10855         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10856         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10857         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10858         * include/unistd.h (__getlogin_r): Declare.  Use
10859         libc_hidden_proto.
10860         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10861         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10862         variable.
10863         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10864         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10865         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10867 2015-06-12  Martin Sebor  <msebor@redhat.com>
10869         [BZ #18512]
10870         * Makerules (check-install-supported): New target.
10871         (install): Add check-install-supported as a dependency.
10872         * manual/install.texi (Installing the C Library): Document
10873         that overriding prefix and exec_prefix is not supported.
10874         Mention DESTDIR.
10875         * INSTALL: Regenerate from the above.
10877 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10879         [BZ #18519]
10880         * posix/Versions (libc): Export __libc_pread at version
10881         GLIBC_PRIVATE.
10882         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10883         instead of pread.
10884         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10885         variable.
10887         [BZ #18522]
10888         * misc/efgcvt_r.c
10889         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10890         (cvt_symbol): Use weak_alias instead of strong_alias.
10891         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10892         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10893         Remove variable.
10894         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10895         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10897         [BZ #18520]
10898         * inet/herrno.c (h_errno): Rename to __h_errno.
10899         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10900         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10901         to __h_errno instead of h_errno.
10902         * nptl/herrno.c (h_errno): Rename to __h_errno.
10903         (__h_errno_location): Refer to __h_errno not h_errno.
10904         * resolv/Versions (h_errno): Rename to __h_errno.
10905         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10906         Remove variable.
10907         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10909 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10911         * configure.ac: More strict check for AVX512 assembler support.
10912         * configure: Regenerated.
10914         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10915         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10916         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10917         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10918         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10919         * sysdeps/x86_64/fpu/Versions: New versions added.
10920         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10921         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10922         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10923         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10924         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10925         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10926         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10927         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10928         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10929         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10930         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10931         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10932         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10933         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10934         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10935         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10936         test.
10937         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10938         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10939         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10940         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10941         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10942         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10943         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10944         * NEWS: Mention addition of x86_64 vector sin.
10946 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10948         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10949         comment.
10951 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10953         [BZ #18479]
10954         * nptl/pt-interp.c: New file.
10955         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10956         Add pt-interp.
10957         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10958         $(common-objpfx)runtime-linker.h.
10960 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10962         * Makeconfig (+interp): Remove unused variable.
10963         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10964         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10965         $(elf-objpfx)runtime-linker.h.
10966         ($(elf-objpfx)runtime-linker.h): Rename to
10967         $(common-objpfx)runtime-linker.h and move ...
10968         * Makerules [$(build-shared) = yes]: ... here.
10969         * elf/interp.c: Include <runtime-linker.h> instead of
10970         <elf/runtime-linker.h>.
10972 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10974         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10975         (__gettimeofday_syscall): Remove vsyscall fallback.
10976         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10977         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10978         Add syscall fallback function.
10979         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10980         if vDSO is not present.
10981         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10982         fallback function.
10983         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10984         present.
10985         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10986         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10988 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10990         [BZ #18497]
10991         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10992         of wcscmp.
10993         (wcscmp): Define as weak alias of WCSCMP.
10994         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10995         wcscoll.
10996         (USE_HIDDEN_DEF): Define.
10997         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10998         __wcscoll.  Don't use libc_hidden_weak.
10999         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11000         wcscmp.
11001         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11002         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11003         __GI_wcscmp.
11004         (weak_alias): Undefine and redefine.
11005         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11006         __wcscmp and define as weak alias of __wcscmp.
11007         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11008         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11009         (__wcscoll): Likewise.
11010         (wcscmp): Don't use libc_hidden_proto.
11011         (wcscoll): Likewise.
11012         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11013         wcscoll.
11014         * posix/regexec.c (check_node_accept_bytes): Likewise.
11015         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11016         variable.
11017         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11018         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11020         [BZ #18507]
11021         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11022         __fstatvfs and define as weak alias of __fstatvfs.  Use
11023         libc_hidden_weak.
11024         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11025         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11026         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11027         Define as alias of __fstatvfs, not fstatvfs.
11028         (fstatvfs64): Likewise.
11029         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11030         Define as alias of __statvfs, not statvfs.
11031         (statvfs64): Likewise.
11032         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11033         Remove variable.
11035 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11038         (HAVE_GETCPU_VSYSCALL): Define.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11040         (HAVE_GETCPU_VSYSCALL): Likewise.
11041         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11042         * sysdeps/unix/sysv/linux/sched_getcpu.c
11043         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11044         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11045         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11046         prototype.
11047         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11048         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11049         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11051         Define.
11052         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11053         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11054         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11055         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11057 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11059         * sysdeps/x86_64/fpu/Makefile: New file.
11060         * sysdeps/x86_64/fpu/Versions: New file.
11061         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11062         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11063         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11064         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11065         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11066         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11067         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11068         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11069         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11070         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11071         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11072         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11073         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11074         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11075         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11076         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11077         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11078         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11079         * sysdeps/x86_64/configure: Regenerated.
11080         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11081         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11082         * manual/install.texi (Configuring and compiling): Document
11083         --disable-mathvec.
11084         * INSTALL: Regenerated.
11085         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11087         * math/Makefile: Added rules for vector tests.
11088         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11089         declaration under condition.
11090         * math/test-double-vlen2.h: New file.
11091         * math/test-double-vlen4.h: New file.
11092         * math/test-double-vlen8.h: New file.
11093         * math/test-vec-loop.h: Added initialization macro.
11094         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11096         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11097         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11098         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11099         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11100         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11101         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11102         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11103         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11104         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11106         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11107         * sysdeps/x86_64/fpu/Versions: New versions added.
11108         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11109         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11110         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11111         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11112         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11115         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11116         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11117         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11118         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11119         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11120         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11121         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11122         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11124         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11125         * NEWS: Mention addition of x86_64 vector cosf.
11127         * math/Makefile: Added CFLAGS for new tests.
11128         * math/test-float-vlen16.h: New file.
11129         * math/test-float-vlen4.h: New file.
11130         * math/test-float-vlen8.h: New file.
11131         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11132         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11133         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11134         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11135         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11136         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11137         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11138         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11139         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11140         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11141         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11143 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11145         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11146         * locale/programs/ld-ctype.c: Likewise.
11148 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11150         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11151         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11152         bit_ZMM16_31_state): New macro.
11153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11154         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11156 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11158         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11160 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11162         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11164 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11166         [BZ #18498]
11167         * libio/memstream.c (open_memstream): Rename to __open_memstream
11168         and define as weak alias of __open_memstream.
11169         * include/stdio.h (__open_memstream): Declare.  Use
11170         libc_hidden_proto.
11171         (open_memstream): Don't use libc_hidden_proto.
11172         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11173         open_memstream.
11174         * posix/getopt.c (_getopt_internal_r): Likewise.
11175         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11176         variable.
11177         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11178         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11179         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11181         [BZ #18496]
11182         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11183         instead of wcrtomb.
11185         [BZ #18483]
11186         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11187         [__USE_XOPEN2K8].  Remove redundant #endif.
11188         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11189         Remove redundant #if.
11190         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11191         Remove variable.
11192         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11193         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11195         [BZ #18495]
11196         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11197         (__iswlower): Likewise.
11198         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11199         (__iswlower): Likewise.
11200         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11201         instead of towlower.
11202         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11203         instead of iswlower.  Call __towupper instead of towupper.
11204         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11205         instead of iswalnum.
11207 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11209         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11210         errors to stderr.
11212 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11214         [BZ #15661]
11215         [BZ #17322]
11216         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11217         Check for overflow properly.  Check for O_APPEND.  Ignore large
11218         file system block sizes.  Add comments about problems.
11219         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11220         * manual/filesys.texi (Storage Allocation): New node.
11222 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11224         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11225         cancellable syscalls.
11226         (SYS_ify): Add guard to no redefine it.
11227         (INLINE_SYSCALL): Likewise.
11228         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11229         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11230         SYSCALL_CANCEL instead.
11231         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11232         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11233         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11234         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11235         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11236         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11237         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11238         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11239         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11240         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11241         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11242         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11243         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11244         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11245         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11246         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11247         Likewise.
11248         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11249         (__libc_pread64): Likewise.
11250         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11251         (__libc_preadv): Likewise.
11252         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11253         (__libc_readv64): Likewise.
11254         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11255         (__libc_pwrite): Likewise.
11256         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11257         (__libc_pwrite64): Likewise.
11258         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11259         (__libc_pwritev): Likewise.
11260         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11261         (__libc_pwritev64): Likewise.
11262         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11263         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11264         (sync_file_range): Likewise.
11265         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11266         Likewise.
11267         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11268         Likewise.
11269         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11270         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11271         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11272         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11273         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11274         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11275         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11276         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11278         Likewise.
11279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11280         (__libc_read64): Likewise.
11281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11282         Likewise.
11283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11284         Likewise.
11285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11286         Likewise.
11287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11288         Likewise.
11289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11290         (__libc_pread64): Likewise.
11291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11292         Likewise.
11293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11294         (__libc_pwrite64): Likewise.
11295         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11296         (sync_file_range): Likewise.
11297         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11298         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11299         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11300         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11301         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11302         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11303         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11304         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11305         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11306         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11307         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11308         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11309         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11310         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11311         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11312         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11313         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11314         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11315         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11316         Likewise.
11317         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11318         Likewise.
11319         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11320         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11321         Likewise.
11322         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11323         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11324         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11325         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11326         Likewise.
11327         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11328         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11329         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11330         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11331         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11333 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11335         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11336         Include dl-vdso.
11337         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11338         Use VDSO routines for gettimeofday, clock_gettime if
11339         available.
11340         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11341         Declare VDSO symbols.
11342         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11343         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11344         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11345         * sysdeps/unix/sysv/linux/arm/Versions: Add
11346         __vdso_clock_gettime.
11348 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11350         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11351         be an inline implementation regardless of library is built within.
11352         (open_not_cancel_2): Likewise.
11353         (__read_nocancel): Likewise.
11354         (__write_nocancel): Likewise.
11355         (openat_not_cancel): Likewise.
11356         (openat_not_cancel_3): Likewise.
11357         (openat64_not_cancel): Likewise.
11358         (openat64_not_cancel_3): Likewise.
11359         (__close_nocancel): Likewise.
11360         (pause_not_cancel): Likewise.
11361         (nanosleep_not_cancel): Likewise.
11362         (sigsuspend_not_cancel): Likewise.
11364 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11366         [BZ #14958]
11367         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11368         wake-up.
11369         (__pthread_rwlock_rdlock_slow): Likewise.
11370         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11371         Likewise.
11372         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11373         Likewise.
11374         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11375         * nptl/tst-rwlock16.c: New file.
11376         * nptl/Makefile (tests): Add new test.
11378 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11380         [BZ #18324]
11381         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11382         missing wake-up of readers.
11383         * nptl/tst-rwlock15.c: New file.
11384         * nptl/Makefile (tests): Add new test.
11386 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11388         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11389         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11390         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11391         and __nacl_supply_interface_rtld.
11392         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11393         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11394         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11395         Add __nacl_supply_interface_rtld.
11396         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11398 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11400         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11401         isfinite.
11402         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11403         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11405 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11407         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11408         __signbit* with standard C99 macros.
11409         * math/e_exp10l.c: Likewise.
11410         * math/e_exp2l.c: Likewise.
11411         * math/e_scalb.c: Likewise.
11412         * math/e_scalbf.c: Likewise.
11413         * math/e_scalbl.c: Likewise.
11414         * math/s_ldexp.c: Likewise.
11415         * math/s_ldexpf.c: Likewise.
11416         * math/s_ldexpl.c: Likewise.
11417         * math/w_atan2.c: Likewise.
11418         * math/w_atan2f.c: Likewise.
11419         * math/w_atan2l.c: Likewise.
11420         * math/w_cosh.c: Likewise.
11421         * math/w_coshf.c: Likewise.
11422         * math/w_coshl.c: Likewise.
11423         * math/w_exp10.c: Likewise.
11424         * math/w_exp10f.c: Likewise.
11425         * math/w_exp10l.c: Likewise.
11426         * math/w_exp2.c: Likewise.
11427         * math/w_exp2f.c: Likewise.
11428         * math/w_exp2l.c: Likewise.
11429         * math/w_fmod.c: Likewise.
11430         * math/w_fmodf.c: Likewise.
11431         * math/w_fmodl.c: Likewise.
11432         * math/w_hypot.c: Likewise.
11433         * math/w_hypotf.c: Likewise.
11434         * math/w_hypotl.c: Likewise.
11435         * math/w_jnl.c: Likewise.
11436         * math/w_lgamma.c: Likewise.
11437         * math/w_lgamma_r.c: Likewise.
11438         * math/w_lgammaf.c: Likewise.
11439         * math/w_lgammaf_r.c: Likewise.
11440         * math/w_lgammal.c: Likewise.
11441         * math/w_lgammal_r.c: Likewise.
11442         * math/w_pow.c: Likewise.
11443         * math/w_powf.c: Likewise.
11444         * math/w_powl.c: Likewise.
11445         * math/w_remainder.c: Likewise.
11446         * math/w_remainderf.c: Likewise.
11447         * math/w_remainderl.c: Likewise.
11448         * math/w_scalb.c: Likewise.
11449         * math/w_scalbf.c: Likewise.
11450         * math/w_scalbl.c: Likewise.
11451         * math/w_scalbln.c: Likewise.
11452         * math/w_scalblnf.c: Likewise.
11453         * math/w_scalblnl.c: Likewise.
11454         * math/w_sinh.c: Likewise.
11455         * math/w_sinhf.c: Likewise.
11456         * math/w_sinhl.c: Likewise.
11457         * math/w_tgamma.c: Likewise.
11458         * math/w_tgammaf.c: Likewise.
11459         * math/w_tgammal.c: Likewise.
11460         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11461         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11462         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11463         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11464         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11466         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11467         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11468         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11469         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11470         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11471         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11472         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11473         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11474         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11475         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11476         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11477         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11478         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11479         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11480         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11481         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11482         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11483         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11484         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11485         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11486         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11487         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11488         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11489         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11490         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11491         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11492         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11493         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11494         * stdio-common/printf_fp.c: Likewise.
11495         * stdio-common/printf_fphex.c: Likewise.
11496         * stdio-common/printf_size.c: Likewise.
11498 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
11500         [BZ #18470]
11501         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11502         strnlen.
11503         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11504         Remove variable.
11505         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11506         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11507         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11508         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11509         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11510         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11511         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11512         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11513         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11514         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11516         [BZ #18468]
11517         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11518         weak alias of __wmemchr.  Use libc_hidden_weak.
11519         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
11520         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11521         instead of wmemchr.
11523 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11525         [BZ #18383]
11526         * elf/tst-tlsalign-extern.c: New file.
11527         * elf/tst-tlsalign-extern-static.c: New file.
11528         * elf/tst-tlsalign-vars.c: New file.
11529         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11530         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11531         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11532         ($(objpfx)tst-tlsalign-extern-static): Likewise.
11533         (test-xfail-tst-tlsalign-extern-static): New variable.
11535 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
11537         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11538         Use variable name _sc_err instead of err.
11539         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11540         instead of ret.
11541         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11542         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11543         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11544         (INLINE_SYSCALL): Likewise.
11546         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11547         * include/string.h (__strnlen): Use libc_hidden_proto.
11548         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11549         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11550         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11551         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11552         (libc_hidden_def): Undefine and redefine.
11553         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11554         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11555         __GI_strnlen.
11556         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11557         libc_hidden_def.
11558         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11560         [BZ #18469]
11561         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11562         weak alias of __towlower.  Use libc_hidden_weak.
11563         (towupper): Rename to __towupper and define as weak alias of
11564         __towupper.  Use libc_hidden_weak.
11565         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11566         (__towupper): Likewise.
11567         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11568         __towlower instead of towlower.
11570 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11572         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11573         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11575 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11577         * sysdeps/aarch64/libm-test-ulps: Update.
11579 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11581         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11582         Define.
11583         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11584         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11585         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11586         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11587         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11588         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11589         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11591 2015-06-01  Martin Sebor  <msebor@redhat.com>
11593         [BZ #18116]
11594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11595         (__setcontext): Use extended four-operand version of mtsf whenever
11596         possible.
11597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11598         (__novec_swapcontext): Likewise.
11600 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11602         * benchtests/scripts/compare_bench.py: New file.
11603         * benchtests/scripts/import_bench.py (mean): New function.
11604         (split_list): Likewise.
11605         (do_for_all_timings): Likewise.
11606         (compress_timings): Likewise.
11608         * benchtests/scripts/import_bench.py: New file.
11609         * benchtests/scripts/validate_benchout.py: Import import_bench
11610         instead of jsonschema.
11611         (validate_bench): Remove function.
11612         (main): Use import_bench.
11614 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
11616         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11617         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11619 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11623 2015-05-28  Roland McGrath  <roland@hack.frob.com>
11625         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11626         set THREAD_SELF->tid to a magic value and futex-wake it.
11627         Pass its address to the thread_exit system call.
11628         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11629         bit is clear.
11630         * sysdeps/nacl/lowlevellock.h: New file.
11631         * sysdeps/nacl/lll_timedwait_tid.c: New file.
11633         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
11634         Add TIMEOUT to current time, don't subtract it.
11636 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
11638         [BZ #2981]
11639         [BZ #18422]
11640         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
11641         ($(objpfx)tst-audit2.out): Also depend on
11642         $(objpfx)tst-auditmod9b.so.
11643         * elf/tst-audit2.c: Include <dlfcn.h>.
11644         (calloc_called): New.
11645         (calloc): Allow to be called more than once.
11646         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
11648 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
11650         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11651         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11653 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
11655         * stdlib/monetary.h: Fix comment.
11657 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11659         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11660         Avoid using variables in #defines that might cause shadowing.
11661         (INTERNAL_VSYSCALL_CALL): Likewise.
11663 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11665         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11667         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11668         * nptl/lll_timedlock_wait.c: ... to this new file.
11669         * nptl/Makefile (libpthread-routines): Add it.
11670         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11671         * nptl/lll_timedwait_tid.c: ... to this new file.
11672         * nptl/Makefile (libpthread-routines): Add it.
11673         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11674         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11675         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11676         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11677         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11678         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11679         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11680         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11681         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11682         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11684 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11686         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11687         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11688         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11689         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11690         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11691         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11692         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11694         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11695         * sysdeps/unix/sysv/linux/tile/sysdep.h
11696         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11697         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11698         using vDSO syscall macro.
11700 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11702         [BZ #17293]
11703         * uk_UA: Fix sorting order for Ukrainian locale
11705 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11707         * stdlib/monetary.h: Fix comment.
11709 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11711         [BZ #18234]
11712         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11713         st_mtim and st_ctim members.
11714         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11715         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11716         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11717         (struct stat64): Likewise.
11718         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11719         (struct stat64): Likewise.
11720         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11721         (struct stat64): Likewise.
11723 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11725         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11726         Define and include sysdep-vdso.h.
11727         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11728         Likewise.
11729         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11730         Likewise.
11731         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11732         Define with VDSO_SYMBOL and use PTR_MANGLE.
11733         (__vdso_clock_gettime): Likewise.
11734         (__vdso_clock_getres): Likewise.
11735         (_libc_vdso_platform_setup): Likewise.
11736         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11737         Likewise.
11738         (_libc_vdso_platform_setup): Likewise.
11739         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11740         Likewise.
11741         (__vdso_clock_gettime): Likewise.
11742         (__vdso_clock_getres): Likewise.
11743         (__vdso_get_tbfreq): Likewise.
11744         (__vdso_getcpu): Likewise.
11745         (__vdso_time): Likewise.
11746         (__vdso_sigtramp_rt64): Likewise.
11747         (__vdso_signtramp32): Likewise.
11748         (__vdso_sigtramp_rt32): Likewise.
11749         (_libc_vdso_platform_setup): Likewise.
11750         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11751         Likewise.
11752         (__vdso_clock_gettime): Likewise.
11753         (__vdso_clock_getres): Likewise.
11754         (_libc_vdso_platform_setup): Likewise.
11755         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11756         Likewise.
11757         (__vdso_clock_gettime): Likewise.
11758         (_libc_vdso_platform_setup): Likewise.
11759         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11760         Likewise.
11761         (__vdso_getcpu): Likewise.
11762         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11763         Use VDSO_SYMBOL macro to define.
11764         (__vdso_clock_gettime): Likewise.
11765         (__vdso_clock_getres): Likewise.
11766         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11767         Likewise.
11768         (__vdso_clock_gettime): Likewise.
11769         (__vdso_clock_getres): Likewise.
11770         (__vdso_get_tbfreq): Likewise.
11771         (__vdso_getcpu): Likewise.
11772         (__vdso_time): Likewise.
11773         (__vdso_sigtramp_rt64): Likewise.
11774         (__vdso_signtramp32): Likewise.
11775         (__vdso_sigtramp_rt32): Likewise.
11776         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11777         Likewise.
11778         (__vdso_clock_gettime): Likewise.
11779         (__vdso_clock_getres): Likewise.
11780         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11781         Likewise.
11782         (__vdso_clock_gettime): Likewise.
11783         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11784         Likewise.
11785         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11786         macro.
11787         (INTERNAL_VSYSCALL): Likewise.
11788         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11789         Remove macro.
11790         (INTERNAL_VSYSCALL): Likewise.
11791         (INTERNAL_VSYSCALL_NCS): Likewise.
11792         (INTERNAL_VSYSCALL_CALL): New macro.
11793         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11794         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11795         Likewise.
11796         (INTERNAL_VSYSCALL): Likewise.
11797         (INTERNAL_VSYSCALL_NCS): Likewise.
11798         (INTERNAL_VSYSCALL_CALL): New macro.
11799         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11801         (INLINE_VSYSCALL): Remove macro.
11802         (INTERNAL_VSYSCALL): Remove macro.
11803         (INTERNAL_VSYSCALL_NCS): Remove macro.
11804         (INTERNAL_VSYSCALL_CALL): New macro.
11805         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11806         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11807         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11808         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11809         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11811         (INLINE_VSYSCALL): Remove macro.
11812         (INTERNAL_VSYSCALL): Likewise.
11813         (INTERNAL_VSYSCALL_NCS): Likewise.
11814         (INTERNAL_VSYSCALL_CALL): New macro.
11815         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11816         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11817         PTR_DEMANGLE on vDSO pointer.
11818         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11819         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11820         macro.
11821         (INTERNAL_SYSCALL): Likewise.
11822         (INTERNAL_VSYSCALL_NCS): Remove macro.
11823         (INTERNAL_VSYSCALL_CALL): New macro.
11824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11825         Remove macro.
11826         (INTERNAL_VSYSCALL): Likewise.
11827         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11828         sysdep-vdso.h instead of libc-vdso.h.
11829         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11830         definition.
11831         (INLINE_VSYSCALL): Likewise.
11832         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11833         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11834         definition.
11835         (INLINE_VSYSCALL): Likewise.
11836         (INTERNAL_VSYSCALL): Likewise.
11837         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11838         * sysdeps/unix/sysv/linux/timespec_get.c
11839         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11840         (timespec_get): Use ANSI prototype.
11841         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11842         and definition for Linux.
11844 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11846         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11847         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11849 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11851         [BZ #2981]
11852         [BZ #18410]
11853         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11854         for missing DT_PLTRELSZ.
11856 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11858         Remove obsolete aliases that broke 'locale -a'
11859         [BZ #18412]
11860         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11861         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11862         breaking some applications that use 'locale -a' output.
11863         Change the encoding of this file from Latin-1 to ASCII to avoid
11864         other potential problems with people grepping this file.
11866 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11868         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11869         -fasynchronous-unwind-tables.
11870         (CFLAGS-sendto.c): Likewise.
11871         (CFLAGS-sendmsg.c): Likewise.
11872         (CFLAGS-connect.c): Likewise.
11873         (CFLAGS-recvmsg.c): Likewise.
11874         (CFLAGS-recvfrom.c): Likewise.
11875         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11876         (SOCKETCALL): New macro: non-cancellable socketcall.
11877         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11878         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11879         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11880         * sysdeps/unix/sysv/linux/accept.c: New file.
11881         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11882         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11883         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11884         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11885         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11886         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11887         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11888         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11889         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11890         * sysdeps/unix/sysv/linux/send.c: Likewise.
11891         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11892         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11893         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11894         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11895         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11896         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11897         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11898         prototype.
11899         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11900         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11901         instead of __internal_xxx function.
11902         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11903         prototype.
11904         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11905         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11906         instead of __internal_xxx function.
11907         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11908         prototype.
11909         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11910         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11911         instead of __internal_xxx function.
11912         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11913         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11914         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11915         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11916         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11917         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11918         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11919         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11920         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11921         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11922         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11923         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11924         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11925         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11926         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11927         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11928         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11929         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11930         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11931         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11934         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11935         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11936         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11937         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11938         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11939         * sysdeps/unix/sysv/linux/send.S: Likewise.
11940         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11941         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11942         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11943         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11944         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11945         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11946         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11947         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11948         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11949         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11950         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11951         socketcall is implemented in GLIBC.
11953 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11955         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11956         (__fma): Ignore uninitialized warnings around packing.
11957         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11958         (__fmaf): Ignore uninitialized warnings around packing.
11959         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11960         (__fmal): Ignore uninitialized warnings around packing.
11962         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11963         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11964         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11965         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11967         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11968         switch statement into default case.
11969         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11971         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11972         a conditional in forcing "inexact".
11973         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11974         Likewise.
11976 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11978         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11979         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11980         for each INTERNAL_SYSCALL use.
11982 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11984         [BZ #438]
11985         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11986         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11987         variable.
11989         [BZ #18444]
11990         * string/basename.c (basename): Rename to __basename and define as
11991         weak alias of __basename.  Use libc_hidden_weak.
11992         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11993         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11994         __basename instead of basename.
11995         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11996         Remove variable.
11997         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11999 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12001         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12002         (_IO_JUMPS_FILE_plus): New.
12003         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12004         _IO_CAST_FIELD_ACCESS.
12005         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12006         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12007         * libio/freopen.c (freopen): Likewise.
12008         * libio/freopen64.c (freopen64): Likewise.
12009         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12010         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12011         * libio/iofwide.c (_IO_fwide): Likewise.
12012         * libio/memstream.c (open_memstream): Likewise.
12013         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12014         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12015         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12017 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12019         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12020         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12021         NADJ.
12022         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12023         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12024         NADJ.
12025         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12026         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12027         NADJ.
12029         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12030         (p == 4) case.
12032         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12033         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12034         Remove variable.
12035         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12036         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12037         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12039 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12041         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12042         Adjust jump table label generation macros.
12044 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12046         * stdio-common/vfprintf.c (vfprintf): Move local variables
12047         args_malloced, specs, specs_malloced, and the code after
12048         do_positional to the printf_positional function.
12049         (printf_positional): New function.
12051 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12053         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12054         function.
12055         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12056         STEP4_TABLE, process_arg): Move macro definitions
12057         out of the vfprintf function.  (Cosmetic change only.)
12059 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12061         * benchtests/Makefile (stdio-common-bench): Define.
12062         (benchset): Add stdio-common-bench.
12063         * sprintf-inputs: New file.
12064         * sprintf-source.c: New file.
12066 2015-05-21  Andreas Schwab  <schwab@suse.de>
12068         [BZ #13028]
12069         [BZ #17053]
12070         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12071         of struct __res_state.
12072         * resolv/res_send.c (__libc_res_nsend): Likewise.
12073         (get_nsaddr): New function.
12074         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12075         statp directly.
12077 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12079         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12080         -D_POSIX_C_SOURCE=199506L.
12082         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12084         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12085         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12086         Do not mention otherwise.
12087         [POSIX] (_XOPEN_VERSION): Do not expect.
12088         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12089         [POSIX] (_POSIX2_C_BIND): Likewise.
12090         [POSIX] (_POSIX2_VERSION): Likewise.
12091         [POSIX] (_XOPEN_XPG2): Likewise.
12092         [POSIX] (_XOPEN_XPG3): Likewise.
12093         [POSIX] (_XOPEN_XPG4): Likewise.
12094         [POSIX] (_XOPEN_UNIX): Likewise.
12095         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12096         [POSIX] (_POSIX_BARRIERS): Likewise.
12097         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12098         [POSIX] (_POSIX_CPUTIME): Likewise.
12099         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12100         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12101         [POSIX] (_POSIX_SHELL): Likewise.
12102         [POSIX] (_POSIX_SPAWN): Likewise.
12103         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12104         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12105         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12106         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12107         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12108         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12109         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12110         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12111         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12112         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12113         [POSIX] (_POSIX2_PBS): Likewise.
12114         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12115         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12116         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12117         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12118         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12119         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12120         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12121         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12122         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12123         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12124         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12125         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12126         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12127         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12128         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12129         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12130         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12131         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12132         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12133         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12134         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12135         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12136         [POSIX] (_SC_2_C_BIND): Likewise.
12137         [POSIX] (_SC_2_C_VERSION): Likewise.
12138         [POSIX] (_SC_2_PBS): Likewise.
12139         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12140         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12141         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12142         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12143         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12144         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12145         [POSIX] (_SC_BARRIERS): Likewise.
12146         [POSIX] (_SC_BASE): Likewise.
12147         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12148         [POSIX] (_SC_DEVICE_IO): Likewise.
12149         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12150         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12151         [POSIX] (_SC_FD_MGMT): Likewise.
12152         [POSIX] (_SC_FIFO): Likewise.
12153         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12154         [POSIX] (_SC_FILE_LOCKING): Likewise.
12155         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12156         [POSIX] (_SC_IOV_MAX): Likewise.
12157         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12158         [POSIX] (_SC_NETWORKING): Likewise.
12159         [POSIX] (_SC_PAGE_SIZE): Likewise.
12160         [POSIX] (_SC_PASS_MAX): Likewise.
12161         [POSIX] (_SC_PIPE): Likewise.
12162         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12163         [POSIX] (_SC_REGEXP): Likewise.
12164         [POSIX] (_SC_SHELL): Likewise.
12165         [POSIX] (_SC_SIGNALS): Likewise.
12166         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12167         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12168         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12169         [POSIX] (_SC_USER_GROUPS): Likewise.
12170         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12171         [POSIX] (_SC_STREAMS): Likewise.
12172         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12173         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12174         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12175         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12176         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12177         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12178         [POSIX] (_PC_FILESIZEBITS): Likewise.
12179         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12180         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12181         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12182         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12183         [POSIX] (uid_t): Likewise.
12184         [POSIX] (gid_t): Likewise.
12185         [POSIX] (off_t): Likewise.
12186         [POSIX] (pid_t): Likewise.
12187         [POSIX] (cuserid): Allow.
12188         (_SC_2_CHAR_TERM): Require constant.
12189         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12190         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12191         variable.
12193 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12195         * sysdeps/nacl/pthread-pids.h: New file.
12196         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12197         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12199         * nptl/pthread-pids.h: New file.
12200         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12201         * nptl/nptl-init.c: Include <pthread-pids.h>.
12202         (__pthread_initialize_minimal_internal):
12203         Call __pthread_initialize_pids instead of set_tid_address syscall.
12205         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12206         * sysdeps/posix/usleep.c: ... here.
12208 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12210         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12211         call_pselect6 object.
12212         [$(subdir) = io]: Remove call_sync_file_range object.
12213         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12214         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12215         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12216         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12218 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12220         * math/s_cproj.c: Add include "math_private.h".
12221         * math/s_cprojf.c: Likewise.
12222         * math/s_cprojl.c: Likewise.
12224 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12226         [BZ #18244]
12227         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12228         high mantissa bit when testing whether P is a NaN.
12229         * math/libm-test.inc (remainder_test_data): Add more tests.
12230         (remquo_test_data): Likewise.
12232         [BZ #18049]
12233         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12234         below -32, return the argument, with underflow if subnormal.
12235         * math/auto-libm-test-in: Add more tests of atanh.
12236         * math/auto-libm-test-out: Regenerated.
12238 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12240         [BZ #18434]
12241         * nptl/tst-sem15.c: New file.
12242         * nptl/Makefile (tests): Add it.
12243         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12244         s/<</>>/ to fix typo in EOVERFLOW check.
12245         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12247 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12249         * manual/strings.texi (envz_remove): Fix typo in safety
12250         annotations.
12252 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12253             Steve Ellcey  <sellcey@imgtec.com>
12255         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12256         in order to avoid strict alias warnings.
12257         (iruserok_af): Ditto for ra.
12259 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12261         [BZ #17581]
12262         * malloc/hooks.c
12263         (magicbyte): Convert to a function and avoid returning 0x01.
12264         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12265         (mem2chunk_check): Fix unsigned comparisons to zero.
12266         Hoist defs of sz and magic.
12268 2015-05-19  Richard Henderson  <rth@redhat.com>
12270         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12272         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12274 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12276         [BZ #16159]
12277         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12278         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12279         (reused_arena): Find a non-corrupt arena.
12280         (heap_trim): Pass arena to unlink.
12281         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12282         malloc_printerr.
12283         (top_check): Likewise.
12284         (free_check): Likewise.
12285         (realloc_check): Likewise.
12286         * malloc/malloc.c (malloc_printerr): Add arena argument.
12287         (unlink): Likewise.
12288         (munmap_chunk): Adjust.
12289         (ARENA_CORRUPTION_BIT): New macro.
12290         (arena_is_corrupt): Likewise.
12291         (set_arena_corrupt): Likewise.
12292         (sysmalloc): Use mmap if there are no usable arenas.
12293         (_int_malloc): Likewise.
12294         (__libc_malloc): Don't fail if arena_get returns NULL.
12295         (_mid_memalign): Likewise.
12296         (__libc_calloc): Likewise.
12297         (__libc_realloc): Adjust for additional argument to
12298         malloc_printerr.
12299         (_int_free): Likewise.
12300         (malloc_consolidate): Likewise.
12301         (_int_realloc): Likewise.
12302         (_int_memalign): Don't touch corrupt arenas.
12303         * malloc/tst-malloc-backtrace.c: New test case.
12305         * Makefile (summarize-tests): Fix return value on success.
12307         * manual/string.texi (Envz Functions): Add envz_remove.
12309 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12311         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12312         (invalid_name): New function, broken out of ...
12313         (__opendirat): ... here.  Call it.
12314         (need_isdir_precheck): New function, broken out of ...
12315         (__opendirat): ... here.  Call it.
12316         Use __fxstatat64, not __xstatat64.
12317         (opendir_oflags): New function, broken out of ...
12318         (__opendirat): ... here.  Call it.
12319         (opendir_tail): New function, broken out of ...
12320         (__opendirat): ... here.  Call it.
12321         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12322         opendir_tail, rather than punting to __opendirat.
12323         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12325 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12327         * .gitignore: Ignore generated *.pyc.
12329 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12331         * include/stdio.h: Define __need_wint_t.
12332         * test-skeleton.c: Avoid `for' loop initial declaration.
12333         * nptl/tst-initializers1.c: Use test-skeleton.c.
12335 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12337         [BZ #18418]
12338         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12340 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12342         [BZ #16352]
12343         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12344         (__ieee754_atanh): Force underflow exception for results with
12345         small absolute value.
12346         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12347         (__ieee754_atanhf): Force underflow exception for results with
12348         small absolute value.
12349         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12350         (__ieee754_atanh): Force underflow exception for results with
12351         small absolute value.
12352         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12353         (__ieee754_atanhf): Force underflow exception for results with
12354         small absolute value.
12355         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12356         (__ieee754_atanhl): Force underflow exception for results with
12357         small absolute value.
12358         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12359         (__ieee754_atanhl): Force underflow exception for results with
12360         small absolute value.
12361         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12362         (__ieee754_atanhl): Force underflow exception for results with
12363         small absolute value.
12364         * math/auto-libm-test-in: Do not allow missing underflow
12365         exceptions from atanh.
12366         * math/auto-libm-test-out: Regenerated.
12368         [BZ #18221]
12369         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12370         2**-28 as threshold for returning x or +/- 1/x.
12371         * math/auto-libm-test-in: Add more tests of tan.
12372         * math/auto-libm-test-out: Regenerated.
12374         [BZ #18220]
12375         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12376         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12377         * math/auto-libm-test-in: Add another test of lgamma.
12378         * math/auto-libm-test-out: Regenerated.
12380 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12382         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12383         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12384         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12385         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12386         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12387         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12388         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12389         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12390         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12391         (log1): Use fabs.  (my_log2): Use fabs.
12392         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12393         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12394         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12395         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12396         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12397         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12398         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12399         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12400         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12401         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12402         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12404 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12406         [BZ #18217]
12407         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12408         as threshold for returning 1 - x.
12409         * math/auto-libm-test-in: Add more tests of erfc.
12410         * math/auto-libm-test-out: Regenerated.
12412 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12414         [BZ #18196]
12415         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12416         threshold for large arguments.
12417         * math/auto-libm-test-in: Add another test of atan.
12418         * math/auto-libm-test-out: Regenerated.
12420         [BZ #16339]
12421         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12422         (__log1p): Force underflow exception for results with small
12423         absolute value.
12424         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12425         (__log1pf): Force underflow exception for results with small
12426         absolute value.
12427         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12428         (__log1p): Force underflow exception for results with small
12429         absolute value.
12430         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12431         (__log1pf): Force underflow exception for results with small
12432         absolute value.
12433         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12434         (__log1pl): Force underflow exception for results with small
12435         absolute value.
12436         * math/auto-libm-test-in: Do not allow missing underflow
12437         exceptions from log1p.
12438         * math/auto-libm-test-out: Regenerated.
12440 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12441             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12443         [BZ #16704]
12444         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12446 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12448         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12449         (libmvec): New variable.
12450         * configure.ac: Added option for mathvec build.
12451         * configure: Regenerated.
12452         * mathvec/Depend: New file.
12453         * mathvec/Makefile: New file.
12454         * shlib-versions: Added libmvec.
12455         * math/Makefile: Added rule for libm.so installation.
12457         * bits/math-vector.h: New file.
12458         * bits/libm-simd-decl-stubs.h: New header.
12459         * math/Makefile (headers): Added new header
12460         libm-simd-decl-stubs.h.
12461         * math/math.h (__MATHCALL_VEC): New macro.
12463         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12464         for conditions in testing functions.
12465         * math/Makefile: Added call of libm-have-vector-test.sh.
12466         * math/libm-test.inc (HAVE_VECTOR): New macros.
12468         * math/libm-test.inc: START refactored.
12469         * math/test-double.c (TEST_MATHVEC): Add define.
12470         * math/test-float.c: Likewise.
12471         * math/test-idouble.c: Likewise.
12472         * math/test-ifloat.c: Likewise.
12473         * math/test-ildoubl.c: Likewise.
12474         * math/test-ldouble.c: Likewise.
12475         * sysdeps/generic/math-tests-arch.h
12476         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12477         architecture check.
12479         * math/test-double.c (FUNC_TEST): New macro.
12480         * math/test-float.c: Likewise.
12481         * math/test-idouble.c: Likewise.
12482         * math/test-ifloat.c: Likewise.
12483         * math/test-ildoubl.c: Likewise.
12484         * math/test-ldouble.c: Likewise.
12485         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12487 2015-05-13  Roland McGrath  <roland@hack.frob.com>
12489         * sysdeps/nacl/fdopendir.c: New file.
12491         * dirent/scandir-tail.c: New file.
12492         * dirent/scandir64-tail.c: New file.
12493         * dirent/Makefile (routines): Add them.
12494         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12495         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12496         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12497         [!SCANDIR] (SCANDIR_TAIL): New macro.
12498         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12499         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12500         (SCANDIRAT): Macro removed.
12501         (SCANDIR_TAIL): New macro.
12502         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12503         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12504         (SCANDIRAT): Just call __opendirat and __scandir_tail.
12505         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12506         (READDIR): Macro removed.
12507         (SCANDIR_TAIL): New macro.
12508         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12509         (SCANDIR_TAIL): New macro.
12511         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12512         * dirent/scandir-cancel.c: ... to this new file.
12513         * dirent/Makefile (routines): Add it.
12514         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12515         * sysdeps/unix/sysv/linux/i386/scandir64.c
12516         (SKIP_SCANDIR_CANCEL): Macro removed.
12517         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12519         * dirent/tst-scandir.c: New file.
12520         * dirent/tst-scandir64.c: New file.
12521         * dirent/Makefile (tests): Add them.
12523 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12525         [BZ #18409]
12526         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12528 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12530         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12531         list.
12533 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
12535         * benchtests/bench-strcoll.c: New benchmark.
12536         * benchtests/Makefile: Generate locales and run benchmark.
12537         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12538         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12539         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12540         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12541         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12542         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12543         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12544         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12545         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12546         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12547         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12548         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12549         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12550         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12551         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12552         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12553         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12554         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12555         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12556         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12557         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12558         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12559         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12560         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12562 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12564         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12565         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12567 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12569         * posix/uname-values.h: New file.
12570         * posix/uname.c: Include that instead of <config-name.h>.
12571         * sysdeps/nacl/uname-values.h: New file.
12572         * sysdeps/arm/nacl/uname-values.h: New file.
12574 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12576         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12577         splitting into fields.
12579 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12581         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12582         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12583         * locale/localeinfo.h: Add enum collation_encoding_type.
12584         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12585         * programs/ld-collate.c (collate_output): Add encoding type info.
12586         * string/strcoll_l.c (STRDIFF): New function.
12587         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12588         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12590 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12592         [BZ #18397]
12593         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12594         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12595         <fpu_control.h> instead of <math/fpu_control.c>.
12596         * sysdeps/mips/mips32/fpu/Makefile: New file.
12598 2015-05-11  Andreas Schwab  <schwab@suse.de>
12600         [BZ #18007]
12601         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12602         nss_endgrent.
12603         (_nss_compat_endgrent): Call nss_endgrent.
12604         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12605         nss_endpwent.
12606         (_nss_compat_endpwent): Call nss_endpwent.
12607         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12608         needent, call nss_setspent only if non-zero.
12609         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12610         (internal_endspent): Don't call nss_endspent.
12611         (_nss_compat_endspent): Call nss_endspent.
12612         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12613         Remove.  All uses removed.
12614         (internal_setent): Remove parameter stayopen, add parameter
12615         stream.  Use it instead of global variable.
12616         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12617         (internal_endent, internal_getent): Add parameter stream.  Use it
12618         instead of global variable.
12619         (CONCAT(_nss_files_end,ENTNAME))
12620         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12621         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
12622         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
12623         uses removed.
12624         (internal_setent, internal_endent): Add parameter stream.  Use it
12625         instead of global variable.
12626         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12627         stream.
12628         (get_next_alias): Add parameter stream.
12629         (_nss_files_getaliasent_r): Pass global stream.
12630         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
12631         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12632         (_nss_files_gethostbyname4_r): Pass local stream to
12633         internal_setent, internal_getent and internal_endent.  Remove
12634         locking.
12636 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12638         * tst-strfmon1.c (tests): Update expected currency symbol.
12640 2015-05-08  Roland McGrath  <roland@hack.frob.com>
12642         * sysdeps/nacl/gethostname.c: New file.
12644 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
12646         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
12647         and sinh.
12648         * math/auto-libm-test-out: Regenerated.
12649         * sysdeps/i386/fpu/libm-test-ulps: Update.
12650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12652 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
12654         [BZ #18125]
12655         * stdlib/tst-setcontext3.c: New file.
12656         * stdlib/tst-setcontext3.sh: New file.
12657         * stdlib/Makefile (tests): Add tst-setcontext3.
12658         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12659         to verify test program created output file.
12660         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12661         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12662         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12663         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12665 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12667         [BZ #18383]
12668         * elf/tst-tlsalign.c: New file.
12669         * elf/tst-tlsalign-static.c: New file.
12670         * elf/tst-tlsalign-lib.c: New file.
12671         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12672         (tests-static): Add tst-tlsalign-static.
12673         (modules-names): Add tst-tlsalign-lib.
12674         (test-xfail-tst-tlsalign): New variable.
12675         (test-xfail-tst-tlsalign-static): New variable.
12677         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12678         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12680 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12682         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12683         csqrt, erfc, sin and sincos.
12684         * math/auto-libm-test-out: Regenerated.
12685         * sysdeps/i386/fpu/libm-test-ulps: Update.
12686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12688 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12690         * sysdeps/aarch64/libm-test-ulps: Update.
12692 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12694         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12695         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12696         * math/auto-libm-test-out: Regenerated.
12697         * sysdeps/i386/fpu/libm-test-ulps: Update.
12698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12700 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12702         [BZ #18265]
12703         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12704         (wcsncpy): Likewise.
12706 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12708         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12709         Assume __ASSUME_FALLOCATE is always true.
12710         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12711         (__posix_fallocate64_l64): Likweise.
12712         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12713         (posix_fallocate): Likewise.
12714         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12715         (__posix_fallocate64_l64): Likewise.
12716         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12717         [!__ASSUME_FALLOCATE]: Add comment.
12719 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12721         * sysdeps/unix/sysv/linux/i386/Makefile
12722         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12723         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12724         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12725         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12726         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12727         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12728         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12730 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12732         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12733         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12734         tgamma.
12735         * math/auto-libm-test-out: Regenerated.
12736         * sysdeps/i386/fpu/libm-test-ulps: Update.
12737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12739 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12741         * math/auto-libm-test-in: Add more tests of tgamma.
12742         * math/auto-libm-test-out: Regenerated.
12743         * sysdeps/i386/fpu/libm-test-ulps: Update.
12744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12746         * math/auto-libm-test-in: Add more tests of tanh.
12747         * math/auto-libm-test-out: Regenerated.
12748         * sysdeps/i386/fpu/libm-test-ulps: Update.
12749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12751         * math/auto-libm-test-in: Add more tests of tan.
12752         * math/auto-libm-test-out: Regenerated.
12753         * sysdeps/i386/fpu/libm-test-ulps: Update.
12754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12756         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12757         * math/auto-libm-test-out: Regenerated.
12758         * sysdeps/i386/fpu/libm-test-ulps: Update.
12759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12761         * math/auto-libm-test-in: Add another test of pow.
12762         * math/auto-libm-test-out: Regenerated.
12763         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12765         * math/auto-libm-test-in: Add more tests of lgamma.
12766         * math/auto-libm-test-out: Regenerated.
12767         * sysdeps/i386/fpu/libm-test-ulps: Update.
12768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12770         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12771         log1p.
12772         * math/auto-libm-test-out: Regenerated.
12773         * sysdeps/i386/fpu/libm-test-ulps: Update.
12774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12776 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12778         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12779         Elf64_Chdr structs and ELFCOMPRESS constants.
12781 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12783         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12784         expm1.
12785         * math/auto-libm-test-out: Regenerated.
12786         * sysdeps/i386/fpu/libm-test-ulps: Update.
12787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12789         * math/auto-libm-test-in: Add more tests of erf and erfc.
12790         * math/auto-libm-test-out: Regenerated.
12791         * sysdeps/i386/fpu/libm-test-ulps: Update.
12792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12794 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12796         * config.h.in (HAVE_AARCH64_BE): Add.
12798 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12800         * math/auto-libm-test-in: Add more tests of csqrt.
12801         * math/auto-libm-test-out: Regenerated.
12802         * sysdeps/i386/fpu/libm-test-ulps: Update.
12803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12805         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12806         * math/auto-libm-test-out: Regenerated.
12807         * sysdeps/i386/fpu/libm-test-ulps: Update.
12808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12810         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12812 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12814         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12815         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12817         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12818         (euidaccess, eaccess): Define as weak aliases.
12820         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12821         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12822         but __suseconds_t is often 'long int' so some sources assume that
12823         type is being used (e.g. they use %ld to print tv_usec).
12825 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12827         [BZ #18007]
12828         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12829         (CVE-2014-8121)
12830         * nss/tst-nss-getpwent.c: New file.
12831         * nss/Makefile (tests): Add new test.
12833 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12835         [BZ #18346]
12836         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12837         exponents less than 48 as cases where high part of mantissa needs
12838         examining to determine whether argument is integral.
12839         * math/libm-test.inc (round_test_data): Add more tests.
12841 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12843         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12845 2015-04-27  David S. Miller  <davem@davemloft.net>
12847         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12848         __tls_get_addr.
12849         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12851 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12853         [BZ#18333]
12854         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12856 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12858         [BZ#18333]
12859         * time/tzset.c (parse_tzname): Return error on memory allocation
12860         failure.
12861         * test-skeleton.c (struct temp_name_list): Change type of name
12862         member to non-const.
12863         (add_temp_file): Create a copy of the file name.
12864         (delete_temp_files): Deallocate memory.
12865         (create_temp_file): Add comment.
12867 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12869         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12870         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12872 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12874         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12875         * sysdeps/arm/configure: Regenerated.
12877 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12879         [BZ #17715]
12880         * time/tzfile.c (__tzfile_read): Check for large values of
12881         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12882         * time/tzset.c (__tzstring_len): New function, based on the old
12883         __tzstring function.
12884         (__tzstring): Call __tzstring_len.
12885         (parse_tzname): New helper function extracted from
12886         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12887         the input string.
12888         (parse_offset): New helper function extracted from
12889         __tzset_parse_tz.  Replace switch with fallthrough with
12890         initialization before sscanf.
12891         (parse_rule): Likewise.
12892         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12893         new-style function definition.
12894         * timezone/Makefile (tests): Add tst-tzset.
12895         (tst-tzset.out): Dependencies on time zone files.
12896         (tst-tzset-ENV): Set TZDIR.
12897         (testdata/XT%): Copy crafted time zone files.
12898         * timezone/README: Mention crafted time zone files.
12899         * timezone/testdata/XT1, timezone/testdata/XT2,
12900         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12901         files.
12902         * timezone/tst-tzset.c: New test.
12904 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12906         * Makeconfig (+gccwarn): Remove -Winline.
12908 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12910         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12912 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12914         * NEWS: Mention sysconf() cache information support for s390.
12915         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12917 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12919         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12920         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12921         (__nearbyint): Likewise.
12922         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12923         (copysignl): Likewise.
12925 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12927         [BZ #18287]
12928         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12929         based on padding.  (CVE-2015-1781)
12931 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12933         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12934         libc-vdso.h.
12935         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12936         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12937         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12938         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12939         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12940         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12941         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12942         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12943         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12944         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12945         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12946         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12947         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12948         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12949         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12950         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12951         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12952         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12953         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12954         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12955         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12956         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12957         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12959 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12961         * stdlib/setenv.c (__add_to_environ):
12962         Dump core quickly if setenv (..., NULL, ...) is called.
12963         This time, do it the right way, and pacify GCC with a pragma.
12965 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12967         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12968         IMAP->l_prev cannot be null, and #if out the code for the contrary
12969         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12970         believe that NS (&_dl_ns[NSID]) could point outside the array.
12972         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12973         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12974         before using NSID as an index.
12976 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12978         [BZ #17825]
12979         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12980         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12981         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12983 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12985         Add preliminary port to Google Native Client on ARM.
12986         * abi-tags (.*-.*-nacl.*): New entry.
12987         * sysdeps/arm/nacl: New directory.
12988         * sysdeps/nacl: New directory.
12990 2015-04-16  David S. Miller  <davem@davemloft.net>
12992         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12993         lowlevellock-futex.h
12995 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12997         * sysdeps/tile/configure.ac: New file.
12998         * sysdeps/tile/configure: Regenerated.
13000 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13002         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13003         conditionals for weak_alias and libc_hidden_weak.
13004         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13005         libc_hidden_weak and weak_alias.
13006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13007         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13008         and weak_alias for static one.
13010 2015-04-15  David S. Miller  <davem@davemloft.net>
13012         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13014 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13016         [BZ #18206]
13017         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13018           Use signed comparision instead of substraction to avoid
13019           overflow bug.
13020         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13021           Take the sign of ret.
13022         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13023           Do not expect precise return values. Only the sign matters.
13024         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13025         * wcsmbs/test-wcsncmp.c: New File.
13026         * string/test-strncmp.c: Add wcsncmp support.
13028 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13030         [BZ #6792]
13031         * math/w_log1p.c: New file.
13032         * math/w_log1pf.c: Likewise.
13033         * math/w_log1pl.c: Likewise.
13034         * math/Makefile (libm-calls): Add w_log1p.
13035         * math/s_log1pl.c (log1pl): Remove weak_alias.
13036         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13037         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13038         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13039         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13040         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13041         [NO_LONG_DOUBLE] (log1pl): Likewise.
13042         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13043         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13044         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13045         (log1p): Remove long_double_symbol.
13046         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13047         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13048         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13049         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13050         remove weak_alias for corresponding log1p function.
13051         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13052         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13053         * sysdeps/ia64/fpu/w_log1p.c: New file.
13054         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13055         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13056         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13058 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13060         [BZ #18247]
13061         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13062         decimal exponent by 1.
13063         * stdlib/tst-strtod-round-data: Add more tests.
13064         * stdlib/tst-strtod-round.c (tests): Regenerated.
13066 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13068         * math/auto-libm-test-in: Add more tests of clog and clog10.
13069         * math/auto-libm-test-out: Regenerated.
13070         * sysdeps/i386/fpu/libm-test-ulps: Update.
13071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13073 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13075         * Makeconfig (module-cppflags): Exclude all .v.i files.
13076         (skip-module-cppflags): Variable removed.
13078         * configure.ac (libc_config_ok): Initialize before reading
13079         preconfigure scripts, not after.
13080         * configure: Regenerated.
13082         * test-skeleton.c (TIMEOUT): Move #define to top level.
13083         (main): Grok environment variable TEST_DIRECT.  If set, print
13084         test expectation details into that file and then behave as if
13085         given --direct.
13087 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13089         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13090         warning on 32-bit.
13092 2015-04-08  David S. Miller  <davem@davemloft.net>
13094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13096 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13098         * math/auto-libm-test-in: Add more tests of atanh.
13099         * math/auto-libm-test-out: Regenerated.
13100         * sysdeps/i386/fpu/libm-test-ulps: Update.
13101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13103         * math/auto-libm-test-in: Add more tests of atan.
13104         * math/auto-libm-test-out: Regenerated.
13105         * sysdeps/i386/fpu/libm-test-ulps: Update.
13106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13108 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13110         * elf/pldd.c (main): Rewrite to use struct
13111         scratch_buffer instead of extend_alloca.
13112         * elf/pldd-xx.c (find_maps): Likewise.
13113         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13114         <alloca.h>.
13115         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13116         scratch_buffer instead of extend_alloca.
13117         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13118         grp/compat-initgroups.c.
13119         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13120         Rewrite to use struct scratch_buffer instead of extend_alloca.
13121         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13122         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13124 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13126         * math/auto-libm-test-in: Add more tests of cbrt.
13127         * math/auto-libm-test-out: Regenerated.
13128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13130         * math/auto-libm-test-in: Add more tests of cabs.
13131         * math/auto-libm-test-out: Regenerated.
13132         * sysdeps/i386/fpu/libm-test-ulps: Update.
13133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13135         [BZ #18210]
13136         [BZ #18211]
13137         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13138         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13139         computations.
13140         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13141         clog10.
13142         * math/auto-libm-test-out: Regenerated.
13143         * sysdeps/i386/fpu/libm-test-ulps: Update.
13144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13146         [BZ #18197]
13147         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13148         (atan): Set FE_TONEAREST mode for internal computations.
13149         * math/auto-libm-test-in: Add more tests of atan.
13150         * math/auto-libm-test-out: Regenerated.
13152 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13154         [BZ #17930]
13155         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13157 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13159         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13161 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13163         * include/scratch_buffer.h: New file.
13164         * malloc/scratch_buffer_grow.c: Likewise.
13165         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13166         * malloc/scratch_buffer_set_array_size.c: Likewise.
13167         * malloc/tst-scratch_buffer.c: Likewise.
13168         * malloc/Makefile (routines): Add scratch_buffer_grow.
13169         (tests): Add test case.
13170         * malloc/Versions (GLIBC_PRIVATE): Export
13171         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13172         __libc_scratch_buffer_set_array_size.
13174 2015-04-06  Richard Henderson  <rth@redhat.com>
13176         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13177         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13179         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13180         unsigned int before printing.
13182 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13184         [BZ #17596]
13185         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13186         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13188 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13190         * include/libc-internal.h (libc_max_align_t): Define.
13192 2015-04-02  Andreas Schwab  <schwab@suse.de>
13194         [BZ #16850]
13195         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13197 2015-04-02  Mel Gorman  <mgorman@suse.de>
13199         [BZ #17195]
13200         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13201         as well as the main arena.
13203 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13205         [BZ #18185]
13206         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13207         sharing L2 cache to 2 for Silvermont/Knights Landing.
13209 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13211         [BZ #17711]
13212         * config.make.in (have-protected-data): New.
13213         * configure.ac: Check linker support for protected data symbol.
13214         * configure: Regenerated.
13215         * elf/Makefile (modules-names): Add tst-protected1moda and
13216         tst-protected1modb if $(have-protected-data) is yes.
13217         (tests): Add tst-protected1a and tst-protected1b if
13218         $(have-protected-data) is yes.
13219         ($(objpfx)tst-protected1a): New.
13220         ($(objpfx)tst-protected1b): Likewise.
13221         (tst-protected1modb.so-no-z-defs): Likewise.
13222         * elf/tst-protected1a.c: New file.
13223         * elf/tst-protected1b.c: Likewise.
13224         * elf/tst-protected1mod.h: Likewise.
13225         * elf/tst-protected1moda.c: Likewise.
13226         * elf/tst-protected1modb.c: Likewise.
13228 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13230         [BZ #17711]
13231         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13232         indicates it is called from do_lookup_x on relocation against
13233         protected data, skip the data definion in the executable from
13234         copy reloc.
13235         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13236         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13237         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13238         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13239         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13240         otherwise to 0.
13241         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13242         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13243         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13244         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13245         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13246         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13248 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13250         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13251         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13253 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13255         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13256         THREAD_SETMEM_NC.
13257         * sysdeps/x86_64/nptl/tls.h: Ditto.
13259 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13261         * dlfcn/tststatic.c (main): Converted to ...
13262         (do_test): ... this.
13263         (TEST_FUNCTION): New macro.
13264         Include test-skeleton.c.
13266 2015-03-26  Alan Modra  <amodra@gmail.com>
13268         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13269         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13270         zero for undefined weak.
13271         (elf_machine_plt_conflict): Similarly.
13273 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13275         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13276         atanh.
13277         * math/auto-libm-test-out: Regenerated.
13278         * sysdeps/i386/fpu/libm-test-ulps: Update.
13279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13281         * math/auto-libm-test-in: Add another test of asin.
13282         * math/auto-libm-test-out: Regenerated.
13283         * sysdeps/i386/fpu/libm-test-ulps: Update.
13284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13286         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13287         Remove macro.
13288         (LLL_EBX_REG): Likewise.
13289         (LLL_ENTER_KERNEL): Likewise.
13291         * math/auto-libm-test-in: Add more tests of asin.
13292         * math/auto-libm-test-out: Regenerated.
13293         * sysdeps/i386/fpu/libm-test-ulps: Update.
13294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13296         [BZ #18138]
13297         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13298         libc_do_syscall_args): New structure.
13299         (INTERNAL_SYSCALL_MAIN_0): New macro.
13300         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13301         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13302         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13303         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13304         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13305         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13306         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13307         Replace conditional definitions by conditional definitions of ....
13308         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13309         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13310         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13311         (libpthread-sysdep_routines): Add libc-do-syscall.
13312         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13313         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13314         to __NR_futex not 240.
13316 2015-03-25  Alan Modra  <amodra@gmail.com>
13318         * NEWS: Advertise TLS optimization.
13319         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13320         (DT_PPC_NUM): Increment.
13321         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13322         (CHECK_STATIC_TLS): Use here.
13323         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13324         TLS descriptors.
13325         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13326         * sysdeps/powerpc/dl-tls.c: New file.
13327         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13328         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13329         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13330         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13335 2015-03-25  Alan Modra  <amodra@gmail.com>
13337         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13338         for overlapping .opd entries" to "support...".
13339         * sysdeps/powerpc/powerpc64/configure: Regenerate
13341 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13343         * math/auto-libm-test-in: Add more tests of acos.
13344         * math/auto-libm-test-out: Regenerated.
13345         * sysdeps/i386/fpu/libm-test-ulps: Update.
13346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13348         * math/auto-libm-test-in: Add more tests of expm1.
13349         * math/auto-libm-test-out: Regenerated.
13350         * sysdeps/i386/fpu/libm-test-ulps: Update.
13351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13353 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13355         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13356         * math/auto-libm-test-out: Regenerated.
13357         * sysdeps/i386/fpu/libm-test-ulps: Update.
13358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13360         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13363         * math/auto-libm-test-in: Add more tests of log2.
13364         * math/auto-libm-test-out: Regenerated.
13365         * sysdeps/i386/fpu/libm-test-ulps: Update.
13366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13368 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13370         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13371         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13372         _IO_IS_APPENDING bit in READ_WRITE instead.
13374 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13376         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13377         (__determine_cpumask_size): Replace extend_alloca with a
13378         variable-length array.  Do not treat res == 0 as an error.
13380 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13382         [BZ #18100]
13383         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13384         and integer overflow.
13385         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13386         (main): Add integer overflow tests.
13387         * manual/pattern.texi (Calling Wordexp): Document additional use
13388         for WRDE_SYNTAX.
13390 2015-03-23  Alan Modra  <amodra@gmail.com>
13392         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13393         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13394         and false branch of conditional.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13396         Likewise.
13398 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13400         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13401         libc-modules.h
13402         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13403         unused declaration of _hurd_intr_rpc_msg_in_trap.
13404         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13405         defined instead of whether it is non-zero.
13406         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13407         input constraint instead of both input and output constraint.  Use ecx
13408         clobber instead of %ecx.
13409         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13410         mutex_unlock): Use a statement expression instead of an expression list.
13411         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13412         type to vm_size_t instead of vm_address_t.
13413         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13414         defined instead of whether it is non-zero.
13415         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13416         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13417         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13418         comparisons with mapaddr.
13419         * nscd/nscd-client.h: Include <time.h>.
13420         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13421         9th parameter to __vm_region instead of int.
13422         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13423         * scripts/check-local-headers.sh (exclude): Add device/,
13424         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13425         cthreads.h.
13427 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13429         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13430         to account for alignment padding.
13431         * sysdeps/arm/memmove.S: Likewise.
13433 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13435         * sysdeps/unix/sysv/linux/generic/README: New file.
13437 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13439         [BZ #18138]
13440         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13441         (futex_abstimed_wait)
13442         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13443         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13444         of lll_futex_timed_wait.
13446 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13448         [BZ #17542]
13449         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13451 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13453         [BZ #17090]
13454         [BZ #17620]
13455         [BZ #17621]
13456         [BZ #17628]
13457         * NEWS: Update.
13458         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13459         entries with Static TLS too.  Skip entries past the end of the
13460         allocated DTV, from Alan Modra.
13461         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13462         Static TLS DTV entry set up from...
13463         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13464         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13465         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13466         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13467         for Static TLS.
13468         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13469         that the slot we find is associated with the given map before
13470         using its generation count.
13471         * nptl_db/db_info.c: Include ldsodefs.h.
13472         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13473         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13474         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13475         (link_map::l_tls_offset): New struct field.
13476         (dtv_t::counter): Likewise.
13477         (rtld_global): New struct.
13478         (_rtld_global): New rtld variable.
13479         (dl_tls_dtv_slotinfo_list): New rtld global field.
13480         (dtv_slotinfo_list): New struct.
13481         (dtv_slotinfo): Likewise.
13482         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13483         (td_lookup): Rename to...
13484         (td_mod_lookup): ... this.  Use new mod parameter instead of
13485         LIBPTHREAD_SO.
13486         * nptl_db/td_thr_tlsbase.c: Include link.h.
13487         (dtv_slotinfo_list, dtv_slotinfo): New functions.
13488         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
13489         addresses even if the DTV is out of date or missing them.
13490         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13491         index zero-length arrays.
13492         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13493         (td_lookup): Make it a macro implemented in terms of...
13494         (td_mod_lookup): ... this declaration.
13495         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13496         (DB_MAIN_VARIABLE): Likewise.
13498 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13500         [BZ #18134]
13501         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13503 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
13505         * stdlib/setenv.c (__add_to_environ): Revert previous change.
13507 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13509         [BZ #18128]
13510         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13511         (atomic_add, atomic_increment_and_test)
13512         (atomic_decrement_and_test): Fix 64-bit arithmetic.
13514 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
13516         * stdlib/setenv.c (__add_to_environ):
13517         Dump core quickly if setenv (..., NULL, ...) is called.
13519 2015-03-13  Roland McGrath  <roland@hack.frob.com>
13521         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13522         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13523         all the necessary asm magic in one place.
13524         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13525         using those.
13527 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
13529         [BZ #14906]
13530         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13531         traced file mtime. Use consistent log message.
13532         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13533         (register_traced_file): Call install_watches. Always set mtime.
13534         (invalidate_cache): Iterate over all trace files. Call install_watches.
13535         (inotify_check_files): Don't inline. Handle watching parent
13536         directories and configuration file movement in and out.
13537         (handle_inotify_events): New function.
13538         (main_loop_poll): Call handle_inotify_events.
13539         (main_loop_epoll): Likewise.
13540         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13541         (struct traced_file): Use array of inotify fds. Add parent directory,
13542         and basename.
13543         (struct database_dyn): Remove unused file_mtime.
13544         (init_traced_file): New inline function.
13545         (define_traced_file): New macro.
13546         * nss/nss_db/db-init.c: Use define_traced_file.
13547         (_nss_db_init): Use init_traced_file.
13548         * nss/nss_files/files-init.c: Use define_traced_file.
13549         (_nss_files_init): Use init_traced_file.
13551 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13553         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13554         [_LIBC]: Do not include <stdlib.h>.
13555         [!_LIBC] (abort): Remove declaration.
13556         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13557         _FP_STATIC_ASSERT instead of conditionally calling abort.
13558         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13559         (_FP_EXTEND_CNAN): Likewise.
13560         (FP_TRUNC): Likewise.
13561         (__FP_CLZ): Likewise.
13562         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13564 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13566         * manual/string.texi (XPG basename): Fix prototype.
13568 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13570         [BZ #18080]
13571         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13572         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13573         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13574         (__setcontext): Likewise.
13575         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13576         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13577         Call rt_sigprocmask syscall one time to set new signal mask
13578         and retrieve the current signal mask instead of two calls.
13579         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13580         (__swapcontext): Likewise.
13581         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13582         * stdlib/tst-setcontext2.c: New file.
13584 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13586         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13588 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13590         [BZ #18093]
13591         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13592         the wrong size.
13594 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13596         [BZ #18043]
13597         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13599 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13601         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13602         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13603         Remove define.
13604         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13605         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13606         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13607         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13608         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13609         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13610         define.
13611         * nptl_db/td_symbol_list.c (td_lookup): Remove
13612         HAVE_ASM_GLOBAL_DOT_NAME code.
13613         * sysdeps/powerpc/powerpc64/configure.ac: Remove
13614         HAVE_ASM_GLOBAL_DOT_NAME check.
13615         * sysdeps/powerpc/powerpc64/configure: Regenerate.
13616         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13617         (DOT_LABEL): Remove define.
13618         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13619         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13620         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13621         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13622         (__TLS_GET_ADDR): Likewise.
13623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13624         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13626 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
13628         [BZ #18111]
13629         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13630         (_FPU_SETCW): Initialize cw from fpsr before storing.
13631         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13632         (fesetexceptflag): Rewrite using fpu_control.h.
13633         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
13635 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
13637         [BZ #18110]
13638         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
13639         asms.
13640         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13642 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
13644         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
13645         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
13646         abort.
13647         (_FP_FMA): Likewise.
13648         (_FP_DIV): Likewise.
13650 2015-03-10  Roland McGrath  <roland@hack.frob.com>
13652         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13653         with 0 in that case.
13654         * Makefile (summarize-tests): New canned sequence, factored out of
13655         commands for targets tests and xtests.  Display summary lines that
13656         don't start with PASS: or XFAIL: rather than ones that do start with
13657         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13658         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13659         do start with ERROR: or FAIL:.
13660         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13661         (except for [$(build-shared) = yes]).
13662         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13663         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13664         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13665         * nptl/Makefile: Revert 2015-03-04 changes.
13666         [$(CXX) empty] (tests-unsupported): New variable.
13667         * debug/Makefile: Likewise.
13669         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13670         gnulib file.  Replace __attribute with __attribute__ throughout.
13672 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13674         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13676 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13678         [BZ #18104]
13679         * math/auto-libm-test-in: Add another test of pow.
13680         * math/auto-libm-test-out: Regenerated.
13682 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13684         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13685         $(config-cflags-nofma).
13687 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13689         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13690         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13691         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13692         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13693         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13694         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13695         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13696         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13697         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13698         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13699         Add comment on closing #endif.
13701 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13703         * posix/wordexp.c (CHAR_IN_SET): New macro.
13704         (parse_param): Use it.
13706 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13708         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13710 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13712         [BZ #18043]
13713         * posix/wordexp.c (parse_param): Fix buffer overflow.
13714         * posix/wordexp-test.c (test_case): Add test case.
13716 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13718         [BZ #18042]
13719         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13720         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13722 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13724         [BZ #18043]
13725         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13726         (do_bz18043): Delete.
13727         (at_page_end): New.
13728         (testit): Refactor to have words at the edge of unreadable page.
13730 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13732         [BZ #16734]
13733         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13734         Cleanup read-only streams as well.
13735         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13737 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13739         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13740         <bits/libc-lockP.h>
13742 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13744         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13745         on [__KERNEL__].
13746         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13747         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13748         * soft-fp/op-common.h (_FP_DECL): Likewise.
13750 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13752         * elf/ifuncdep2.c (global): Replace
13753         __attribute__((visibility("protected"))) with
13754         asm (".protected global").
13755         * elf/ifuncmod1.c (global): Likewise.
13756         * elf/ifuncmod5.c (global): Likewise.
13758 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13760         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13761         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13763 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13765         * manual/install.texi (Configuring and compiling):
13766         Document test-wrapper-env-only.
13767         * INSTALL: Regenerated.
13769 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13771         [BZ #18043]
13772         * posix/wordexp.c (parse_param): Fix buffer overflow.
13773         * posix/wordexp-test.c (do_bz18043): Add test case.
13775 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13777         * time/tst-strptime2.c (do_test): Ensure failing tests are
13778         reported correctly.
13779         * time/tst-strptime3.c (do_test): Likewise.
13781 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13783         Fix aio_error thread-safety.
13784         * sysdeps/pthread/aio_error.c: New file
13785         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13786         synchronization.
13788 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13790         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13791         (group_number, vfprintf): Use it.
13792         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13793         (JUMP, REF): Use it.
13794         (WORK_BUFFER_SIZE): New enum constant.
13795         (process_arg, vfprintf): Use it.
13797 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13799         * manual/errno.texi (Error Messages): Complete example function
13800         by adding missing #define.
13801         (program_invocation_name): Add statement indicating GNU
13802         extension and reference which header file declares the variable.
13803         (program_invocation_short_name): Likewise.
13805 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13807         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13808         compatibility note.
13810 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13812         * Makeconfig (test-wrapper-env-only): New variable.
13813         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13814         then use that with $(test-wrapper-env-only) rather than using
13815         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13817 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13819         [BZ #18082]
13820         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13821         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13822         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13823         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13824         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13825         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13826         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13827         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13828         Likewise.
13829         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13830         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13831         Likewise.
13832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13833         Likewise.
13834         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13835         Likewise.
13836         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13837         Likewise.
13838         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13839         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13840         Likewise.
13841         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13842         Likewise.
13843         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13844         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13846 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13848         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13849         (ETH_ALEN): New macro.
13850         (struct ether_addr): Use it for length of ether_addr_octet.
13852         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13853         (setdb): Don't call __nss_configure_lookup for "rpc".
13854         (do_test): Don't call test_rpc.
13855         (output_rpcent, test_rpc): Functions moved ...
13856         * sunrpc/test-rpcent.c: ... to this new file.
13857         * sunrpc/Makefile (tests): Add it.
13859         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13860         __xpg_sigpause.
13861         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13862         * nptl/tst-signal6.c: Likewise.
13863         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13864         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13866         * configure.ac (libc_cv_cxx_link_ok): New check.
13867         Reset CXX to empty if it fails to link.
13868         * configure: Regenerated.
13869         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13870         bug-atexit3-lib only if $(CXX) is nonempty.
13871         * nptl/Makefile (tests): Likewise for tst-cancel24.
13872         (tests, tests-static): Likewise for tst-cancel24-static.
13873         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13874         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13875         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13876         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13878 2015-03-04  Andreas Schwab  <schwab@suse.de>
13880         [BZ #17631]
13881         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13882         for non-GCC compilers.
13883         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13884         Likewise.
13886 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13888         [BZ #17776]
13889         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13890         integer before bitwise and assembly operations.
13891         (feclearexcept): Likewise.
13892         * math/test-fenvinline.c: New file.
13893         * math/Makefile: Add test-fenvinline test.
13895 2015-03-03  Alan Modra  <amodra@gmail.com>
13897         [BZ #16512]
13898         * scripts/localplt.awk: Strip off symbol version.
13899         * NEWS: Mention bug fix.
13901 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13903         * sysdeps/pthread/timer_routines.c
13904         (timer_free_list, thread_free_list, thread_active_list): Make static.
13906 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13908         [BZ #17779]
13909         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13910         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13911         Undefine.
13912         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13913         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13914         Likewise.
13915         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13916         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13917         Likewise.
13919 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13921         [BZ #18036]
13922         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13923         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13925 2015-03-02  Andreas Schwab  <schwab@suse.de>
13927         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13928         variable name.
13930 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13932         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13933         Return error status.
13935 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13937         [BZ #15969]
13938         * locale/findlocale.c (_nl_find_locale): Introduce const
13939         version of loc_name and drop unsafe type casts.
13941 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13943         * dlfcn/tststatic2.c (main): Converted to ...
13944         (do_test): ... this.
13945         (TEST_FUNCTION): New macro.
13946         Include test-skeleton.c.
13948 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13950         [BZ #17711]
13951         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13952         (tests-pie): Add vismain.
13953         (CFLAGS-vismain.c): New.
13954         * elf/vismain.c: Add comments for PIE requirement.
13956 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13958         [BZ #18046]
13959         [BZ #18047]
13960         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13961         0x1p-56L as threshold for just returning the argument.
13962         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13963         0x1p-32L as threshold for just returning the argument.
13964         * math/auto-libm-test-in: Add more tests of atanh.
13965         * math/auto-libm-test-out: Regenerated.
13966         * sysdeps/i386/fpu/libm-test-ulps: Update.
13967         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13969 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13971         * string/bcopy.c (bcopy): Call memmove for performance.
13973 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13975         * string/bzero.c (__bzero): Call memset for performance.
13977 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13979         [BZ #18068]
13980         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13981         to 00100000.
13983 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13985         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13987 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13989         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13990         (__kernel_standard): Use CSTR macro when setting exc.name.
13991         * sysdeps/ieee754/Makefile [$(subdir) = math]
13992         (CFLAGS-k_standard.c): Remove variable.
13994         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13995         setting p and q from "else if" to "else".
13996         (qzero): Likewise.
13997         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13998         (qone): Likewise.
13999         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14000         (qzerof): Likewise.
14001         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14002         (qonef): Likewise.
14003         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14004         (qzero): Likewise.
14005         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14006         (qone): Likewise.
14008         [BZ #18038]
14009         [BZ #18039]
14010         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14011         return pi/2 for arguments below 0x1p-113L.
14012         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14013         return pi/2 for arguments below 0x1p-106L.
14014         * math/auto-libm-test-in: Add more tests of acos.
14015         * math/auto-libm-test-out: Regenerated.
14017         [BZ #16351]
14018         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14019         (MO): New macro.
14020         (__ieee754_asin): Force underflow exception for results with small
14021         absolute value.
14022         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14023         (MO): New macro.
14024         (__ieee754_asinf): Force underflow exception for results with
14025         small absolute value.
14026         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14027         (__ieee754_asin): Force underflow exception for results with small
14028         absolute value.
14029         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14030         (__ieee754_asinf): Force underflow exception for results with
14031         small absolute value.
14032         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14033         (__ieee754_asinl): Force underflow exception for results with
14034         small absolute value.
14035         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14036         (__ieee754_asinl): Force underflow exception for results with
14037         small absolute value.
14038         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14039         (__ieee754_asinl): Force underflow exception for results with
14040         small absolute value.
14041         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14042         Include <math.h>.
14043         * math/auto-libm-test-in: Do not mark underflow exceptions as
14044         possibly missing for bug 16351.
14045         * math/auto-libm-test-out: Regenerated.
14047         [BZ #18030]
14048         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14049         of power of 2 down when low part has opposite sign.
14050         * math/libm-test.inc (logb_test_data): Add more tests.
14052 2015-02-26  Andreas Schwab  <schwab@suse.de>
14054         [BZ #18032]
14055         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14056         over collating symbol inside a bracket expression.  Minor cleanup.
14057         * posix/tst-fnmatch3.c (do_test): Add test case.
14059 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14061         [BZ #18029]
14062         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14063         Adjust exponent of power of 2 down when low part has opposite
14064         sign.
14065         * math/libm-test.inc (ilogb_test_data): Add more tests.
14067 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14069         [BZ #15969]
14070         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14071         the previous change.
14073         [BZ #15969]
14074         * locale/findlocale.c (_nl_find_locale): Retry archive search
14075         after alias expansion.
14077 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14079         * iconv/tst-iconv3.c (main): Converted to ...
14080         (do_test): ... this.
14081         (TEST_FUNCTION): New macro.
14082         Include test-skeleton.c.
14084         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14085         (convert): Make function static.
14086         (test_unalign): Likewise.  Add const to argument pointee types.
14087         (main): Replace with static function do_test.
14088         Print "Succeeded." only if RET is zero.
14089         (TEST_FUNCTION): New macro.
14090         Include test-skeleton.c.
14092         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14093         returns a null pointer.
14095 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14097         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14098         to __memcpy_ppc only for static builds.
14100 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14102         [BZ #18020]
14103         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14104         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14105         * math/auto-libm-test-in: Add more tests of asinh.
14106         * math/auto-libm-test-out: Regenerated.
14107         * sysdeps/i386/fpu/libm-test-ulps: Update.
14108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14110 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14112         [BZ #15850]
14113         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14114         and ip6_mtuinfo definitions here.
14115         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14116         in this define too.  Update comment.
14118 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14120         * elf/sprof.c (load_shobj): Tweak error message to match others.
14122 2015-02-24  Kevin Easton  <kevin@guarana.org>
14124         [BZ #16145] (partial fix)
14125         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14126         to reduce lock contention.
14128 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14130         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14131         (struct timex): Update time comment.
14132         (ADJ_SETOFFSET): Define.
14134 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14136         [BZ #18019]
14137         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14138         2**56 not 2**28 as threshold for log (2x) formula.
14139         * math/auto-libm-test-in: Add more tests of acosh.
14140         * math/auto-libm-test-out: Regenerated.
14141         * sysdeps/i386/fpu/libm-test-ulps: Update.
14142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14144 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14146         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14147         parenthesis around the buf assignment.
14148         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14150 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14152         [BZ #16783]
14153         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14154         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14155         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14156         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14157         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14158         * math/libm-test.inc (scalb_test_data): Add more tests.
14160 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14162         [BZ #17916]
14163         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14164         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14166 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14168         [BZ #17523]
14169         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14170         * io/bits/fcntl2.h (open): Use it.
14171         (openat): Likewise.
14172         * io/open.c (__libc_open): Likewise.
14173         * io/open64.c (__libc_open64): Likewise.
14174         * io/open64_2.c (__open64_2): Likewise.
14175         * io/open_2.c (__open_2): Likewise.
14176         * io/openat.c (__openat): Likewise.
14177         * io/openat64.c (__openat64): Likewise.
14178         * io/openat64_2.c (__openat64_2): Likewise.
14179         * io/openat_2.c (__openat_2): Likewise.
14180         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14181         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14182         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14183         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14184         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14185         (__open_nocancel): Likewise.
14186         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14187         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14188         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14190 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14192         [BZ #14841]
14193         * resolv/gethnamaddr.c (getanswer): Skip logging if
14194         RES_USE_DNSSEC is set.
14195         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14197 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14199         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14201 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14203         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14204         201304L, for Unicode 7.
14206 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14208         [BZ #17836]
14209         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14210         shared library.  Add gmon-start.os otherwise.
14211         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14212         $(objpfx)gmon-start.os if builing shared library.
14213         ($(objpfx)g$(static-start-installed-name)): Likewise.
14215 2015-02-23  Andreas Schwab  <schwab@suse.de>
14217         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14219 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14221         [BZ #17269]
14222         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14223         (enlarge_userbuf): Likewise.
14225 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14227         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14228         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14229         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14230         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14232 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14234         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14235         expression inside statement expression.
14237 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14239         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14240         <sysdeps/nptl/lowlevellock.h> and remove macros and
14241         functions that are now defined there.
14242         (SYS_futex): Remove.
14243         (lll_compare_and_swap): Remove.
14244         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14246 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14248         [BZ #17999]
14249         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14250         instead of scandirat.
14251         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14252         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14253         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14254         __scandirat.
14255         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14256         (__scandirat): Declare.  Use libc_hidden_proto.
14257         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14258         Remove variable.
14259         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14261 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14263         [BZ #15319]
14264         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14265         (MO): New macro.
14266         (__ieee754_atan2): For results with small absolute value, force
14267         underflow exception and remove excess range and precision from
14268         return value.
14269         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14270         (MO): New macro.
14271         (__ieee754_atan2f): For results with small absolute value, force
14272         underflow exception and remove excess range and precision from
14273         return value.
14274         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14275         (MO): New macro.
14276         (__atan): For results with small absolute value, force underflow
14277         exception and remove excess range and precision from return value.
14278         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14279         (MO): New macro.
14280         (__atanf): For results with small absolute value, force underflow
14281         exception and remove excess range and precision from return value.
14282         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14283         <math.h>.
14284         (__ieee754_atan2): Force underflow exception for results with
14285         small absolute value.
14286         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14287         <math_private.h>.
14288         (atan): Force underflow exception for results with small absolute
14289         value.
14290         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14291         (__atanf): Force underflow exception for results with small
14292         absolute value.
14293         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14294         <math.h>.
14295         (__atanl): Force underflow exception for results with small
14296         absolute value.
14297         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14298         (__atanl): Force underflow exception for results with small
14299         absolute value.
14300         * sysdeps/x86/fpu/bits/mathinline.h
14301         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14302         (__ieee754_atan2): Only define inline for long double.
14303         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14304         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14305         * math/auto-libm-test-in: Do not mark underflow exceptions as
14306         possibly missing for bug 15319.  Add more tests of atan2.
14307         * math/auto-libm-test-out: Regenerated.
14308         * math/libm-test.inc (casin_test_data): Do not mark underflow
14309         exceptions as possibly missing for bug 15319.
14310         (casinh_test_data): Likewise.
14311         * sysdeps/i386/fpu/libm-test-ulps: Update.
14313 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14315         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14316         * sysdeps/mips/bits/endian.h: Fix comments.
14318 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14320         [BZ #17996]
14321         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14322         (hdestroy_r): Likewise.
14323         (hsearch_r): Likewise.
14324         (__hcreate_r): Declare and use libc_hidden_proto.
14325         (__hdestroy_r): Likewise.
14326         (__hsearch_r): Likewise.
14327         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14328         (hcreate): Call __hcreate_r instead of hcreate_r.
14329         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14330         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14331         as weak alias of __hcreate_r.
14332         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14333         __hdestroy_r.
14334         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14335         __hsearch_r.
14336         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14337         Remove variable.
14338         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14339         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14340         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14341         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14343 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14345         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14346         arena_lock into a single arena_get.
14348 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14350         * dl-reloc.c: Inlucde libc-internal.h.
14351         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14352         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14353         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14354         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14355         (grow_heap): Likewise.
14356         * malloc/malloc.c: Include libc-internal.h.
14357         (do_check_malloc): Call powerof2.
14358         (sysmalloc): Use pagesize. Call ALIGN_UP.
14359         (systrim): Use pagesize.
14360         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14361         (__libc_valloc): Use pagesize.
14362         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14364 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14366         [BZ #17991]
14367         * include/sys/resource.h (__getrlimit64): Declare.  Use
14368         libc_hidden_proto.
14369         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14370         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14371         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14372         getrlimit64.
14373         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14374         __getrlimit64.
14375         [!getrlimit64] (getrlimit64): Define as weak alias of
14376         __getrlimit64.  Use libc_hidden_weak.
14377         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14378         using __getrlimit64 not __new_getrlimit64.
14379         (__GI_getrlimit64): Likewise.
14380         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14381         Likewise.
14382         (__GI_getrlimit64): Likewise.
14383         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14385         (getrlimit): Add __getrlimit64 alias.
14386         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14387         Likewise.
14388         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14389         Remove variable.
14390         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14391         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14393 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14395         * libio/fileops.c: Add missing sys/mman.h
14396         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14398 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14400         * manual/math.texi (Errors in Math Functions): Clarify goals
14401         regarding inexact and underflow exceptions.
14403 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14405         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14406         * sysdeps/mips/memset.S: Ditto.
14408 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14410         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14412 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14414         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14415         (__v1longjmp): Remove versioned symbol.
14416         (__v1siglongjmp): Remove alias and versioned symbol.
14417         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14418         (__v2siglongjmp): Likewise.
14420 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14422         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14424 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14426         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14428 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14430         [BZ #17987]
14431         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14432         zero result does not depend on the sign resulting from
14433         subtraction.
14434         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14435         Likewise.
14436         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14437         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14438         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14439         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14440         * math/libm-test.inc (remquo_test_data): Add more tests.
14442 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14444         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14445         Problem reported by J William Piggott.
14447 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14449         [BZ #17978]
14450         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14451         products 4 * y and 2 * y where those would overflow.
14452         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14453         Likewise.
14454         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14455         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14456         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14457         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14458         * math/libm-test.inc (remquo_test_data): Add more tests.
14460         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14462         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14463         [defined _COMPILING_NEWLIB].
14464         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14465         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14467         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14468         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14470 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14472         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14473         acquired.
14475 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
14477         [BZ #17792]
14478         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14479         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14480         HOST_STACK_END_ADDR): Likewise.
14482 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
14484         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14485         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14486         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14488 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14490         * sysdeps/generic/c++-types.data: New file.
14491         * sysdeps/generic/ld.abilist: New file.
14492         * sysdeps/generic/libBrokenLocale.abilist: New file.
14493         * sysdeps/generic/libanl.abilist: New file.
14494         * sysdeps/generic/libc.abilist: New file.
14495         * sysdeps/generic/libcrypt.abilist: New file.
14496         * sysdeps/generic/libdl.abilist: New file.
14497         * sysdeps/generic/libm.abilist: New file.
14498         * sysdeps/generic/libpthread.abilist: New file.
14499         * sysdeps/generic/libresolv.abilist: New file.
14500         * sysdeps/generic/librt.abilist: New file.
14502 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14504         [BZ #17569]
14505         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14506         Compute absolute value of x as modified by fmod, not original
14507         value of x.
14508         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14509         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
14510         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
14511         RUN_TEST_ffI_f1_mod8.
14512         (remquo_test_data): Add more tests.
14514 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14516         * sysdeps/init_array/pt-crti.S: New file.
14518 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14520         [BZ #17967]
14521         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14522         __builtin_fmaf instead of relying on contraction of a * b + c.
14524 2015-02-12  J William Piggott  <elseifthen@gmx.com>
14526         [BZ #17969]
14527         * manual/time.texi: correct the zoneinfo path in the TZ Variable
14528         node.
14530 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14532         [BZ #17964]
14533         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14534         __builtin_fma instead of relying on contraction of a * b + c.
14536 2015-02-12  Roland McGrath  <roland@hack.frob.com>
14538         * Makeconfig (ASFLAGS): Add -Werror=undef.
14539         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14540         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14541         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14543         * Makeconfig (after-link): New variable.
14544         (+link-pie, +link-pie-tests): Use it.
14545         (+link-static, +link-static-tests): Likewise.
14546         (+link, +link-tests): Likewise.
14547         * Makerules (build-module, build-module-asneeded): Likewise.
14548         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14549         Likewise.
14550         * elf/Makefile ($(objpfx)ld.so): Likewise.
14552 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14554         [BZ #17965]
14555         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14556         both struct timeval and struct timespec.
14558 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14560         [BZ #16560]
14561         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14562         and redefine.
14563         (__ieee754_exp2l): Do not multiply small fractional parts by
14564         M_LN2l.
14565         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14566         small argument.
14567         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14568         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14569         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14570         * math/auto-libm-test-in: Add more tests of exp2.
14571         * math/auto-libm-test-out: Regenerated.
14573 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14575         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14576         unaligned path.
14578 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14580         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14581         little endian.
14583 2015-02-12  Andreas Schwab  <schwab@suse.de>
14585         [BZ #15790]
14586         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14587         Filter out elision flags from value returned in kind.
14588         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14589         * nptl/tst-pthread-mutexattr.c: New file.
14591 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14593         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14594         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14595         into gnu-gnu, and update comment to refer to abi-tags.
14597 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
14599         [BZ #15467]
14600         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14601         (__sincos): Set errno to EDOM for infinite argument.
14602         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14603         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14604         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14605         (__sincosl): Set errno to EDOM for infinite argument.
14606         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14607         (__sincosl): Set errno to EDOM for infinite argument.
14608         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14609         (__sincosl): Set errno to EDOM for infinite argument.
14610         * math/libm-test.inc (sincos_test_data): Test errno setting.
14612 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
14614         * string/strxfrm_l.c: Remove #define STRCMP.
14615         * string/strcoll_l.c: Remove #define STRLEN.
14616         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14617         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14619 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
14621         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14622         * sysdeps/mips/mips32/sfp-machine.h: ... here.
14623         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14624         * sysdeps/mips/mips64/Makefile: ... here.
14625         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14626         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14627         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14628         * sysdeps/mips/mips64/sfp-machine.h: ... here.
14629         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14630         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14631         * sysdeps/mips/mips64/n64/Implies: Likewise.
14633 2015-02-10  Roland McGrath  <roland@hack.frob.com>
14635         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
14636         <sys/time.h>, <string.h>, and <errno.h>.
14637         (dest_offset, dest_address, value, zero): Remove unused variables.
14638         (ldouble): Remove typedef.
14639         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
14640         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
14641         1).  Fix code style.
14642         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
14643         (check): Function removed.
14644         (CHECK): New macro.
14645         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
14646         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
14647         Don't call set_sigaction_FP and remove_sigaction_FP here.
14648         (ldouble_test): Just use 'long double' as macro argument, no need for
14649         the 'ldouble' typedef.
14650         (do_test): Set up SIGFPE handler at start, using plain signal rather
14651         than sigaction.  Fix code style.
14653 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
14655         [BZ #17949]
14656         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14657         jump label.
14659 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14661         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14662         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14664         * sysdeps/powerpc/configure.ac: Remove file.
14665         * sysdeps/powerpc/configure: Likewise.
14667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14668         [sysdep_routines]: Remove wordcopy-power6 object.
14669         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14670         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14671         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14672         (__memmove_ppc32): Likewise.
14673         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14674         file.
14675         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14676         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14677         Remove preprocessor.
14679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14680         [sysdep_routines]: Remove wide chars objects.
14681         [wcsmbs]: New rule for wide char objects.
14683         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14684         Remove wordcopy-power6 obejct.
14685         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14686         Use local call for wordcopy and memcpy symbols.
14687         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14688         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14689         implementation for loader.
14690         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14692         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14693         Remove wordcopy-power7 object.
14694         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14696         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14697         (_wordcopy_fwd_dest_aligned): Likewise.
14698         (_wordcopy_bwd_aligned): Likewise.
14699         (_wordcopy_bwd_dest_aligned): Likewise.
14701         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14702         Rewrite to call __memmove_ppc instead of include default
14703         implementation.
14705         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14706         Remove wide chars objects.
14707         [wcsmbs]: New rule for wide char objects.
14709 2015-02-09  Andreas Schwab  <schwab@suse.de>
14711         [BZ #17912]
14712         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14713         in terms of __O_DIRECTORY.
14715 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14717         * time/getdate.c: Include <stdbool.h>.
14718         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14719         call PTR_MANGLE.
14720         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14721         PTR_DEMANGLE.
14723 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14725         Add ersatz _Static_assert on older C hosts
14726         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14727         pre-C11 C platform that is not known to support _Static_assert.
14729 2015-02-07  Richard Braun  <rbraun@sceen.net>
14731         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14732         sigstate.
14733         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14735 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14737         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14738         priority against unexistent AIO_PRIO_DELTA_MAX.
14739         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14740         instead of int.
14741         * misc/fchflags.c (fchflags): Likewise.
14742         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14743         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14744         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14745         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14746         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14747         Declare macros.
14748         [__USE_MISC] (chflags, fchflags): Declare functions.
14749         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14750         EINVAL when nfds is greater than FD_SETSIZE.
14751         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14752         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14753         45.
14754         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14755         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14756         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14757         MACH_RCV_TIMED_OUT.
14758         * hurd/hurd/signal.h (_hurd_self_sigstate,
14759         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14760         Explicit casts from void *.
14761         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14762         * abi-tags: Rename gnu-gnu os into gnu.
14764         [BZ #4719]
14765         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14766         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14767         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14768         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14769         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14770         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14772         [BZ #17944]
14773         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14774         duplicates ADDR->sun_path with sockaddr LEN limitation.
14775         * sysdeps/mach/hurd/connect.c: Include <string.h>
14776         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14777         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14778         * sysdeps/mach/hurd/sendto.c: Likewise.
14779         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14780         implementing it by hand.
14782 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14784         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14785         Use sfi_breg on ldr.
14786         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14787         Likewise.
14789         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14790         it's defined.
14791         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14792         Test SIGSETXID only if it's defined.
14794         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14796         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14797         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14799         * nptl/tst-align2.c: Moved ...
14800         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14801         * nptl/Makefile (tests): Remove tst-align2.
14802         * sysdeps/unix/sysv/linux/Makefile
14803         [$(subdir) = nptl] (tests): Add tst-align-clone.
14804         * nptl/tst-getpid1.c: Moved ...
14805         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14806         * nptl/tst-getpid2.c: Moved ...
14807         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14808         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14809         * sysdeps/unix/sysv/linux/Makefile
14810         [$(subdir) = nptl] (tests): ... here.
14811         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14812         * sysdeps/unix/sysv/linux/Makefile
14813         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14815         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14816         Drop trailing \n from perror argument.  Use return rather than exit.
14818         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14819         on [SA_SIGINFO].
14820         * nptl/tst-cancel21.c (do_test): Likewise.
14821         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14822         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14823         [!SA_SIGINFO]: Make it a stub test.
14825         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14826         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14828         * posix/tst-getlogin.c: Move to ...
14829         * login/tst-getlogin.c: ... here.
14830         * posix/Makefile (tests): Move tst-getlogin to ...
14831         * login/Makefile (tests): ... here.
14833         * libio/tst-atime.c (do_test): Move local variables SV and E
14834         inside [ST_NOATIME] conditional.
14836         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14838         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14840         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14841         (wait_code): New function replaces macro.
14842         Call nanosleep rather than syscall.
14844         * nptl/pt-system.c: Rewritten.  Put everything under
14845         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14846         Use IFUNC to redirect when possible.
14848         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14849         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14850         Use IFUNC to redirect when possible.
14852         * nptl/pt-fork.c: Rewritten.  Put everything under
14853         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14854         Use IFUNC to redirect when possible.
14855         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14857         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14858         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14859         unconditionally nowadays.  This included the only reference to
14860         __vdso_clock_gettime that appears outside libc proper.
14861         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14862         Remove version set (containing only __vdso_clock_gettime).
14863         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14864         Add attribute_hidden.
14865         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14866         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14867         libc_hidden_data_def.
14868         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14869         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14871         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14872         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14873         setrpcent, and getrpcport to ...
14874         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14875         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14876         getrpcbynumber_r, and getrpcent_r to ...
14877         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14878         * inet/getrpcbyname.c: Moved ...
14879         * sunrpc/getrpcbyname.c: ... here.
14880         * inet/getrpcbyname_r.c: Moved ...
14881         * sunrpc/getrpcbyname_r.c: ... here.
14882         * inet/getrpcbynumber.c: Moved ...
14883         * sunrpc/getrpcbynumber.c: ... here.
14884         * inet/getrpcbynumber_r.c: Moved ...
14885         * sunrpc/getrpcbynumber_r.c: ... here.
14886         * inet/getrpcent.c: Moved ...
14887         * sunrpc/getrpcent.c: ... here.
14888         * inet/getrpcent_r.c: Moved ...
14889         * sunrpc/getrpcent_r.c: ... here.
14890         * inet/Makefile (routines): Move those to ...
14891         * sunrpc/Makefile (routines): ... here.
14892         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14893         the $(subdirs) list.
14894         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14895         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14896         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14897         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14899         * elf/Makefile (routines): Include $(all-dl-routines), not just
14900         $(dl-routines).
14901         (rtld-routines): Likewise.  Use = rather than :=.
14902         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14903         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14904         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14905         * sysdeps/arm/Makefile: Likewise.
14906         * sysdeps/i386/Makefile: Likewise.
14907         * sysdeps/x86_64/Makefile: Likewise.
14908         * sysdeps/hppa/Makefile [$(subdir) = elf]
14909         (sysdep_routines, sysdep-rtld-routines): Don't add
14910         $(sysdep-dl-routines) to these.
14911         * sysdeps/ia64/Makefile: Likewise.
14912         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14913         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14914         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14915         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14916         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14917         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14918         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14919         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14920         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14921         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14922         these; sysdep-dl-routines alone is enough.
14924 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14926         [BZ #17932]
14927         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14928         where multiplication results in zero and third argument is finite
14929         and nonzero.
14930         * math/auto-libm-test-in: Add more tests of fma.
14931         * math/auto-libm-test-out: Regenerated.
14933         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14934         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14935         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14936         (_FP_CMP_EQ): Likewise.
14937         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14939         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14940         extra argument CHECK_NAN.  Redefine as wrapper around
14941         _FP_EXTEND_CNAN.
14943 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14945         * version.h (RELEASE): Set to "stable".
14946         (VERSION): Set to "2.21"
14947         * include/features.h (__GLIBC_MINOR__): Set to 21.
14949         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14951 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14952             Paul Eggert  <eggert@cs.ucla.edu>
14954         [BZ #16618]
14955         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14956         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14957         size in bytes. Store needed elements in wpmax. Use needed size
14958         in bytes for extend_alloca.
14960 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14962         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14963         binutls 2.25, and texinfo 5.2.
14964         * INSTALL: Regenerate.
14965         * sysdeps/nios2/configure: Regenerate.
14966         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14967         * manual/contrib.texi: Update.
14968         * po/be.po: Update.
14969         * po/bg.po: Update.
14970         * po/ca.po: Update.
14971         * po/cs.po: Update.
14972         * po/da.po: Update.
14973         * po/de.po: Update.
14974         * po/el.po: Update.
14975         * po/eo.po: Update.
14976         * po/es.po: Update.
14977         * po/fi.po: Update.
14978         * po/fr.po: Update.
14979         * po/gl.po: Update.
14980         * po/hr.po: Update.
14981         * po/hu.po: Update.
14982         * po/ia.po: Update.
14983         * po/id.po: Update.
14984         * po/it.po: Update.
14985         * po/ja.po: Update.
14986         * po/ko.po: Update.
14987         * po/lt.po: Update.
14988         * po/nb.po: Update.
14989         * po/nl.po: Update.
14990         * po/pl.po: Update.
14991         * po/pt_BR.po: Update.
14992         * po/ru.po: Update.
14993         * po/rw.po: Update.
14994         * po/sk.po: Update.
14995         * po/sl.po: Update.
14996         * po/sv.po: Update.
14997         * po/tr.po: Update.
14998         * po/uk.po: Update.
14999         * po/vi.po: Update.
15000         * po/zh_CN.po: Update.
15001         * po/zh_TW.po: Update.
15003         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15004         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15005         * sysdeps/hppa/dl-irel.h: Remove #warning.
15006         * sysdeps/hppa/entry.h: Provide prototype for
15007         __canonicalize_funcptr_for_compare and cast argument.
15008         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15009         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15010         * sysdeps/hppa/sotruss-lib.c: New file.
15011         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15012         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15013         (atomic_compare_and_exchange_bool_acq): Likewise.
15014         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15015         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15017         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15018         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15019         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15021 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15023         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15024         called function in non-PIC case.
15026 2015-01-31  David S. Miller  <davem@davemloft.net>
15028         * sysdeps/sparc/sparc32/bits/atomic.h
15029         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15030         unlock not after it.
15031         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15032         volatile register usage warnings from the compiler.
15034         * sysdeps/sparc/nptl/sem_init.c: Delete.
15035         * sysdeps/sparc/nptl/sem_post.c: Delete.
15036         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15037         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15038         * sysdeps/sparc/sparc32/sem_init.c: New file.
15039         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15040         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15041         padding explicitly initialized.
15042         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15043         padding for in-semaphore spinlock.
15044         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15045         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15046         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15047         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15048         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15049         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15050         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15051         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15052         version.
15053         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15054         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15056 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15058         [BZ #17801]
15059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15060         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15061         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15062         New.
15063         (index_AVX_Fast_Unaligned_Load): Likewise.
15064         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15065         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15066         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15067         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15068         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15069         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15070         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15071         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15072         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15074 2015-01-29  Andreas Schwab  <schwab@suse.de>
15076         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15078 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15080         [BZ #17892]
15081         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15083 2015-01-28  Martin Sebor  <msebor@redhat.com>
15085         * math/README.libm-test: Clarify. Add "How to read the test output."
15087 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15089         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15090         Define to 0.
15092 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15094         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15095         (__HAVE_64B_ATOMICS): Define to 0.
15097 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15099         [BZ #17885]
15100         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15101         value to set as new flag.
15103         [BZ #16576]
15104         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15105         and use _ARCH_PPCSQ instead.
15106         (__ieee754_sqrt): Likewise.
15107         (__ieee754_sqrtf): Likewise.
15108         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15109         _ARCH_PPCSQ is defined.
15110         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15111         fsqrt instruction.
15112         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15113         _ARCH_PPCSQ is defined.
15114         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15115         fsqrts instruction.
15116         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15118 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15120         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15121         bug (GCC BZ #64739).
15123 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15125         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15126         Mark _retval as used.
15127         (lll_futex_wake_unlock): Likewise.
15128         (lll_futex_timed_wait_requeue_pi): Likewise.
15130         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15131         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15132         register variables.
15134         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15135         libm_hidden_def.
15137         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15138         (__bswap_64): Mark as __always_inline.
15140 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15142         [BZ #15378]
15143         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15144         when none of the search directories exist.
15146 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15148         [BZ #17869]
15149         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15150         power8 in .machine directive.
15152         [BZ #17868]
15153         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15154         set dependency from opd value.
15156 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15159         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15160         architecture.
15162 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15164         [BZ #17870]
15165         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15166         with uint64_t.
15167         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15168         (uint64_t) 1.
15169         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15170         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15171         Replace 1UL with (uint64_t) 1.
15172         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15173         int with uint64_t.
15175 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15177         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15178         (if_freenameindex): Likewise.
15180         * resource/getrlimit64.c: Add missing libc_hidden_def.
15182 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15184         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15185         __label__.
15186         (_FP_FMA): Likewise.
15187         (_FP_TO_INT_ROUND): Likewise.
15188         (_FP_FROM_INT): Likewise.
15190 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15192         [BZ #16418]
15193         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15194         Make code racy and cancel safe.
15196 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15198         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15199         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15200         attribution.
15202         * pwd/tst-getpw.c: Rewrite.
15204         [BZ #17702]
15205         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15206         (modules-names): Add moddummy1 and moddummy2.
15207         ($(objpfx)tst-rec-dlopen): Define.
15208         * dlfcn/moddummy1.c: New file.
15209         * dlfcn/moddummy2.c: New file.
15210         * dlfcn/tst-rec-dlopen.c: New file.
15211         * elf/dl-cache.c (_dl_load_cache_lookup):
15212         Return char*. Copy result with alloca/strcpy/strdup.
15213         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15214         returns char*. Free cached. If not saving realname
15215         free cached.
15216         * elf/dl-open.c (dl_open_worker): Do not assert that
15217         _r_debug->r_state is RT_CONSISTENT.
15218         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15219         returns char*.
15221 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15222             Carlos O'Donell  <carlos@redhat.com>
15224         [BZ #12674]
15225         * nptl/sem_waitcommon.c: New file.
15226         * nptl/sem_wait.c: Include sem_waitcommon.c.
15227         (__sem_wait_cleanup, do_futex_wait): Remove.
15228         (__new_sem_wait): Adapt.
15229         (__new_sem_trywait): New function.
15230         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15231         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15232         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15233         (sem_timedwait): Adapt.
15234         * nptl/sem_post.c (__new_sem_post): Adapt.
15235         (futex_wake): New function.
15236         (__old_sem_post): Add release MO fence.
15237         * nptl/sem_open.c (sem_open): Adapt.
15238         * nptl/sem_init.c (__new_sem_init): Adapt.
15239         (futex_private_if_supported): New function.
15240         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15241         (__old_sem_getvalue): Add using previous code.
15242         * sysdeps/nptl/internaltypes.h: Adapt.
15243         * nptl/tst-sem13.c (do_test): Adapt.
15244         * nptl/tst-sem11.c (main): Adapt.
15245         * nptl/sem_trywait.c: Remove.
15246         * nptl/DESIGN-sem.txt: Remove.
15247         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15248         (gen-as-const-headers): Remove structsem.sym.
15249         * nptl/structsem.sym: Remove.
15250         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15251         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15252         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15253         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15254         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15255         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15256         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15257         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15258         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15259         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15260         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15261         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15262         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15263         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15264         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15265         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15266         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15267         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15268         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15269         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15270         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15271         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15273 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15275         * INSTALL: Regenerated.
15277         * po/libc.pot: Regenerated.
15279 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15280             Sandra Loosemore  <sandra@codesourcery.com>
15281             Andrew Jenner  <andrew@codesourcery.com>
15282             Joseph Myers  <joseph@codesourcery.com>
15283             Nathan Sidwell  <nathan@codesourcery.com>
15285         * NEWS: Mention new Nios II port.
15286         * sysdeps/nios2/Implies: New file.
15287         * sysdeps/nios2/Makefile: New file.
15288         * sysdeps/nios2/Subdirs: New file.
15289         * sysdeps/nios2/Versions: New file.
15290         * sysdeps/nios2/__longjmp.S: New file.
15291         * sysdeps/nios2/abort-instr.h: New file.
15292         * sysdeps/nios2/backtrace.c: New file.
15293         * sysdeps/nios2/bits/endian.h: New file.
15294         * sysdeps/nios2/bits/fenv.h: New file.
15295         * sysdeps/nios2/bits/link.h: New file.
15296         * sysdeps/nios2/bits/setjmp.h: New file.
15297         * sysdeps/nios2/bsd-_setjmp.S: New file.
15298         * sysdeps/nios2/bsd-setjmp.S: New file.
15299         * sysdeps/nios2/configure: New generated file.
15300         * sysdeps/nios2/configure.ac: New file.
15301         * sysdeps/nios2/crti.S: New file.
15302         * sysdeps/nios2/crtn.S: New file.
15303         * sysdeps/nios2/dl-init.c: New file.
15304         * sysdeps/nios2/dl-machine.h: New file.
15305         * sysdeps/nios2/dl-sysdep.h: New file.
15306         * sysdeps/nios2/dl-tls.h: New file.
15307         * sysdeps/nios2/dl-trampoline.S: New file.
15308         * sysdeps/nios2/gccframe.h: New file.
15309         * sysdeps/nios2/gmp-mparam.h: New file.
15310         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15311         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15312         * sysdeps/nios2/ldsodefs.h: New file.
15313         * sysdeps/nios2/libc-tls.c: New file.
15314         * sysdeps/nios2/libm-test-ulps: New file.
15315         * sysdeps/nios2/machine-gmon.h: New file.
15316         * sysdeps/nios2/math-tests.h: New file.
15317         * sysdeps/nios2/math_private.h: New file.
15318         * sysdeps/nios2/memusage.h: New file.
15319         * sysdeps/nios2/nptl/Makefile: New file.
15320         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15321         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15322         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15323         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15324         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15325         * sysdeps/nios2/nptl/tls.h: New file.
15326         * sysdeps/nios2/preconfigure: New file.
15327         * sysdeps/nios2/s_fma.c: New file.
15328         * sysdeps/nios2/s_fmaf.c: New file.
15329         * sysdeps/nios2/setjmp.S: New file.
15330         * sysdeps/nios2/sfp-machine.h: New file.
15331         * sysdeps/nios2/sotruss-lib.c: New file.
15332         * sysdeps/nios2/stackguard-macros.h: New file.
15333         * sysdeps/nios2/stackinfo.h: New file.
15334         * sysdeps/nios2/start.S: New file.
15335         * sysdeps/nios2/sysdep.h: New file.
15336         * sysdeps/nios2/tls-macros.h: New file.
15337         * sysdeps/nios2/tst-audit.h: New file.
15338         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15339         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15340         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15341         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15342         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15343         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15344         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15345         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15346         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15347         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15348         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15349         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15350         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15351         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15352         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15353         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15354         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15355         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15356         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15357         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15358         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15359         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15360         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15361         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15362         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15363         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15364         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15365         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15366         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15367         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15368         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15369         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15370         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15371         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15372         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15373         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15374         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15375         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15376         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15377         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15378         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15379         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15380         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15381         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15383 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15385         [BZ #17844]
15386         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15387         (getutent): Use weak_alias in non SHARED case
15388         and default_symbol_version in SHARED case.
15389         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15390         (getutent_r, pututline): Likewise.
15391         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15392         (getutid): Likewise.
15393         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15394         (getutid_r): Likewise.
15395         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15396         (getutline): Likewise.
15397         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15398         (getutline_r): Likewise.
15399         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15400         (updwtmp): Likewise.
15402 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15404         [BZ #17848]
15405         * sysdeps/s390/s390-32/memcmp.S
15406         (memcmp_g5): Rename to __memcmp_g5.
15407         * sysdeps/s390/s390-32/memcpy.S
15408         (memcpy_g5): Rename to __memcpy_g5.
15409         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15410         (memcpy_mvcle) Rename to __memcpy_mvcle.
15411         * sysdeps/s390/s390-32/memset.S
15412         (memset_g5): Rename to __memset_g5.
15413         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15414         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15415         and use prefixed functions.
15416         * sysdeps/s390/s390-32/multiarch/memcmp.S
15417         (memcmp_z196): Rename to __memcmp_z196.
15418         (memcmp_z10): Rename to __memcmp_z10.
15419         (memcmp): Set alias to __memcmp_g5.
15420         (bcmp): Set alias to __memcmp_g5.
15421         * sysdeps/s390/s390-32/multiarch/memcpy.S
15422         (memcpy_z196): Rename to __memcpy_z196.
15423         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15424         (memcpy_z10): Rename to __memcpy_z10.
15425         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15426         (memcpy): Set alias to __memcpy_g5.
15427         * sysdeps/s390/s390-32/multiarch/memset.S
15428         (memset_z196): Rename to __memset_z196.
15429         Jump to __memset_mvcle instead of memset_mvcle.
15430         (memset_z10): Rename to __memset_z10.
15431         Jump to __memset_mvcle instead of memset_mvcle.
15432         (memset_mvcle) Rename to __memset_mvcle.
15433         (memset): Set alias to __memset_g5.
15434         * sysdeps/s390/s390-64/memcmp.S
15435         (memcmp_z900): Rename to __memcmp_z900.
15436         * sysdeps/s390/s390-64/memcpy.S
15437         (memcpy_z900): Rename to __memcpy_z900.
15438         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15439         (memcpy_mvcle) Rename to __memcpy_mvcle.
15440         * sysdeps/s390/s390-64/memset.S
15441         (memset_z900): Rename to __memset_z900.
15442         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15443         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15444         and use prefixed functions.
15445         * sysdeps/s390/s390-64/multiarch/memcmp.S
15446         (memcmp_z196): Rename to __memcmp_z196.
15447         (memcmp_z10): Rename to __memcmp_z10.
15448         (memcmp): Set alias to __memcmp_z900.
15449         (bcmp): Set alias to __memcmp_z900.
15450         * sysdeps/s390/s390-64/multiarch/memcpy.S
15451         (memcpy_z196): Rename to __memcpy_z196.
15452         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15453         (memcpy_z10): Rename to __memcpy_z10.
15454         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15455         (memcpy): Set alias to __memcpy_z900.
15456         * sysdeps/s390/s390-64/multiarch/memset.S
15457         (memset_z196): Rename to __memset_z196.
15458         Jump to __memset_mvcle instead of memset_mvcle.
15459         (memset_z10): Rename to __memset_z10.
15460         Jump to __memset_mvcle instead of memset_mvcle.
15461         (memset_mvcle) Rename to __memset_mvcle.
15462         (memset): Set alias to __memset_z900.
15464 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15466         [BZ #17748]
15467         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15468         __fesetenv instead of fesetenv.
15470 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15472         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15473         macro.
15475 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15477         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15478         regression on LE.
15480         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15481         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15482         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15483         strncmp-power8 object.
15484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15485         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15486         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15487         * NEWS: Update.
15489 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15490             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15492         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15493         trailing byte check.
15495 2015-01-13  David S. Miller  <davem@davemloft.net>
15497         * include/signal.h (__sigreturn): Guard with __USE_MISC.
15499 2015-01-13  Roland McGrath  <roland@hack.frob.com>
15501         * login/logout.c (logout): Use memset rather than bzero.
15502         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15503         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15504         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15505         (_gethtbyaddr): Likewise.
15506         * locale/programs/simple-hash.c (bcopy): Macro removed.
15508 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15510         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15511         Add strcmp-power8 object.
15512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15513         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15514         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15515         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15516         __strcmp_power8 implementation.
15517         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15518         * NEWS: Update.
15520         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15521         Add strncpy-power8 and stpncpy-power8 objects.
15522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15523         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15524         implementations.
15525         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15526         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15527         __stpncpy_power8 implementation.
15528         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15529         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15530         __strncpy_power8 implementation.
15531         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15532         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15533         * NEWS: Update.
15535         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15536         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15537         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15539         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15540         strncat-power8 object.
15541         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15542         __strcat_power8 implementation.
15543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15544         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15545         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15546         optimized strcat for power8.
15548         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15549         strcpy-power8 and stpcpy-power8 objects.
15550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15551         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15552         implementations.
15553         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15554         multiarch stpcpy implementation for POWER8.
15555         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15556         multiarch strcpy implementation for POWER8.
15557         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15558         __strcpy_power8 function.
15559         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15560         stpcpy for POWER8.
15561         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15562         strcpy for POWER8.
15563         * NEWS: Update.
15565 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15567         [BZ #16009]
15568         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15569         weights and rules. Use do_xfrm_cached if data fits in cache,
15570         do_xfrm otherwise.  Moved former main loop to...
15571         * (do_xfrm_cached): New function.
15572         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15573         find_idx, find_position and stack_push.
15574         * (find_idx): New function.
15575         * (find_position): Likewise.
15576         * localedata/sort-test.sh: Added test run for do_xfrm.
15577         * localedata/xfrm-test.c (main): Added command line option
15578         -nocache to run the test with strings that are too large for
15579         the STRXFRM cache.
15581 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15583         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15584         variable to lll_futex_wake call, not the value itself.
15586 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15588         [BZ #17803]
15589         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15590         twom64.  Adjust value to 0x1p-64L.
15591         (__scalblnl): Only return standard underflowing result for K <=
15592         -64 not K <= -63; adjust exponent for underflowing result by 64
15593         not 63.
15594         * math/libm-test.inc (scalbn_test_data): Add more tests.
15595         (scalbln_test_data): Likewise.
15597         [BZ #17834]
15598         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15599         0x1p63L.
15600         (__scalblnl): Get new exponent of adjusted subnormal value from ES
15601         not HX.
15602         * math/libm-test.inc (scalbn_test_data): Add more tests.
15603         (scalbln_test_data): Likewise.
15605 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15606             Stefani Seibold  <stefani@seibold.net>
15608         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15609         (sysdep_routines): Add dl-vdso here, ...
15610         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15611         (sysdep_routines): ... not here.
15612         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15613         fallback when vDSO is not presented.
15614         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15615         Define with libc_hidden_proto/libc_hidden_data_def definitions.
15616         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15617         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15618         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15619         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15620         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15621         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15622         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15624         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
15625         fallback configurable symbol when vDSO is not available.
15626         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15627         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
15628         be able to redefine fallback symbol when vDSO is not available.
15629         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15630         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15632 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15634         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
15635         (TLS_INIT_TP): Add tm_capable initialization.
15636         (TLS_DEFINE_INIT_TP): Likewise.
15637         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
15638         TCB.
15639         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
15640         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
15641         calculation.
15642         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
15643         transactoion is lock elision is built and TCB tm_capable is set.
15644         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
15645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15646         (INTERNAL_SYSCALL_NCS): Likewise.
15647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15648         (INTERNAL_SYSCALL_NCS): Likewise.
15649         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15651         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15652         for powerpc.
15653         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15654         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15655         and remove it for 32 bits case.
15656         [pthread_rwlock_t] (__rwelision): New field for lock elision.
15657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15658         initialization.
15659         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15660         Disable lock elision with rdlocks if elision is not available.
15662         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15663         (sysdep_routines): Add lock elision objects.
15664         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15665         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15666         [pthread_mutex_t] (__elision): Add field.
15667         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15668         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15669         elision definitions for powerpc.
15670         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15671         implementation of lock elision for powerpc.
15672         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15673         implementation of timed lock elision for powerpc.
15674         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15675         implementation of trylock with lock elision for powerpc.
15676         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15677         implementaion of unlock for lock elision for powerpc.
15678         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15679         automatic enable lock elision for mutexes.
15680         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15681         transaction execution definitions for powerpc.
15682         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15683         definitions.
15684         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15685         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15686         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15687         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15688         * NEWS: Update.
15690 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15692         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15693         for #include of <shm-directory.h>.
15695 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15697         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15698         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15700 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15702         [BZ #17791]
15703         * NEWS: Mention bug fix.
15704         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15705         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15706         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15708 2015-01-09  Torvald Riegel <triegel@redhat.com>
15710         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15712 2015-01-09  Torvald Riegel <triegel@redhat.com>
15714         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15716 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15718         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15719         pointer and cast to uintptr_t.
15721 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15723         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15724         removed.
15725         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15727 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15729         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15730         of 0.
15732 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15734         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15735         <nptl/pthreadP.h> instead.
15736         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15738         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15739         already defined.
15740         [__SIGRTMIN] (init): Function removed.
15741         [__SIGRTMIN] (initialized): Variable removed.
15742         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15743         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15744         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15745         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15746         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15747         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15748         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15749         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15750         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15751         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15752         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15753         * sysdeps/nptl/allocrtsig.c: New file.
15754         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15755         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15756         * sysdeps/generic/testrtsig.h: File removed.
15758         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15759         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15761         * nptl/nptl-init.c (pthread_functions): Conditionalize
15762         .ptr__nptl_setxid initialization on [SIGSETXID].
15764         * sysdeps/nptl/sys/procfs.h: New file.
15765         * nptl_db/Makefile (headers): Add it.
15766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15768         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15769         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15770         * nptl/pthread_attr_setaffinity.c: Include it.
15771         * nptl/pthread_setattr_default_np.c: Likewise.
15772         * nptl/check-cpuset.h: New file.
15774 2015-01-08  Richard Henderson  <rth@redhat.com>
15776         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15777         (CFLAGS-tst-execstack-prog.c): Likewise.
15778         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15780 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15781             Sandra Loosemore  <sandra@codesourcery.com>
15782             Andrew Jenner  <andrew@codesourcery.com>
15783             Joseph Myers  <joseph@codesourcery.com>
15784             Nathan Sidwell  <nathan@codesourcery.com>
15786         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15787         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15788         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15789         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15790         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15791         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15792         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15793         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15794         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15795         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15796         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15797         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15798         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15799         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15800         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15801         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15802         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15804 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15806         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15807         timespec struct member in syscall macro.
15808         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15809         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15810         first timeval struct member in syscall macro.
15811         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15813 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15815         [BZ #17748]
15816         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15817         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15818         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15819         __feupdateenv and define as weak alias of __feupdateenv.  Use
15820         libm_hidden_weak.
15821         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15822         libm_hidden_def.
15823         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15824         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15825         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15826         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15827         libm_hidden_def.
15828         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15829         __feupdateenv and define as weak alias of __feupdateenv.  Use
15830         libm_hidden_weak.
15831         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15832         libm_hidden_def.
15833         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15834         __feupdateenv and define as weak alias of __feupdateenv.  Use
15835         libm_hidden_weak.
15836         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15837         libm_hidden_def.
15838         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15839         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15840         (__feupdateenv): Likewise.
15841         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15842         __feupdateenv and define as weak alias of __feupdateenv.  Use
15843         libm_hidden_weak.
15844         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15845         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15846         libm_hidden_def.
15847         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15848         function.
15849         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15850         libm_hidden_def.
15851         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15852         __feupdateenv instead of feupdateenv.
15853         (default_libc_feupdateenv_test): Likewise.
15854         (libc_feresetround_ctx): Likewise.
15856 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15858         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15859         prototype.
15861 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15863         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15864         COLL_SYM in a couple of places to avoid uninitialized variable
15865         wanings on tilegx gcc 4.8.2.
15867 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15869         * sysdeps/aarch64/strcpy.S: New file.
15870         * sysdeps/aarch64/stpcpy.S: New file.
15871         * NEWS: Updated.
15873 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15875         * sysdeps/aarch64/strrchr.S: New file.
15876         * NEWS: Updated.
15878 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15880         [BZ #17658]
15881         * stdlib/setenv.c: Fix memory leak when setting large,
15882         duplicate string.
15884 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15886         [BZ #17273]
15887         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15888         and tabs from buffer before parsing fstab entry.
15889         * misc/tst-mntent.c (main): Add test for mount entry with
15890         trailing spaces and tabs.
15892 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15894         [BZ #17748]
15895         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15896         * math/fesetround.c (fesetround): Rename to __fesetround and
15897         define as weak alias of __fesetround.  Use libm_hidden_weak.
15898         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15899         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15900         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15901         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15902         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15903         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15904         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15905         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15906         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15907         __fesetround_inline.
15908         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15909         __fesetround_inline instead of __fesetround.
15910         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15911         __fesetround and define as weak alias of __fesetround.  Use
15912         libm_hidden_weak.  Call __fesetround_inline instead of
15913         __fesetround.
15914         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15915         __fesetround and define as weak alias of __fesetround.  Use
15916         libm_hidden_weak.
15917         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15918         Likewise.
15919         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15920         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15921         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15922         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15923         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15924         __fesetround and define as weak alias of __fesetround.  Use
15925         libm_hidden_weak.
15926         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15927         __fesetround instead of fesetround.
15928         (default_libc_feholdexcept_setround): Likewise.
15929         (libc_feholdsetround_ctx): Likewise.
15930         (libc_feholdsetround_noex_ctx): Likewise.
15932         [BZ #17748]
15933         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15934         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15935         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15936         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15937         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15938         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15939         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15940         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15941         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15942         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15943         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15944         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15945         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15946         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15947         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15948         libm_hidden_def.
15949         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15950         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15951         Likewise.
15952         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15953         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15954         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15955         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15956         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15957         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15958         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15959         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15960         __fesetenv instead of fesetenv.
15961         (libc_feresetround_noex_ctx): Likewise.
15962         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15963         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15964         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15965         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15966         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15967         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15968         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15969         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15970         (__feupdateenv): Likewise.
15971         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15972         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15973         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15974         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15976 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15978         [BZ #17806]
15979         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15980         addresses have been freed.
15982 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15984         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15985         and nservall.
15987 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15989         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15990         Clean up check_pf allocation pattern. addresses
15992 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15994         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15995         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15996         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15997         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15998         * nptl/pthread_join.c (pthread_join): Likewise.
15999         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16000         * sysdeps/posix/waitid.c (__waitid): Likewise.
16001         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16002         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16003         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16004         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16005         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16006         Likewise.
16007         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16008         (__libc_pread64): Likewise.
16009         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16010         (__libc_pwrite): Likewise.
16011         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16012         (__libc_pwrite64): Likewsie.
16013         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16014         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16015         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16016         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16017         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16018         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16019         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16021         Likewise.
16022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16023         (__libc_pread64): Likewise.
16024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16025         Likewise.
16026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16027         (__libc_pwrite64): Likewise.
16028         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16029         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16030         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16031         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16032         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16033         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16034         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16035         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16036         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16037         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16038         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16039         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16040         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16041         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16042         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16043         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16044         Likewise.
16046 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16048         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16049         (CFLAGS-test-double.c): Likewise.
16050         (CFLAGS-test-ldouble.c): Likewise.
16051         (CPPFLAGS-test-ifloat.c): Likewise.
16052         (CPPFLAGS-test-idouble.c): Likewise.
16053         (CPPFLAGS-test-ildoubl.c): Likewise.
16054         (CFLAGS-test-test-fenv.c): Remove variable.
16055         (CFLAGS-test-misc.c): Likewise.
16057 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16059         [BZ #17797]
16060         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16061         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16062         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16063         CLOCKS_PER_SEC == 1000000.
16064         * time/clocktest.c (main): Replace %ld with %jd and cast to
16065         intmax_t.
16067 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16069         * sysdeps/generic/unwind-resume.h: New file.
16070         * sysdeps/gnu/unwind-resume.c: Include it.
16071         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16072         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16073         argument list.
16074         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16075         global rather than static.
16076         (_Unwind_Resume): Update user.
16077         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16078         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16079         rather than static.  Add __attribute__ ((cold)).
16080         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16081         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16082         * sysdeps/arm/arm-unwind-resume.S: New file.
16083         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16084         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16085         * sysdeps/arm/Makefile [$(subdir) = csu]
16086         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16087         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16088         Add rt-arm-unwind-resume.
16089         [$(subdir) = nptl]
16090         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16091         Add pt-arm-unwind-resume.
16092         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16093         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16095 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16097         [BZ #17748]
16098         * include/fenv.h (__feholdexcept): Declare.  Use
16099         libm_hidden_proto.
16100         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16101         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16102         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16103         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16104         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16105         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16106         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16107         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16108         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16109         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16110         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16111         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16112         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16113         (feholdexcept): Likewise.
16114         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16115         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16116         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16117         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16118         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16119         __feholdexcept instead of feholdexcept.
16120         (default_libc_feholdexcept_setround): Likewise.
16122 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16124         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16125         to avoid using stl/str to align destination.
16127 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16129         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16131 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16133         [BZ #17796]
16134         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16135         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16136         Define as weak alias not strong alias.
16138 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16140         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16141         bltzal with addiupc.
16142         (RTLD_START): Ditto.
16144 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16146         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16147         for __vdso_* functions in declarations.
16148         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16149         definitions.
16150         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16151         INTERNAL_VSYSCALL): Use struct return types to check for error.
16153         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16154         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16155         function with cast from llround().
16156         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16157         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16158         Define.
16160 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16162         [BZ #17793]
16163         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16164         Define as weak alias not strong alias.
16166         [BZ #17635]
16167         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16168         ...
16169         * ctype/ctype-extn.c: ... here.
16170         (__isblank_l): Move to ...
16171         * ctype/ctype-c99_l.c: ... here.  New file.
16172         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16173         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16174         Remove variable.
16175         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16176         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16177         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16178         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16179         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16181         [BZ #17777]
16182         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16183         (posix_fadvise64): Define as weak alias not strong alias.
16184         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16185         (posix_fallocate64): Likewise.
16186         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16187         Remove variable.
16188         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16189         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16190         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16191         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16192         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16194 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16196         [BZ #16191]
16197         * NEWS: Mention bug fix.
16198         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16199         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16200         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16201         (HOST_STACK_END_ADDR): Likewise.
16203 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16205         [BZ #17748]
16206         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16207         * math/fegetround.c (fegetround): Rename to __fegetround and
16208         define as weak alias of __fegetround.  Use libm_hidden_weak.
16209         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16210         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16211         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16212         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16213         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16214         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16215         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16216         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16217         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16218         Undefine after rather than before function definition; use
16219         parentheses around function name in definition.
16220         (__fegetround): Also undefine macro after function definition.
16221         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16222         __fegetround and define as weak alias of __fegetround.  Use
16223         libm_hidden_weak.  Do not undefine as macro.
16224         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16225         Likewise.
16226         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16227         __fegetround and define as weak alias of __fegetround.  Use
16228         libm_hidden_weak.
16229         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16230         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16231         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16232         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16233         __fegetround and define as weak alias of __fegetround.  Use
16234         libm_hidden_weak.
16235         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16236         __fegetround instead of fegetround.
16238         [BZ #17782]
16239         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16240         Condition macro definition on [__USE_MISC].
16242         [BZ #17781]
16243         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16244         (struct sigaction): Change type of sa_flags field to int.
16246         [BZ #17780]
16247         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16248         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16249         __glibc_reserved0.
16251         * nptl/version.c (banner): Use single year in copyright notice.
16253         * NEWS: Update copyright dates.
16254         * catgets/gencat.c (print_version): Likewise.
16255         * csu/version.c (banner): Likewise.
16256         * debug/catchsegv.sh: Likewise.
16257         * debug/pcprofiledump.c (print_version): Likewise.
16258         * debug/xtrace.sh (do_version): Likewise.
16259         * elf/ldconfig.c (print_version): Likewise.
16260         * elf/ldd.bash.in: Likewise.
16261         * elf/pldd.c (print_version): Likewise.
16262         * elf/sotruss.sh: Likewise.
16263         * elf/sprof.c (print_version): Likewise.
16264         * iconv/iconv_prog.c (print_version): Likewise.
16265         * iconv/iconvconfig.c (print_version): Likewise.
16266         * locale/programs/locale.c (print_version): Likewise.
16267         * locale/programs/localedef.c (print_version): Likewise.
16268         * login/programs/pt_chown.c (print_version): Likewise.
16269         * malloc/memusage.sh (do_version): Likewise.
16270         * malloc/memusagestat.c (print_version): Likewise.
16271         * malloc/mtrace.pl: Likewise.
16272         * manual/libc.texinfo: Likewise.
16273         * nptl/version.c (banner): Likewise.
16274         * nscd/nscd.c (print_version): Likewise.
16275         * nss/getent.c (print_version): Likewise.
16276         * nss/makedb.c (print_version): Likewise.
16277         * posix/getconf.c (main): Likewise.
16278         * scripts/test-installation.pl: Likewise.
16279         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16281 2015-01-02  Will Newton  <will.newton@linaro.org>
16283         * sysdeps/arm/armv7/configure: Removed.
16284         * sysdeps/arm/armv7/configure.ac: Likewise.
16286 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16288         * All files with FSF copyright notices: Update copyright dates
16289         using scripts/update-copyrights.
16290         * intl/plural.c: Regenerated.
16291         * locale/programs/charmap-kw.h: Likewise.
16292         * locale/programs/locfile-kw.h: Likewise.
16294 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16296         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16298 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16300         [BZ #17748]
16301         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16302         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16303         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16304         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16305         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16306         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16307         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16308         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16309         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16310         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16311         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16312         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16313         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16314         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16315         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16316         libm_hidden_def.
16317         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16318         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16319         Likewise.
16320         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16321         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16322         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16323         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16324         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16325         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16326         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16327         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16328         __fegetenv instead of fegetenv.
16329         (libc_feholdsetround_noex_ctx): Likewise.
16331 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16333         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16334         (Elf_MIPS_ABIFlags_v0): New structure.
16335         (EF_MIPS_FP64): Define.
16336         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16337         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16338         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16339         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16340         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16341         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16342         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16343         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16344         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16345         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16346         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16347         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16348         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16349         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16350         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16351         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16352         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16353         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16354         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16355         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16356         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16357         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16358         field.
16359         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16360         EF_MIPS_FP64.
16361         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16362         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16363         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16364         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16365         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16366         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16367         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16368         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16369         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16370         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16371         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16372         record the current FP ABI extension.
16373         (mips-mode-switch): Define to show if kernel headers support mode
16374         switching.
16375         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16376         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16377         supported SYSV ABI version to 3.
16378         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16379         feature.
16381 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16382             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16384         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16385         path.
16386         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16388 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16390         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16391         __fegetround and redefine to call __fegetround.  Remove condition
16392         on [!__NO_MATH_INLINES].
16393         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16394         function.
16395         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16396         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16397         Remove macro.
16398         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16399         instead of <fenv_libc.h>.
16400         (__llrintl): Call fegetround instead of __fegetround.
16401         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16402         instead of <fenv_libc.h>.
16403         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16404         (__lrintl): Call fegetround instead of __fegetround.
16405         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16406         instead of <fenv_libc.h>.
16407         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16408         (__rintl): Call fegetround instead of __fegetround.
16410 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16412         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16413         arrays.
16415 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16417         [BZ #17775]
16418         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16419         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16420         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16422 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16424         * sysdeps/i386/tls-macros.h: Include <features.h>.
16425         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16426         (TLS_IE): Likewise.
16427         (TLS_LD): Likewise.
16428         (TLS_GD): Likewise.
16429         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16430         define for GCC >= 5.0.
16432 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16434         * math/test-fenv.c (test_single_exception, set_single_exc,
16435         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16436         feexcp_mask_test, feenable_test, fe_single_test): Add
16437         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16438         case where they are not used.
16439         * math/libm-test.inc: Likewise.
16440         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16441         unused in the absence of FP rounding/exception support.
16442         * stdio-common/tst-printf-round.c: Likewise.
16443         * stdlib/tst-strtod-round.c: Likewise.
16444         * stdlib/tst-strtod-underflow.c: Likewise.
16446 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16448         [BZ #17723]
16449         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16450         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16451         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16452         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16453         libm_hidden_weak.
16454         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16455         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16456         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16457         libm_hidden_def.
16458         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16459         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16460         libm_hidden_weak.
16461         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16462         Likewise.
16463         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16464         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16465         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16466         libm_hidden_weak.
16467         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16468         libm_hidden_def.
16469         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16470         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16471         (__feraiseexcept): Likewise.
16472         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16473         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16474         libm_hidden_weak.
16475         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16476         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16477         libm_hidden_def.
16478         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16479         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16480         Use libm_hidden_def.
16481         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16482         libm_hidden_def.
16483         (feraiseexcept): Define as weak not strong alias.  Use
16484         libm_hidden_weak.
16485         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16486         New inline function.  Factored out of ...
16487         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
16488         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16489         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16490         feraiseexcept.
16491         * math/w_acos.c (__acos): Likewise.
16492         * math/w_asin.c (__asin): Likewise.
16493         * math/w_ilogb.c (__ilogb): Likewise.
16494         * math/w_j0.c (y0): Likewise.
16495         * math/w_j1.c (y1): Likewise.
16496         * math/w_jn.c (yn): Likewise.
16497         * math/w_log.c (__log): Likewise.
16498         * math/w_log10.c (__log10): Likewise.
16499         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16500         * sysdeps/aarch64/fpu/math_private.h
16501         (libc_feupdateenv_test_aarch64): Likewise.
16502         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16503         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16504         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16505         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16506         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16507         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16508         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16509         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16510         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16511         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16513 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16515         [BZ #17732]
16516         * io/test-utime.c (main): Replace %ld with %jd and cast to
16517         intmax_t.
16518         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16519         * nptl/tst-mutex5.c: Include <stdint.h>.
16520         (do_test): Replace %ld with %jd and cast to intmax_t.
16521         * posix/tst-regex.c (run_test): Likewise.
16522         (run_test_backwards): Likewise.
16523         * rt/tst-clock.c: Include <stdint.h>.
16524         (clock_test): Replace %ld with %jd and cast to intmax_t.
16525         * rt/tst-cpuclock1.c: Include <stdint.h>.
16526         (do_test): Replace %lu with %ju and cast to uintmax_t.
16527         * rt/tst-cpuclock2.c: Include <stdint.h>.
16528         (do_test): Replace %lu with %ju and cast to uintmax_t.
16529         * rt/tst-mqueue1.c: Include <stdint.h>.
16530         (check_attrs): Replace %ld with %jd and cast to intmax_t.
16531         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16532         intmax_t.
16533         * rt/tst-mqueue4.c (do_test): Likewise.
16534         * rt/tst-timer4.c: Include <stdint.h>.
16535         (check_ts): Replace %ld with %jd and cast to intmax_t.
16536         (do_test): Likewise.
16537         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16538         and cast to intmax_t.
16539         * sysdeps/pthread/tst-timer.c (main): Likewise.
16540         * time/clocktest.c (main): Likewise.
16541         * time/tst-posixtz.c (do_test): Likewise.
16542         * timezone/tst-timezone.c (main): Likewise.
16544 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16545             H.J. Lu  <hongjiu.lu@intel.com>
16547         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16548         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16549         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16550         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16551         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16552         version if bit_Fast_Unaligned_Load is set.
16553         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16554         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16555         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16556         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16557         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16558         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16560         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16561         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16562         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16563         to 4.
16564         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16565         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16566         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16567         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16569 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16571         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16572         instead of #if to avoid a Wundef warning.
16573         * stdlib/tst-limits.c (do_test): Likewise.
16575         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16576         parallel other exception macros.
16577         (fegetenv): Convert from macro to extern inline so that it applies
16578         retroactively to inline functions already seen by the compiler.
16579         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16581         * posix/Makefile (before-compile): Use $(objpfx) for
16582         posix-conf-vars-def.h.
16584 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16586         * posix/getconf.c (main): Use size_t for type of I.
16587         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16588         NSPEC.
16590         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16591         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16592         * posix/posix-envs.def: Likewise.
16593         * sysdeps/posix/sysconf.c: Likewise.
16594         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16595         (specs): Remove array.
16596         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16597         array.
16599         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16600         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16601         (__sysconf): Use CONF_IS_* macros.
16603         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16604         ($(objpfx)posix-conf-vars-def.h): New target.
16605         * posix/posix-conf-vars.list: New file.
16606         * posix/posix-conf-vars.h: New file.
16607         * posix/confstr.c: Include posix-conf-vars.h.
16608         (confstr): Use CONF_IS_* macros.
16609         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
16610         CONF_IS_* macros.
16611         * scripts/gen-posix-conf-vars.awk: New file.
16613 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
16615         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16616         fegetround): Add no-op macros to avoid linknamespace issues.
16618         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16619         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16621         * sysdeps/unix/sysv/linux/tile/sysdep.h
16622         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16623         assembly-specific section to avoid a redefinition warning.
16625         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16626         long before casting to pointer to avoid a cast warning.
16628 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
16630         * sysdeps/tile/tilegx/Implies: New file.
16632 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
16634         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
16636 2014-12-23  Florian Weimer  <fweimer@redhat.com>
16638         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
16640 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16642         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
16643         not define.
16644         * sysdeps/unix/sysv/linux/utimes.c: Do not include
16645         <kernel-features.h>.
16646         (__utimes) [__NR_utimes]: Make code unconditional.
16647         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
16648         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16649         (__ASSUME_UTIMES): Do not undefine.
16650         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16651         (__ASSUME_UTIMES): Likewise.
16652         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16653         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16654         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16655         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16657 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16659         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16661 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16663         [BZ #17747]
16664         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16665         alias to weak alias for j0l, y0l.
16666         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16667         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16669         [BZ #17746]
16670         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16671         conversion.
16673 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16675         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16676         to zero if not already defined.
16678 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16680         [BZ #17724]
16681         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16682         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16683         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16684         (char *) casts added.
16685         * sysdeps/ieee754/k_standardf.c: New file.
16686         * sysdeps/ieee754/k_standardl.c: Likewise.
16687         * math/Makefile (libm-support): Remove k_standard.
16688         (libm-calls): Add k_standard.
16690 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16692         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16693         Optimize to avoid an unnecessary FPCR read.
16695 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16697         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16698         Optimize to reduce FPCR/FPSR accesses.
16700 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16702         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16703         Call libc_fetestexcept_aarch64.
16705 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16707         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16708         Call libc_fesetround_aarch64.
16710 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16712         [BZ #17733]
16713         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16714         (__bind): Do not define as weak alias.
16715         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16716         define.
16717         (__getsockname): Do not define as weak alias.
16719 2014-12-22  Will Newton  <will.newton@linaro.org>
16721         * manual/install.texi: Document that we require bison 2.7
16722         or above.
16723         * INSTALL: Regenerate.
16724         * configure.ac: Use AC_CHECK_PROG_VER instead of
16725         AC_PATH_PROG when checking for bison and check for
16726         version 2.7 or above.
16727         * configure: Regenerate.
16729 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16731         [BZ #17745]
16732         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16733         * sysdeps/tile/ffsll.c (ffsll): To here.
16735         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16737 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16739         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16740         if not defined.
16741         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16742         definition.
16743         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16744         hidden ___tls_get_addr.
16745         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16746         hidden __tls_get_addr.
16747         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16748         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16749         Likewise.
16751 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16753         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16754         _dl_init call.
16756 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16758         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16759         from "call _dl_init@PLT".
16760         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16762 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16764         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16765         guarantees.
16767 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16769         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16771 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16773         [BZ #17744]
16774         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16775         strnlen.
16777 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16779         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16780         of multu on MIPSr6.
16781         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16782         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16783         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16784         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16785         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16787 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16789         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16790         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16791         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16792         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16793         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16794         mips32r6/mips64r6.
16795         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16797 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16799         * string/strncat.c (STRNCAT): Simplify implementation.
16801 2014-12-19  David S. Miller  <davem@davemloft.net>
16803         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16804         access the quad as both a long double and as a series of 4 words.
16806         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16807         link_map->l_info array access.
16809 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16811         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16813         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16814         * math/atest-exp2.c (TIMEOUT): Likewise.
16815         * math/atest-sincos.c (TIMEOUT): Likewise.
16817 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16819         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16820         -Wno-error with -fno-builtin-lround.
16822 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16824         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16825         Contains futex constants and functions moved over from ...
16826         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16827         <lowlevellock-futex.h>.
16828         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16829         (lll_timedwait_tid): Add comments and parentheses around macro
16830         arguments.
16832 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16834         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16835         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16836         (__lll_private_flag): Remove.
16837         (lll_futex_wait): Likewise.
16838         (lll_futex_timed_wait): Likewise.
16839         (lll_futex_wake): Likewise.
16840         (lll_futex_requeue): Likewise.
16841         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16842         (__lll_timedwait_tid): Spell out argument names.
16843         (lll_timedwait_tid): Add comments and parentheses around macro
16844         arguments.
16845         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16846         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16848 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16850         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16851         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16852         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16853         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16854         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16855         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16856         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16857         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16858         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16859         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16860         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16861         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16862         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16863         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16864         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16865         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16866         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16867         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16868         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16870 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16872         * sysdeps/x86_64/x32/Makefile: New file.
16874 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16876         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16877         1L with (mp_limb_t) 1.
16879 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16881         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16882         * nptl/libc_pthread_init.c: ... here.
16883         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16884         * nptl/register-atfork.c: ... here.
16886         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16887         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16888         Use assert_perror to check its return value.
16889         (__gai_create_helper_thread): Likewise.
16891         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16893         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16895 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16897         [BZ #17725]
16898         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16899         __profil_counter.
16900         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16901         Likewise.
16902         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16903         Likewise.
16904         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16905         Likewise.
16906         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16907         (profil_counter): Likewise.
16908         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16909         (profil_counter): Likewise.
16910         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16911         Likewise.
16912         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16913         Likewise.
16914         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16915         (profil_counter): Likewise.
16916         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16917         Likewise.
16918         [!__profil_counter] (profil_counter): Define as weak alias of
16919         __profil_counter.
16920         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16921         (profil_counter): Rename to __profil_counter.
16922         [!__profil_counter] (profil_counter): Define as weak alias of
16923         __profil_counter.
16924         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16925         (profil_counter): Rename to __profil_counter.
16926         [!__profil_counter] (profil_counter): Define as weak alias of
16927         __profil_counter.
16928         * sysdeps/posix/profil.c: Update comment referring to
16929         profil_counter.
16930         (__profil): Use __profil_counter instead of profil_counter.
16931         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16932         __profil_counter.  Use __profil_counter_ushort and
16933         __profil_counter_uint in definitions.
16934         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16935         instead of profil_counter_uint and profil_counter_ushort.
16937         [BZ #17722]
16938         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16939         define as weak alias of __inet_makeaddr.
16940         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16941         as weak alias of __inet_addr.
16942         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16943         as weak alias of __inet_pton.  Use libc_hidden_weak.
16944         * include/arpa/inet.h (__inet_pton): Declare.  Use
16945         libc_hidden_proto.
16946         (inet_makeaddr): Don't use libc_hidden_proto.
16947         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16948         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16949         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16950         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16951         Remove variable.
16952         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16953         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16955 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16957         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16959 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16961         * stdio-common/bug-vfprintf-nargs.c (do_test):
16962         Cast value to intptr_t to avoid format warning
16963         for usage with PRIdPTR printing macro.
16965 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16967         * libio/tst-widetext.c (do_test):
16968         Use format type %td instead of %Zd for ptrdiff_t
16969         in order to avoid format warning.
16971 2014-12-17  Andreas Schwab  <schwab@suse.de>
16973         * nscd/mem.c (gc): Add size_t cast to match printf format.
16975 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16977         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16978         (init): Apply PTR_MANGLE to pointers before storing them.
16979         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16980         before using them.
16982 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16984         [BZ #17719]
16985         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16986         define as weak alias of __memrchr.
16987         (__memrchr): Do not define as strong alias of memrchr.
16988         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16989         Remove variable.
16990         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16991         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16992         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16994         [BZ #17717]
16995         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16996         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16997         (if_indextoname): Rename to __if_indextoname and define as weak
16998         alias of __if_indextoname.  Use libc_hidden_weak.
16999         (if_freenameindex): Rename to __if_freenameindex and define as
17000         weak alias of __if_freenameindex.
17001         (if_nameindex): Rename to __if_nameindex and define as weak alias
17002         of __if_nameindex.
17003         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17004         __if_nametoindex and define as weak alias of __if_nametoindex.
17005         Use libc_hidden_weak.
17006         (if_freenameindex): Rename to __if_freenameindex and define as
17007         weak alias of __if_freenameindex.
17008         (if_nameindex): Rename to __if_nameindex and define as weak alias
17009         of __if_nameindex.
17010         (if_indextoname): Rename to __if_indextoname and define as weak
17011         alias of __if_indextoname.  Use libc_hidden_weak.
17012         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17013         __if_nametoindex and define as weak alias of __if_nametoindex.
17014         Use libc_hidden_weak.
17015         (if_freenameindex): Rename to __if_freenameindex and define as
17016         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17017         (if_nameindex_netlink): Use __if_freenameindex instead of
17018         if_freenameindex.
17019         (if_nameindex): Rename to __if_nameindex and define as weak alias
17020         of __if_nameindex.  Use libc_hidden_weak.
17021         (if_indextoname): Rename to __if_indextoname and define as weak
17022         alias of __if_indextoname.  Use libc_hidden_weak.
17023         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17024         libc_hidden_proto.
17025         [!_ISOMAC] (__if_freenameindex): Likewise.
17026         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17027         if_nametoindex.
17028         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17029         variable.
17030         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17031         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17032         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17033         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17034         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17035         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17036         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17038         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17039         Remove variable.
17040         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17041         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17043 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17045         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17046         subscript above bounds'
17048         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17049         bounds.
17051 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17053         * libio/tst-fopenloc.c: Use test-skeleton.c.
17055         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17056         (entry): Rename to ITEM.
17057         (do_test, comp): Adjust.
17059         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17061 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17063         * string/tester.c: Include <libc-internal.h>.
17064         (test_memset): Ignore -Wmemset-transposed-args.
17066 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17068         * misc/tst-mntent2.c (do_test): Fix warning.
17070 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17072         * elf/tst-unique4lib.cc(a): Mark as used.
17074 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17076         [BZ #17630]
17077         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17078         names.
17080 2014-12-16  Allan McRae  <allan@archlinux.org>
17082         * stdio-common/Makefile (tests): Re-add bug26.
17084 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17086         [BZ #17657]
17087         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17088         static array.
17090 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17092         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17093         (__lll_lock_wait): Likewise.
17094         (__lll_timedlock_wait): Likewise.
17095         (__lll_timedwait_tid): Likewise.
17096         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17097         (__lll_robust_timedlock_wait): Likewise.
17098         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17099         (lll_cond_trylock): Likewise.
17100         (__lll_lock): Likewise.
17101         (__lll_robust_lock): Likewise.
17102         (__lll_cond_lock): Likewise.
17103         (lll_robust_cond_lock): Likewise.
17104         (__lll_timedlock): Likewise.
17105         (__lll_robust_timedlock): Likewise.
17106         (__lll_unlock): Likewise.
17107         (__lll_robust_unlock): Likewise.
17108         (lll_wait_tid): Likewise.
17109         (lll_timedwait_tid): Likewise.
17111 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17113         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17115 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17117         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17119 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17121         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17122         * stdio-common/tst-sprintf.c: Likewise.
17124 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17126         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17128 2014-12-15  Jeff Law  <law@redhat.com>
17130         [BZ #16617]
17131         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17132         on the heap.  (CVE-2012-3406)
17133         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17134         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17135         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17137 2014-12-15  Will Newton  <will.newton@linaro.org>
17139         * manual/install.texi: Bump required version of texinfo
17140         to 4.7 from 4.5.
17141         * INSTALL: Regenerated.
17142         * configure.ac: Check for makeinfo version 4.7 and above.
17143         * configure: Regenerated.
17145 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17147         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17148         PREFIX, string constant to insert between directory and name.
17149         * sysdeps/posix/shm_open.c: Update caller.
17150         * sysdeps/posix/shm_unlink.c: Likewise.
17151         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17152         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17153         (SEM_SHM_PREFIX): New macro.
17154         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17155         [$(have-thread-library) = no].
17156         * nptl/Makefile (libpthread-routines): Add shm-directory.
17157         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17158         * sysdeps/nptl/shm-directory.h: New file.
17159         * sysdeps/posix/shm-directory.c
17160         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17161         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17162         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17163         INTERNAL_SYSCALL.
17164         (__where_is_shmfs): Function removed.
17165         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17166         Variables removed.
17167         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17168         Use SHM_GET_NAME.
17169         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17171         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17172         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17173         unconditional for use inside libpthread.
17174         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17176 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17178         * nptl/pthread_getaffinity.c: New file.
17179         * nptl/pthread_setaffinity.c: New file.
17180         * nptl/pthread_getname.c: New file.
17181         * nptl/pthread_setname.c: New file.
17183         * nptl/pthread_create.c (START_THREAD_DEFN)
17184         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17186 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17187             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17189         * resolv/res_send.c (send_vc): Disable warning resplen may
17190         be used uninitialized.
17192 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17194         * nptl/tst-mutex6.c
17195         (ATTR_NULL): New define checks ATTR against NULL.
17196         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17197         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17199 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17201         [BZ #17581]
17202         * malloc/hooks.c
17203         (mem2mem_check): Revert my previous change.
17204         (malloc_check_get_size): Revert my previous change.
17205         (mem2chunk_check): Revert my previous change.
17207 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17209         * sysdeps/posix/shm-directory.c: New file.
17210         * sysdeps/posix/shm-directory.h: New file.
17211         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17212         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17213         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17214         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17215         Transmute EPERM to EACCES.
17216         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17217         from ...
17218         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17219         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17221 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17223         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17224         pointer and cast to uintptr_t.
17225         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17226         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17227         Add cast to avoid warning.
17228         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17230 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17232         * nptl/semaphore.h: Move to ...
17233         * sysdeps/pthread/semaphore.h: ... here.
17234         * Makefile (installed-headers): Change nptl/semaphore.h to
17235         sysdeps/pthread/semaphore.h.
17237 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17239         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17240         generated error format strings.
17242         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17243         -Wformat-extra-args warnings for scanf formats.
17244         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17245         test of zero-length format (duh).
17246         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17247         corner-case scanf format test.
17248         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17249         generated fprintf format string.
17250         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17251         corner-case sprintf format tests.
17252         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17253         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17254         -Wformat-extra-args warnings throughout.
17255         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17256         (CFLAGS-scanf4.c): Likewise.
17257         (CFLAGS-scanf7.c): Likewise.
17258         (CFLAGS-tst-sprintf.c): Likewise.
17259         (CFLAGS-tst-printf.c): Likewise.
17260         (CFLAGS-tst-printfsz.c): Likewise.
17262 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17264         * include/cpio.h: New file.
17265         * include/fmtmsg.h: Likewise.
17267         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17268         corresponding format argument to size_t.
17269         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17270         arguments.
17271         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17272         corresponding format argument to size_t.
17273         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17274         arguments.
17275         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17276         corresponding format argument to size_t.
17277         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17278         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17279         (CFLAGS-tst-mbswcs2.c): Likewise.
17280         (CFLAGS-tst-mbswcs3.c): Likewise.
17281         (CFLAGS-tst-mbswcs4.c): Likewise.
17282         (CFLAGS-tst-mbswcs5.c): Likewise.
17283         (CFLAGS-tst-trans.c): Likewise
17285 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17287         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17288         rather than assuming they won't contain any '%'s.
17290 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17292         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17293         inhibit_loop_to_libcall to avoid recursive calls.
17294         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17295         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17297 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17299         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17300         prototype.
17302 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17304         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17305         integer value instead of boolean.
17307 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17309         * malloc/malloc.c: Fix powerof2 check.
17311 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17313         * locale/programs/locfile.h (maybe_swap_uint32):
17314         Remove inline and add unused attribute.
17316 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17318         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17319         Truncating assembler expression to a .long expression.
17321 2014-12-11  Andreas Schwab  <schwab@suse.de>
17323         * elf/rtld.c (struct map_args): Constify str member.
17324         (do_preload): Constify fname argument.
17326 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17328         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17329         constants definition.
17331 2014-12-11  Andreas Schwab  <schwab@suse.de>
17333         [BZ #16657]
17334         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17335         FORCE_ELISION instead of DO_ELISION.
17336         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17337         Remove.
17338         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17339         Likewise.
17341         * iconvdata/gconv-modules: Remove duplicate entry.
17343 2014-12-11  Will Newton  <will.newton@linaro.org>
17345         Merge gettext 0.19.3 into intl/.
17347         This involves a number of cosmetic changes to comments
17348         and ANSI function definitions and prototypes throughout
17349         all the files. The gettext copyright header is used but
17350         with the date ranges taken from the glibc copy.
17352         * NEWS: Add gettext merge to 2.21.
17353         * intl/bindtextdom.c: Switch to gettext copyright.
17354         Use ANSI definitions and prototypes.
17355         Use gl_* locking primitives rather than __libc_* ones.
17356         Use __builtin_expect rather than __glibc_likely/unlikely.
17357         * intl/dcgettext.c: Switch to gettext copyright.
17358         Use ANSI definitions and prototypes.
17359         * intl/dcigettext.c: Switch to gettext copyright.
17360         Use ANSI definitions and prototypes.
17361         (INTDIV0_RAISES_SIGFPE): New define.
17362         Use gl_* locking primitives rather than __libc_* ones.
17363         Include eval-plural.h instead of plural-eval.c.
17364         Use __builtin_expect rather than __glibc_likely/unlikely.
17365         * intl/dcngettext.c: Switch to gettext copyright.
17366         Use ANSI definitions and prototypes.
17367         * intl/dgettext.c: Likewise.
17368         * intl/dngettext.c: Likewise.
17369         * intl/plural-eval.c: Renamed to...
17370         * intl/eval-plural.h: ...this.
17371         * intl/explodename.c: Switch to gettext copyright.
17372         Use ANSI definitions and prototypes.
17373         (_nl_explode_name): Use strchr instead of __rawmemchr.
17374         * intl/finddomain.c: Switch to gettext copyright.
17375         Use ANSI definitions and prototypes.
17376         Use gl_* locking primitives rather than __libc_* ones.
17377         (_nl_find_domain): Use malloc rather than alloca for
17378         allocation of temporary locale name.
17379         * intl/gettext.c: Switch to gettext copyright.
17380         Use ANSI definitions and prototypes.
17381         * intl/gettextP.h: Switch to gettext copyright.
17382         Use ANSI definitions and prototypes.
17383         Use gl_* locking primitives rather than __libc_* ones.
17384         * intl/gmo.h: Switch to gettext copyright.
17385         (struct sysdep_string): Move struct segment_pair outside of
17386         struct definition.
17387         * intl/hash-string.c: Use ANSI definitions and prototypes.
17388         * intl/hash-string.h: Switch to gettext copyright.
17389         Use ANSI definitions and prototypes.
17390         * intl/l10nflist.c: Switch to gettext copyright.
17391         Use ANSI definitions and prototypes.
17392         (_nl_normalize_codeset): Avoid integer overflow.
17393         * intl/loadinfo.h: Switch to gettext copyright.
17394         Use ANSI definitions and prototypes.
17395         (LIBINTL_DLL_EXPORTED): New define.
17396         (PATH_SEPARATOR): New define.
17397         * intl/loadmsgcat.c: Switch to gettext copyright.
17398         * intl/localealias.c: Switch to gettext copyright.
17399         Use ANSI definitions and prototypes.
17400         (_nl_expand_alias): Use PATH_SEPARATOR.
17401         * intl/ngettext.c: Switch to gettext copyright.
17402         Use ANSI definitions and prototypes.
17403         * intl/plural-exp.c: Likewise.
17404         * intl/plural-exp.h: Switch to gettext copyright.
17405         Use ANSI definitions and prototypes.
17406         (struct expression): Move definition of enum operator outside
17407         of struct definition.
17408         * intl/plural.c: Regenerate.
17409         * intl/plural.y: Switch to gettext copyright.
17410         Use ANSI definitions and prototypes.
17411         Port to bison 3.0.
17412         * intl/textdomain.c: Switch to gettext copyright.
17413         Use ANSI definitions and prototypes.
17414         Use gl_* locking primitives rather than __libc_* ones.
17416 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17418         * debug/warning-nop.c: Add used atrribute.
17420 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17422         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17424         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17425         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17426         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17428 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17429             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17431         [BZ #17634]
17432         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17433         Undefine after defining function.  Define as weak alias of
17434         __wcschr.  Use libc_hidden_weak.
17435         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17436         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17437         (libc_hidden_def): Also define __GI___wcschr alias.
17438         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17439         __wcschr and define as weak alias of __wcschr.
17440         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17441         __wcschr.
17442         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17443         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17444         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17445         libc_hidden_weak.  Do not use libc_hidden_def.
17446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17447         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17448         __GI___wcschr alias.
17449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17450         [IS_IN (libc)] (wcschr): Define as macro expanding to
17451         __redirect_wcschr.
17452         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17453         [IS_IN (libc)] (__wcschr_power6): Likewise.
17454         [IS_IN (libc)] (__wcschr_power7): Likewise.
17455         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17456         instead of wcschr.
17457         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17458         __libc_wcschr.
17459         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17460         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17461         __wcschr and define as weak alias of __wcschr.  Use
17462         libc_hidden_builtin_def.
17463         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17464         as weak alias of __wcschr.  Use libc_hidden_weak.
17465         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17466         wcschr.
17467         * time/era.c (_nl_init_era_entries): Likewise.
17468         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17469         variable.
17470         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17471         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17473 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17475         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17476         format for long int variable.
17478 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
17480         [BZ #10672]
17481         * manual/search.texi: (Array Sort Function): Remove claim how to make
17482         qsort stable.
17484 2014-12-10  Andreas Schwab  <schwab@suse.de>
17486         [BZ #12847]
17487         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17488         user-controlled locks.
17490 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
17492         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17493         register.
17495 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17497         * configure.ac (--disable-werror): New configure option.
17498         (enable_werror): New AC_SUBST.
17499         * configure: Regenerated.
17500         * config.make.in (enable-werror): New variable.
17501         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17502         -Wno-error=undef.
17503         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17504         * manual/install.texi (Configuring and compiling): Document
17505         --disable-werror.
17506         * INSTALL: Regenerated.
17507         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17508         (CFLAGS-tst-chk2.c): Likewise.
17509         (CFLAGS-tst-chk3.c): Likewise.
17510         (CFLAGS-tst-chk4.cc): Likewise.
17511         (CFLAGS-tst-chk5.cc): Likewise.
17512         (CFLAGS-tst-chk6.cc): Likewise.
17513         (CFLAGS-tst-lfschk1.c): Likewise.
17514         (CFLAGS-tst-lfschk2.c): Likewise.
17515         (CFLAGS-tst-lfschk3.c): Likewise.
17516         (CFLAGS-tst-lfschk4.cc): Likewise.
17517         (CFLAGS-tst-lfschk5.cc): Likewise.
17518         (CFLAGS-tst-lfschk6.cc): Likewise.
17520         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17521         (main): Disable -Wdeprecated-declarations around calls to
17522         register_printf_function.
17524         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17525         (do_test): Disable -Wdiv-by-zero around some calls to
17526         fwrite_unlocked and fread_unlocked.
17528         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17529         (DIAG_POP_NEEDS_COMMENT): Likewise.
17530         (_DIAG_STR1): Likewise.
17531         (_DIAG_STR): Likewise.
17532         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17533         * stdio-common/bug21.c: Include <libc-internal.h>.
17534         (do_test): Disable -Wformat around call to sscanf.
17535         * stdio-common/scanf14.c: Include <libc-internal.h>.
17536         (main): Disable -Wformat around some calls to scanf functions.
17538 2014-12-09  Torvald Riegel  <triegel@redhat.com>
17540         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17542 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17544         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17545         stack variable alignment.
17547 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17549         [BZ #17682]
17550         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17551         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17552         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17553         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17554         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17555         __getrlimit instead of getrlimit.
17556         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17557         __gettimeofday instead of gettimeofday.
17558         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17559         Likewise.
17560         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17561         Likewise.
17562         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17563         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17564         Remove variable.
17565         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17566         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17568 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17570         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17571         for wide-character tests.
17573 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17575         * io/openat64.c: #include <libc-internal.h>
17576         (__openat64): Prototypify.  Use ignore_value on MODE.
17577         * io/openat.c: Likewise.
17578         * misc/reboot.c: #include <libc-internal.h>
17579         (reboot): Prototypify.  Use ignore_value on HOWTO.
17580         * misc/ptrace.c: #include <libc-internal.h>
17581         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17583 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17585         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17586         XPG4, UNIX98 and XOPEN2K.
17587         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17588         Remove variable.
17589         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17591 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17593         * libio/fileops.c: Use ISO C style for function definitions.
17594         * libio/iofopen.c: Likewise.
17595         * libio/wfileops.c: Likewise.
17597         [BZ #17653]
17598         * libio/fileops.c (_IO_new_file_underflow): Unset cached
17599         offset on EOF.
17600         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17601         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17602         (fgets_func): Function pointer to fgets and fgetws.
17603         (do_ftell_test): Add test to verify ftell value after read
17604         EOF.
17605         (do_test): Set fgets_func.
17607         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17608         O_TRUNC flag for w and w+ modes.
17609         (do_rewind_test): Likewise.
17610         (do_ftell_test): Likewise.
17611         (do_write_test): Likewise.
17613         [BZ #17647]
17614         * libio/fileops.c (do_ftell): Seek only when there are
17615         unflushed writes.
17616         * libio/wfileops.c (do_ftell_wide): Likewise.
17617         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17618         test case.
17619         (do_one_test): Call it.
17621 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
17623         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17624         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17625         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17626         Remove variable.
17627         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17628         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17629         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17631 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17633         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
17634         Remove variable.
17635         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17637         [BZ #17668]
17638         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
17639         as weak alias of __getifaddrs.  Use libc_hidden_weak.
17640         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17641         __freeifaddrs.  Use libc_hidden_weak.
17642         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
17643         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
17644         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17645         __freeifaddrs.  Use libc_hidden_weak.
17646         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
17647         __getifaddrs and define as weak alias of __getifaddrs.  Use
17648         libc_hidden_weak.
17649         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17650         __freeifaddrs.  Use libc_hidden_weak.
17651         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17652         Remove variable.
17653         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17654         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17656 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17658         [BZ #17601]
17659         * sysdeps/mips/start.S (__start): Use indirect jump to call
17660         __libc_start_main.
17662 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17664         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17666         * nptl/tst-mutex1.c: Include <stdbool.h>.
17667         [!ATTR] (ATTR_NULL): New macro.
17668         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17669         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17670         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17672         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17673         to char *.
17675         [BZ #17665]
17676         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17677         Change conditional to [__USE_MISC].
17679         [BZ #17664]
17680         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17681         fgets_unlocked.
17682         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17683         __fgets_unlocked.
17684         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17685         fgets_unlocked.
17686         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17687         Remove variable.
17688         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17689         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17690         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17691         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17692         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17693         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17694         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17695         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17696         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17698         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17700 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17702         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17703         Remove strpbrk objects.
17704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17705         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17706         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17707         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17708         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17709         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17711         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17712         Remove strcspn objects.
17713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17714         (__libc_ifunc_impl_list): Remove strcspn implementation.
17715         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17716         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17717         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17718         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17720         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17721         Remove strspn objetcs.
17722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17723         (__libc_ifunc_impl_list): Remove strspn implementation.
17724         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17725         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17726         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17727         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17729 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17731         [BZ #17581]
17732         * malloc/hooks.c
17733         (mem2mem_check): Add a terminator to the chain of checking blocks.
17734         (malloc_check_get_size): Use it here.
17735         (mem2chunk_check): Ditto.
17737 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17739         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17740         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17742 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17744         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17746         * nptl/nptl-init.c: Include libc-internal.h.
17747         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17749         * elf/ldconfig.c (search_dir): Expand comment.
17751 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17753         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17754         variable.
17755         (linknamespace-symlist-stdlibs-tests): Likewise.
17756         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17757         instead of $(objpfx)symlist-stdlibs.
17758         (linknamespace-libs-isoc): New variable.
17759         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17760         (linknamespace-libs-ISO): New variable.
17761         (linknamespace-libs-ISO99): Likewise.
17762         (linknamespace-libs-ISO11): Likewise.
17763         (linknamespace-libs-XPG3): Likewise.
17764         (linknamespace-libs-XPG4): Likewise.
17765         (linknamespace-libs-POSIX): Likewise.
17766         (linknamespace-libs-UNIX98): Likewise.
17767         (linknamespace-libs-XOPEN2K): Likewise.
17768         (linknamespace-libs-POSIX2008): Likewise.
17769         (linknamespace-libs-XOPEN2K8): Likewise.
17770         ($(objpfx)symlist-stdlibs): Replace by
17771         $(linknamespace-symlist-stdlibs-tests).  Use
17772         $(linknamespace-libs-$*) as set of libraries.
17773         ($(linknamespace-header-tests)): Update dependencies.  Use
17774         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17775         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17776         * conform/linknamespace.pl: Remove comment about considering
17777         definitions of symbols from irrelevant libraries.
17779 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17781         [BZ #13862]
17782         * elf/dl-tls.c: Include <atomic.h>.
17783         (oom): Remove #ifdef SHARED/#endif.
17784         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17785         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17786         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17787         big enough.
17788         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17789         * nptl/Makefile (tests): Add tst-stack4.
17790         (modules-names): Add tst-stack4mod.
17791         ($(objpfx)tst-stack4): New.
17792         (tst-stack4mod.sos): Likewise.
17793         ($(objpfx)tst-stack4.out): Likewise.
17794         ($(tst-stack4mod.sos)): Likewise.
17795         (clean): Likewise.
17796         * nptl/tst-stack4.c: New file.
17797         * nptl/tst-stack4mod.c: Likewise.
17799 2014-11-27  J. Brown  <jb999@gmx.de>
17801         * sysdeps/x86/bits/string.h: Add recent CPUs.
17803 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17805         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17806         sigblock.
17808         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17809         feof.
17811         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17812         variable.
17814 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17816         * nscd/connections.c: Include libc-internal.h because of macro
17817         usage ignore_value.
17819 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17821         * string/bits/string3.h (__warn_memset_zero_len): Don't
17822         declare for gcc newer than 5.0.
17823         (memset): Don't test for zero-length __LEN for gcc newer than
17824         5.0.
17826 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17828         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17829         size_t for %zu format.
17831         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17832         difference, not %ju.
17834 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17836         * include/libc-internal.h (ignore_value): New macro.
17837         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17838         with ignore_value.
17840         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17841         definition.
17843         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17844         pthread_cleanup_push to void *.
17846         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17847         Undefine.
17849         [BZ #16619]
17850         [BZ #16740]
17851         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17852         instead of 1L << 52.
17854         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17855         * libio/bug-rewind2.c (do_test): Likewise.
17857         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17858         * debug/test-strcpy_chk-ifunc.c: Likewise.
17859         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17860         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17861         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17862         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17863         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17864         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17865         * Rules [$(multi-arch) = no] (tests): Do not filter out
17866         $(tests-ifunc).
17867         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17868         * debug/Makefile (tests-ifunc): Remove variable.
17869         (tests): Do not add $(tests-ifunc).
17870         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17871         (tests): Do not add $(tests-ifunc).
17872         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17873         [TEST_IFUNC]: Remove conditionals.
17874         * string/test-string.h (TEST_IFUNC): Remove macro.
17875         [TEST_IFUNC]: Remove conditionals.
17877         * string/test-strchr.c [!WIDE] (L): New macro.
17878         [WIDE] (L): Likewise.
17879         (check1): Use CHAR instead of char.  Use L on string and character
17880         constants.
17882 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17884         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17885         tests.
17886         * sysdeps/powerpc/bits/atomic.h
17887         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17888         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17889         (atomic_exchange_and_add_acq): Likewise.
17890         (atomic_exchange_and_add_rel): Likewise.
17891         * sysdeps/powerpc/powerpc32/bits/atomic.h
17892         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17893         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17894         * sysdeps/powerpc/powerpc64/bits/atomic.h
17895         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17896         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17898 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17900         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17901         Change synchronization of __sched_fifo_min_prio and
17902         __sched_fifo_max_prio.
17903         * nptl/pthread_mutexattr_getprioceiling.c
17904         (pthread_mutexattr_getprioceiling): Likewise.
17905         * nptl/pthread_mutexattr_setprioceiling.c
17906         (pthread_mutexattr_setprioceiling): Likewise.
17907         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17908         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17909         Likewise.
17911 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17913         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17914         void.
17916 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17918         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17919         third argument const.
17921 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17923         fnmatch: work around GCC compiler warning bug with uninit var
17924         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17925         This works around a bug with x86-64 GCC 4.9.2 and earlier
17926         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17927         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17928         used uninitialized in this function [-Wmaybe-uninitialized]".
17930 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17932         * posix/bug-regex31.c (main): Return RES not 0.
17934 2014-11-25  Anton Blanchard <anton@samba.org>
17936         * sysdeps/powerpc/bits/atomic.h
17937         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17939 2014-11-24  Sterling Augustine  <saugustine@google.com>
17941         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17943 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17945         [BZ #17608]
17946         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17948 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17950         [BZ #17633]
17951         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17952         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17953         variable.
17954         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17955         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17957 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17959         * string/strncpy.c (strncpy): Improve performance by using memset.
17961 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17963         * string/strcpy.c (strcpy):
17964         Improve performance by using strlen and memcpy.
17966 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17968         * string/strcoll_l.c (get_next_seq): __always_inline.
17969         * string/strcoll_l.c (do_compare): __always_inline.
17971 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17973         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17974         defined.
17975         * include/mqueue.h: Likewise.
17976         * include/stdlib.h: Likewise.
17978         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17979         (get_null_defines): Adjust.
17980         * sunrpc/Makefile: Adjust comment.
17981         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17982         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17983         (CFLAGS-interp.c): Likewise.
17984         (CFLAGS-ldconfig.c): Likewise.
17985         (CPPFLAGS-.os): Likewise.
17986         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17987         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17988         * extra-modules.mk (extra-modules.mk): Likewise.
17989         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17990         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17991         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17992         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17993         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17994         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17995         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17996         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17997         * iconvdata/Makefile (CPPFLAGS): Likewise.
17998         (cpp-srcs-left): Add libof for all iconvdata routines.
17999         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18000         * include/assert.h: Likewise.
18001         * include/ctype.h: Likewise.
18002         * include/errno.h: Likewise.
18003         * include/libc-symbols.h: Likewise.
18004         * include/math.h: Likewise.
18005         * include/netdb.h: Likewise.
18006         * include/resolv.h: Likewise.
18007         * include/stdio.h: Likewise.
18008         * include/stdlib.h: Likewise.
18009         * include/string.h: Likewise.
18010         * include/sys/stat.h: Likewise.
18011         * include/wctype.h: Likewise.
18012         * intl/l10nflist.c: Likewise.
18013         * libidn/idn-stub.c: Likewise.
18014         * libio/libioP.h: Likewise.
18015         * nptl/libc_multiple_threads.c: Likewise.
18016         * nptl/pthreadP.h: Likewise.
18017         * posix/regex_internal.h: Likewise.
18018         * resolv/res_hconf.c: Likewise.
18019         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18020         * sysdeps/arm/memmove.S: Likewise.
18021         * sysdeps/arm/sysdep.h: Likewise.
18022         * sysdeps/generic/_itoa.h: Likewise.
18023         * sysdeps/generic/symbol-hacks.h: Likewise.
18024         * sysdeps/gnu/errlist.awk: Likewise.
18025         * sysdeps/gnu/errlist.c: Likewise.
18026         * sysdeps/i386/i586/memcpy.S: Likewise.
18027         * sysdeps/i386/i586/memset.S: Likewise.
18028         * sysdeps/i386/i686/memcpy.S: Likewise.
18029         * sysdeps/i386/i686/memmove.S: Likewise.
18030         * sysdeps/i386/i686/mempcpy.S: Likewise.
18031         * sysdeps/i386/i686/memset.S: Likewise.
18032         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18033         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18034         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18035         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18036         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18037         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18038         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18039         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18040         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18041         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18042         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18043         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18044         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18045         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18046         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18047         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18048         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18049         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18050         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18051         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18052         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18053         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18054         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18055         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18056         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18057         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18058         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18059         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18060         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18061         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18062         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18063         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18065         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18066         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18067         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18068         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18069         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18070         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18071         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18072         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18073         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18074         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18075         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18076         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18077         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18078         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18079         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18080         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18081         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18082         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18083         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18084         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18085         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18086         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18087         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18088         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18089         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18090         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18091         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18092         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18093         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18094         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18095         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18096         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18097         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18098         * sysdeps/posix/closedir.c: Likewise.
18099         * sysdeps/posix/opendir.c: Likewise.
18100         * sysdeps/posix/readdir.c: Likewise.
18101         * sysdeps/posix/rewinddir.c: Likewise.
18102         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18103         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18104         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18105         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18106         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18107         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18108         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18109         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18110         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18111         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18112         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18113         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18114         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18115         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18116         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18117         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18118         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18119         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18120         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18121         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18122         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18123         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18124         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18125         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18126         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18128         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18129         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18130         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18133         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18137         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18138         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18139         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18140         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18141         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18142         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18143         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18144         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18145         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18146         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18147         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18148         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18149         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18150         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18151         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18152         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18153         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18154         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18155         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18156         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18157         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18158         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18159         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18160         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18161         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18162         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18163         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18164         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18165         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18166         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18167         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18168         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18169         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18170         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18171         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18172         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18173         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18174         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18175         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18176         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18177         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18178         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18179         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18180         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18181         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18182         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18183         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18184         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18185         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18186         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18187         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18188         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18189         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18190         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18191         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18192         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18193         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18194         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18195         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18196         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18197         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18198         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18199         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18200         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18201         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18202         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18203         * sysdeps/unix/alpha/sysdep.S: Likewise.
18204         * sysdeps/unix/alpha/sysdep.h: Likewise.
18205         * sysdeps/unix/make-syscalls.sh: Likewise.
18206         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18207         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18208         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18209         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18210         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18211         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18212         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18213         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18214         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18215         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18216         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18217         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18218         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18219         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18220         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18221         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18222         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18223         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18224         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18225         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18226         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18227         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18228         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18229         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18230         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18231         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18232         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18235         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18236         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18238         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18240         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18241         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18242         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18243         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18244         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18245         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18246         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18247         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18248         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18249         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18250         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18251         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18253         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18254         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18255         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18256         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18257         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18258         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18259         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18260         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18261         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18262         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18263         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18264         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18265         * sysdeps/x86_64/memcpy.S: Likewise.
18266         * sysdeps/x86_64/memmove.c: Likewise.
18267         * sysdeps/x86_64/memset.S: Likewise.
18268         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18269         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18270         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18271         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18272         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18273         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18274         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18275         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18276         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18277         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18278         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18279         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18280         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18281         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18282         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18283         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18284         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18285         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18286         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18287         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18288         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18289         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18290         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18291         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18292         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18293         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18294         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18295         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18296         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18297         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18298         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18299         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18300         * sysdeps/x86_64/strcmp.S: Likewise.
18302         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18304         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18305         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18306         * elf/rtld-Rules: Likewise.
18307         * elf/setup-vdso.h: Likewise.
18308         * include/assert.h: Likewise.
18309         * include/bits/stdlib-float.h: Likewise.
18310         * include/errno.h: Likewise.
18311         * include/sys/stat.h: Likewise.
18312         * include/unistd.h: Likewise.
18313         * sysdeps/aarch64/setjmp.S: Likewise.
18314         * sysdeps/alpha/setjmp.S: Likewise.
18315         * sysdeps/arm/__longjmp.S: Likewise.
18316         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18317         * sysdeps/arm/setjmp.S: Likewise.
18318         * sysdeps/arm/sysdep.h: Likewise.
18319         * sysdeps/generic/_itoa.h: Likewise.
18320         * sysdeps/generic/dl-sysdep.h: Likewise.
18321         * sysdeps/generic/ldsodefs.h: Likewise.
18322         * sysdeps/i386/dl-tls.h: Likewise.
18323         * sysdeps/i386/setjmp.S: Likewise.
18324         * sysdeps/m68k/setjmp.c: Likewise.
18325         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18326         * sysdeps/mach/hurd/opendir.c: Likewise.
18327         * sysdeps/posix/getcwd.c: Likewise.
18328         * sysdeps/posix/opendir.c: Likewise.
18329         * sysdeps/posix/profil.c: Likewise.
18330         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18331         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18332         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18333         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18334         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18335         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18336         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18337         * sysdeps/s390/dl-tls.h: Likewise.
18338         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18339         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18340         * sysdeps/sh/sh3/setjmp.S: Likewise.
18341         * sysdeps/sh/sh4/setjmp.S: Likewise.
18342         * sysdeps/unix/alpha/sysdep.h: Likewise.
18343         * sysdeps/unix/arm/sysdep.S: Likewise.
18344         * sysdeps/unix/i386/sysdep.S: Likewise.
18345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18346         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18347         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18348         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18349         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18350         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18351         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18352         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18353         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18354         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18355         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18356         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18357         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18360         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18361         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18362         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18363         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18364         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18365         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18366         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18367         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18368         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18369         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18370         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18372         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18373         * sysdeps/x86_64/setjmp.S: Likewise.
18375         * include/math.h: Use IS_IN instead of IS_IN_libm.
18376         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18377         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18378         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18379         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18380         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18381         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18382         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18383         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18384         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18385         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18386         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18387         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18388         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18389         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18390         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18391         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18392         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18393         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18394         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18395         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18396         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18397         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18398         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18399         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18400         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18401         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18402         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18403         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18404         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18405         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18406         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18407         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18408         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18410         Likewise.
18411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18412         Likewise.
18413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18414         Likewise.
18415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18416         Likewise.
18417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18418         Likewise.
18419         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18420         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18421         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18422         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18423         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18424         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18430         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18431         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18432         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18433         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18434         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18435         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18436         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18437         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18438         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18439         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18440         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18441         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18442         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18443         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18445         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18447         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18448         * nptl/pthreadP.h: Likewise.
18449         * nptl_db/structs.def: Likewise.
18450         * sysdeps/arm/sysdep.h: Likewise.
18451         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18452         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18453         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18454         * sysdeps/unix/alpha/sysdep.h: Likewise.
18455         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18457         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18458         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18459         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18460         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18461         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18462         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18463         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18464         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18465         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18466         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18467         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18468         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18472         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18473         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18475         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18476         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18477         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18478         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18479         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18480         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18482         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18483         * nptl/pthreadP.h: Likewise.
18484         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18485         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18486         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18487         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18488         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18489         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18490         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18491         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18492         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18493         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18494         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18495         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18497         Likewise.
18498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18499         Likewise.
18500         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18501         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18502         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18504         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18505         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18506         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18507         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18509         * dlfcn/dladdr.c: Use IS_IN.
18510         * dlfcn/dladdr1.c: Likewise.
18511         * dlfcn/dlclose.c: Likewise.
18512         * dlfcn/dlerror.c: Likewise.
18513         * dlfcn/dlinfo.c: Likewise.
18514         * dlfcn/dlmopen.c: Likewise.
18515         * dlfcn/dlopen.c: Likewise.
18516         * dlfcn/dlsym.c: Likewise.
18517         * dlfcn/dlvsym.c: Likewise.
18519         * include/ifaddrs.h: Use IS_IN.
18520         * inet/check_pf.c: Likewise.
18521         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18522         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18524         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18525         IS_IN_ldconfig.
18526         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18527         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18529         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18530         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18531         IS_IN (libc).
18533         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18535         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18536         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18537         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18538         * include/libc-symbols.h (IS_IN_LIB): New macro.
18539         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18540         * include/netdb.h: Likewise.
18541         * include/stap-probe.h: Remove all uses of IN_LIB.
18543         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18544         instead of IN_MODULE.
18545         * include/libc-symbols.h (IN_MODULE): Define using
18546         MODULE_NAME.
18547         (PASTE_NAME, PASTE_NAME1): New macros.
18548         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18549         of IN_LIB.
18550         (STAP_PROBE_ASM): Likewise.
18552 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18554         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18555         __mach_init in dlopened libc.
18557 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18559         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18560         * sysdeps/arm/preconfigure: Regenerate.
18562 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18564         * nptl/pthread_create.c (__pthread_create_2_1): Set
18565         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18566         when copying values from IATTR into PD.
18568 2014-11-21  Will Newton  <will.newton@linaro.org>
18569             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18571         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18572         Refactor inline-asm.  Also add comment.
18574         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18575         ElfW macro instead of hardcoded Elf64 types.
18576         (la_aarch64_gnu_pltenter): Likewise.
18577         * sysdeps/aarch64/dl-machine.h
18578         (elf_machine_runtime_setup): Use ElfW(Addr).
18580         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18581         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18582         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18583         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18584         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18585         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18586         (R_AARCH64_TLS_DTPMOD): This.
18587         (R_AARCH64_TLS_DTPREL64): Rename to ...
18588         (R_AARCH64_TLS_DTPREL): This.
18589         (R_AARCH64_TLS_TPREL64): Rename to ...
18590         (R_AARCH64_TLS_TPREL): This.
18591         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18592         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18593         R_AARCH64_TLS_TPREL64.
18594         (elf_machine_rela): Likewise.
18596 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18598         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18599         by setting it to 0.  64b atomics are not supported currently.
18601 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18603         [BZ #16469]
18604         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18605         search domain names.
18607 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18609         [BZ #16469]
18610         * NEWS: Update.
18611         * resolv/res_query.c (__libc_res_nquerydomain): Retain
18612         trailing dot.
18613         * posix/tst-getaddrinfo5.c: New.
18614         * posix/Makefile (tests): Add it.
18616 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18618         [BZ #14498]
18619         * NEWS: Fixed.
18620         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18621         after parsing line but before break_if_match.
18622         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18623         if there is a protocol mismatch.
18625 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18627         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18628         because the potential race is on the user-supplied stream.
18630 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18632         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18633         string literal if not passed a buffer.
18634         * manual/job.texi (ctermid): Update reasoning, note deviation
18635         from posix, suggest mtasurace when not passed a buffer, for
18636         future non-preliminary safety notes.
18638 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18640         * manual/users.texi (cuserid): Fix MT-Safety note for the case
18641         of not passing it a buffer.
18642         Reported by Peng Haitao.
18644 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18646         * manual/Makefile ($(objpfx)stamp-summary): Require
18647         check-safety.sh to pass.
18648         * manual/check-safety.sh: Wish for verification that every
18649         @deftypefn and @deftypefun is followed by a @safety remark.
18651 2014-11-20  Roland McGrath  <roland@hack.frob.com>
18653         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18655         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18656         PTHREAD_CANCEL_ASYNCHRONOUS.
18657         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18658         send SIGCANCEL.
18660         * nptl/default-sched.h: New file.
18661         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18662         * nptl/pthread_create.c: Include it.
18663         (__pthread_create_2_1): Use collect_default_sched instead of making
18664         Linux syscalls here directly.
18666 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18668         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18669         __pthread_once): Use C11 atomics.
18671 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18673         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18675 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18677         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18678         atomic_thread_fence_acquire, atomic_thread_fence_release,
18679         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18680         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18681         atomic_compare_exchange_weak_relaxed,
18682         atomic_compare_exchange_weak_acquire,
18683         atomic_compare_exchange_weak_release,
18684         atomic_exchange_acquire, atomic_exchange_release,
18685         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18686         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18687         atomic_fetch_and_acquire,
18688         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18690 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18692         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18693         USE_ATOMIC_COMPILER_BUILTINS): Define.
18694         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18696         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18697         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18698         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18700         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18702         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18704         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18706         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18708         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18710         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18712         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18714         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18716         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18718         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18720         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18722         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18724         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18726         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18728         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18729         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18730         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18732         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18735 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18737         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18738         the sched_priority value here.  It was already checked when the user
18739         called pthread_attr_setschedparam.
18741         * nptl/tst-bad-schedattr.c: New file.
18742         * nptl/Makefile (tests): Add it.
18744 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18745             Florian Weimer  <fweimer@redhat.com>
18746             Joseph Myers  <joseph@codesourcery.com>
18747             Adam Conrad  <adconrad@0c3.net>
18748             Andreas Schwab  <schwab@suse.de>
18749             Brooks  <bmoses@google.com>
18751         [BZ #17625]
18752         * wordexp-test.c (__dso_handle): Add prototype.
18753         (__register_atfork): Likewise.
18754         (__app_register_atfork): New function.
18755         (registered_forks): New global.
18756         (register_fork): New function.
18757         (test_case): Add 3 new tests for WRDE_CMDSUB.
18758         (main): Call __app_register_atfork.
18759         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18760         fork count is non-zero fail the test.
18761         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18762         is set.
18763         (parse_dollars): Remove check for WRDE_NOCMD.
18764         (parse_dquote): Likewise.
18766 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18768         * Makeconfig (built-modules): List non-library modules to be
18769         built.
18770         (module-cppflags): Include libc-modules.h for
18771         everything except shlib-versions.v.i.
18772         (CPPFLAGS): Use it.
18773         (before-compile): Add libc-modules.h.
18774         ($(common-objpfx)libc-modules.h,
18775         $(common-objpfx)libc-modules.stmp): New targets.
18776         (common-generated): Add libc-modules.h and libc-modules.stmp.
18777         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18778         * include/libc-symbols.h: Don't include libc-modules.h.
18779         * include/libc-modules.h: Remove file.
18780         * scripts/gen-libc-modules.awk: New script to generate
18781         libc-modules.h.
18782         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18783         Depend on libc-modules.stmp.
18785         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18787         * Makeconfig (in-module): Get value of libof set for the
18788         translation unit.
18789         (CPPFLAGS): Use $(in-module).
18790         * Makerules: Don't suffix routine names for nonlib.
18791         * include/libc-modules.h: New file.
18792         * include/libc-symbols.h: Include libc-modules.h
18793         (IS_IN): New macro to replace IS_IN_* macros.
18794         * elf/Makefile: Set libof-* for each routine.
18795         * elf/rtld-Rules: Likewise.
18796         * extra-modules.mk: Likewise.
18797         * iconv/Makefile: Likewise.
18798         * iconvdata/Makefile: Likewise.
18799         * locale/Makefile: Likewise.
18800         * malloc/Makefile: Likewise.
18801         * nss/Makefile: Likewise.
18802         * sysdeps/gnu/Makefile: Likewise.
18803         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18804         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18805         * sysdeps/s390/s390-64/Makefile: Likewise.
18806         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18807         CPPFLAGS for nscd instead of nonlib.
18809 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18811         * nptl/createthread.c: New file.
18813         * nptl/createthread.c: Moved ...
18814         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18816         * nptl/createthread.c: Add proper top-line comment.
18817         (do_clone): Folded into ...
18818         (create_thread): ... here.  Take new arguments STOPPED_START and
18819         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18820         increment __nptl_threads, do event-reporting logic, do
18821         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18822         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18823         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18824         just send SIGCANCEL.
18825         * nptl/pthread_create.c: Forward-declare create_thread before
18826         including createthread.c.
18827         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18828         declaration, and new macro START_THREAD_SELF to replace argument.
18829         Remove return statement.
18830         (report_thread_creation): New function.
18831         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18832         synchronization logic, and __nptl_nthreads increment here, around
18833         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18834         PD->parent_cancelhandling here, before create_thread.  When
18835         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18836         __deallocate_stack, and ENOMEM translation here.
18838 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18840         [BZ #17616]
18841         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18842         (mptwo): Rename to __mptwo.
18843         (__inv): Use __mptwo instead of mptwo.
18844         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18845         (mptwo): Rename to __mptwo.
18846         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18847         of mpone and __mptwo instead of mptwo.
18848         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18849         instead of mpone.
18850         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18851         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18852         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18853         of mpone and __mptwo instead of mptwo.
18854         (__mpranred): Use __mpone instead of mpone.
18855         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18856         variable.
18857         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18858         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18859         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18860         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18861         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18862         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18863         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18864         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18865         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18866         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18867         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18868         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18869         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18870         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18871         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18872         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18873         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18874         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18875         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18877 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18879         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18880         replace BSD Handler xref with BSD Signal Handling.
18882 2014-11-17  Richard Henderson  <rth@redhat.com>
18884         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18885         (_FP_PACK_RAW_2): Remove.
18886         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18887         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18888         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18889         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18890         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18891         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18892         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18893         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18894         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18895         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18896         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18897         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18898         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18899         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18900         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18901         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18903 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18905         * signal/signal.h [__USE_MISC]
18906         (struct sigvec): Remove type.
18907         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18908         (sigvec): Remove declaration.
18909         * sysdeps/posix/sigvec.c: Moved ...
18910         * signal/sigvec.c: ... here, replacing old file.
18911         (struct sigvec): New type, copied from old signal.h definition.
18912         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18913         (__sigvec): Convert definition to prototype.
18914         (sigvec): Replace weak_alias with compat_symbol.
18915         * signal/Versions (libc: GLIBC_2.21): New version set.
18916         * include/signal.h: Remove __sigvec declaration.
18917         * sysdeps/unix/bsd/sigvec.c: Remove file.
18918         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18919         * manual/signal.texi (BSD Handler): Remove subsection.
18920         Move siginterrupt up to ...
18921         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18922         (Blocking in BSD): Fold subsection into its parent.
18923         * NEWS: Mention sigvec removal.
18925 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18927         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18928         (DLA_FMS): Make definition conditional only on [__FMA4__].
18929         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18930         definition.
18932         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18933         Make definition conditional only on [PROF].
18934         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18935         definition.
18936         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18937         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18939         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18940         !__GNUC__].
18941         * include/signal.h (__sigpause): Move declaration above call to
18942         libc_hidden_proto.
18943         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18944         variable.
18945         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18946         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18948 2014-11-14  David S. Miller  <davem@davemloft.net>
18950         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18951         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18953 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18955         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18956         * configure: Regenerated.
18957         * manual/install.texi (Tools for Compilation): Document a
18958         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18959         compiler verified to work.
18960         * INSTALL: Regenerated.
18962         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18963         redeclare with asm name.
18964         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18965         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18966         including <string.h>.
18967         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18968         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18969         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18970         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18971         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18972         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18973         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18975 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18977         * stdlib/strtol.c (__strtol): Use prototype definition.
18979         [BZ #17594]
18980         * stdlib/strtol.c (SYM__): New macro.
18981         (SYM__1): Likewise.
18982         (__strtol): Likewise.
18983         (strtol): Rename to __strtol and define as weak alias of
18984         __strtol.  Use libc_hidden_weak.
18986 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18988         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18989         Use numbered labels in inline assembly.
18991 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18993         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18994         Add setjmp LIBC_PROBE.
18995         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18996         Likewise.
18997         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18998         Add longjmp, longjmp_target LIBC_PROBE.
18999         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19000         Likewise.
19002 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19004         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19005         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19006         to get rid of unused variable warning.
19008 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19010         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19011         Check for unwind_backtrace ==  NULL only in SHARED case.
19012         (__backchain_backtrace): Compile only in SHARED case.
19013         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19014         Likewise.
19015         (__backchain_backtrace): Declare as static.
19017 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19019         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19020         (__libc_multiple_threads_ptr): Variable moved ...
19021         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19023 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19025         * conform/GlibcConform.pm: New file.
19026         * conform/conformtest.pl: Use GlibcConform module.
19027         * conform/linknamespace.pl: New file.
19028         * conform/list-header-symbols.pl: Likewise.
19029         * conform/Makefile (linknamespace-symlists-base): New variable.
19030         (linknamespace-symlists-tests): Likewise.
19031         (linknamespace-header-base): Likewise.
19032         (linknamespace-header-tests): Likewise.
19033         (tests-special): Add new tests.
19034         ($(linknamespace-symlists-tests)): New rule.
19035         (linknamespace-libs): New variable.
19036         ($(objpfx)symlist-stdlibs): New rule.
19037         ($(linknamespace-header-tests)): Likewise.
19038         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19039         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19040         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19041         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19042         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19043         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19044         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19045         (test-xfail-ISO/math.h/linknamespace): Likewise.
19046         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19047         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19048         (test-xfail-ISO/time.h/linknamespace): Likewise.
19049         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19050         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19051         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19052         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19053         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19054         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19055         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19056         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19057         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19058         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19059         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19060         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19061         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19062         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19063         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19064         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19065         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19066         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19067         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19068         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19069         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19070         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19071         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19072         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19073         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19074         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19075         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19076         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19077         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19078         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19079         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19080         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19081         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19082         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19083         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19084         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19085         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19086         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19087         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19088         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19089         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19090         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19091         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19092         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19093         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19094         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19095         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19096         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19097         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19098         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19099         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19100         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19101         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19102         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19103         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19104         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19105         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19106         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19107         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19108         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19109         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19110         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19111         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19112         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19113         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19114         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19115         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19116         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19117         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19118         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19119         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19120         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19121         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19122         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19123         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19124         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19125         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19126         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19127         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19128         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19129         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19130         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19131         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19132         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19133         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19134         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19135         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19136         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19137         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19138         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19139         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19140         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19141         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19142         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19143         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19144         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19145         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19146         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19147         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19148         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19149         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19150         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19151         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19152         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19153         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19154         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19155         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19156         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19157         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19158         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19159         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19160         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19161         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19162         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19163         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19164         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19165         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19166         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19167         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19168         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19169         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19170         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19171         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19172         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19173         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19174         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19175         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19176         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19177         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19178         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19179         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19180         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19181         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19182         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19183         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19184         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19185         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19186         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19187         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19188         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19189         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19190         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19191         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19192         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19193         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19194         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19195         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19196         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19197         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19198         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19200         [BZ #17589]
19201         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19202         of fgets_unlocked.
19204         [BZ #17585]
19205         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19206         (memmem): Rename to __memmem and define as weak alias of
19207         __memmem.  Use libc_hidden_weak.
19208         (__memmem): Use libc_hidden_def.
19209         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19210         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19211         memmem.
19213         [BZ #17582]
19214         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19215         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19216         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19217         and define as weak alias of __fgets_unlocked.  Use
19218         libc_hidden_weak.
19219         (__fgets_unlocked): Use libc_hidden_def.
19220         * include/stdio.h (__fgets_unlocked): Declare.  Use
19221         libc_hidden_proto.
19222         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19223         __fgets_unlocked instead of fgets_unlocked.
19224         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19225         (GET_NPROCS_CONF_PARSER): Likewise.
19226         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19227         (GET_NPROCS_CONF_PARSER): Likewise.
19229         [BZ #17574]
19230         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19231         weak alias of __wmemset.  Use libc_hidden_weak.
19232         (__wmemset): Use libc_hidden_def.
19233         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19234         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19235         of wmemset.
19237         [BZ #17573]
19238         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19239         with asm name __mempcpy.
19240         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19242         [BZ #17572]
19243         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19244         and define as weak alias of __rawmemchr.
19245         (__rawmemchr): Do not define as strong alias of rawmemchr.
19247         [BZ #17571]
19248         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19249         alias of __qsort_r.
19250         (qsort): Call __qsort_r instead of qsort_r.
19251         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19252         (__qsort_r): Declare.  Call libc_hidden_proto.
19253         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19254         instead of qsort_r.
19255         * nscd/gai.c (__qsort_r): Define to qsort_r.
19256         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19257         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19258         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19260         [BZ #17570]
19261         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19262         define as weak alias of __malloc_info.
19264         [BZ #17584]
19265         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19266         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19267         (__rewinddir): Use libc_hidden_def.
19268         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19269         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19270         (__rewinddir): Use libc_hidden_def.
19271         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19272         weak alias of __rewinddir.  Don't use libc_hidden_def.
19273         (__rewinddir): Use libc_hidden_def.
19274         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19275         (__rewinddir): Use libc_hidden_proto.
19276         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19277         rewinddir.
19278         (__getcwd): Use __rewinddir instead of rewinddir.
19280         [BZ #17583]
19281         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19282         alias of __fileno.  Use libc_hidden_weak.
19283         (__fileno): Use libc_hidden_def.
19284         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19285         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19286         alias of __ftello.
19287         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19288         __ftello.
19289         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19290         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19291         libc_hidden_def.
19292         (fread_unlocked): Don't use libc_hidden_ver.
19293         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19294         and define as weak alias of __fread_unlocked.  Don't use
19295         libc_hidden_def.
19296         (__fread_unlocked): Use libc_hidden_def.
19297         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19298         (ftello): Don't use libc_hidden_proto.
19299         (__ftello): Declare.  Use libc_hidden_proto.
19300         (fread_unlocked): Don't use libc_hidden_proto.
19301         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19302         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19303         and __ftello instead of fileno, fread_unlocked and ftello.
19305 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19307         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19308         GOT12.
19309         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19310         Likewise.
19311         (_dl_start_user): Likewise.
19312         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19314 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19315             Siddhesh Poyarekar  <siddhesh@redhat.com>
19317         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19318         Move argv and envp down instead of moving argc up.
19319         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19321 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19323         [BZ #17506]
19324         * test-skeleton.c (main): Return successful if one of
19325         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19326         * string/tst-strcoll-overflow.c: Define expected status.
19328 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19330         [BZ #17475]
19331         * locale/iso-639.def: Define Bhili and Tulu language codes.
19333 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19335         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19337 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19339         [BZ #17555]
19340         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19342 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19344         * configure.ac: Updated check of minimal required version to
19345         2.22.
19346         * manual/install.texi (Tools for Compilation): Updated version
19347         number.
19348         * configure: Regenerated.
19349         * INSTALL: Likewise.
19351 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19353         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19354         __tls_get_addr.
19356 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19358         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19359         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19360         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19361         libc_hidden_weak.
19362         (waitpid): Define as alias of __waitpid.
19363         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19364         __waitpid.
19365         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19366         libc_hidden_weak.
19367         (waitpid): Define as alias of __waitpid.
19368         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19369         __libc_waitpid alias.
19370         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19371         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19372         Likewise.
19373         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19374         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19375         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19376         alias.
19377         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19378         __waitpid.
19379         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19380         libc_hidden_weak.
19381         (waitpid): Define as alias of __waitpid.
19383 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19385         * manual/llio.texi: Add comment that write safety has been
19386         fixed in Linux.
19388         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19389         (localplt-build-dso): Add elf/ld.so.
19390         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19391         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19392         and free for ld.so.
19393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19394         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19396         Likewise.
19397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19398         Likewise.
19399         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19400         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19401         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19402         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19403         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19404         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19405         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19406         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19407         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19408         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19409         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19411 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19413         [BZ #14132]
19414         * include/libc-symbols.h (INTUSE): Remove macro.
19415         (INTDEF): Likewise.
19416         (INTVARDEF): Likewise.
19417         (_INTVARDEF): Likewise.
19418         (INTDEF2): Likewise.
19419         (INTVARDEF2): Likewise.
19420         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19421         rtld_hidden_def instead of INTVARDEF.
19422         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19423         (_dl_starting_up_internal): Remove declaration.
19424         (_dl_starting_up): Use rtld_hidden_proto.
19425         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19426         declaration.
19427         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19428         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19429         _dl_starting_up.
19430         * elf/dl-writev.h (_dl_writev): Likewise.
19431         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19432         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19433         _dl_starting_up_internal.
19435 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19437         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19438         test-skeleton.c.
19440 2014-11-05  Will Newton  <will.newton@linaro.org>
19442         * benchtests/Makefile: (bench-malloc): Add malloc thread
19443         scalability benchmark.
19444         * benchtests/bench-malloc-threads.c: New file.
19446 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19448         * sysdeps/aarch64/strchrnul.S: New file.
19450 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19452         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19453         definition.
19454         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19455         Likwise.
19456         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19457         Likewise.
19458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19459         Likewise.
19460         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19461         Likewise.
19462         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19463         Likewise.
19465 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19467         * catgets/test-gencat.c: Use test-skeleton.c.
19468         * catgets/tst-catgets.c: Likewise.
19469         * csu/tst-empty.c: Likewise.
19470         * elf/tst-audit2.c: Likewise.
19471         * elf/tst-global1.c: Likewise.
19472         * elf/tst-pathopt.c: Likewise.
19473         * elf/tst-piemod1.c: Likewise.
19474         * elf/tst-tls10.c: Likewise.
19475         * elf/tst-tls11.c: Likewise.
19476         * elf/tst-tls12.c: Likewise.
19477         * gnulib/tst-gcc.c: Likewise.
19478         * iconvdata/tst-e2big.c: Likewise.
19479         * iconvdata/tst-loading.c: Likewise.
19480         * iconv/tst-iconv1.c: Likewise.
19481         * iconv/tst-iconv2.c: Likewise.
19482         * inet/test-inet6_opt.c: Likewise.
19483         * inet/tst-gethnm.c: Likewise.
19484         * inet/tst-network.c: Likewise.
19485         * inet/tst-ntoa.c: Likewise.
19486         * intl/tst-codeset.c: Likewise.
19487         * intl/tst-gettext2.c: Likewise.
19488         * intl/tst-gettext3.c: Likewise.
19489         * intl/tst-ngettext.c: Likewise.
19490         * intl/tst-translit.c: Likewise.
19491         * io/test-stat.c: Likewise.
19492         * libio/test-fmemopen.c: Likewise.
19493         * libio/tst-freopen.c: Likewise.
19494         * libio/tst-sscanf.c: Likewise.
19495         * libio/tst-ungetwc1.c: Likewise.
19496         * libio/tst-ungetwc2.c: Likewise.
19497         * libio/tst-widetext.c: Likewise.
19498         * localedata/tst-ctype.c: Likewise.
19499         * localedata/tst-digits.c: Likewise.
19500         * localedata/tst-leaks.c: Likewise.
19501         * localedata/tst-mbswcs1.c: Likewise.
19502         * localedata/tst-mbswcs2.c: Likewise.
19503         * localedata/tst-mbswcs3.c: Likewise.
19504         * localedata/tst-mbswcs4.c: Likewise.
19505         * localedata/tst-mbswcs5.c: Likewise.
19506         * localedata/tst-setlocale.c: Likewise.
19507         * localedata/tst-trans.c: Likewise.
19508         * localedata/tst-wctype.c: Likewise.
19509         * localedata/tst-xlocale1.c: Likewise.
19510         * login/tst-grantpt.c: Likewise.
19511         * malloc/tst-calloc.c: Likewise.
19512         * malloc/tst-malloc.c: Likewise.
19513         * malloc/tst-mallocstate.c: Likewise.
19514         * malloc/tst-mcheck.c: Likewise.
19515         * malloc/tst-mtrace.c: Likewise.
19516         * malloc/tst-obstack.c: Likewise.
19517         * math/atest-exp2.c: Likewise.
19518         * math/atest-exp.c: Likewise.
19519         * math/atest-sincos.c: Likewise.
19520         * math/test-matherr.c: Likewise.
19521         * math/test-misc.c: Likewise.
19522         * math/test-powl.c: Likewise.
19523         * math/tst-definitions.c: Likewise.
19524         * misc/tst-dirname.c: Likewise.
19525         * misc/tst-efgcvt.c: Likewise.
19526         * misc/tst-fdset.c: Likewise.
19527         * misc/tst-hsearch.c: Likewise.
19528         * misc/tst-mntent2.c: Likewise.
19529         * nptl/tst-sem7.c: Likewise.
19530         * nptl/tst-sem8.c: Likewise.
19531         * nptl/tst-sem9.c: Likewise.
19532         * nss/test-netdb.c: Likewise.
19533         * posix/tst-fnmatch.c: Likewise.
19534         * posix/tst-getlogin.c: Likewise.
19535         * posix/tst-gnuglob.c: Likewise.
19536         * posix/tst-mmap.c: Likewise.
19537         * pwd/tst-getpw.c: Likewise.
19538         * resolv/tst-inet_ntop.c: Likewise.
19539         * rt/tst-timer.c: Likewise.
19540         * stdio-common/test-fseek.c: Likewise.
19541         * stdio-common/test-popen.c: Likewise.
19542         * stdio-common/test-vfprintf.c: Likewise.
19543         * stdio-common/tst-cookie.c: Likewise.
19544         * stdio-common/tst-fileno.c: Likewise.
19545         * stdio-common/tst-gets.c: Likewise.
19546         * stdio-common/tst-obprintf.c: Likewise.
19547         * stdio-common/tst-perror.c: Likewise.
19548         * stdio-common/tst-sprintf2.c: Likewise.
19549         * stdio-common/tst-sprintf3.c: Likewise.
19550         * stdio-common/tst-sprintf.c: Likewise.
19551         * stdio-common/tst-swprintf.c: Likewise.
19552         * stdio-common/tst-tmpnam.c: Likewise.
19553         * stdio-common/tst-unbputc.c: Likewise.
19554         * stdio-common/tst-wc-printf.c: Likewise.
19555         * stdlib/tst-environ.c: Likewise.
19556         * stdlib/tst-fmtmsg.c: Likewise.
19557         * stdlib/tst-limits.c: Likewise.
19558         * stdlib/tst-rand48-2.c: Likewise.
19559         * stdlib/tst-rand48.c: Likewise.
19560         * stdlib/tst-random2.c: Likewise.
19561         * stdlib/tst-random.c: Likewise.
19562         * stdlib/tst-strtol.c: Likewise.
19563         * stdlib/tst-strtoll.c: Likewise.
19564         * stdlib/tst-tls-atexit.c: Likewise.
19565         * stdlib/tst-xpg-basename.c: Likewise.
19566         * string/test-ffs.c: Likewise.
19567         * string/tst-bswap.c: Likewise.
19568         * string/tst-inlcall.c: Likewise.
19569         * string/tst-strtok.c: Likewise.
19570         * string/tst-strxfrm.c: Likewise.
19571         * sysdeps/x86_64/tst-audit10.c: Likewise.
19572         * sysdeps/x86_64/tst-audit3.c: Likewise.
19573         * sysdeps/x86_64/tst-audit4.c: Likewise.
19574         * sysdeps/x86_64/tst-audit5.c: Likewise.
19575         * time/tst-ftime_l.c: Likewise.
19576         * time/tst-getdate.c: Likewise.
19577         * time/tst-mktime3.c: Likewise.
19578         * time/tst-mktime.c: Likewise.
19579         * time/tst-posixtz.c: Likewise.
19580         * time/tst-strptime2.c: Likewise.
19581         * time/tst-strptime3.c: Likewise.
19582         * wcsmbs/tst-btowc.c: Likewise.
19583         * wcsmbs/tst-mbrtowc.c: Likewise.
19584         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19585         * wcsmbs/tst-wchar-h.c: Likewise.
19586         * wcsmbs/tst-wcpncpy.c: Likewise.
19587         * wcsmbs/tst-wcrtomb.c: Likewise.
19588         * wcsmbs/tst-wcsnlen.c: Likewise.
19589         * wcsmbs/tst-wcstof.c: Likewise.
19591 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19593         [BZ #14132]
19594         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19595         INTDEF.
19596         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19597         declaration.
19598         (_dl_mcount): Use rtld_hidden_proto.
19599         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19600         _dl_mcount.
19601         * elf/rtld.c (_rtld_global_ro): Likewise.
19603         [BZ #14132]
19604         * elf/dl-init.c (_dl_init): Don't use INTDEF.
19605         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19606         of _dl_init_internal.
19607         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19608         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19609         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19610         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19611         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19612         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19613         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19614         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19615         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19616         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19617         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19618         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19619         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19620         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19621         * sysdeps/tile/dl-start.S (_start): Likewise.
19622         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19623         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19625         [BZ #14132]
19626         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19627         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19628         (rtld_progname): Make macro definition unconditional.
19629         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19630         INTDEF.
19631         (dlmopen_doit): Do not use INTUSE with _dl_argv.
19632         (dl_main): Likewise.
19633         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19634         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
19635         instead of _dl_argv_internal.
19636         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19637         __GI__dl_argv instead of INTUSE(_dl_argv).
19638         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
19639         __GI__dl_argv instead of _dl_argv_internal.
19641         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
19642         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
19643         macro.
19644         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
19645         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
19646         New macro.
19647         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
19648         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
19649         macro.
19650         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19651         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19653 2014-11-04  Andreas Schwab  <schwab@suse.de>
19655         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19657 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19659         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19660         mtvsrd instruction in binary form.
19662 2014-11-03  Andreas Schwab  <schwab@suse.de>
19664         [BZ #17522]
19665         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19666         for less than MB_LEN_MAX use a local buffer of that size.
19667         * libio/tst-fputws.c: New file.
19668         * libio/Makefile (tests): Add tst-fputws.
19670 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19672         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19673         the size of the fpu_fr.fpu_dregs[] array.
19675 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19677         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19678         (__nanosleep): Do not define as alias.
19679         (nanosleep): Define as alias of __nanosleep.
19680         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19681         __libc_nanosleep name.
19683 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19685         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19686         install.texi in comment.
19688 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19690         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19691         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19692         ... add here and use lwsync or sync ...
19693         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19694         ... and add here using lwsync.
19696 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19698         * elf/dl-machine-reject-phdr.h: New file.
19699         * elf/dl-load.c: #include that.
19700         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19701         if that returned true.
19703 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19705         [BZ #17496]
19706         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19707         gen-as-const-headers chunk.  Add a big scare comment after the last
19708         safe place to touch before-compile.
19710 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19712         * manual/install.texi (Tools for Compilation): Update autoconf
19713         version requirements.
19714         * INSTALL: Regenerated.
19716         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19717         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19718         (__libc_pselect): Likewise.
19720         [BZ #14138]
19721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19726 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19728         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19729         correct barrier instruction.
19730         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19731         Likewise.
19732         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19733         Likewise.
19735 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19737         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19738         after defining inlines.  Instead, just use parens to defeat macro
19739         expansion of __isctype in its declaration.
19741 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19743         * include/sys/uio.h (__libc_readv): Remove declaration.
19744         (__libc_writev): Likewise.
19745         * misc/readv.c (__libc_readv): Rename to __readv.
19746         (__readv): Do not define as alias.
19747         (readv): Define as alias of __readv.
19748         * misc/writev.c (__libc_writev): Rename to __writev.
19749         (__writev): Do not define as alias.
19750         (writev): Define as alias of __writev.
19751         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19752         (__readv): Do not define as alias.
19753         (readv): Define unconditionally as alias of __readv.
19754         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19755         (__writev): Do not define as alias.
19756         (writev): Define unconditionally as alias of __writev.
19757         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19758         name.
19759         (writev): Do not define __libc_writev name.
19761 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19763         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19764         (convert_charseq): New function, broken out of ...
19765         (use_from_charmap): ... here.  Call it.
19766         (use_to_charmap): Use convert_charseq and free instead of duplicating
19767         its code with a variable-length stack struct.
19769 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19771         * include/fcntl.h (__libc_creat): Remove declaration.
19772         * io/creat.c (__libc_creat): Rename to creat.
19773         (creat): Do not define as alias.
19774         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19775         of creat instead of __libc_creat.
19776         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19777         to creat.
19778         (creat): Do not define as alias.
19779         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19780         __libc_creat.
19781         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19782         __libc_creat name.
19783         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19784         Likewise.
19786 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19788         * manual/llio.texi: Add comments discussing why write() may be
19789         considered MT-unsafe on Linux.
19791 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19793         * dl-load.c (local_strdup): Remove.
19794         (expand_dynamic_string_token): Use __strdup.
19795         (decompose_rpath): Likewise.
19796         (_dl_map_object): Likewise.
19798 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19800         [BZ #14132]
19801         * sysdeps/generic/unwind-dw2-fde.c
19802         (__register_frame_info_bases_internal): Do not declare.
19803         (__register_frame_info_table_bases_internal): Likewise.
19804         (__deregister_frame_info_bases_internal): Likewise.
19805         (__register_frame_info_bases): Declare and use hidden_proto before
19806         definition.  Use hidden_def instead of INTDEF.
19807         (__register_frame_info_table_bases): Likewise.
19808         (__deregister_frame_info_bases): Likewise.
19809         (__register_frame_info): Do not use INTUSE.
19810         (__register_frame): Likewise.
19811         (__register_frame_info_table): Likewise.
19812         (__register_frame_table): Likewise.
19813         (__deregister_frame_info): Likewise.
19814         (__deregister_frame): Likewise.
19816 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19818         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19819         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19820         not undefine.
19821         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19822         Likewise.
19823         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19824         Likewise.
19826 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19828         [BZ #14138]
19829         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19830         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19831         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19832         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19833         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19834         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19835         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19836         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19837         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19838         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19839         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19840         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19841         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19842         syscall.
19843         (setfsuid): Likewise.
19844         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19845         (setfsuid): Likewise.
19846         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19847         (setfsuid): Likewise.
19848         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19849         Likewise.
19850         (setfsuid): Likewise.
19851         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19852         (setfsuid): Likewise.
19853         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19854         Likewise.
19855         (setfsuid): Likewise.
19857 2014-10-27  Andreas Schwab  <schwab@suse.de>
19859         [BZ #17501]
19860         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19861         check for Slow_SSE4_2 feature bit.
19862         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19863         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19864         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19865         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19867 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19869         * configure.ac: Validate compiler version with a empirical test of
19870         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19871         $CC -v output.
19872         * configure: Regenerated.
19874         * inet/htons.c (htons): Prototypify.
19875         * inet/htonl.c (htonl): Likewise.
19877 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19879         * string/strncat.c (strncat): Improve performance by using strlen.
19881 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19883         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19885 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19887         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19888         Call libc_fetestexcept_aarch64.
19890 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19892         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19893         Call libc_feholdexcept_aarch64.
19895 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19897         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19898         Call get_rounding_mode.
19900 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19902         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19903         Simplify logic.
19905 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19907         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19908         Simplify logic.
19910 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19912         [BZ #14138]
19913         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19914         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19915         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19916         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19917         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19918         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19919         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19920         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19921         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19922         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19923         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19924         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19925         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19926         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19927         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19928         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19929         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19930         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19931         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19932         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19933         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19934         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19935         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19936         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19937         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19938         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19939         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19940         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19941         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19942         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19943         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19944         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19945         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19946         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19947         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19948         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19949         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19950         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19951         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19952         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19953         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19954         syscall.
19955         (geteuid): Likewise.
19956         (getgid): Likewise.
19957         (getuid): Likewise.
19958         (getresgid): Likewise.
19959         (getresuid): Likewise.
19960         (getgroups): Likewise.
19961         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19962         (geteuid): Likewise.
19963         (getgid): Likewise.
19964         (getuid): Likewise.
19965         (getresgid): Likewise.
19966         (getresuid): Likewise.
19967         (getgroups): Likewise.
19968         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19969         (geteuid): Likewise.
19970         (getgid): Likewise.
19971         (getuid): Likewise.
19972         (getresgid): Likewise.
19973         (getresuid): Likewise.
19974         (getgroups): Likewise.
19975         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19976         Likewise.
19977         (geteuid): Likewise.
19978         (getgid): Likewise.
19979         (getuid): Likewise.
19980         (getresgid): Likewise.
19981         (getresuid): Likewise.
19982         (getgroups): Likewise.
19983         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19984         (geteuid): Likewise.
19985         (getgid): Likewise.
19986         (getuid): Likewise.
19987         (getresgid): Likewise.
19988         (getresuid): Likewise.
19989         (getgroups): Likewise.
19990         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19991         Likewise.
19992         (geteuid): Likewise.
19993         (getgid): Likewise.
19994         (getuid): Likewise.
19995         (getgroups): Likewise.
19997         [BZ #14138]
19998         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19999         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20000         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20001         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20002         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20003         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20004         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20005         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20006         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20007         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20008         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20009         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20010         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20011         __chown.
20012         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20013         (lchown): Likewise.
20014         (fchown): Likewise.
20015         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20016         Likewise.
20017         (lchown): Likewise.
20018         (fchown): Likewise.
20019         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20020         (lchown): Likewise.
20021         (fchown): Likewise.
20022         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20023         Likewise.
20024         (lchown): Likewise.
20025         (fchown): Likewise.
20027 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20029         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20030         Simplify logic.
20032 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20034         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20035         Cleanup logic.
20037 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20039         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20040         Remove unused include.
20042 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20044         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20045         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20046         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20047         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20049 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20050             Helge Deller <deller@gmx.de>
20052         [BZ #17508]
20053         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20054         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20055         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20057 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20059         [BZ #14132]
20060         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20061         Remove macro definition.
20062         (__ashrdi3_v_glibc20): Likewise.
20063         (__lshrdi3_v_glibc20): Likewise.
20064         (__cmpdi2_v_glibc20): Likewise.
20065         (__ucmpdi2_v_glibc20): Likewise.
20066         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20067         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20068         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20069         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20070         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20071         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20073 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20075         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20076         old GNU extension [0] syntax.
20077         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20078         alloca rather than an array member with variable length.
20079         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20080         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20081         (parse_opt): ... here.  Likewise use alloca there.
20082         Validate the -i argument before checking for rootness.
20083         (send_shutdown): New function, broken out of ...
20084         (parse_opt): ... here.
20086 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20088         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20089         macro to get at the _rt_local_ro field.
20090         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20091         ([PIC] case) or _dl_hwcap ([!PIC] case).
20092         * sysdeps/arm/setjmp.S: Likewise.
20094         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20095         * sysdeps/arm/configure.ac: New check to define it.
20096         * sysdeps/arm/configure: Regenerated.
20097         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20098         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20099         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20100         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20101         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20102         Use move/movt pair instead of a load.
20103         (LDST_GLOBAL): Macro removed.
20104         (LDR_GLOBAL): New macro replaces it.
20105         (LDR_HIDDEN): New macro.
20106         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20107         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20109         * setjmp/tst-setjmp-static.c: New file.
20110         * setjmp/Makefile (tests): Add it.
20111         (tests-static): New variable.
20113 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20115         [BZ #17485]
20116         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20118 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20120         [BZ #14132]
20121         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20123 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20125         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20127 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20129         * io/fts.c (dirent_not_directory): New function.
20130         (fts_build): Call it.
20132 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20134         * nptl/version.c (__nptl_main): Use normal __write rather than
20135         INTERNAL_SYSCALL.
20136         (banner): Update copyright years.
20138         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20139         gettimeofday.
20140         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20141         * nptl/pthread_cond_timedwait.c: Likewise.
20142         * nptl/pthread_mutex_timedlock.c: Likewise.
20143         * nptl/sem_timedwait.c: Likewise.
20145         * sysdeps/nptl/bits/libc-lock.h
20146         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20147         (__libc_lock_init_recursive): Return void, not 0.
20148         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20149         (__libc_rwlock_init): Likewise.
20150         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20152 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20154         [BZ #15215]
20155         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20156         (__pthread_once_slow): ... here.
20157         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20158         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20160 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20162         [BZ #15215]
20163         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20164         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20165         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20166         * nptl/pthread_once.c (__pthread_once): Likewise.
20167         Update comments.
20169 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20171         [BZ #14138]
20172         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20173         name.
20174         (writev): Use __libc_writev as strong name.
20175         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20176         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20178 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20180         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20182         * sysdeps/i386/nptl/tls.h
20183         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20184         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20185         New macros.
20186         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20187         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20188         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20189         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20190         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20191         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20193         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20194         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20195         on [__NR_futex].
20196         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20197         broken out of ...
20198         (__pthread_mutex_init): ... here.  Call it.
20199         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20200         Conditionalize PI cases on [__NR_futex].
20201         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20202         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20203         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20205         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20206         conditional on [SIGSETXID].
20207         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20208         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20209         is defined.  Likewise for SIGSETXID.
20210         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20211         Conditionalize definitions on [SIGSETXID].
20212         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20213         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20214         unblocking on [SIGCANCEL].
20216         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20217         [__NR_set_robust_list].
20219 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20221         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20222         (do_compare): Likewise.
20224 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20226         [BZ #15884]
20227         * string/strcoll_l.c: Don't include stdio.h.
20228         (coll_seq): Remove members idxarr and rulearr.
20229         (get_next_seq_cached): Remove function.
20230         (get_next_seq): Likewise.
20231         (get_next_seq_nocache): Rename to get_next_seq.
20232         (do_compare): Remove function.
20233         (do_compare_nocache): Rename to do_compare.
20234         (STRCOLL): Remove weight and rules cache.
20236 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20238         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20239         * sysdeps/arm/sfp-machine.h: ... to here.
20240         * sysdeps/arm/Implies: Remove arm/soft-fp.
20242 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20244         * conform/data/sys/utsname.h-data (*_t): Allow.
20245         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20246         [POSIX] (WEXITED): Do not expect constant.
20247         [POSIX] (WSTOPPED): Likewise.
20248         [POSIX] (WNOHANG): Likewise.
20249         [POSIX] (WNOWAIT): Likewise.
20250         [POSIX] (siginfo_t): Do not expect type or elements.
20251         [POSIX] (pid_t): Do not expect type.
20252         [POSIX] (signal.h): Do not allow header.
20253         [POSIX] (sys/resource.h): Likewise.
20254         [POSIX] (si_*): Do not allow pattern.
20255         [POSIX] (W*): Likewise.
20256         [POSIX] (P_*): Likewise.
20257         [POSIX] (BUS_*): Likewise.
20258         [POSIX] (CLD_*): Likewise.
20259         [POSIX] (FPE_*): Likewise.
20260         [POSIX] (ILL_*): Likewise.
20261         [POSIX] (POLL_*): Likewise.
20262         [POSIX] (SEGV_*): Likewise.
20263         [POSIX] (SI_*): Likewise.
20264         [POSIX] (TRAP_*): Likewise.
20265         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20266         variable.
20268 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20270         [BZ #12926]
20271         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20272         infinite loop when __recvmsg returns 0.
20274 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20276         * CANCEL-FCT-WAIVE: Remove file.
20277         * CANCEL-FILE-WAIVE: Likewise.
20279         [BZ #14132]
20280         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20281         instead of INTVARDEF.
20282         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20283         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20284         rtld_hidden_data_def instead of INTVARDEF.
20285         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20286         * elf/dl-deps.c (expand_dst): Likewise.
20287         * elf/dl-load.c (_dl_dst_count): Likewise.
20288         (_dl_dst_substitute): Likewise.
20289         (decompose_rpath): Likewise.
20290         (_dl_init_paths): Likewise.
20291         (open_path): Likewise.
20292         (_dl_map_object): Likewise.
20293         * elf/rtld.c (dl_main): Likewise.
20294         (process_dl_audit): Likewise.
20295         (process_envvars): Likewise.
20296         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20297         Remove declaration.
20298         (__libc_enable_secure): Use rtld_hidden_proto.
20300 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20302         * elf/dl-load.c
20303         (add_path): New function broken out of _dl_rtld_di_serinfo.
20304         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20306 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20308         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20309         parentheses around macro arguments.
20310         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20311         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20312         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20313         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20314         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20315         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20316         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20317         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20321         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20322         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20323         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20324         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20325         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20326         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20329         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20330         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20331         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20332         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20333         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20334         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20335         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20336         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20337         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20339         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20340         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20341         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20342         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20343         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20344         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20345         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20346         Likewise.
20347         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20348         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20349         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20350         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20351         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20354         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20355         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20356         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20357         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20358         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20359         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20360         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20361         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20362         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20364         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20365         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20366         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20368         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20369         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20370         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20371         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20372         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20373         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20374         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20375         (_FP_FRAC_SRS_1): Likewise.
20376         (_FP_FRAC_CLZ_1): Likewise.
20377         (_FP_MUL_MEAT_1_imm): Likewise.
20378         (_FP_MUL_MEAT_1_wide): Likewise.
20379         (_FP_MUL_MEAT_1_hard): Likewise.
20380         (_FP_SQRT_MEAT_1): Likewise.
20381         (_FP_FRAC_ASSEMBLE_1): Likewise.
20382         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20383         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20384         (__FP_CLZ_2): Likewise.
20385         (_FP_MUL_MEAT_2_wide): Likewise.
20386         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20387         (_FP_MUL_MEAT_2_gmp): Likewise.
20388         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20389         (_FP_SQRT_MEAT_2): Likewise.
20390         (_FP_FRAC_ASSEMBLE_2): Likewise.
20391         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20392         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20393         (_FP_FRAC_CLZ_4): Likewise.
20394         (_FP_MUL_MEAT_4_wide): Likewise.
20395         (_FP_MUL_MEAT_4_gmp): Likewise.
20396         (_FP_SQRT_MEAT_4): Likewise.
20397         (_FP_FRAC_ASSEMBLE_4): Likewise.
20398         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20399         * soft-fp/op-common.h (_FP_CMP): Likewise.
20400         (_FP_CMP_EQ): Likewise.
20401         (_FP_CMP_UNORD): Likewise.
20402         (_FP_TO_INT): Likewise.
20403         (_FP_FROM_INT): Likewise.
20404         [!__FP_CLZ] (__FP_CLZ): Likewise.
20405         (_FP_DIV_HELP_imm): Likewise.
20406         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20407         Likewise.
20408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20411         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20412         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20413         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20414         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20415         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20416         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20419         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20420         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20421         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20422         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20423         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20424         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20427         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20429         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20430         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20431         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20432         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20433         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20434         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20437         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20438         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20439         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20440         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20441         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20442         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20443         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20444         (FP_UNPACK_RAW_SP): Likewise.
20445         (FP_PACK_RAW_S): Likewise.
20446         (FP_PACK_RAW_SP): Likewise.
20447         (FP_UNPACK_S): Likewise.
20448         (FP_UNPACK_SP): Likewise.
20449         (FP_UNPACK_SEMIRAW_S): Likewise.
20450         (FP_UNPACK_SEMIRAW_SP): Likewise.
20451         (FP_PACK_S): Likewise.
20452         (FP_PACK_SP): Likewise.
20453         (FP_PACK_SEMIRAW_S): Likewise.
20454         (FP_PACK_SEMIRAW_SP): Likewise.
20455         (_FP_SQRT_MEAT_S): Likewise.
20456         (FP_CMP_S): Likewise.
20457         (FP_CMP_EQ_S): Likewise.
20458         (FP_CMP_UNORD_S): Likewise.
20459         (FP_TO_INT_S): Likewise.
20460         (FP_FROM_INT_S): Likewise.
20462         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20464         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20465         (FP_EX_INVALID_IMZ): Likewise.
20466         (FP_EX_INVALID_IMZ_FMA): Likewise.
20467         (FP_EX_INVALID_ISI): Likewise.
20468         (FP_EX_INVALID_ZDZ): Likewise.
20469         (FP_EX_INVALID_IDI): Likewise.
20470         (FP_EX_INVALID_SQRT): Likewise.
20471         (FP_EX_INVALID_CVI): Likewise.
20472         (FP_EX_INVALID_VC): Likewise.
20473         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20474         "invalid" exceptions.
20475         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20476         (_FP_ADD_INTERNAL): Likewise.
20477         (_FP_MUL): Likewise.
20478         (_FP_FMA): Likewise.
20479         (_FP_DIV): Likewise.
20480         (_FP_CMP_CHECK_NAN): Likewise.
20481         (_FP_SQRT): Likewise.
20482         (_FP_TO_INT): Likewise.
20483         (FP_EXTEND): Likewise.
20485 2014-10-09  Allan McRae  <allan@archlinux.org>
20487         * po/fr.po: Update French translation from translation project.
20489 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20491         [BZ #14132]
20492         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20493         of INTDEF.
20494         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20495         (__cxa_atexit): Use libc_hidden_proto.
20496         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20498         [BZ #14132]
20499         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20500         declaration.
20501         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20502         [!_ISOMAC] (__iswspace_l_internal): Likewise.
20503         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20504         [!_ISOMAC] (__iswctype_internal): Likewise.
20505         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20506         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20507         alias.
20508         (fcntl): Remove __fcntl_internal alias.
20509         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20510         __connect_internal alias.
20511         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20512         Likewise.
20514         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20515         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20516         FP_DENORM_ZERO.
20517         (_FP_CHECK_FLUSH_ZERO): New macro.
20518         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20519         (_FP_CMP): Likewise.
20520         (_FP_CMP_EQ): Likewise.
20521         (_FP_TO_INT): Do not set inexact for subnormal arguments if
20522         FP_DENORM_ZERO.
20523         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20524         (FP_TRUNC): Likewise.
20526         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20527         treated as invalid conversion, not as normal exponent.
20529         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20530         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
20531         (_FP_CMP_EQ): Likewise.
20532         (_FP_CMP_UNORD): Likewise.
20533         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20534         (FP_CMP_EQ_D): Likewise.
20535         (FP_CMP_UNORD_D): Likewise.
20536         * soft-fp/extended.h (FP_CMP_E): Likewise.
20537         (FP_CMP_EQ_E): Likewise.
20538         (FP_CMP_UNORD_E): Likewise.
20539         * soft-fp/quad.h (FP_CMP_Q): Likewise.
20540         (FP_CMP_EQ_Q): Likewise.
20541         (FP_CMP_UNORD_Q): Likewise.
20542         * soft-fp/single.h (FP_CMP_S): Likewise.
20543         (FP_CMP_EQ_S): Likewise.
20544         (FP_CMP_UNORD_S): Likewise.
20545         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20546         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20547         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20548         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20549         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20550         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20551         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20552         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20553         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20554         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20555         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20556         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20557         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20558         to FP_CMP_Q.
20559         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20560         FP_CMP_Q.
20561         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20562         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20563         FP_CMP_EQ_Q.
20564         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20565         FP_CMP_Q.
20566         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20567         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20568         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20569         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20570         FP_CMP_EQ_Q.
20571         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20572         FP_CMP_Q.
20573         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20574         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20575         FP_CMP_EQ_Q.
20576         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20577         FP_CMP_Q.
20578         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20579         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20580         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20581         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20582         FP_CMP_EQ_Q.
20584         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20585         a subnormal result, set the underflow exception if trapping on
20586         underflow is enabled.
20587         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20588         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20589         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20590         redefine to 0.
20591         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20592         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20593         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20594         * soft-fp/extendxftf2.c (__extendxftf2): Use
20595         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20597         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20598         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20599         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20600         FP_HANDLE_EXCEPTIONS.
20601         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20602         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20603         FP_HANDLE_EXCEPTIONS.
20604         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20605         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20606         FP_HANDLE_EXCEPTIONS.
20607         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20608         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20609         FP_HANDLE_EXCEPTIONS.
20611 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
20613         [BZ #14132]
20614         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20615         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20616         use INTUSE.
20617         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20618         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20619         Remove alias.
20620         (__adjtimex): Define using libc_hidden_ver.
20621         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20622         Remove declaration.
20623         (ntp_gettime): Call __adjtimex directly.
20624         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20625         Remove declaration.
20626         (ntp_gettimex): Call __adjtimex directly.
20627         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20628         __adjtimex_internal alias.
20630 2014-10-08  Roland McGrath  <roland@hack.frob.com>
20632         [BZ #17460]
20633         * nscd/nscd.c (more_help): Rewrite list of tables collection
20634         using xstrdup and asprintf.
20636         * nscd/nscd_conf.c: Remove local xstrdup declaration.
20638 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20639             Roland McGrath  <roland@hack.frob.com>
20641         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
20642         (do_lookup_unique): ... local function 'enter' here; update callers.
20644 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
20646         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
20647         compat_symbol calls on [SHARED].
20648         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20649         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
20650         Remove.
20651         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20652         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20653         (oldsetrlimit): Remove.
20654         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20656         (lchown): New syscall entry.
20657         (oldsetrlimit): Remove.
20658         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20659         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20660         (oldsetrlimit): Remove.
20661         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20663         [BZ #14138]
20664         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20665         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20666         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20667         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20668         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20669         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20670         (fchown): Likewise.
20671         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20672         (fchown): Likewise.
20673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20674         Likewise.
20676 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20678         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20679         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20680         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20681         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20682         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20683         Likewise.
20684         (__old_sem_post): Likewise.
20686 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20688         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20689         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20690         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20691         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20692         Use INLINE_VSYSCALL macro.
20693         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20694         __vdso_clock_gettime.
20695         * sysdeps/unix/sysv/linux/tile/init-first.c
20696         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20697         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20698         __vdso_clock_gettime.
20700         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20701         to set up frame more cleanly.
20703         * sysdeps/tile/memcmp.c: New file.
20705         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20707         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20708         * sysdeps/tile/tilegx/strcasestr.c: New file.
20709         * sysdeps/tile/tilegx/strnlen.c: New file.
20710         * sysdeps/tile/tilegx/strstr.c: New file.
20712         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20714 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20716         * nptl/tst-setuid3.c: Write errors to stdout.
20718 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20720         * elf/dl-deps.c
20721         (preload): New functions broken out of _dl_map_object_deps.
20722         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20724 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20726         [BZ #14138]
20727         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20728         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20730 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20732         * sysdeps/mips/strcmp.S: New.
20734 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20736         [BZ #14138]
20737         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20738         (linkat): Likewise.
20739         (mkdirat): Likewise.
20740         (readlinkat): Likewise.
20741         (renameat): Likewise.
20742         (symlinkat): Likewise.
20743         (unlinkat): Likewise.
20744         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20745         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20746         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20747         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20748         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20749         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20750         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20752 2014-09-30  Will Newton  <will.newton@linaro.org>
20754         * math/math.h: Define long double math functions if
20755         _LIBC_TEST is defined.
20756         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20758         * localedata/Makefile: Move assignment to tests-special
20759         into an ifdef testing run-built-tests.
20760         * timezone/Makefile: Likewise.
20762 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20764         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20765         with $(BASH) not $(SHELL).
20767 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20768             Matthew LeGendre  <legendre1@llnl.gov>
20770         [BZ #17411]
20771         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20772         l_reloc_result.
20774 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20776         * stdio-common/printf_fp.c
20777         (hack_digit): New function, broken out of ...
20778         (__printf_fp): ... local function here.  Update call sites.
20779         hack_digit now takes an additional parameter that is a pointer
20780         to a struct of the referenced locals.  Those locals moved inside
20781         the struct and references updated.
20783 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20785         * aclocal.m4: Require autoconf 2.69.
20786         * configure: Regenerated.
20787         * sysdeps/aarch64/configure: Likewise.
20788         * sysdeps/alpha/configure: Likewise.
20789         * sysdeps/arm/armv7/configure: Likewise.
20790         * sysdeps/arm/configure: Likewise.
20791         * sysdeps/ia64/configure: Likewise.
20792         * sysdeps/mach/configure: Likewise.
20793         * sysdeps/mips/configure: Likewise.
20794         * sysdeps/s390/configure: Likewise.
20795         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20798         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20799         file.
20800         * sysdeps/ia64/configure.ac: Likewise.
20802 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20805         specify symbol version for ld.so.  Do not include entry for
20806         libpthread.
20807         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20808         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20809         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20811         [BZ #14171]
20812         * Makeconfig [$(build-shared) = yes]
20813         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20814         makefiles.
20815         [$(build-shared) = yes && $(soversions.mk-done) = t]
20816         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20817         [$(build-shared) = yes && $(soversions.mk-done) = t]
20818         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20819         to Makerules.
20820         [$(build-shared) = yes && $(soversions.mk-done) = t]
20821         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20822         here.
20823         [$(build-shared) = yes && $(soversions.mk-done) = t]
20824         (common-generated): Don't append gnu/lib-names.h and
20825         gnu/lib-names.stmp here.
20826         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20827         (lib-names-h-abi): New variable.
20828         [$(build-shared) = yes && $(soversions.mk-done) = t]
20829         (lib-names-stmp-abi): Likewise.
20830         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20831         abi-variants] (before-compile): Append
20832         $(common-objpfx)$(lib-names-h-abi).
20833         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20834         abi-variants] (common-generated): Append gnu/lib-names.h.
20835         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20836         abi-variants] (install-others-nosubdir): Depend on
20837         $(inst_includedir)/$(lib-names-h-abi).
20838         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20839         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20840         [$(build-shared) = yes && $(soversions.mk-done) = t]
20841         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20842         [$(build-shared) = yes && $(soversions.mk-done) = t]
20843         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20844         [$(build-shared) = yes && $(soversions.mk-done) = t]
20845         (common-generated): Append $(lib-names-h-abi) and
20846         $(lib-names-stmp-abi).
20847         * scripts/lib-names.awk: Do not handle multi being set.
20848         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20849         Remove variable.
20850         (abi-lp64_be-ld-soname): Likewise.
20851         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20852         Likewise.
20853         (abi-hard-ld-soname): Likewise.
20854         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20855         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20856         Remove variable.
20857         (abi-o32_hard-ld-soname): Likewise.
20858         (abi-o32_soft_2008-ld-soname): Likewise.
20859         (abi-o32_hard_2008-ld-soname): Likewise.
20860         (abi-n32_soft-ld-soname): Likewise.
20861         (abi-n32_hard-ld-soname): Likewise.
20862         (abi-n32_soft_2008-ld-soname): Likewise.
20863         (abi-n32_hard_2008-ld-soname): Likewise.
20864         (abi-n64_soft-ld-soname): Likewise.
20865         (abi-n64_hard-ld-soname): Likewise.
20866         (abi-n64_soft_2008-ld-soname): Likewise.
20867         (abi-n64_hard_2008-ld-soname): Likewise.
20868         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20869         Likewise.
20870         (abi-64-v2-ld-soname): Likewise.
20871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20872         ld.so entries.
20873         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20874         variable.
20875         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20876         entry.
20877         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20878         variable.
20879         (abi-64-ld-soname): Likewise.
20880         (abi-x32-ld-soname): Likewise.
20881         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20882         entry.
20883         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20885 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20887         [BZ #14138]
20888         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20889         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20890         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20891         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20892         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20893         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20894         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20895         syscall entry for GLIBC_2.2 symbol version.
20896         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20897         Likewise.
20898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20899         (setrlimit): Likewise.
20900         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20901         Likewise.
20903 2014-09-23  Will Newton  <will.newton@linaro.org>
20905         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20906         _LINUX_ARM_SYSDEP_H include guard too.
20907         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20908         define.
20910 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20912         * sysdeps/unix/sysv/linux/eventfd.c:
20913         Make first argument unsigned.
20914         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20915         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20917 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20919         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20920         * socket/sys/socket.h: Likewise
20921         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20923 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20925         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20927 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20929         * time/tst-ftime.c: New test.
20930         * time/Makefile (tests): Add tst-ftime.
20932 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20934         * soft-fp/extended.h: Fix comment formatting.
20935         * soft-fp/op-1.h: Likewise.
20936         * soft-fp/op-2.h: Likewise.
20937         * soft-fp/op-4.h: Likewise.
20938         * soft-fp/op-8.h: Likewise.
20939         * soft-fp/op-common.h: Likewise.
20940         * soft-fp/soft-fp.h: Likewise.
20942         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20944 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20946         [BZ #6652]
20947         * Makeconfig (soversions-default-setname): Remove variable.
20948         ($(common-objpfx)soversions.i): Don't pass default_setname to
20949         soversions.awk.
20950         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20951         oldest_abi to abi-versions.awk.
20952         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20953         * config.make.in (oldest-abi): Remove variable.
20954         * configure.ac (--enable-oldest-abi): Remove configure option.
20955         * configure: Regenerated.
20956         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20957         text.
20958         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20959         * scripts/soversions.awk: Do not handle default_setname variable.
20960         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20961         variable.
20962         * sysdeps/mach/hurd/configure: Regenerated.
20963         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20964         variable.
20965         * sysdeps/unix/sysv/linux/configure: Regenerated.
20967 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20969         * elf/Makefile (CFLAGS-interp.c): Remove.
20970         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20971         path string.
20972         * elf/interp.c: Include generated runtime-linker.h
20974         * Makerules (lib%.so): Don't include $(+interp) in
20975         prerequisites.
20976         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20977         * dlfcn/eval.c: Remove file.
20979         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20980         macros.
20982         [BZ #17266]
20983         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20984         4.2 and newer.
20986         [BZ #17370]
20987         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20989 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20990             Jakub Jelinek  <jakub@redhat.com>
20992         [BZ #17266]
20993         * libio/stdio.h: Check definition of __fortify_function
20994         instead of __extern_always_inline to include bits/stdio2.h.
20995         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20996         check if __extern_always_inline is defined.
20997         [__USE_MISC || __USE_XOPEN]: Likewise.
20998         [__USE_ISOC99] Likewise.
20999         * misc/sys/cdefs.h (__fortify_function): Define only if
21000         __extern_always_inline is defined.
21001         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21002         __extern_always_inline and __extern_inline only for g++-4.3
21003         and newer or a compatible gcc.
21005 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21007         [BZ #17371]
21008         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21009         last change to handle zero prefix length.
21011 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21013         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21014         _SC_REGEX_VERSION.
21016         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21017         _POSIX_RAW_SOCKETS.
21019 2014-09-13  Allan McRae  <allan@archlinux.org>
21021         * po/ru.po: Update Russian translation from translation project.
21023 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21025         * locale/programs/locale.c (show_locale_vars): Inline local function
21026         into its sole call site.  Clean up some style nits.
21027         (print_item): New function, broken out of ...
21028         (show_info): ... local function here.  Clean up style nits.
21030         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21031         out of ...
21032         (set_class_defaults): ... local function set_default here.
21033         Define set_default as a macro locally to pass constant parameters.
21034         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21035         rather than a shared local.
21037         * stdlib/rpmatch.c (try): New function, broken out of ...
21038         (rpmatch): ... local function here.  Also, prototypify definition.
21040 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21042         * scripts/soversions.awk: Do not handle configuration names.
21043         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21044         vendor and os variables to soversions.awk.
21045         * configure.ac: Do not modify gnu-* host_os.
21046         * configure: Regenerated
21047         * shlib-versions: Remove first column with configuration names.
21048         * nptl/shlib-versions: Likewise.
21049         * nptl_db/shlib-versions: Likewise.
21050         * sysdeps/hppa/shlib-versions: Likewise.
21051         * sysdeps/m68k/shlib-versions: Likewise.
21052         * sysdeps/mach/hurd/shlib-versions: Likewise.
21053         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21054         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21055         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21056         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21057         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21058         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21059         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21060         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21062         Likewise.
21063         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21064         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21065         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21066         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21067         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21068         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21069         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21070         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21073         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21075         Regenerated.
21076         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21078         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21080         * shlib-versions: Remove OS-specific entries.  Moved to files in
21081         sysdeps.
21082         * sysdeps/mach/hurd/shlib-versions: New file.
21083         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21085         * nptl/shlib-versions: Remove architecture-specific entries.
21086         Moved to files in sysdeps.
21087         * shlib-versions: Likewise.
21088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21089         file.
21090         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21091         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21092         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21093         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21095         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21096         (UDP_NO_CHECK6_RX): Likewise.
21098 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21100         * sysdeps/posix/sysconf.c (__sysconf): Spell
21101         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21103 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21105         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21106         loading.
21107         * iconv/Versions (__gconv_transliterate): Export for use from
21108         gconv modules.
21109         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21110         (struct __gconv_trans_data, __gconv_trans_fct,
21111         __gconv_trans_context_fct, __gconv_trans_query_fct,
21112         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21113         definitions.
21114         (struct __gconv_step_data): Remove __trans member.
21115         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21116         longer hidden.  Remove unused trans_data argument.
21117         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21118         (__gconv_translit_find): Remove declaration.
21119         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21120         prototype.
21121         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21122         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21123         trans_data argument.  Add hidden definition.
21124         (__gconv_translit_find): Remove.
21125         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21126         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21127         * iconv/skeleton.c: Remove transliteration initialization.
21128         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21129         __gconv_step_data initialization.
21130         * libio/iofwide.c (__libio_translit_): Remove.
21131         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21132         * wcsmbs/btowc.c (__btowc): Likewise.
21133         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21134         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21135         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21136         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21137         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21138         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21139         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21140         * wcsmbs/wctob.c (wctob): Likewise.
21142 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21144         [BZ #16194]
21145         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21146         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21147         register usage.
21148         * sysdeps/x86/Makefile: Adjust.
21150 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21151             Roland McGrath  <roland@hack.frob.com>
21153         * locale/weight.h: Add include guard.
21154         (findidx): Make static rather than auto; take new parameters
21155         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21156         * locale/weightwc.h: Likewise.
21157         * posix/fnmatch_loop.c
21158         (FCT): Change type of EXTRA from int32_t to wint_t.
21159         Don't include either header inside the function.
21160         Call FINDIDX rather than findidx, and pass new arguments.
21161         #undef FINDIDX at the end of the file.
21162         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21163         FINDIDX before including fnmatch_loop.c for the non-wide version.
21164         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21165         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21166         for the wide version.
21167         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21168         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21169         Pass new arguments to findidx.
21170         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21171         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21172         Don't #include it inside the function.  Pass new arguments to findidx.
21173         * posix/regex_internal.h
21174         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21175         (re_string_elem_size_at): Don't #include it inside the function.
21176         Pass new arguments to findidx.
21177         * string/strcoll_l.c: #include WEIGHT_H at top level.
21178         (get_next_seq): Don't #include it inside the function.
21179         Pass new arguments to findidx.
21180         (get_next_seq_nocache): Likewise.
21181         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21182         (STRXFRM): Don't #include it inside the function.
21183         Pass new arguments to findidx.
21185 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21187         [BZ #17344]
21188         * malloc/malloc.c (unlink): Turn asserts into a call to
21189         malloc_printerr.
21191 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21193         [BZ #17370]
21194         * libio/wfileops (do_ftell_wide): Free OUT.
21196 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21198         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21200 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21202         [BZ #17363]
21203         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21204         group if the current group is empty.
21206 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21208         * benchtests/bench-memset.c (test_main): Add more test from size
21209         from 32 to 512 bytes.
21210         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21211         Add POWER8 memset object.
21212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21213         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21214         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21215         implementation.
21216         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21217         Likewise.
21218         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21219         multiarch POWER8 memset optimization.
21220         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21221         POWER8 memset optimization.
21223         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21224         Remove bzero multiarch objects.
21225         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21226         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21227         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21228         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21229         Remove define.
21230         [__bzero]: Redefine to specific name.
21231         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21232         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21233         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21234         define.
21235         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21236         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21238 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21240         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21241         warnings into errors.
21243         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21244         __cxa_thread_atexit_impl prototype.
21246 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21248         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21249         Fix capitalization of error message.
21251 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21253         * sysdeps/mips/preconfigure: Modify ABI tests.
21255 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21257         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21259 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21260             Carlos O'Donell  <carlos@systemhalted.org>
21262         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21263         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21264         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21265         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21266         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21267         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21268         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21269         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21270         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21271         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21272         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21273         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21274         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21275         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21276         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21277         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21278         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21279         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21280         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21281         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21282         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21283         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21284         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21285         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21286         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21287         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21288         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21289         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21290         Deconditionalize the code that was previously under [RESET_PID].
21291         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21292         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21293         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21294         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21295         include sysdep.h.
21297 2014-09-08  Allan McRae  <allan@archlinux.org>
21299         * version.h (RELEASE): Set to "development".
21300         (VERSION): Set to "2.20.90"
21302 2014-09-07  Allan McRae  <allan@archlinux.org
21304         * version.h (RELEASE): Set to "stable".
21305         (VERSION): Set to "2.20"
21306         * include/features.h (__GLIBC_MINOR__): Set to 20.
21308         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21309         Liebler.
21311         * po/ko.po: Update Korean translation from translation project.
21313 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21315         [BZ #17354]
21316         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21317         macro for handling signed relocations.
21319 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21321         [BZ #17325]
21322         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21323         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21324         assert.
21325         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21326         * iconvdata/ibm935.c (BODY): Likewise.
21327         * iconvdata/ibm937.c (BODY): Likewise.
21328         * iconvdata/ibm939.c (BODY): Likewise.
21329         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21330         assert.
21331         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21332         script.
21333         * iconvdata/run-iconv-test.sh: New test loop for checking for
21334         decoder crashers.
21336 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21338         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21339         libm_hidden_ver.
21341 2014-09-01  Allan McRae  <allan@archlinux.org>
21343         * po/eo.po: Update Esperanto translation from translation project.
21345         * po/ca.po: Update Catalan translation from translation project.
21347 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21349         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21350         __proc_dostop call.
21352 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21354         [BZ #17319]
21355         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21356         to call set_thread_area instead of hand written asm.
21357         (__NR_set_thread_area): Removed define.
21358         (TLS_FLAG_WRITABLE): Likewise.
21359         (__ASSUME_SET_THREAD_AREA): Remove check.
21360         (TLS_EBX_ARG): Remove define.
21361         (TLS_LOAD_EBX): Likewise.
21363 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21365         Simplify atomicity of socket creation in bind.
21367         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21368         looking up the name after linking the file.
21370 2014-08-27  Allan McRae  <allan@archlinux.org>
21372         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21374 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21376         [BZ #17187]
21377         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21378         trans_compare, open_translit, __gconv_translit_find):
21379         Remove module loading code.
21381 2014-08-26  Allan McRae  <allan@archlinux.org>
21383         * po/vi.po: Update Vietnamese translation from translation project.
21385         * po/uk.po: Update Ukrainian translation from translation project.
21387         * po/fr.po: Update French translation from translation project.
21389         * po/ru.po: Update Russian translation from translation project.
21391         * po/pl.po: Update Polish translation from translation project.
21393         * po/cs.po: Update Czech translation from translation project.
21395         * po/de.po: Update German translation from translation project.
21397         * po/bg.po: Update Bulgarian translation from translation project.
21399         * po/sv.po: Update Sweedish translation from translation project.
21401         * po/nl.po: Update Dutch translation from translation project.
21403         * po/es.po: Update Spanish translation from translation project.
21405 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21407         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21409         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21410         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21411         (CPPFLAGS-iconvconfig): Likewise.
21412         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21414         * include/libc-symbols.h: Remove unnecessary check for
21415         NOT_IN_libc.
21416         * nptl/pthreadP.h: Likewise.
21417         * sysdeps/aarch64/setjmp.S: Likewise.
21418         * sysdeps/alpha/setjmp.S: Likewise.
21419         * sysdeps/arm/sysdep.h: Likewise.
21420         * sysdeps/i386/setjmp.S: Likewise.
21421         * sysdeps/m68k/setjmp.c: Likewise.
21422         * sysdeps/posix/getcwd.c: Likewise.
21423         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21424         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21425         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21426         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21427         * sysdeps/sh/sh3/setjmp.S: Likewise.
21428         * sysdeps/sh/sh4/setjmp.S: Likewise.
21429         * sysdeps/unix/alpha/sysdep.h: Likewise.
21430         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21431         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21432         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21433         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21436         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21438         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21439         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21441         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21443         * sysdeps/x86_64/setjmp.S: Likewise.
21445 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21447         [BZ #17263]
21448         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21449         <stdint.h>.
21450         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21451         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21453 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21455         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21457         [BZ #17262]
21458         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21459         and __x86_64__ when disabling x87 inline functions.
21461 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21463         [BZ #17259]
21464         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21465         asm statement with __cpuid_count.
21467 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21469         * configure.ac: Change __ehdr_start code to dereference the struct.
21470         Run readelf on the output to look for relocations.
21471         * configure: Regenerated.
21473 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
21475         [BZ #17261]
21476         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21477         value to 0.
21478         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21480 2014-08-12  Roland McGrath  <roland@hack.frob.com>
21482         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21484 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
21486         [BZ #16892]
21487         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21488         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21490 2014-08-12  Sean Anderson  <seanga2@gmail.com>
21492         * malloc/malloc.c: Fix typo in comment.
21494 2014-08-09  Allan McRae  <allan@archlinux.org>
21496         * Regenerate libc.po.
21498 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
21500         * intl/tst-gettext2.sh: Check every lang file for creation.
21502 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21504         * sysdeps/aarch64/fpu/math_private.h
21505         (libc_feholdsetround_noex_aarch64_ctx): New function.
21507 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21509         * sysdeps/arm/armv6/strcpy.S (strcpy):
21510         Fix performance issue in misaligned cases.
21512 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21514         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21515         Move definition from termios.h.
21516         (struct termio): Likewise.
21517         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21518         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21519         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21520         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21521         Likewise.
21522         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21523         Move definition to ioctl-types.h
21524         (struct termio): Likewise.
21525         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21526         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21527         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21528         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21529         Likewise.
21531 2014-08-05  Richard Henderson  <rth@redhat.com>
21533         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21534         exceptions.
21535         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21536         Add fraiseexcpt.
21537         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21538         Use __feraiseexcept.
21539         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21540         Protect libm symbols with IS_IN_libm.
21542         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21544 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21546         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21548 2014-08-04  Will Newton  <will.newton@linaro.org>
21550         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21551         file.
21553 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21555         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21556         variants for each function.
21558 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21560         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21561         appended ...
21562         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21563         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21564         appended ...
21565         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21566         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21567         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21568         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21569         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21570         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21571         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21572         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21573         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21574         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21575         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21576         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21577         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21578         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21579         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21580         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21581         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21582         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21583         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21584         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21585         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21586         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21587         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21588         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21589         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21590         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21591         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21592         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21593         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21594         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21595         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21596         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21597         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21598         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21599         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21600         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21601         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21602         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21603         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21604         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21605         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21606         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21607         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21608         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21609         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21610         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21611         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21612         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21613         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21614         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21615         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21616         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21617         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21618         Update #include.
21619         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21620         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21622 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21624         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21625         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21626         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21627         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21628         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21629         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21631 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21633         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
21634         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
21635         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21636         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
21638 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21640         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
21641         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
21642         (__libc_vfork): Define function under this name.
21643         (__vfork): Define as an alias.
21644         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
21645         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
21647 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21649         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
21650         that was previously under [RESET_PID].
21651         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21653 2014-08-04  Andreas Schwab  <schwab@suse.de>
21655         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21657 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21659         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21660         (main): Likewise.
21662 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21664         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21666 2014-08-01  Richard Henderon  <rth@redhat.com>
21668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21669         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21670         typo in exact zero test.
21671         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21672         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21673         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21675 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21677         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21678         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21679         * sysdeps/arm/sysdep.h: ... here.
21680         [!__ASSEMBLER__]: Include <stdint.h>.
21682 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21684         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21685         (HAVE_WCTYPE_H): Likewise.
21686         (HAVE_ISWCTYPE): Likewise.
21687         (ENABLE_NLS): Likewise.
21688         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21689         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21691         * posix/regex_internal.c: Check if DEBUG is defined and is
21692         set.
21694         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21695         (HAVE_MBSRTOWCS): Likewise.
21696         * posix/fnmatch.c: Include string.h unconditionally.
21698 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21700         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21701         reversal.
21703 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21705         * sysdeps/generic/safe-fatal.h: New file.
21706         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21707         * nptl/forward.c: Include it.
21708         (__pthread_unwind): Use __safe_fatal as default action, rather
21709         than a bogus use of INTERNAL_SYSCALL that could never work.
21711         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21712         * configure.ac (libc_cv_builtin_trap): New test.
21713         * configure: Regenerated.
21714         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21715         (ABORT_INSTRUCTION): Define using __builtin_trap.
21717         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21718         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21719         * sysdeps/nptl/nptl-signals.h: New file.
21720         * nptl/pthreadP.h: Include <nptl-signals.h>.
21722 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21724         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21725         (ONE_DIRECTION): Define.
21726         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21727         (ONE_DIRECTION): Define.
21728         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21729         (ONE_DIRECTION): Define.
21731 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21733         * sysdeps/s390/Makefile: Delete file.
21734         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21735         * sysdeps/s390/__longjmp.c: Delete file.
21736         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21737         Remove fields __flags and __reserved.
21738         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21739         and add versioning.
21740         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21741         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21742         * sysdeps/s390/rtld-setjmp.S: Likewise.
21743         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21744         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21745         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21746         * sysdeps/s390/s390-32/setjmp.S: ... here.
21747         Add versioning.
21748         (__sigsetjmp): Remove setting __flags field.
21749         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21750         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21751         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21752         * sysdeps/s390/s390-64/setjmp.S: ... here.
21753         Add versioning.
21754         (__sigsetjmp): Remove setting __flags field.
21755         * sysdeps/s390/setjmp.S: Delete file.
21756         * sysdeps/s390/sigjmp.c: Likewise.
21757         * sysdeps/s390/v1-longjmp.c: Likewise.
21758         * sysdeps/s390/v1-setjmp.h: Likewise.
21759         * sysdeps/s390/v1-sigjmp.c: Likewise.
21760         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21761         Remove v1-longjmp_chk.
21762         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21763         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21764         Include debug/longjmp_chk.c and add versioning.
21765         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21766         Include nptl/pt-longjmp.c and add versioning.
21767         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21768         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21769         Include __longjmp.c.
21770         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21771         Move to ...
21772         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21773         (__getcontext): Remove setting __flags field.
21774         Add versioning.
21775         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21776         Don't restore upper high grps.
21777         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21778         Likewise.
21779         (__swapcontext): Remove setting uc_flags field.
21780         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21781         Delete file.
21782         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21783         Include __longjmp.c.
21784         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21785         Move to ...
21786         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21787         (__getcontext): Remove setting __flags field.
21788         Add versioning.
21789         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21790         (__swapcontext): Remove setting uc_flags field.
21791         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21792         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21793         Remove fields uc_high_gprs and __reserved.
21794         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21795         New file with reverted content.
21796         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21797         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21798         Regenerated.
21799         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21800         Regenerated.
21802 2014-07-31  Andreas Schwab  <schwab@suse.de>
21804         * config.h.in (HAVE_IFUNC): Define to 0.
21805         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21806         definedness.
21808 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21811         memmove-avx-unaligned, memcpy-avx-unaligned and
21812         mempcpy-avx-unaligned.
21813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21814         Add tests for AVX memcpy functions.
21815         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21816         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21817         memcpy_chk.
21818         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21819         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21820         memmove_chk.
21821         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21822         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21823         mempcpy_chk.
21824         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21825         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21826         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21828 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21830         [BZ #17213]
21831         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21832         powerpc64le.
21834 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21836         [BZ #16839]
21837         * manual/llio.texi: Add section about open file description locks.
21838         * manual/examples/ofdlocks.c: Example of open file description
21839         lock usage.
21840         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21841         F_OFD_SETLK, and F_OFD_SETLKW.
21843 2014-07-23  Allan McRae  <allan@archlinux.org>
21845         * po/es.po: Update Spanish translation from translation project.
21847 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21849         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21851 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21853         [BZ #17078]
21854         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21855         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21856         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21858 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21860         [BZ #17088]
21861         * math/fesetenv.c (__fesetenv)
21862         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21863         * math/feupdateenv.c (__feupdateenv)
21864         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21866         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21867         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21868         (__ASSUME_SOCKETCALL): Do not define.
21870         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21871         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21872         (__ASSUME_SOCKETCALL): Do not define.
21873         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21874         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21875         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21876         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21877         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21878         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21879         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21880         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21882         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21883         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21884         (__ASSUME_SOCKETCALL): Do not define.
21885         (__ASSUME_IPC64): Define unconditionally.
21886         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21887         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21888         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21889         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21890         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21891         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21892         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21893         Likewise.
21895         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21896         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21897         (__ASSUME_SOCKETCALL): Do not define.
21898         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21899         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21900         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21901         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21902         (__ASSUME_REQUEUE_PI): Define unconditionally.
21903         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21904         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21905         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21906         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21907         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21908         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21910         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21911         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21912         (__ASSUME_SOCKETCALL): Do not define.
21913         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21915         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21916         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21917         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21918         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21920         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21921         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21922         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21923         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21924         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21925         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21926         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21927         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21928         (__ASSUME_GETCPU_SYSCALL): Likewise.
21930         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21931         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21932         cases for individual architectures.
21933         * sysdeps/gnu/configure: Regenerated.
21934         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21935         LIBC_SLIBDIR_RTLDDIR.
21936         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21937         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21938         LIBC_SLIBDIR_RTLDDIR.
21939         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21941         LIBC_SLIBDIR_RTLDDIR.
21942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21943         Regenerated.
21944         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21945         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21946         file.
21947         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21948         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21949         file.
21950         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21951         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21952         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21953         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21955         * sysdeps/aarch64/shlib-versions: Move to ...
21956         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21957         * sysdeps/alpha/shlib-versions: Move to ...
21958         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21959         * sysdeps/arm/shlib-versions: Move to ...
21960         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21961         * sysdeps/hppa/shlib-versions: Move all contents except for
21962         libgcc_s entry to ...
21963         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21964         entry from ...
21965         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21966         * sysdeps/ia64/shlib-versions: Move to ...
21967         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21968         entry from ...
21969         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21970         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21971         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21972         * sysdeps/microblaze/shlib-versions: Move to ...
21973         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21974         * sysdeps/mips/shlib-versions: Move to ...
21975         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21976         entry from ...
21977         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21978         * sysdeps/tile/shlib-versions: Move to ...
21979         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21980         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21981         from ...
21982         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21983         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21984         entry from ...
21985         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21987 2014-07-17  Will Newton  <will.newton@linaro.org>
21989         * sysdeps/arm/bits/atomic.h
21990         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21991         (__arch_compare_and_exchange_bool_16_int): Likewise.
21992         (__arch_compare_and_exchange_bool_64_int): Likewise.
21994         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21995         into an #else block.
21997 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21999         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22000         just Linux configurations.  Test empirically that the compiler sets
22001         __ARM_EABI__, rather than using the tuple to decide.
22002         * sysdeps/arm/preconfigure: Regenerated.
22003         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22004         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22005         contents appended ...
22006         * sysdeps/arm/configure.ac: ... here.
22007         * sysdeps/arm/configure: Regenerated.
22009 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22011         * nptl/pthread_kill.c: New file.
22012         * nptl/pthread_sigmask.c: New file.
22013         * nptl/pthread_sigqueue.c: New file.
22015         * sysdeps/nptl/lowlevellock.h: New file.
22016         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22017         * sysdeps/nptl/lowlevellock-futex.h: New file.
22019         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22020         Remove dead declarations.
22022 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22024         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22025         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22026         config-cflags-avx2.
22027         * sysdeps/x86_64/configure.ac: Likewise.
22028         * sysdeps/i386/configure: Regenerated.
22029         * sysdeps/x86_64/configure: Likewise.
22030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22031         memset-avx2 only if config-cflags-avx2 is yes.
22032         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22033         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22034         defined.
22035         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22036         only if HAVE_AVX2_SUPPORT is defined.
22037         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22039 2014-07-14  Alan Modra  <amodra@gmail.com>
22041         [BZ #17153]
22042         * elf/elf.h (DT_PPC64_NUM): Correct value.
22043         * NEWS: Add to fixed bug list.
22045 2014-07-13  Jim Meyering  <meyering@fb.com>
22047         [BZ 17150]
22048         regex: don't deref NULL upon heap allocation failure
22049         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22050         failure in one more place.
22051         To trigger the segfault, configure grep -with-included-regex,
22052         build it, and run these commands:
22053         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22055 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22057         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22059 2014-07-11  Richard Henderson  <rth@redhat.com>
22061         * sysdeps/aarch64/libm-test-ulps: Update.
22063 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22065         [BZ #17135]
22066         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22067         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22068         (__nptl_setxid): Initialize error member.  Call
22069         __nptl_setxid_error.
22070         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22071         * nptl/descr.h (struct xid_command): Add error member.
22072         * nptl/tst-setuid3.c: New file.
22073         * nptl/Makefile (tests): Add it.
22075 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22077         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22078         New define.
22079         (__lll_trylock): Use __lll_base_trylock.
22080         (__lll_cond_trylock): Likewise.
22082 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22084         * nptl/pthread_create.c (start_thread): Use atomic_or and
22085         lll_futex_wake directly rather than lll_robust_dead.
22086         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22087         (lll_robust_dead): Macro removed.
22088         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22089         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22090         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22091         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22092         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22093         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22094         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22095         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22096         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22097         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22098         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22099         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22100         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22101         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22102         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22104         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22105         Use atomic_compare_and_exchange_val_acq directly rather than
22106         lll_robust_trylock.
22107         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22108         (__lll_robust_trylock, lll_robust_trylock): Removed.
22109         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22110         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22111         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22112         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22113         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22114         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22115         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22116         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22117         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22118         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22119         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22120         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22121         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22122         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22124 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22126         * manual/locale.texi (Locale Names): New section documenting
22127         locale name syntax.  Adjust menu and node chaining accordingly.
22128         (Choosing Locale): Reference Locale Names, Locale Categories.
22129         Mention setting LC_ALL=C.  Reflect that name syntax is now
22130         documented.
22131         (Locale Categories): New section title.  Reference Locale Names.
22132         LC_ALL is an environment variable, but not a category.
22133         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22134         description, now in Locale Name.  Reference that section.  Locale
22135         name syntax is now documented.
22137 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22139         [BZ #17137]
22140         * locale/findlocale.c (name_present, valid_locale_name): New
22141         functions.
22142         (_nl_find_locale): Use the loc_name variable to store name
22143         candidates.  Call name_present and valid_locale_name to check and
22144         validate locale names.  Return an error if the locale is invalid.
22146 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22148         * locale/setlocale.c (setlocale): Use strdup for allocating
22149         composite name copy.
22151 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22153         Sync up with gnulib.
22154         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22155         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22156         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22157         and _GL_ARG_NONNULL.
22158         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22159         [!_LIBC]: Include code for Windows and Cygwin.
22160         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22161         Include prototype for int strerror_r.
22162         [!_LIBC] (is_open): New function.
22163         (flush_stdout): New function.
22164         (print_errno_message): Use it.
22165         (error): Likewise.
22166         (error_at_line): Likewise.
22167         (error_tail) Add function attribute macros.  Use
22168         __builtin_expect.
22170         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22172         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22174         * io/ftw.c: Include sys/param.h unconditionally.
22176         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22178         [BZ #17125]
22179         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22180         libc_freeres_ptr.
22181         (freecache): New function to free CACHE on exit.
22183         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22184         initialization.
22186 2014-07-09  David S. Miller  <davem@davemloft.net>
22188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22190         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22191         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22192         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22193         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22194         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22195         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22196         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22197         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22198         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22199         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22200         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22201         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22202         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22204 2014-07-09  Andreas Schwab  <schwab@suse.de>
22206         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22207         output.
22208         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22209         (do_test): Likewise.
22211         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22213 2014-07-09  Will Newton  <will.newton@linaro.org>
22215         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22216         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22217         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22218         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22219         * sysdeps/hppa/start.S (_start): Likewise.
22221 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22223         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22225         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22226         defined.
22228 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22230         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22231         after checking that it is non-NULL.
22233         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22235 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22237         * sysdeps/powerpc/memmove.c: Remove file.
22238         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22239         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22240         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22241         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22242         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22243         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22244         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22245         string memmove instead of removed powerpc one.
22247         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22248         [weak_alias]: Fix compiler warning due trailing data.
22249         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22250         [weak_alias]: Likewise.
22251         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22252         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22254         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22255         (__libc_ifunc_impl_list): Add memmove functions.
22257 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22259         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22260         Remove code.
22261         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22262         Likewise
22263         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22264         Likewise
22265         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22266         Likewise
22267         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22268         Likewise
22269         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22270         Likewise
22271         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22272         Likewise
22273         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22274         Likewise
22275         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22276         Likewise
22277         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22278         Likewise
22279         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22280         Likewise
22281         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22282         Likewise
22283         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22284         Likewise
22285         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22286         Likewise
22287         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22288         Likewise
22289         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22290         Likewise
22291         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22292         Likewise
22294 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22296         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22297         to avoid alignment traps in non-cacheable memory.
22298         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22301         multiarch objects.
22302         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22303         file: multiarch power7 memmove.
22304         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22305         multiarch default memmove.
22306         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22307         multiarch memove for powerpc32/power4.
22309         * string/bcopy.c: Use full path to include memmove.c.
22310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22311         multiarch objects.
22312         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22313         bcopy for powerpc64.
22314         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22315         bcopy for powerpc64.
22316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22317         and memmove implementations.
22318         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22319         optimized multiarch memmove for POWER7/powerpc64.
22320         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22321         default multiarch memmove for powerpc64.
22322         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22323         multiarch for powerpc64.
22324         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22325         for POWER7/powerpc64.
22326         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22327         memmove for POWER7/powerpc64.
22329         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22330         glibc default one.
22332         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22333         __ELF_NATIVE_CLASS equal to 64.
22335 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22337         * sysdeps/nptl/lowlevellock.h: File removed.
22339         * NEWS: NPTL is no longer an add-on!
22340         * nptl/internaltypes.h: Moved ...
22341         * sysdeps/nptl/internaltypes.h: ... here.
22342         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22343         * sysdeps/nptl/fork.c: Likewise.
22344         * sysdeps/nptl/gai_misc.h: Likewise.
22345         * sysdeps/nptl/librt-cancellation.c: Likewise.
22346         * sysdeps/nptl/jmp-unwind.c: Likewise.
22347         * sysdeps/nptl/setxid.h: Likewise.
22348         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22349         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22350         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22351         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22352         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22353         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22354         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22355         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22356         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22357         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22358         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22359         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22360         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22361         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22362         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22363         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22364         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22365         * nptl/Makeconfig: Moved ...
22366         * sysdeps/nptl/Makeconfig: ... here.
22367         * nptl/configure: File removed.
22368         * nptl/ANNOUNCE: File removed.
22369         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22370         * sysdeps/unix/sysv/linux/configure: Regenerated.
22372         * nptl/Makefile (routines): Add libc_pthread_init,
22373         libc_multiple_threads, register-atfork and unregister-atfork.
22374         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22375         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22376         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22377         pthread-pi-defines.sym, structsem.sym.
22378         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22379         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22380         [$(subdir) = nptl] (tests): Add tst-setgetname.
22381         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22382         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22383         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22384         [!LIBC_SIGACTION]: Remove aliases.
22385         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22386         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22387         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22388         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22389         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22390         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22391         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22392         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22393         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22394         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22395         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22396         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22397         __libc_allocate_rtsig_private.
22398         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22399         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22400         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22401         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22402         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22403         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22404         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22405         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22406         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22407         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22408         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22409         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22410         * nptl/internaltypes.h: ... here.
22411         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22412         * sysdeps/nptl/jmp-unwind.c: ... here.
22413         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22414         * nptl/libc-lowlevellock.c: ... here.
22415         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22416         * nptl/libc_multiple_threads.c: ... here.
22417         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22418         * nptl/libc_pthread_init.c: ... here.
22419         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22420         * nptl/lowlevelbarrier.sym: ... here.
22421         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22422         * nptl/lowlevelcond.sym: ... here.
22423         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22424         * nptl/lowlevellock.c: ... here.
22425         * nptl/lowlevellock.h: Moved ...
22426         * sysdeps/nptl/lowlevellock.h: ... here.
22427         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22428         * nptl/lowlevelrobustlock.c: ... here.
22429         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22430         * nptl/lowlevelrobustlock.sym: ... here.
22431         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22432         * nptl/lowlevelrwlock.sym: ... here.
22433         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22434         * nptl/pt-fork.c: ... here.
22435         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22436         * nptl/pthread-pi-defines.sym: ... here.
22437         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22438         * nptl/pthread_attr_getaffinity.c: ... here.
22439         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22440         * nptl/pthread_attr_setaffinity.c: ... here.
22441         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22442         * nptl/pthread_mutex_cond_lock.c: ... here.
22443         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22444         Update #include.
22445         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22446         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22447         * nptl/pthread_once.c: ... here, replacing old file.
22448         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22449         * nptl/pthread_yield.c: ... here.
22450         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22451         * nptl/register-atfork.c: ... here.
22452         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22453         * nptl/sem_post.c: ... here.
22454         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22455         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22456         * nptl/sem_timedwait.c: ... here.
22457         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22458         * nptl/sem_trywait.c: ... here.
22459         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22460         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22461         * nptl/sem_wait.c: ... here.
22462         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22463         * nptl/structsem.sym: ... here.
22464         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22465         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22466         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22467         * nptl/unregister-atfork.c: ... here.
22468         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22469         * nptl/unwindbuf.sym: ... here.
22470         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22471         * sysdeps/nptl/fork.c: ... here.
22472         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22473         * sysdeps/nptl/fork.h: ... here.
22474         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22475         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22476         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22477         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22478         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22479         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22480         * sysdeps/unix/sysv/linux/getpid.c: ... here.
22481         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22482         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22483         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22484         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22485         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22486         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22487         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22488         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22489         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22490         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22491         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22492         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22493         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22494         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22495         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22496         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22497         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22498         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22499         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22500         * sysdeps/unix/sysv/linux/raise.c: ... here.
22501         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22502         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22503         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22504         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22505         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22506         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22507         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22508         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22509         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22510         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22511         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22512         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22513         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22514         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22515         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22517 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22519         * sysdeps/generic/memcopy.h: Add comment for
22520         MEMCPY_OK_FOR_FWD_MEMMOVE.
22522 2014-07-04  Will Newton  <will.newton@linaro.org>
22524         * string/memchr.c: Merge from gnulib.
22525         [_LIBC]: Remove conditionals.
22526         (__ptr_t): Remove define.
22527         (LONG_MAX_32_BITS): Likewise.
22528         (LONG_MAX): Likewise.
22529         (MEMCHR): Use ANSI prototype and optimize algorithm.
22531         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22533 2014-07-03  Roland McGrath  <roland@hack.frob.com>
22535         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22536         (lll_futex_timed_wait_bitset): Fix syscall argument count.
22538         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22539         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22540         in a bare environment with no <stdlib.h> installed.
22541         * sysdeps/nptl/configure: Regenerated.
22543         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22545         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22546         AC_EGREP_CPP for kernel header checks, so they only succeed if
22547         including <linux/version.h> actually works right.
22548         * sysdeps/unix/sysv/linux/configure: Regenerated.
22550         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22551         value so it's not diagnosed as unused.
22553         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22554         thing) with "ifeq ($(subdir),rt)".
22556 2014-07-03  Richard Henderson  <rth@redhat.com>
22558         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22559         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22560         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22562         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22563         (math_force_eval): New.
22565         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22566         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22568         * sysdeps/alpha/fpu/s_round.c: Remove file.
22569         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22571         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22572         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22573         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22574         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22575         (_dl_start, print_statistics): Likewise.
22576         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22577         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22579         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22580         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22581         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22582         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22583         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22584         (HP_SMALL_TIMING_AVAIL): Define.
22585         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22586         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22587         (HP_SMALL_TIMING_AVAIL): Define.
22588         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22589         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22591         * sysdeps/aarch64/hp-timing.h: New file.
22593         * sysdeps/generic/hp-timing.h: Remove dead comment.
22594         * sysdeps/generic/hp-timing-common.h: New file.
22595         * sysdeps/alpha/hp-timing.h: Include it.
22596         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22597         * sysdeps/i386/i686/hp-timing.h: Likewise.
22598         * sysdeps/ia64/hp-timing.h: Likewise.
22599         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22600         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22601         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22602         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22603         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22604         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22605         (hp_timing_t): New.
22607         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22608         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22609         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22610         * elf/rtld.c (_dl_start_final): Likewise.
22611         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22612         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22613         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22614         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22615         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22616         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22617         (HP_TIMING_DIFF_INIT): Remove.
22618         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22619         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22620         (HP_TIMING_DIFF_INIT): Remove.
22621         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22622         * sysdeps/i386/i686/hp-timing.c: Remove file.
22623         * sysdeps/x86_64/hp-timing.c: Remove file.
22624         * sysdeps/ia64/hp-timing.c: Remove file.
22625         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22626         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22627         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22628         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22630         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22631         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22632         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
22633         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22634         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22635         (HP_TIMING_ACCUM): Remove.
22636         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22637         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
22638         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22640         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
22641         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
22642         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
22643         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
22644         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
22645         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22646         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
22647         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22649         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22651 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
22653         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22655 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22657         Sync up with gettext.
22658         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22659         [_MSC_VER]: Include malloc.h
22660         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22661         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22662         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22663         TEMP_FAILURE_RETRY.  Cast return of alloca.
22664         [!_LIBC] Call gl_rwlock_init.
22665         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22667 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22669         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22670         before checking its value.
22672 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22674         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22676         * debug/memcpy_chk.c: Don't include pagecopy.h.
22677         * debug/mempcpy_chk.c: Likewise.
22678         * string/memcpy.c: Likewise.
22679         * string/memmove.c: Likewise.
22680         * sysdeps/powerpc/memmove.c: Likewise.
22681         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22682         definition of PAGE_COPY_FWD_MAYBE here...
22683         * sysdeps/generic/pagecopy.h: ... from here.
22684         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22686 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22687             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22689         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22691         optimizations.
22692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22693         (__libc_ifunc_impl_list): Likewise.
22694         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22695         multiarch strcat for PPC64.
22696         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22697         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22699 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22701         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22703 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22705         * intl/loadmsgcat.c: Remove declaration of
22706         get_sysdep_segment_value.
22707         (get_sysdep_segment_value): Use ISO C style.
22708         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22709         semicolon.  Fix typo and formatting in comment.
22710         (_nl_unload_domain): Use ISO C style.
22712         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22714 2014-07-02  Will Newton  <will.newton@linaro.org>
22716         * malloc/obstack.c: Merge from gnulib master.
22717         [HAVE_CONFIG_H]: Remove conditional code.
22718         [!_LIBC]: Include config.h.
22719         [!ELIDE_CODE]: Don't include inttypes.h, include
22720         stdint.h unconditionally.
22721         (print_and_abort): Mark as _Noreturn.
22722         (_obstack_allocated_p): Mark as __attribute_pure__.
22723         (obstack_free): Rename to __obstack_free.
22724         [!__attribute__]: Remove conditional code.
22725         * malloc/obstack.h: Merge from gnulib master.
22726         [__cplusplus]: Move conditional down.
22727         [!__attribute_pure__]: Define __attribute_pure__ here
22728         if it is not already defined.
22729         (_obstack_memory_used): Mark as __attribute_pure__.
22730         [!__obstack_free]: Define as obstack_free.
22731         [__GNUC__]: Remove check for ancient NeXT gcc.
22733 2014-07-02  Will Newton  <will.newton@linaro.org>
22734             Paul Eggert  <eggert@cs.ucla.edu>
22736         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22738 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22740         * resolv/gethnamaddr.c: Add comment warning that the file is
22741         not maintained.
22743 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22745         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22746         entries.
22748         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22749         entry for aio_cancel and aio_cancel64.
22750         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22751         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22752         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22753         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22754         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22755         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22756         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22757         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22758         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22759         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22760         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22761         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22762         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22764 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22766         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22767         * nptl/pthread_mutex_lock.c: Likewise.
22768         * nptl/pthread_mutex_timedlock.c: Likewise.
22769         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22771 2014-07-01  Richard henderson  <rth@redhat.com>
22773         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22774         (__isnan, __isnanl): Remove.
22775         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22777         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22779 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22781         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22783 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22785         * resolv/nss_dns/dns-host.c (getanswer_r)
22786         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22788 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22790         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22791         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22792         undefine.
22793         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22794         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22796 2014-07-01  Roland McGrath <roland@hack.frob.com>
22798         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22799         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22801         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22802         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22804         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22805         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22806         ... here.
22807         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22808         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22810         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22811         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22812         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22813         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22815         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22816         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22817         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22818         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22819         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22820         Moved ...
22821         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22822         ... here.
22823         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22824         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22825         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22826         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22827         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22828         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22829         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22830         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22831         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22832         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22833         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22834         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22835         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22836         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22837         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22838         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22839         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22840         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22841         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22842         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22843         ... here.
22844         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22845         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22846         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22847         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22848         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22849         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22850         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22851         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22853 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22855         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22856         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22857         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22858         Add sysdep.
22860 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22864 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22866         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22867         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22869         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22871         * sysdeps/arm/libm-test-ulps: Regenerated.
22873 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22874             Roland McGrath <roland@hack.frob.com>
22876         * test-skeleton.c (signal_handler): Kill the whole process group
22877         before killing the child individually.
22878         (main): Report any failure on `setpgid'.
22880 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22882         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22883         from _TLS_H to _ARM_NPTL_TLS_H.
22884         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22885         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22887 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22889         [BZ #16539]
22890         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22891         (__expm1l): Return argument unchanged when small but not
22892         subnormal.
22894         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22895         include macro name.
22896         (_FP_UNPACK_RAW_1_P): Likewise.
22897         (_FP_PACK_RAW_1): Likewise.
22898         (_FP_PACK_RAW_1_P): Likewise.
22899         (_FP_MUL_MEAT_1_wide): Likewise.
22900         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22901         (_FP_MUL_MEAT_1_hard): Likewise.
22902         (_FP_DIV_MEAT_1_imm): Likewise.
22903         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22904         (_FP_DIV_MEAT_1_udiv): Likewise.
22905         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22906         (_FP_UNPACK_RAW_2): Likewise.
22907         (_FP_UNPACK_RAW_2_P): Likewise.
22908         (_FP_PACK_RAW_2): Likewise.
22909         (_FP_PACK_RAW_2_P): Likewise.
22910         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22911         (_FP_MUL_MEAT_2_wide): Likewise.
22912         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22913         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22914         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22915         (_FP_MUL_MEAT_2_gmp): Likewise.
22916         (_FP_DIV_MEAT_2_udiv): Likewise.
22917         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22918         (_FP_FRAC_SRL_4): Likewise.
22919         (_FP_FRAC_SRST_4): Likewise.
22920         (_FP_FRAC_SRS_4): Likewise.
22921         (_FP_UNPACK_RAW_4): Likewise.
22922         (_FP_UNPACK_RAW_4_P): Likewise.
22923         (_FP_PACK_RAW_4): Likewise.
22924         (_FP_PACK_RAW_4_P): Likewise.
22925         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22926         (_FP_MUL_MEAT_4_wide): Likewise.
22927         (_FP_MUL_MEAT_4_gmp): Likewise.
22928         (umul_ppppmnnn): Likewise.
22929         (_FP_DIV_MEAT_4_udiv): Likewise.
22930         (__FP_FRAC_ADD_4): Likewise.
22931         (__FP_FRAC_SUB_3): Likewise.
22932         (__FP_FRAC_SUB_4): Likewise.
22933         (__FP_FRAC_DEC_3): Likewise.
22934         (__FP_FRAC_DEC_4): Likewise.
22935         (__FP_FRAC_ADDI_4): Likewise.
22936         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22937         (_FP_FRAC_SRL_8): Likewise.
22938         (_FP_FRAC_SRS_8): Likewise.
22940         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22941         include macro name.
22942         (FP_UNPACK_RAW_EP): Likewise.
22943         (FP_PACK_RAW_E): Likewise.
22944         (FP_PACK_RAW_EP): Likewise.
22945         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22946         (_FP_ISSIGNAN): Likewise.
22947         (_FP_ADD_INTERNAL): Likewise.
22948         (_FP_FMA): Likewise.
22949         (_FP_CMP): Likewise.
22950         (_FP_SQRT): Likewise.
22951         (_FP_TO_INT): Likewise.
22952         (_FP_FROM_INT): Likewise.
22953         (FP_EXTEND): Likewise.
22954         (_FP_DIV_MEAT_N_loop): Likewise.
22956 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22958         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22959         throughout.
22961 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22963         [BZ #17097]
22964         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22965         result with correct sign in case of exponents that produce
22966         overflow except for X very close to 1.
22968 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22970         mktime: merge #if/#ifdef usage from glibc
22971         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22972         as that works with both Glibc's and Gnulib's style.
22973         See thread starting at Siddhesh Poyarekar's bug report at:
22974         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22976 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22978         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22979         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22980         * sysdeps/tile/tilegx/memmove.c: Remove file.
22982 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22984         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22985         abi-name definition.
22986         * scripts/soversions.awk: Do not handle or generate ABI lines.
22987         * shlib-versions: Remove ABI entries.
22988         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22989         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22991 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22994         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22995         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22996         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22998         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23000         Moved ...
23001         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23002         ... here.
23003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23004         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23006         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23008         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23010         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23012         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23014         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23016         Moved ...
23017         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23019         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23021         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23023         Moved ...
23024         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23025         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23026         Moved ...
23027         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23029         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23031         Moved ...
23032         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23034         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23036         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23038         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23040         Moved ...
23041         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23043         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23044         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23045         Moved ...
23046         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23048         Moved ...
23049         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23050         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23051         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23052         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23053         Moved ...
23054         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23055         ... here.
23056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23057         Identical file removed.
23058         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23059         Moved ...
23060         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23061         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23062         Identical file removed.
23063         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23064         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23066         Moved ...
23067         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23068         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23069         Identical file removed.
23070         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23071         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23073         Identical file removed.
23074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23075         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23077         Identical file removed.
23078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23079         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23081         Identical file removed.
23082         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23083         Moved ...
23084         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23086         Identical file removed.
23087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23088         Moved ...
23089         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23091         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23092         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23093         Identical file removed.
23094         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23095         Moved ...
23096         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23097         ... here.
23098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23099         Identical file removed.
23100         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23101         Moved ...
23102         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23104         Identical file removed.
23105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23106         Moved ...
23107         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23108         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23109         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23111         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23112         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23113         Moved ...
23114         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23115         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23116         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23118         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23119         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23120         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23121         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23122         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23124 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23126         [BZ #17092]
23127         * nscd/nscd.c (monitor_child): Return exit status of child
23128         instead of return value from wait syscall.
23130 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23132         * configure.ac (libc_commonpagesize): Remove variable.
23133         (libc_relro_required): Likewise.
23134         (libc_cv_z_relro): Remove configure test.
23135         * configure: Regenerated.
23136         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23137         variable.
23138         (libc_relro_required): Likewise.
23139         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23140         (libc_relro_required): Likewise.
23141         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23142         (libc_relro_required): Likewise.
23143         * sysdeps/arm/preconfigure: Regenerated.
23144         * sysdeps/ia64/preconfigure: Remove file.
23145         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23146         variable.
23147         (libc_relro_required): Likewise.
23149         [BZ #16561]
23150         [BZ #16562]
23151         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23152         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23153         recompute overflowing results in original rounding mode.
23154         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23155         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23156         recompute overflowing results in original rounding mode.
23157         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23158         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23159         recompute overflowing results in original rounding mode.
23160         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23161         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23162         recompute overflowing results in original rounding mode.
23163         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23164         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23165         recompute overflowing results in original rounding mode.
23166         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23167         (libc_feholdsetround_ctx): New macro.
23168         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23169         * sysdeps/i386/fpu/libm-test-ulps: Update.
23170         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23172 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23174         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23175         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23176         corresponding .cpsetup call.
23178 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23180         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23181         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23182         * sysdeps/arm/Makefile [$(subdir) = csu]
23183         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23184         (static-only-routines): Add aeabi_read_tp here.
23185         (shared-only-routines): Add libc-aeabi_read_tp here.
23186         (CFLAGS-libc-start.c): Add -fexceptions here.
23187         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23188         (sysdep_routines, static-only-routines, shared-only-routines):
23189         Don't add to these here.
23190         (CFLAGS-libc-start.c): Likewise.
23192         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23193         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23194         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23195         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23196         * sysdeps/arm/Makefile [$(subdir) = rt]
23197         (librt-sysdep_routines, librt-shared-only-routines):
23198         Append rt-aeabi_unwind_cpp_pr1 here.
23199         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23200         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23201         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23202         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23203         Append nptl-aeabi_unwind_cpp_pr1 here.
23204         (tests): Filter out tst-cleanupx4 here.
23205         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23206         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23207         Don't do those here.
23209 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23211         * scripts/list-sources.sh: Do not handle ports specially.
23213 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23215         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23216         * sysdeps/arm/feupdateenv.c: Likewise.
23218         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23220 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23222         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23223         trailing whitespace removed.
23224         * scripts/config.guess: Update to version 2014-03-23.
23225         * scripts/config.sub: Update to version 2014-05-01
23226         * scripts/install-sh: Update to version 2013-12-25.23.
23227         * scripts/move-if-change: Update from gnulib.
23229 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23231         * debug/memmove_chk.c: Remove pagecopy.h include.
23233 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23235         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23236         identical to gnulib mktime.
23238 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23240         * configure.ac: Do not test for machine being rs6000.  Do not test
23241         for powerpc*-*soft.
23242         * configure: Regenerated.
23244         [BZ #11505]
23245         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23246         test.
23247         * configure: Regenerated.
23248         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23249         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23250         Remove configure test.
23251         * sysdeps/arm/configure: Regenerated.
23252         * sysdeps/nptl/configure.ac: Do not check
23253         libc_cv_asm_cfi_directives.
23254         * sysdeps/nptl/configure: Regenerated.
23255         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23256         * sysdeps/x86_64/nptl/configure: Remove generated file.
23257         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23258         unconditional.
23259         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23261 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23263         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23264         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23265         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23266         it is defined.
23268         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23269         instead of whether it is defined.
23270         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23271         * sysdeps/hppa/dl-machine.h: Likewise.
23272         * sysdeps/ia64/dl-machine.h: Likewise.
23273         * sysdeps/m68k/dl-machine.h: Likewise.
23274         * sysdeps/microblaze/dl-machine.h: Likewise.
23275         * sysdeps/mips/dl-machine.: Likewise.
23276         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23277         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23278         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23279         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23280         * sysdeps/sh/dl-machine.h: Likewise.
23281         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23282         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23283         * sysdeps/tile/dl-machine.h: Likewise.
23284         * sysdeps/x86_64/dl-machine.h: Likewise.
23286         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23287         code.
23288         (verify_persistent_db): Likewise.
23290 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23293         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23295         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23297         Moved ...
23298         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23299         ... here.
23300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23301         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23303         Identical file removed.
23304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23305         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23307         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23309         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23311         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23313         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23315         Moved ...
23316         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23318         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23320         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23322         Moved ...
23323         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23325         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23327         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23329         Identical file removed.
23330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23331         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23333         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23335         Moved ...
23336         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23337         ... here.
23338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23339         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23341         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23343         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23345         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23347         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23349         Moved ...
23350         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23352         Moved ...
23353         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23355         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23357         Moved ...
23358         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23360         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23362         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23363         folded into ...
23364         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23365         * sysdeps/unix/sysv/linux/s390/Versions
23366         (libpthread: GLIBC_2.19): New version set.
23367         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23368         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23369         (librt: GLIBC_2.3.3): New version set.
23370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23371         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23372         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23373         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23374         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23375         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23376         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23377         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23378         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23379         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23380         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23381         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23382         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23383         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23384         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23385         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23386         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23387         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23388         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23389         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23390         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23391         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23392         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23393         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23394         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23395         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23396         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23397         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23398         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23399         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23400         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23401         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23406         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23408         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23410         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23412         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23414         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23416         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23417         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23418         (__libc_vfork): Define the function under this name.
23419         [!NOT_IN_libc] (__vfork): Make this an alias.
23420         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23422         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23423         (__libc_vfork): Define the function under this name.
23424         [!NOT_IN_libc] (__vfork): Make this an alias.
23425         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23426         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23427         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23429         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23430         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23432         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23433         code that was previously under [RESET_PID].
23434         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23435         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23438         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23439         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23440         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23441         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23442         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23443         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23444         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23445         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23446         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23447         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23448         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23449         Moved ...
23450         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23451         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23452         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23453         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23454         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23455         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23456         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23457         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23458         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23459         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23460         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23461         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23462         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23463         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23464         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23465         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23466         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23467         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23468         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23469         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23470         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23471         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23472         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23473         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23474         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23475         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23476         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23477         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23478         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23480 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23482         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23483         that was previously under [RESET_PID].
23484         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23486 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23488         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23489         not undefine and redefine.
23490         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23491         [O_CLOEXEC]: Make code unconditional.
23492         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23493         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23494         <kernel-features.h>.
23495         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23496         conditional variable definition.
23497         (shm_open) [O_CLOEXEC]: Make code unconditional.
23498         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23499         code.
23501         * configure.ac (USE_REGPARMS): Don't define here.
23502         * configure: Regenerated.
23503         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23504         * sysdeps/i386/configure: Regenerated.
23506         * nptl/createthread.c: Don't include kernel-features.h.
23507         * nptl/pthread_cancel.c: Likewise.
23508         * nptl/pthread_condattr_setclock.c: Likewise.
23509         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23510         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23511         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23512         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23513         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23514         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23515         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23516         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23517         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23518         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23519         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23520         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23521         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23522         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23523         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23524         * nscd/gai.c: Likewise.
23525         * nss/nss_db/db-open.c: Likewise.
23526         * sysdeps/generic/ldsodefs.h: Likewise.
23527         * sysdeps/sh/nptl/tls.h: Likewise.
23528         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23529         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23530         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23531         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23532         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23533         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23534         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23535         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23536         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23537         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23538         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23539         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23540         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23541         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23542         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23543         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23544         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23545         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23546         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23547         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23548         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23550         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23551         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23553         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23554         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23556         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23557         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23558         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23559         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23560         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23561         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23562         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23563         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23564         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23565         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23566         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23567         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23568         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23569         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23570         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23571         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23572         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23573         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23574         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23575         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23576         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23577         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23578         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23579         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23580         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23581         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23582         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23583         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23584         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23585         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23608         * sysdeps/unix/sysv/linux/pread.c: Likewise.
23609         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23610         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23611         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23612         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23613         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23614         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23615         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23616         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23617         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23618         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23619         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23620         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23621         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23622         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23623         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23624         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23625         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23626         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23627         * sysdeps/unix/sysv/linux/system.c: Likewise.
23628         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23629         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23630         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23631         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23632         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23633         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23634         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23636         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
23637         * configure: Regenerated.
23638         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
23640         * configure.ac (base_machine): Do not set specially for particular
23641         machines here.
23642         * configure: Regenerated.
23643         * sysdeps/powerpc/preconfigure: Move machine and base_machine
23644         settings from configure.ac.
23645         * sysdeps/i386/preconfigure: New file.
23646         * sysdeps/s390/preconfigure: Likewise.
23647         * sysdeps/sh/preconfigure: Likewise.
23648         * sysdeps/sparc/preconfigure: Likewise.
23650 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23652         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23653         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23654         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23655         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23656         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23657         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23658         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23659         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23660         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23661         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23662         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23663         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23664         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23665         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23666         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23667         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23668         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23669         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23670         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23672         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23673         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23674         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23675         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23676         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23677         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23678         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23679         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23680         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23681         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23682         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23683         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23684         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23685         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23686         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23687         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23688         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23689         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23690         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23691         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23692         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23693         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23694         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23695         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23696         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23697         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23698         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23699         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23700         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23701         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23702         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23703         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23704         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23705         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23706         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23707         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23708         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23709         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23712         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23714         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23716         Moved ...
23717         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23718         ... here.
23719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23720         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23722         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23724         Moved ...
23725         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23727         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23729         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23731         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23733         Moved ...
23734         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23736         Moved ...
23737         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23739         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23741         Moved ...
23742         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23744         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23746         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23748         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23750         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23752         Moved ...
23753         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23754         ... here.
23755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23756         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23758         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23760         Moved ...
23761         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23763         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23765         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23767         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23769         Moved ...
23770         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23772         Moved ...
23773         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23775         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23777         Moved ...
23778         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23780         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23782         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23784 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23786         * timezone/checktab.awk: Update from tzcode 2014e.
23787         * timezone/private.h: Likewise.
23788         * timezone/tzfile.h: Likewise.
23789         * timezone/zdump.c: Likewise.
23790         * timezone/zic.c: Likewise.
23792         * sysdeps/unix/sysv/linux/kernel-features.h
23793         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23794         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23795         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23796         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23797         Remove conditional code.
23799 2014-06-25  Will Newton  <will.newton@linaro.org>
23801         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23802         (_dl_arm_cap_flags): Add HWCAP2 values.
23803         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23804         (_DL_HWCAP_COUNT): Increase to 37.
23805         (_DL_HWCAP_LAST): New define.
23806         (_DL_HWCAP2_LAST): New define.
23807         (_dl_procinfo): Add support for printing
23808         AT_HWCAP2 entries.
23809         (_dl_string_hwcap): Use _dl_hwcap_string.
23811 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23815 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23817         * README: Do not mention ports directory.
23819         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23820         Remove macro.
23821         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23822         <kernel-features.h>.
23823         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23824         conditional variable definition.
23825         (__futimes): Update comment.
23826         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23827         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23829         [BZ #16560]
23830         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23831         arguments close to 0.
23832         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23833         Likewise.
23834         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23835         Likewise.
23836         * math/auto-libm-test-in: Add more tests of exp10.
23837         * math/auto-libm-test-out: Regenerated.
23838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23840         * sysdeps/unix/sysv/linux/kernel-features.h
23841         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23842         * sysdeps/unix/sysv/linux/readv.c: Do not include
23843         <kernel-features.h>.
23844         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23845         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23846         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23847         unconditional.
23848         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23849         conditional code.
23850         * sysdeps/unix/sysv/linux/writev.c: Do not include
23851         <kernel-features.h>.
23852         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23853         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23854         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23855         unconditional.
23856         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23857         conditional code.
23859 2014-06-25  Will Newton  <will.newton@linaro.org>
23861         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23862         comment changes throughout the file.  Remove checks
23863         for HAVE_*_H definitions that are not required.
23864         (__gen_tempname): Call abort if an unknown kind value is
23865         passed.
23867 2014-06-25  Andreas Schwab  <schwab@suse.de>
23869         [BZ #17086]
23870         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23871         scalbln, scalblnf, scalblnl in libc.
23873 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23875         [BZ #17086]
23876         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23877         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23878         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23880 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23882         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23883         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23884         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23885         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23886         Update #include.
23887         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23888         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23889         Update #include.
23890         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23891         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23892         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23893         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23894         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23895         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23896         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23897         * sysdeps/x86/bits/semaphore.h: ... here.
23898         * sysdeps/x86/nptl/elide.h: Moved ...
23899         * sysdeps/x86/elide.h: ... here.
23900         * sysdeps/x86_64/nptl/Implies: File removed.
23901         * sysdeps/i386/nptl/Implies: File removed.
23903 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23905         [BZ #16539]
23906         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23907         return the argument for normal arguments with exponent below -64.
23908         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23909         Likewise.
23910         * math/auto-libm-test-in: Add another test of expm1.
23911         * math/auto-libm-test-out: Regenerated.
23913         [BZ #16287]
23914         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23915         calling __erfcl for arguments at least 16.
23916         * math/auto-libm-test-in: Add more tests of erf.
23917         * math/auto-libm-test-out: Regenerated.
23919         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23920         individual architectures.
23921         * sysdeps/unix/sysv/linux/configure: Regenerated.
23922         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23923         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23924         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23925         (ldd_rewrite_script): Define variable.
23926         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23928         file.
23929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23930         generated file.
23931         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23932         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23933         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23934         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23935         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23936         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23937         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23938         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23940 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23942         [BZ #17084]
23943         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23944         Rename member __data.d to __data.__elision_data.
23946 2014-06-24  Wilco  <wdijkstr@arm.com>
23948         * NEWS: Add 16918 to fixed bug list.
23950 2014-06-24  Wilco  <wdijkstr@arm.com>
23952         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23954 2014-06-24  Wilco  <wdijkstr@arm.com>
23956         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23957         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23958         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23959         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23960         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23961         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23962         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23963         Use _FPU_MASK_RM.
23965 2014-06-24  Wilco  <wdijkstr@arm.com>
23967         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23969 2014-06-24  Wilco  <wdijkstr@arm.com>
23971         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23972         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23973         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23974         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23976 2014-06-24  Wilco  <wdijkstr@arm.com>
23978         [BZ #16918]
23979         * sysdeps/arm/feupdateenv.c (feupdateenv):
23980         Rewrite to reduce FPSCR accesses and fix return value.
23982 2014-06-24  Wilco  <wdijkstr@arm.com>
23984         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23985         Optimize to avoid unnecessary FPSCR writes.
23986         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23987         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23988         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23989         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23991 2014-06-24  Wilco  <wdijkstr@arm.com>
23993         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23994         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23995         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23996         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23997         Call libc_fetestexcept_vfp.
23998         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23999         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24000         __SOFTFP__ ifdef so that they can be built for softfp.
24002 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24004         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24005         argument type signed char.
24007         * Makerules (check-abi): Dump diff of symlist if the test
24008         fails.
24010 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24012         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24013         using abort.
24015         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24016         Remove unused variable ST.
24018 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24020         [BZ #16354]
24021         [BZ #17061]
24022         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24023         small arguments before calling __expm1.
24024         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24025         small arguments before calling __expm1f.
24026         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24027         small arguments before calling __expm1l.
24028         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24029         Likewise.
24030         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24031         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24032         spurious underflow for some cosh tests.
24033         * math/auto-libm-test-out: Regenerated.
24034         * sysdeps/i386/fpu/libm-test-ulps: Update.
24036         [BZ #17050]
24037         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24038         (__ieee754_y1): Set errno if return value overflows.
24039         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24040         (__ieee754_y1f): Set errno if return value overflows.
24041         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24042         (__ieee754_y1l): Set errno if return value overflows.
24043         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24044         (__ieee754_y1l): Set errno if return value overflows.
24045         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24046         * math/auto-libm-test-out: Regenerated.
24048         * math/gen-auto-libm-tests.c: Document use of
24049         ignore-zero-inf-sign.
24050         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24051         (input_flags): Add ignore-zero-inf-sign.
24052         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24053         * math/gen-libm-test.pl (generate_testfile): Handle
24054         ignore-zero-inf-sign.
24055         * math/auto-libm-test-in: Mark some cpow tests with
24056         ignore-zero-inf-sign and some with xfail-rounding.
24057         * math/auto-libm-test-out: Regenerated.
24058         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24059         * sysdeps/i386/fpu/libm-test-ulps: Update.
24060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24062         [BZ #16315]
24063         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24064         overflowing or underflowing operations take place with sign of
24065         result.
24066         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24067         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24068         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24069         (__ieee754_pow): Recompute overflowing and underflowing results in
24070         original rounding mode.
24071         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24072         (__powl_helper): Allow negative argument X and scale negated value
24073         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24074         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24075         overflowing or underflowing operations take place with sign of
24076         result.
24077         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24078         Include <math.h>.
24079         * math/auto-libm-test-in: Add more tests of pow.
24080         * math/auto-libm-test-out: Regenerated.
24081         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24082         (pow_tonearest_test_data): Remove.
24083         (pow_test_tonearest): Likewise.
24084         (pow_towardzero_test_data): Likewise.
24085         (pow_test_towardzero): Likewise.
24086         (pow_downward_test_data): Likewise.
24087         (pow_test_downward): Likewise.
24088         (pow_upward_test_data): Likewise.
24089         (pow_test_upward): Likewise.
24090         (main): Don't call removed functions.
24091         * sysdeps/i386/fpu/libm-test-ulps: Update.
24092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24094 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24097         Moved ...
24098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24100         Moved ...
24101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24103         Moved ...
24104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24106         Moved ...
24107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24109         File removed.
24110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24111         File removed.
24112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24113         File removed.
24114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24115         File removed.
24116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24117         File removed.
24118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24119         File removed.
24120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24121         File removed.
24122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24123         File removed.
24124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24125         File removed.
24126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24127         File removed.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24129         File removed.
24130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24131         File removed.
24132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24133         Moved ...
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24136         Moved ...
24137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24138         ... here.
24139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24140         Moved ...
24141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24143         Moved ...
24144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24146         Moved ...
24147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24149         Moved ...
24150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24152         Moved ...
24153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24155         Moved ...
24156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24158         Moved ...
24159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24162         ... here.
24163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24164         Moved ...
24165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24167         Moved ...
24168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24169         ... here.
24170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24171         Moved ...
24172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24173         ... here.
24174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24175         Moved ...
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24177         ... here.
24178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24179         Moved ...
24180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24182         Moved ...
24183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24187         Moved ...
24188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24189         ... here.
24190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24191         Moved ...
24192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24193         ... here.
24194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24195         Moved ...
24196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24198         Moved ...
24199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24201         Moved ...
24202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24204         Moved ...
24205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24207         Moved ...
24208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24209         ... here.
24210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24211         Moved ...
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24214         Moved ...
24215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24217         Moved ...
24218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24220         Moved ...
24221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24225         Moved ...
24226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24228         Moved ...
24229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24231         Moved ...
24232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24233         ... here.
24234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24235         Moved ...
24236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24237         ... here.
24238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24239         Moved ...
24240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24241         ... here.
24242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24243         Moved ...
24244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24246         Moved ...
24247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24249         Moved ...
24250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24252         Moved ...
24253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24254         ... here.
24255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24256         Moved ...
24257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24258         ... here.
24259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24260         Moved ...
24261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24262         ... here.
24263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24264         Moved ...
24265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24267         Moved ...
24268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24270 2014-06-23  Will Newton  <will.newton@linaro.org>
24271             Wilco  <wdijkstr@arm.com>
24273         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24274         implementation.  Include get-rounding-mode.h.
24275         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24276         [!libc_feholdsetround_noex_ctx]: Define
24277         libc_feholdsetround_noex_ctx.
24278         [!libc_feholdsetround_noexf_ctx]: Define
24279         libc_feholdsetround_noexf_ctx.
24280         [!libc_feholdsetround_noexl_ctx]: Define
24281         libc_feholdsetround_noexl_ctx.
24282         (libc_feholdsetround_ctx): New function.
24283         (libc_feresetround_ctx): New function.
24284         (libc_feholdsetround_noex_ctx): New function.
24285         (libc_feresetround_noex_ctx): New function.
24287 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24289         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24290         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24291         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24292         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24293         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24294         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24296         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24297         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24298         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24299         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24300         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24301         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24302         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24303         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24305         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24307         Moved ...
24308         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24309         ... here.
24310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24311         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24313         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24315         Moved ...
24316         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24317         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24318         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24320         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24322         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24324         Moved ...
24325         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24327         Moved ...
24328         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24330         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24332         Moved ...
24333         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24335         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24336         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24337         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24338         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24339         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24340         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24341         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24342         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24343         Moved ...
24344         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24345         ... here.
24346         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24347         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24349         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24351         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24352         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24353         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24354         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24355         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24356         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24357         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24359         Moved ...
24360         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24362         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24364         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24366         Moved ...
24367         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24368         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24369         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24370         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24371         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24373         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24374         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24375         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24376         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24377         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24378         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24379         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24380         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24381         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24382         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24383         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24384         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24385         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24386         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24387         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24388         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24389         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24390         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24391         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24392         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24393         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24394         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24395         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24396         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24397         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24398         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24399         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24400         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24402 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24404         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24405         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24406         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24407         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24408         (IPV6_PMTUDISC_INTERFACE): Likewise.
24409         (IPV6_PMTUDISC_OMIT): Likewise.
24411 2014-06-23  Andreas Schwab  <schwab@suse.de>
24413         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24414         Remove unused errout label.
24416 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24418         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24419         macro: hardware supports Vector Crypto instructions.
24421 2014-06-23  Will Newton  <will.newton@linaro.org>
24423         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24424         rather than __builtin_expect.
24426         * elf/dl-lookup.c (undefined_msg): Remove variable.
24427         (_dl_lookup_symbol_x): Replace undefined_msg with string
24428         literal.
24430         * elf/dl-lookup.c (do_lookup_unique): New function.
24431         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24432         to a separate function.
24434 2014-06-23  Andreas Schwab  <schwab@suse.de>
24436         [BZ #17079]
24437         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24438         before reading the next line.
24440 2014-06-23  Will Newton  <will.newton@linaro.org>
24442         * test-skeleton.c (signal_handler): Use printf and %m
24443         rather than perror.  Use printf rather than fprintf to
24444         stderr.  Use puts rather than fputs to stderr.
24445         (main): Likewise.
24447 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24449         * nscd/nscd.c (thread_info_t): Remove typedef.
24450         (thread_info): Remove variable.
24452 2014-06-21  Allan McRae  <allan@archlinux.org>
24454         * NEWS: Mention CVE-2014-4043.
24456 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24458         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24459         * nptl/smp.h: ... here.
24461         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24463         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24464         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24465         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24466         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24468         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24469         * nptl/stack-aliasing.h: New file.
24470         * sysdeps/i386/i686/stack-aliasing.h: New file.
24471         * sysdeps/i386/i686/nptl/Makefile: File removed.
24472         * sysdeps/x86_64/stack-aliasing.h: New file.
24473         * sysdeps/x86_64/nptl/Makefile
24474         (CFLAGS-pthread_create.c): Variable removed.
24476         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24477         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24478         old file.
24479         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24480         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24481         old file.
24483 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24485         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24486         (__ASSUME_SIGFRAME_V2): Remove macro.
24487         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24488         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24489         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24490         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24491         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24492         Declare as function.  Remove conditional macro definitions.
24493         (__default_rt_sa_restorer): Likewise.
24494         (__default_sa_restorer_v1): Remove declaration.
24495         (__default_sa_restorer_v2): Likewise.
24496         (__default_rt_sa_restorer_v1): Likewise.
24497         (__default_rt_sa_restorer_v2): Likewise.
24498         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24499         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24500         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24502 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24504         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24505         (libpthread-routines): Add sysdep.
24506         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24507         * sysdeps/unix/sysv/linux/sparc/Versions
24508         (libpthread: GLIBC_2.3.3): New version set.
24509         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24510         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24511         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24512         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24513         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
24514         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24515         Moved ...
24516         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24517         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24518         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24519         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24520         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24521         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24522         * sysdeps/sparc/nptl/sem_init.c: ... here.
24523         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24524         * sysdeps/sparc/nptl/sem_post.c: ... here.
24525         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24526         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24527         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24528         * sysdeps/sparc/nptl/sem_wait.c: ... here.
24529         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24530         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24531         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24532         (libpthread-routines): Add cpu_relax.
24533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24534         File removed.
24535         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24536         (librt: GLIBC_2.3.3): New version set.
24537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24538         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24539         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24540         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24543         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24545         Moved ...
24546         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24548         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24550         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24552         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24554         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24556         Moved ...
24557         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24558         Update #include.
24559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24560         Moved ...
24561         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24562         Update #include.
24563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24564         Moved ...
24565         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24566         Update #include.
24567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24568         Moved ...
24569         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24570         Update #include.
24571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24572         Moved ...
24573         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24574         Update #include.
24575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24576         Moved ...
24577         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24578         Update #include.
24579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24580         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24582         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24586         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24588         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24590         Moved ...
24591         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24593         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24595         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24597 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24599         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24600         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24601         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24602         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24603         * nscd/nscd.c: Likewise.
24604         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24605         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24606         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24607         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24609         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24610         <kernel-features.h>.
24611         (init_mq_netlink): Remove conditional have_sock_cloexec
24612         definitions.  Remove code conditional on have_sock_cloexec < 0.
24613         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24614         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24615         * sysdeps/unix/sysv/linux/opensock.c: Do not include
24616         <kernel-features.h>.
24617         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24618         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24620 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24623         Add tests for memset_chk and memset.
24625         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24626         with AVX2_Usable.
24628 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24630         [BZ #16046]
24631         * elf/tst-dl-iter-static.c: New file.
24632         * elf/Makefile (tests-static): Add tst-dl-iter-static.
24634         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
24635         error.
24637 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24639         * sysdeps/unix/sysv/linux/kernel-features.h
24640         (__ASSUME_F_GETOWN_EX): Remove macro.
24641         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
24642         <kernel-features.h>.
24643         (miss_F_GETOWN_EX): Remove variable or macro.
24644         (do_fcntl): Do not check miss_F_GETOWN_EX.
24645         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
24647         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
24648         Remove macro.
24649         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
24650         [!__ASSUME_AT_RANDOM]: Remove conditional code.
24651         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24653         * sysdeps/unix/sysv/linux/kernel-features.h
24654         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24655         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24656         [ADJ_OFFSET_SS_READ]: Make code unconditional.
24657         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24659 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24661         [BZ #17075]
24662         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24663         Fix calculation of the symbol's value.
24664         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24665         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24666         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24667         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24668         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24669         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24670         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24671         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24672         (modules-names): Add `tst-armtlsdescmod',
24673         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24674         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24675         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24676         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24677         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24678         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24679         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24680         ($(objpfx)tst-armtlsdescloc): New dependency.
24681         ($(objpfx)tst-armtlsdescextnow): Likewise.
24682         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24683         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24684         TLS scheme support.
24685         * sysdeps/arm/configure: Regenerate.
24687 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24689         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24690         (__atfct_seterrno_2): Likewise.
24691         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24692         <kernel-features.h>.
24693         (__ASSUME_ATFCTS): Do not undefine and redefine.
24694         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24695         (__have_atfcts): Remove conditional definition.
24696         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24697         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24698         unreachable if [__ASSUME_ATFCTS].
24699         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24700         not undefine and redefine.
24701         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24702         <kernel-features.h>.
24703         (faccessat) [__NR_faccessat]: Make code unconditional.
24704         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24705         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24706         <kernel-features.h>.
24707         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24708         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24709         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24710         <kernel-features.h>.
24711         (fchownat) [__NR_fchownat]: Make code unconditional.
24712         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24713         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24714         <kernel-features.h>.
24715         (futimesat) [__NR_futimesat]: Make code unconditional.
24716         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24717         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24718         <kernel-features.h>.
24719         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24720         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24721         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24722         <kernel-features.h>.
24723         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24724         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24725         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24726         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24727         <kernel-features.h>.
24728         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24729         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24730         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24731         <kernel-features.h>.
24732         (linkat) [__NR_linkat]: Make code unconditional.
24733         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24734         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24735         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24736         <kernel-features.h>.
24737         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24738         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24739         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24740         <kernel-features.h>.
24741         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24742         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24743         * sysdeps/unix/sysv/linux/openat.c: Do not include
24744         <kernel-features.h>.
24745         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24746         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24747         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24748         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24749         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24750         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24751         <kernel-features.h>.
24752         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24753         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24754         result of INLINE_SYSCALL directly, not via int variable.
24755         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24756         <kernel-features.h>.
24757         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24758         (renameat) [__NR_renameat]: Make code unconditional.
24759         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24760         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24761         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24762         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24763         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24764         (__ASSUME_ATFCTS): Do not undefine and redefine.
24765         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24766         <kernel-features.h>.
24767         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24768         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24769         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24770         <kernel-features.h>.
24771         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24772         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24773         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24774         (__ASSUME_ATFCTS): Do not undefine and redefine.
24775         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24776         <kernel-features.h>.
24777         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24778         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24779         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24780         <kernel-features.h>.
24781         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24782         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24784 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24786         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24788 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24790         [BZ #17069]
24791         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24792         constructed tree before returning error.
24793         * posix/bug-regexp36.c: Expand test case.
24795 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24797         [BZ #6803]
24798         * math/libm-test.inc (scalbln_test_date):
24799         Add errno expectations.
24800         * math/w_scalblnf.c: New File.
24801         Add wrapper which checks for setting errno to ERANGE.
24802         Add weak_alias for corresponding scalbln function.
24803         * math/w_scalbln.c: Likewise.
24804         * math/w_scalblnl.c: Likewise.
24805         * math/Makefile (libm-calls): Add w_scalbln.
24806         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24807         Remove weak_alias for corresponding scalbln function.
24808         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24809         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24810         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24811         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24812         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24813         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24814         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24815         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24816         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24817         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24818         Remove long_double_symbol for scalblnl function in libm, libc.
24819         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24820         Add wrapper which checks for setting errno to ERANGE.
24821         Add long_double_symbol for scalblnl function in libm, libc.
24822         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24823         Remove long_double_symbol for scalblnl in libm.
24824         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24825         Add wrapper which checks for setting errno to ERANGE.
24826         Add long_double_symbol for scalblnl function in libm.
24827         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24828         Do not use wrapper because of own implementation.
24830 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24832         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24833         3 bytes for __pad1 for x32.
24834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24836 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24837             H.J. Lu  <hongjiu.lu@intel.com>
24839         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24840         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24841         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24842         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24843         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24845 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24847         [BZ #17069]
24848         * posix/regcomp.c (parse_expression): Deallocate partially
24849         constructed tree before returning error.
24850         * posix/Makefile.c (tests): Add bug-regex36.
24851         (generated): Add bug-regex36.mtrace.
24852         (tests-special): Add $(objpfx)bug-regex36-mem.out
24853         (bug-regex36-ENV): New variable.
24854         ($(objpfx)bug-regex36-mem.out): New rule.
24855         * posix/bug-regex36.c: New file.
24857 2014-06-19  Will Newton  <will.newton@linaro.org>
24859         * malloc/malloc.c (systrim): If extra is zero then return
24860         early.
24862 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24864         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24866 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24868         * sysdeps/aarch64/strchr.S: New file.
24870 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24872         [BZ #17022]
24873         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24874         from arguments -2 or below.
24875         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24876         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24878 2014-06-18  Andreas Schwab  <schwab@suse.de>
24880         [BZ #17062]
24881         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24882         of a bracket expr not to run off the end of the string.
24883         * posix/Makefile (tests): Add tst-fnmatch3.
24884         * posix/tst-fnmatch3.c: New file.
24886 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24888         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24889         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24890         [$(cross-compiling) = no]: Likewise.
24891         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24892         [$(cross-compiling) = no]: Likewise.
24894 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24896         [BZ #17031]
24897         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24898         double, adjusted for any remainder from the high double.
24899         * math/libm-test.inc (nearbyint): Add tests.
24900         (rint): Likewise.
24902 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24904         * nptl/sysdeps/powerpc/Makefile: Moved ...
24905         * sysdeps/powerpc/nptl/Makefile: ... here.
24906         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24907         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24908         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24909         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24910         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24911         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24912         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24913         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24914         * nptl/sysdeps/powerpc/tls.h: Moved ...
24915         * sysdeps/powerpc/nptl/tls.h: ... here.
24917 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24919         [BZ #16681]
24920         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24921         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24922         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24923         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24924         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24925         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24926         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24927         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24928         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24930 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24932         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24934 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24936         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24937         defined operator.
24939         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24940         $TIMEOUTFACTOR.
24942 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24944         [BZ #17058]
24945         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24946         non-executed part of the test.
24948 2014-06-16  Andreas Schwab  <schwab@suse.de>
24950         * string/bits/string2.h (strdup, strndup): Update feature guard.
24952 2014-06-14  David S. Miller  <davem@davemloft.net>
24954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24956 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24958         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24959         that was previously under [RESET_PID].
24960         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24962         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24963         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24964         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24965         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24966         (__libc_vfork): New strong alias.
24967         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24969 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24971         * sysdeps/generic/elide.h: New file.
24973 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24975         * Makefile (installed-headers): Adjust path of pthread.h header.
24977 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24979         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24980         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24981         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24982         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24984         * nptl/sysdeps/s390/Makefile: Moved ...
24985         * sysdeps/s390/nptl/Makefile: ... here.
24986         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24987         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24988         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24989         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24990         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24991         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24992         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24993         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24994         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24995         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24996         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24997         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24998         * nptl/sysdeps/s390/tls.h: Moved ...
24999         * sysdeps/s390/nptl/tls.h: ... here.
25001         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25002         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25004 2014-06-13  David S. Miller  <davem@davemloft.net>
25006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25009         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25013         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25014         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25015         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25016         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25017         Remove RESET_PID cpp guards.
25018         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25019         Remove RESET_PID cpp guards.
25020         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25022 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25024         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25025         __sp to uintptr_t.
25027 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25029         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25030         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25031         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25032         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25033         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25034         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25035         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25036         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25037         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25038         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25039         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25040         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25041         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25042         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25043         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25044         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25045         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25046         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25047         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25048         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25050         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25051         (pthread_rwlock_rdlock): Add elision.
25052         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25053         (pthread_rwlock_wrlock): Add elision.
25054         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25055         (pthread_rwlock_trywrlock): Add elision.
25056         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25057         (pthread_rwlock_tryrdlock): Add elision.
25058         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25059         (pthread_rwlock_tryrdlock): Add elision unlock.
25060         * nptl/sysdeps/pthread/pthread.h:
25061         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25062         (PTHREAD_RWLOCK_INITIALIZER,
25063         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25064         Handle new elision field.
25065         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25066         * sysdeps/arm/nptl/bits/pthreadtypes.h
25067         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25068         * sysdeps/sh/nptl/bits/pthreadtypes.h
25069         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25070         * sysdeps/tile/nptl/bits/pthreadtypes.h
25071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25072         * sysdeps/a/nptl/bits/pthreadtypes.h
25073         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25074         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25075         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25076         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25078         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25080         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25081         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25082         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25084         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25086         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25088         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25090         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25091         (elision_init): Set try_xbegin to zero when no RTM.
25092         * sysdeps/x86/nptl/bits/pthreadtypes.h
25093         (pthread_rwlock_t): Change __pad1 to __rwelision.
25094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25096 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25098         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25099         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25100         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25101         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25103 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25105         [BZ #16996]
25106         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25107         that the cached result has been set before returning it.
25109 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25111         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25112         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25113         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25114         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25115         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25116         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25118         * nptl/sysdeps/sparc/Makefile: Moved ...
25119         * sysdeps/sparc/nptl/Makefile: ... here.
25120         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25121         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25122         * nptl/sysdeps/sparc/tls.h: Moved ...
25123         * sysdeps/sparc/nptl/tls.h: ... here.
25124         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25125         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25126         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25127         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25128         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25129         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25130         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25131         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25132         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25133         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25134         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25135         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25136         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25137         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25138         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25139         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25140         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25141         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25142         Update #include.
25143         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25144         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25145         Update #include.
25146         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25147         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25148         Update #include.
25149         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25150         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25151         Update #include.
25153         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25155         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25156         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25158         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25159         (struct list_links): Type removed.
25160         (struct thread_node, struct timer_node): Replace struct list_links
25161         with struct list_head.
25162         (list_unlink_ip): Likewise.
25163         * sysdeps/pthread/timer_routines.c
25164         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25165         (list_append, list_insbefore): Likewise.
25166         (list_init): Function removed.
25167         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25168         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25169         * sysdeps/pthread/Makefile: ... here, new file.
25171         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25172         * sysdeps/nptl/Implies: ... here.
25173         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25174         * nptl/sysdeps/pthread/list.h: Moved ...
25175         * include/list.h: ... here.
25176         * nptl/sysdeps/pthread/createthread.c: Moved ...
25177         * nptl/createthread.c: ... here.
25178         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25179         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25180         * nptl/pt-longjmp.c: ... here.
25181         * nptl/sysdeps/pthread/Makefile: Moved ...
25182         * sysdeps/nptl/Makefile: ... here.
25183         * nptl/sysdeps/pthread/Subdirs: Moved ...
25184         * sysdeps/nptl/Subdirs: ... here.
25185         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25186         * sysdeps/nptl/aio_misc.h: ... here.
25187         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25188         * sysdeps/nptl/bits/libc-lock.h: ... here.
25189         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25190         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25191         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25192         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25193         * nptl/sysdeps/pthread/configure: Moved ...
25194         * sysdeps/nptl/configure: ... here.
25195         * nptl/sysdeps/pthread/configure.ac: Moved ...
25196         * sysdeps/nptl/configure.ac: ... here.
25197         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25198         * sysdeps/nptl/gai_misc.h: ... here.
25199         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25200         * sysdeps/nptl/librt-cancellation.c: ... here.
25201         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25202         * sysdeps/nptl/malloc-machine.h: ... here.
25203         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25204         * sysdeps/nptl/pthread-functions.h: ... here.
25205         * nptl/sysdeps/pthread/pthread.h: Moved ...
25206         * sysdeps/nptl/pthread.h: ... here.
25207         * nptl/sysdeps/pthread/setxid.h: Moved ...
25208         * sysdeps/nptl/setxid.h: ... here.
25209         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25210         * sysdeps/nptl/sigfillset.c: ... here.
25211         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25212         * sysdeps/nptl/tcb-offsets.h: ... here.
25213         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25214         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25215         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25216         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25217         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25218         * sysdeps/pthread/allocalim.h: ... here.
25219         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25220         * sysdeps/pthread/bits/sigthread.h: ... here.
25221         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25222         * sysdeps/pthread/flockfile.c: ... here.
25223         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25224         * sysdeps/pthread/ftrylockfile.c: ... here.
25225         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25226         * sysdeps/pthread/funlockfile.c: ... here.
25227         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25228         * sysdeps/pthread/posix-timer.h: ... here.
25229         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25230         * sysdeps/pthread/timer_create.c: ... here.
25231         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25232         * sysdeps/pthread/timer_delete.c: ... here.
25233         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25234         * sysdeps/pthread/timer_getoverr.c: ... here.
25235         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25236         * sysdeps/pthread/timer_gettime.c: ... here.
25237         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25238         * sysdeps/pthread/timer_routines.c: ... here.
25239         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25240         * sysdeps/pthread/timer_settime.c: ... here.
25241         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25242         * sysdeps/pthread/tst-timer.c: ... here.
25243         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25244         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25246         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25247         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25249         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25250         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25251         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25252         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25253         Update #include target.
25254         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25255         * sysdeps/i386/i686/nptl/Makefile: ... here.
25256         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25257         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25258         Update #include target.
25259         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25260         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25261         * nptl/sysdeps/i386/Makefile: Moved ...
25262         * sysdeps/i386/nptl/Makefile: ... here.
25263         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25264         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25265         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25266         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25267         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25268         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25269         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25270         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25271         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25272         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25273         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25274         * nptl/sysdeps/i386/tls.h: Moved ...
25275         * sysdeps/i386/nptl/tls.h: ... here.
25277         * sysdeps/sh/Makefile [$(subdir) = csu]
25278         (gen-as-const-headers): Add tcb-offsets.sym.
25279         * nptl/sysdeps/sh/Makefile: File removed.
25280         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25281         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25282         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25283         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25284         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25285         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25286         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25287         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25288         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25289         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25290         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25291         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25292         * nptl/sysdeps/sh/tls.h: Moved ...
25293         * sysdeps/sh/nptl/tls.h: ... here.
25294         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25295         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25296         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25297         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25298         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25299         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25300         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25301         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25302         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25303         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25304         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25305         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25306         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25307         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25308         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25309         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25310         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25311         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25312         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25313         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25314         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25315         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25316         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25317         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25318         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25319         Moved ...
25320         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25322         Moved ...
25323         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25324         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25326         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25327         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25328         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25329         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25330         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25331         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25332         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25333         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25334         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25335         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25336         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25337         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25338         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25339         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25340         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25341         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25343 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25345         * posix/spawn_faction_addopen.c: Include string.h.
25347 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25349         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25350         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25351         * nptl/sysdeps/x86_64/Makefile: Moved ...
25352         * sysdeps/x86_64/nptl/Makefile: ... here.
25353         * nptl/sysdeps/x86_64/configure: Moved ...
25354         * sysdeps/x86_64/nptl/configure: ... here.
25355         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25356         * sysdeps/x86_64/nptl/configure.ac: ... here.
25357         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25358         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25359         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25360         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25361         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25362         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25363         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25364         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25365         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25366         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25367         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25368         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25369         * nptl/sysdeps/x86_64/tls.h: Moved ...
25370         * sysdeps/x86_64/nptl/tls.h: ... here.
25371         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25372         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25373         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25374         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25376         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25378 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25382 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25384         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25385         type.
25386         [POSIX] (off_t): Likewise.
25387         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25388         [POSIX] (S_ISBLK): Require macro.
25389         [POSIX] (S_ISCHR): Likewise.
25390         [POSIX] (S_ISDIR): Likewise.
25391         [POSIX] (S_ISFIFO): Likewise.
25392         [POSIX] (S_ISREG): Likewise.
25393         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25394         optional-macro.
25395         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25396         type.
25397         [POSIX] (time_t): Likewise.
25398         [POSIX] (timer_t): Likewise.
25400 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25402         [BZ #17048]
25403         * posix/spawn_int.h (struct __spawn_action): Make the path string
25404         non-const to support deallocation.
25405         * posix/spawn_faction_addopen.c
25406         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25407         * posix/spawn_faction_destroy.c
25408         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25409         path in all spawn_do_open actions.
25410         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25411         posix_spawn_file_actions_addopen.
25413 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25415         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25416         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25417         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25418         conditional code always true.
25419         (__libc_vfork): New alias.
25421 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25423         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25424         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25426         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25428         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25429         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25431         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25432         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25434         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25435         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25437 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25439         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25440         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25441         multiarch strcmp for PPC64.
25442         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25443         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25445         multiarch optimizations.
25446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25447         (__libc_ifunc_impl_list): Likewise.
25449 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25451         * benchtests/scripts/validate_benchout.py: New script.
25452         * benchtests/Makefile (bench-func): Call it.
25453         * benchtests/scripts/benchout.schema.json: New file.
25455 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25457         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25458         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25459         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25460         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25461         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25462         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25463         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25464         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25465         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25466         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25467         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25468         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25469         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25470         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25471         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25472         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25474         Moved ...
25475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25476         ... here.
25477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25478         Moved ...
25479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25481         Moved ...
25482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25483         ... here.
25484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25485         Moved ...
25486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25487         ... here.
25488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25489         Moved ...
25490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25492         Moved ...
25493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25494         ... here.
25495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25496         Moved ...
25497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25498         ... here.
25499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25500         Moved ...
25501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25503         Moved ...
25504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25505         ... here.
25506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25507         Moved ...
25508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25509         ... here.
25510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25511         Moved ...
25512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25513         ... here.
25514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25515         Moved ...
25516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25518         Moved ...
25519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25520         ... here.
25521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25522         Moved ...
25523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25524         ... here.
25525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25526         Moved ...
25527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25528         ... here.
25529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25530         Moved ...
25531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25533         Moved ...
25534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25535         ... here.
25536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25537         Moved ...
25538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25539         ... here.
25540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25541         Moved ...
25542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25544         Moved ...
25545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25546         ... here.
25547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25548         Moved ...
25549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25551         Moved ...
25552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25554         Moved ...
25555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25556         ... here.
25557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25558         Moved ...
25559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25560         ... here.
25561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25562         Moved ...
25563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25564         ... here.
25565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25566         Moved ...
25567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25569         Moved ...
25570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25571         ... here.
25572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25573         Moved ...
25574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25575         ... here.
25576         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25577         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25578         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25579         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25580         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25581         Moved ...
25582         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25583         ... here.
25584         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25585         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25587         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25589         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25590         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25591         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25592         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25593         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25595         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25597         Moved ...
25598         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25600         Moved ...
25601         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25603         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25604         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25605         Moved ...
25606         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25608         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25609         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25610         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25611         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25612         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25614 2014-06-10  Wilco  <wdijkstr@arm.com>
25616         * math/test-fenv-return.c: New file.
25617         * math/Makefile: Add new test test-fenv-return.
25619 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
25621         [BZ #17042]
25622         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25623         when x - 1 is zero.
25624         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25625         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25626         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25627         0.0L for an argument of 1.0L.
25628         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25629         Likewise.
25630         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25631         value when x - 1 is zero.
25632         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
25633         * sysdeps/i386/fpu/libm-test-ulps: Update.
25634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25636 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
25638         [BZ #15119]
25639         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
25641 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25643         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
25644         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
25646 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25648         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25649         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25651         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25652         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25654         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25655         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25657         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25658         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25660         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25661         if not already defined.
25662         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25663         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25664         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25665         (TLS_INIT_TP): Use it.
25666         (TLS_DEFINE_INIT_TP): New macro.
25667         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25669 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25671         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25672         constant.
25673         [POSIX] (IXANY): Likewise.
25674         [POSIX] (OLCUC): Likewise.
25675         [POSIX || POSIX2008] (CBAUD): Do not allow.
25676         [POSIX || POSIX2008] (DEFECHO): Likewise.
25677         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25678         [POSIX || POSIX2008] (ECHOKE): Likewise.
25679         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25680         [POSIX || POSIX2008] (EXTA): Likewise.
25681         [POSIX || POSIX2008] (EXTB): Likewise.
25682         [POSIX || POSIX2008] (FLUSHO): Likewise.
25683         [POSIX || POSIX2008] (LOBLK): Likewise.
25684         [POSIX || POSIX2008] (PENDIN): Likewise.
25685         [POSIX || POSIX2008] (SWTCH): Likewise.
25686         [POSIX || POSIX2008] (VDISCARD): Likewise.
25687         [POSIX || POSIX2008] (VDSUSP): Likewise.
25688         [POSIX || POSIX2008] (VLNEXT): Likewise.
25689         [POSIX || POSIX2008] (VREPRINT): Likewise.
25690         [POSIX || POSIX2008] (VSTATUS): Likewise.
25691         [POSIX || POSIX2008] (VWERASE): Likewise.
25692         (B*): Change to B[0123456789]*.
25693         * conform/data/time.h-data [POSIX || UNIX98]
25694         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25695         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25696         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25697         [POSIX] (tm_*): Do not allow.
25699 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25701         * Makefile (install): Don't set LANGUAGE.
25702         * Makefile.in (install): Likewise.
25703         * assert/Makefile (test-assert-ENV): Remove variable.
25704         (test-assert-perr-ENV): Likewise.
25705         * elf/Makefile (neededtest4-ENV): Likewise.
25706         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25707         [$(cross-compiling) = no]: Don't set LANGUAGE.
25708         * io/ftwtest-sh (LANG): Remove variable.
25709         * libio/Makefile (tst-widetext-ENV): Likewise.
25710         * manual/install.texi (Running make install): Don't refer to
25711         environment settings for make install.
25712         * INSTALL: Regenerated.
25713         * nptl/tst-tls6.sh: Don't set LANG.
25714         * posix/globtest.sh (LANG): Remove variable.
25715         * string/Makefile (tester-ENV): Likewise.
25716         (inl-tester-ENV): Likewise.
25717         (noinl-tester-ENV): Likewise.
25718         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25719         [$(cross-compiling) = no]: Don't set LANGUAGE.
25720         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25721         without explicit environment settings.
25723 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25725         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25726         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25727         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25728         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25730 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25732         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25733         other files in the crypt directory.
25734         * crypt/crypt.c: Remove duplicate includes.
25735         * crypt/crypt-entry.c: Likewise.
25736         * crypt/crypt_util.c: Likewise.
25738 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25740         * Makeconfig (run-program-env): New variable.
25741         (run-program-prefix-before-env): Likewise.
25742         (run-program-prefix-after-env): Likewise.
25743         (run-program-prefix): Define in terms of new variables.
25744         (built-program-cmd-before-env): New variable.
25745         (built-program-cmd-after-env): Likewise.
25746         (built-program-cmd): Define in terms of new variables.
25747         (test-program-prefix-before-env): New variable.
25748         (test-program-prefix-after-env): Likewise.
25749         (test-program-prefix): Define in terms of new variables.
25750         (test-program-cmd-before-env): New variable.
25751         (test-program-cmd-after-env): Likewise.
25752         (test-program-cmd): Define in terms of new variables.
25753         * Rules (make-test-out): Use $(run-program-env).
25754         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25755         (help): Do not mention environment variables.  Mention
25756         --timeoutfactor option.
25757         (timeoutfactor): New variable.
25758         (blacklist_exports): Remove function.
25759         (exports): Remove variable.
25760         (command): Do not include ${exports}.
25761         * manual/install.texi (Configuring and compiling): Do not mention
25762         test wrappers preserving environment variables.  Mention that last
25763         assignment to a variable must take precedence.
25764         * INSTALL: Regenerated.
25765         * benchtests/Makefile (run-bench): Use $(run-program-env).
25766         * catgets/Makefile ($(objpfx)test1.cat): Use
25767         $(built-program-cmd-before-env), $(run-program-env) and
25768         $(built-program-cmd-after-env).
25769         ($(objpfx)test2.cat): Do not specify environment variables
25770         explicitly.
25771         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25772         $(run-program-env) and $(built-program-cmd-after-env).
25773         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25774         $(run-program-env) and $(test-program-cmd-after-env).
25775         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25776         explicitly.
25777         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25778         run_program_env and test_program_cmd_after_env arguments.
25779         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25780         * elf/tst-pathopt.sh: Use run_program_env argument.
25781         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25782         $(test-wrapper-env) and $(run-program-env).
25783         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25784         run_program_env arguments.
25785         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25786         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25787         $(test-program-prefix-before-env), $(run-program-env) and
25788         $(test-program-prefix-after-env).
25789         ($(objpfx)tst-gettext2.out): Likewise.
25790         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25791         run_program_env and test_program_prefix_after_env arguments.
25792         * intl/tst-gettext2.sh: Likewise.
25793         * intl/tst-gettext4.sh: Do not set environment variables
25794         explicitly.
25795         * intl/tst-gettext6.sh: Likewise.
25796         * intl/tst-translit.sh: Likewise.
25797         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25798         $(test-program-prefix-before-env), $(run-program-env) and
25799         $(test-program-prefix-after-env).
25800         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25801         run_program_env and test_program_prefix_after_env arguments.
25802         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25803         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25804         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25805         explicitly with each use of ${test_wrapper_env}.
25806         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25807         $(test-program-prefix-before-env), $(run-program-env) and
25808         $(test-program-prefix-after-env).
25809         * posix/tst-getconf.sh: Do not set environment variables
25810         explicitly.
25811         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25812         run_program_env and test_program_prefix_after_env arguments.
25813         * stdio-common/tst-printf.sh: Do not set environment variables
25814         explicitly.
25815         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25816         $(test-program-prefix-before-env), $(run-program-env) and
25817         $(test-program-prefix-after-env).
25818         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25819         run_program_env and test_program_prefix_after_env arguments.
25820         Split $test calls into $test_pre and $test.
25821         * timezone/Makefile (build-testdata): Use
25822         $(built-program-cmd-before-env), $(run-program-env) and
25823         $(built-program-cmd-after-env).
25825 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25827         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25828         strlen for non SHARED builds.
25830 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25832         * nptl/allocatestack.c (check_list): Inlined function...
25833         (__reclaim_stacks): ... here.
25835 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25837         [BZ #15698]
25838         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25839         memory overrun.
25841 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25843         * Rules (make-test-out): Include
25844         LOCPATH=$(common-objpfx)localedata in default environment.
25845         * debug/Makefile (tst-chk1-ENV): Remove variable.
25846         (tst-chk2-ENV): Likewise.
25847         (tst-chk3-ENV): Likewise.
25848         (tst-chk4-ENV): Likewise.
25849         (tst-chk5-ENV): Likewise.
25850         (tst-chk6-ENV): Likewise.
25851         (tst-lfschk1-ENV): Likewise.
25852         (tst-lfschk2-ENV): Likewise.
25853         (tst-lfschk3-ENV): Likewise.
25854         (tst-lfschk4-ENV): Likewise.
25855         (tst-lfschk5-ENV): Likewise.
25856         (tst-lfschk6-ENV): Likewise.
25857         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25858         (tst-iconv7-ENV): Likewise.
25859         * intl/Makefile (LOCPATH-ENV): Likewise.
25860         (tst-codeset-ENV): Likewise.
25861         (tst-gettext3-ENV): Likewise.
25862         (tst-gettext5-ENV): Likewise.
25863         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25864         (tst-fopenloc-ENV): Likewise.
25865         (tst-fgetws-ENV): Remove variable.
25866         (tst-ungetwc1-ENV): Likewise.
25867         (tst-ungetwc2-ENV): Likewise.
25868         (bug-ungetwc2-ENV): Likewise.
25869         (tst-swscanf-ENV): Likewise.
25870         (bug-ftell-ENV): Likewise.
25871         (tst-fgetwc-ENV): Likewise.
25872         (tst-fseek-ENV): Likewise.
25873         (tst-ftell-partial-wide-ENV): Likewise.
25874         (tst-ftell-active-handler-ENV): Likewise.
25875         (tst-ftell-append-ENV): Likewise.
25876         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25877         (tst-regexloc-ENV): Likewise.
25878         (bug-regex1-ENV): Likewise.
25879         (tst-regex-ENV): Likewise.
25880         (tst-regex2-ENV): Likewise.
25881         (bug-regex5-ENV): Likewise.
25882         (bug-regex6-ENV): Likewise.
25883         (bug-regex17-ENV): Likewise.
25884         (bug-regex18-ENV): Likewise.
25885         (bug-regex19-ENV): Likewise.
25886         (bug-regex20-ENV): Likewise.
25887         (bug-regex22-ENV): Likewise.
25888         (bug-regex23-ENV): Likewise.
25889         (bug-regex25-ENV): Likewise.
25890         (bug-regex26-ENV): Likewise.
25891         (bug-regex30-ENV): Likewise.
25892         (bug-regex32-ENV): Likewise.
25893         (bug-regex33-ENV): Likewise.
25894         (bug-regex34-ENV): Likewise.
25895         (bug-regex35-ENV): Likewise.
25896         (tst-rxspencer-ENV): Likewise.
25897         (tst-rxspencer-no-utf8-ENV): Likewise.
25898         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25899         (tst-sscanf-ENV): Likewise.
25900         (tst-swprintf-ENV): Likewise.
25901         (tst-swscanf-ENV): Likewise.
25902         (test-vfprintf-ENV): Likewise.
25903         (scanf13-ENV): Likewise.
25904         (bug14-ENV): Likewise.
25905         (tst-grouping-ENV): Likewise.
25906         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25907         (tst-strtod3-ENV): Likewise.
25908         (tst-strtod4-ENV): Likewise.
25909         (tst-strtod5-ENV): Likewise.
25910         (testmb2-ENV): Likewise./
25911         * string/Makefile (tst-strxfrm-ENV): Likewise.
25912         (tst-strxfrm2-ENV): Likewise.
25913         (bug-strcoll1-ENV): Likewise.
25914         (test-strcasecmp-ENV): Likewise.
25915         (test-strncasecmp-ENV): Likewise.
25916         * time/Makefile (tst-strptime-ENV): Likewise.
25917         (tst-ftime_l-ENV): Likewise.
25918         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25919         (tst-mbrtowc-ENV): Likewise.
25920         (tst-wcrtomb-ENV): Likewise.
25921         (tst-mbrtowc2-ENV): Likewise.
25922         (tst-c16c32-1-ENV): Likewise.
25923         (tst-mbsnrtowcs-ENV): Likewise.
25925 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25927         * manual/resource.texi (How to get information about the memory
25928         subsystem?): Fix typo.
25929         Reported by Peon de la Parra Ivan <peon@keba.com>
25931 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25933         [BZ #16882]
25934         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25935         (pthread_spin_lock): Branch out of spin loop to proper location.
25936         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25937         (pthread_spin_lock): Likewise.
25939         * nptl/tst-spin4.c: New test.
25940         * nptl/Makefile (tests): Add tst-spin4.
25942 2014-06-03  Andreas Schwab  <schwab@suse.de>
25944         [BZ #15946]
25945         * resolv/res_send.c (send_dg): Reload file descriptor after
25946         calling reopen.
25948 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25950         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25952 2014-06-03  Richard Henderson  <rth@redhat.com>
25954         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25955         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25956         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25957         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25958         in the SAVE_PID block.
25959         (__libc_vfork): New alias.
25960         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25962         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25963         child in registers, not on the stack.  Remove RESET_PID conditionals.
25964         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25966 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25968         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25970 2014-06-03  Wilco  <wdijkstr@arm.com>
25972         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25973         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25974         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25975         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25976         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25977         Likewise.
25979 2014-06-03  Wilco  <wdijkstr@arm.com>
25981         * sysdeps/aarch64/fpu/math_private.h
25982         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25983         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25984         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25985         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25986         Fix declarations.
25988 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25990         * crypt/crypt-private.h: Include ufc-crypt.h.
25991         (__b64_from_24bit): Declare extern.
25992         * crypt/crypt_util.c(__b64_from_24bit): New function.
25993         (b64t): New static const variable.
25994         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25995         (b64t): Remove variable.
25996         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25997         * crypt/sha256-crypt.c: Include crypt-private.h.
25998         (b64t): Remove variable.
25999         (__sha256_crypt_r): Remove b64_from_24bit and replace
26000         with __b64_from_24bit.
26001         * crypt/sha512-crypt.c: Likewise.
26003 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26005         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26006         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26007         Label the code __libc_vfork rather than __vfork.
26008         [!NOT_IN_libc] (vfork): Define as weak alias.
26009         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26010         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26011         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26013 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26015         * malloc/malloc.c (malloc_info): Fix format specifier for
26016         n_mmaps.
26018 2014-06-02  Wilco  <wdijkstr@arm.com>
26020         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26021         FPCR write.
26023 2014-06-02  Wilco  <wdijkstr@arm.com>
26025         [BZ #17009]
26026         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26027         Rewrite to reduce FPCR/FPSR accesses.
26029 2014-06-01  David S. Miller  <davem@davemloft.net>
26031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26033 2014-05-31  David S. Miller  <davem@davemloft.net>
26035         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26036         to occur in round to nearest mode when |x| >= 2.0
26038 2014-05-30  Richard Henderson  <rth@twiddle.net>
26040         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26041         (PSEUDO_RET_NOERRNO): Remove.
26042         (ret): Don't redefine.
26043         (ret_NOERRNO): Define in terms of ret.
26044         (ret_ERRVAL): Likewise.
26046         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26047         use of PSEUDO_RET; perform the error check directly.
26049 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26051         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26052         with __int128_t.
26054 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26056         * malloc/malloc (malloc_info): Fix formatting.
26058 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26059             Roland McGrath  <roland@hack.frob.com>
26061         * malloc/malloc (malloc_info): Also print mmapped statistics.
26063 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26065         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26066         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26068 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26070         * malloc/malloc.c (malloc_info): Inline mi_arena.
26072 2014-05-29  Richard Henderson  <rth@twiddle.net>
26074         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26075         Remove comma before expanding ASM_ARGS_##nr.
26076         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26077         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26078         of ASM_ARGS_##nr.
26079         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26080         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26081         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26082         (ASM_ARGS_1): Add leading comma.
26084         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26085         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26086         to __errno_location.
26087         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26088         Remove the expected plt for __errno_location.
26090         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26091         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26092         call to __read_tp.
26094         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26095         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26096         it and break it down.
26097         (DOCARGS_0, DOCARGS_1): Do nothing.
26098         (DOCARGS_2): Update to store into the new stack frame.
26099         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26100         (UNDOCARGS_1): Update to restore from the new stack frame.
26101         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26102         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26104         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26105         (SINGLE_THREAD_P): New parameter for result regno.
26106         (PSEUDO): Update to match; use cbz instead of beq.
26108         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26109         Use ENTRY to define the _nocancel entry point.  Share the syscall
26110         and syscall error check paths with the cancel path.
26111         (PSEUDO_END): New.
26113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26114         whitespace; tabs before and after asm mnemonics.
26116 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26118         [BZ #15132]
26119         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26120         Call fstat64 or stat64 internally, depending on arguments passed.
26121         Replace stat buffer argument with file descriptor argument.
26122         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26123         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26124         Pass fd to __internal_statvfs instead of calling fstat64.
26125         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26126         Pass fd to __internal_statvfs64 instead of calling fstat64.
26127         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26128         Pass -1 to __internal_statvfs instead of calling stat64.
26129         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26130         Pass -1 to __internal_statvfs64 instead of calling stat64.
26132 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26134         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26135         that was previously under [RESET_PID].
26136         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26138         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26139         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26141 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26143         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26145         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26146         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26148 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26150         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26152 2014-05-27  Andreas Schwab  <schwab@suse.de>
26154         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26155         TLS_INIT_TP macro.
26156         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26157         * elf/rtld.c (init_tls, dl_main): Likewise.
26158         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26159         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26160         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26161         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26162         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26163         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26164         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26165         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26166         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26167         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26168         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26169         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26170         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26171         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26172         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26173         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26174         * sysdeps/generic/tls.h: Update description.
26176 2014-05-27  Will Newton  <will.newton@linaro.org>
26178         [BZ #16990]
26179         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26180         and restore r2 rather than just restoring.
26182 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26184         [BZ #16724]
26185         * libio/tst-ftell-append.c: New test case.
26186         * libio/Makefile (tests): Add test case.
26187         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26188         append mode.
26189         * libio/wfileops.c (do_ftell_wide): Likewise.
26191 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26195         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26196         ...
26197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26199         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26200         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26201         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26202         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26203         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26204         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26206         Moved ...
26207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26209         Moved ...
26210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26211         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26212         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26213         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26214         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26215         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26216         ...
26217         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26218         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26219         Moved ...
26220         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26221         here.
26222         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26223         ...
26224         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26225         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26226         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26228         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26229         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26230         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26231         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26234         merge into ...
26235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26236         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26237         ...
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26239         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26240         ...
26241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26243         Moved ...
26244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26245         here.
26246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26247         Moved ...
26248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26249         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26250         Moved ...
26251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26254         conditional [RESET_PID].
26255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26257         removed.
26258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26259         removed.
26261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26262         <tcb-offsets.h>.
26263         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26264         (__libc_vfork): New strong alias.
26265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26266         removed.
26267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26268         Removed.
26270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26271         <tcb-offsets.h>.
26272         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26273         (__libc_vfork): New strong alias.
26274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26275         removed.
26276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26277         removed.
26279 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26281         * malloc/malloc.c (mi_arena): New function.
26282         (malloc_info): Remove nested function mi_arena. Call non-nosted
26283         function mi_arena.
26285 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26287         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26288         by insrwi.
26289         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26290         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26291         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26292         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26293         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26294         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26295         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26297 2014-05-26  Andreas Schwab  <schwab@suse.de>
26299         [BZ #16984]
26300         * locale/programs/repertoire.c (repertoire_read): Add slash
26301         between I18NPATH element and file name.
26302         * locale/programs/locfile.c (locfile_read): Likewise.
26304 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26306         * nptl/pthread_mutexattr_settype.c
26307         (__pthread_mutexattr_settype):
26308         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26310 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26312         * nptl/tst-mutex5 (do_test):
26313         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26315 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26317         * benchtests/README: Document 'init' directive.
26318         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26319         BENCH_INIT.
26320         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26321         (parse_file): Recognize 'init' directive.
26323 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26325         [BZ #16796]
26326         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26327         alignment of struct pthread.
26329 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26331         [BZ #16878]
26332         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26333         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26334         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26335         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26337 2014-05-25  Richard Henderson  <rth@twiddle.net>
26339         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26340         (SINGLE_THREAD_P_PIC): Remove.
26341         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26342         (SINGLE_THREAD_P_PIC): Remove.
26344         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26345         branch to syscall error ...
26346         (PSEUDO): ... here.
26347         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26348         from __local_syscall_error to .Lsyscall_error.
26349         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26350         (SYSCALL_ERROR): Update label name.
26352         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26353         Do not use DOARGS/UNDOARGS.
26354         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26355         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26356         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26357         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26358         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26360         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26361         block comment.
26363         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26364         define if !NOT_IN_libc.
26365         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26366         define with non-default symbol versions.
26368 2014-05-23  Richard Henderson  <rth@twiddle.net>
26370         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26371         (vfork, __vfork): Define via compat_symbol.
26373         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26374         [!HAVE_IFUNC] (vfork_compat): Remove.
26375         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26377 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26379         [BZ #16978]
26380         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26381         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26382         variable.
26384 2014-05-23  Richard Henderson  <rth@twiddle.net>
26386         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26387         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26388         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26389         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26391         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26392         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26393         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26394         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26395         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26396         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26397         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26398         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26399         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26400         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26401         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26402         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26403         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26404         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26405         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26406         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26407         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26408         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26409         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26410         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26411         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26412         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26413         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26414         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26415         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26416         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26417         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26418         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26419         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26420         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26421         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26422         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26423         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26424         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26425         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26426         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26427         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26428         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26429         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26430         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26431         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26432         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26433         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26434         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26435         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26436         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26438         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26439         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26440         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26441         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26442         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26443         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26444         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26445         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26446         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26448         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26449         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26450         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26451         before exiting on error.
26452         (__libc_vfork): New strong alias.
26453         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26454         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26456         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26457         that was previously under [RESET_PID].
26458         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26460         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26462 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26464         [BZ #16977]
26465         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26466         value when x - 1 is zero.
26467         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26468         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26469         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26470         0.0L for an argument of 1.0L.
26471         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26472         Likewise.
26473         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26474         value when x - 1 is zero.
26475         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26476         * sysdeps/i386/fpu/libm-test-ulps: Update.
26477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26479 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26481         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26482         alphasort and versionsort.
26484 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26486         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26487         macro.
26488         [copysignf]: Likewise.
26490 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26492         * crypt/md5-crypt.c: Fix formatting.
26494 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26496         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26497         (b64_from_24bit): New function.
26499 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26501         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26502         libc_hidden_builtin_def to ifunc.
26503         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26504         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26506 2014-05-21  Roland McGrath  <roland@hack.frob.com>
26508         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26509         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26511 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
26513         * nscd/Depend (linuxthreads): Remove.
26514         (nptl): Add.
26515         * resolv/Depend (linuxthreads): Remove.
26516         * rt/Depend (linuxthreads): Remove.
26518         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26519         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26520         $(common-objpfx)elf/.
26521         (link-libc-before-gnulib): Likewise.
26522         (elfobjdir): Remove variable.
26523         * Makefile (install): Use $(elf-objpfx) instead of
26524         $(common-objpfx)elf/.
26525         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26526         $(elfobjdir)/.
26527         (link-libc-deps): Likewise.
26528         ($(common-objpfx)libc.so): Likewise.
26529         ($(common-objpfx)linkobj/libc.so): Likewise.
26530         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26531         instead of $(common-objpfx)elf/.
26532         (symbolic-link-list): Likewise.
26533         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26534         [$(cross-compiling) = no]: Likewise.
26535         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26536         $(elfobjdir)/.
26537         (static-gnulib-arch): Likewise.
26538         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26539         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26540         $(common-objpfx)elf/.
26542 2014-05-21  Richard Henderson  <rth@redhat.com>
26544         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26545         (SINGLE_THREAD_P): Use the correct width load.  Fold
26546         into the ldr offset.
26548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26549         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26551 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26553         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26554         (libgcc_s_resume): Use __attribute_used__.
26555         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26556         Likewise.
26558 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26560         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26561         optimization when used with float constants.
26563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26565 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26567         [BZ #16915]
26568         * locale/nl_langinfo_l.c: Make direct reference to every
26569         _nl_current_CATEGORY symbol.
26570         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26571         (tests-static): Add tst-langinfo-static.
26572         (tests-special): Add tst-langinfo-static.out.
26573         ($(objpfx)tst-langinfo.out): Redirect output.
26574         ($(objpfx)tst-langinfo-static.out): New.
26575         * localedata/tst-langinfo.sh: Send output to stdout.
26576         * localedata/tst-langinfo-static.c: New file.
26578         [BZ #16965]
26579         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26580         when the shift amount is modulo the limb size.
26582 2014-05-20  Richard Henderson  <rth@redhat.com>
26584         [BZ #16967]
26585         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26586         Change type of sa_flags from unsigned int to int.
26588         [BZ #16966]
26589         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26591         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26593 2014-05-20  Will Newton  <will.newton@linaro.org>
26595         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26596         Test the return value of the system call in the nocancel case.
26598 2014-05-20  Will Newton  <will.newton@linaro.org>
26599             Yvan Roux  <yvan.roux@linaro.org>
26601         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26602         #include of asm/ptrace.h.
26603         (PTRACE_GET_THREAD_AREA): Remove #undef.
26604         (PTRACE_GETHBPREGS): Likewise.
26605         (PTRACE_SETHBPREGS): Likewise.
26606         (struct user_regs_struct): New structure.
26607         (struct user_fpsimd_struct): New structure.
26608         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26609         #include of asm/ptrace.h and second #include of sys/user.h.
26610         (PTRACE_GET_THREAD_AREA): Remove #undef.
26611         (PTRACE_GETHBPREGS): Likewise.
26612         (PTRACE_SETHBPREGS): Likewise.
26613         (ELF_NGREG): Use new struct user_regs_struct.
26614         (elf_fpregset_t): Use new struct user_fpsimd_struct.
26616 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26618         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26619         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26621 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
26623         [BZ #16958]
26624         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26625         membar to avoid block loads/stores to overlap previous stores.
26627 2014-05-17  Richard Henderson  <rth@redhat.com>
26629         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26630         Create the __##syscall_name##_nocancel entry point.
26631         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26632         Remove; let the sysdep-cancel.h code create it.
26634 2014-05-17  David S. Miller  <davem@davemloft.net>
26636         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
26637         Protect with __USE_GNU.
26638         (TIOCSET_TEMPT): Likewise.
26639         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26640         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26641         these are already provided in bits/ioctl-types.h
26643 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26645         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
26646         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
26648         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
26649         Use wait4 regardless of [__NR_waitpid].
26651 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26653         PR libgcc/60166
26654         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26655         (_FP_NANSIGN_Q): Set the quiet bit.
26657 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26659         * benchtests/Makefile
26660         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26661         not $(common-objpfx)math/libm.so.
26662         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26663         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26664         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26665         $(common-objpfx)dlfcn/libdl.so.
26666         ($(objpfx)tst-audit8): Depend on $(libm), not
26667         $(common-objpfx)math/libm.so.
26668         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26669         not $(common-objpfx)dlfcn/libdl.so.
26670         * math/Makefile
26671         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26672         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26673         [$(build-shared) = yes].
26674         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26675         $(common-objpfx)nptl/libpthread.so.
26676         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26677         $(common-objpfx)math/libm.so$(libm.so-version) or
26678         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26679         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26680         $(common-objpfx)dlfcn/libdl.so.
26681         * setjmp/Makefile (link-libm): Remove variable.
26682         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26683         * stdio-common/Makefile (link-libm): Remove variable.
26684         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26685         * stdlib/Makefile (link-libm): Remove variable.
26686         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26687         ($(objpfx)tst-strtod-round): Likewise.
26688         ($(objpfx)tst-tininess): Likewise.
26689         ($(objpfx)tst-strtod-underflow): Likewise.
26690         ($(objpfx)tst-strtod6): Likewise.
26691         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26692         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26693         $(common-objpfx)dlfcn/libdl.so.
26695 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26697         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26698         BSD terminal modes definitions.
26700 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26702         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26703         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26705         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26706         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26707         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26708         Don't do #include_next.
26709         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26710         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26711         Don't do #include_next.
26712         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26713         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26714         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26715         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26717 2014-05-16  Allan McRae  <allan@archlinux.org>
26719         * po/sv.po: Update Swedish translation from translation project.
26721         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26722         in sed expression.
26724 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26726         [BZ #16917]
26727         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26728         errno if the TIOCGPTN ioctl fails with an error different than
26729         EINVAL.
26730         * login/tst-ptsname.c: New file.
26731         * login/Makefile (tests): Add tst-ptsname.
26733         [BZ #16943]
26734         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26735         and prlimit64.
26737 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26739         [BZ #16849]
26740         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26741         herrno to return EAI_AGAIN.
26743 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26745         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26746         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26747         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26748         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26749         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26750         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26751         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26752         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26753         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26754         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26755         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26756         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26757         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26758         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26759         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26760         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26761         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26762         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26763         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26764         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26765         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26766         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26767         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26768         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26769         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26770         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26771         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26772         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26773         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26774         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26776         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26778         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26780         Moved ...
26781         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26783         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26785         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26787         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26789         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26791         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26793         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26795         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26797         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26799         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26801         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26803         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26805         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26807         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26809         Moved ...
26810         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26812         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26814         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26816         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26818         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26820         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26822         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26824         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26826         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26828         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26830         Moved ...
26831         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26833         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26835         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26836         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26837         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26838         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26839         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26840         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26841         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26842         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26843         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26844         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26845         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26846         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26847         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26848         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26849         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26850         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26851         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26852         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26853         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26854         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26855         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26856         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26857         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26858         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26859         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26860         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26861         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26862         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26863         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26864         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26865         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26867         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26868         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26870         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26871         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26872         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26873         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26874         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26875         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26876         Moved ...
26877         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26878         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26879         Moved ...
26880         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26881         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26882         Moved ...
26883         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26884         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26885         Moved ...
26886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26887         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26888         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26889         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26890         Moved ...
26891         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26892         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26893         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26894         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26895         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26896         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26897         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26899         Moved ...
26900         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26901         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26902         Moved ...
26903         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26904         ... here.
26905         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26906         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26907         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26908         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26909         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26910         Moved ...
26911         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26912         ... here.
26913         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26914         Moved ...
26915         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26916         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26917         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26918         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26919         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26920         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26921         Moved ...
26922         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26923         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26924         Moved ...
26925         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26926         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26927         Moved ...
26928         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26929         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26930         Moved ...
26931         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26932         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26933         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26934         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26935         Moved ...
26936         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26937         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26938         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26939         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26940         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26941         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26942         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26944         Moved ...
26945         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26946         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26947         Moved ...
26948         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26949         ... here.
26950         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26951         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26952         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26953         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26954         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26955         Moved ...
26956         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26957         ... here.
26958         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26959         Moved ...
26960         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26961         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26962         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26963         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26964         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26965         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26966         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26967         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26968         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26969         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26970         Moved ...
26971         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26972         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26973         Moved ...
26974         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26975         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26976         Moved ...
26977         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26979         Moved ...
26980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26981         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26982         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26983         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26984         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26985         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26986         Moved ...
26987         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26988         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26989         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26990         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26991         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26992         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26993         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26995         Moved ...
26996         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26997         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26998         Moved ...
26999         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27000         ... here.
27001         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27002         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27003         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27004         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27006         Moved ...
27007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27008         ... here.
27009         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27010         Moved ...
27011         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27012         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27013         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27014         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27015         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27016         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27017         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27018         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27019         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27020         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27021         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27023         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27024         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27026         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27027         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27029         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27030         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27031         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27032         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27033         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27034         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27035         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27036         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27037         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27038         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27039         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27040         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27041         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27042         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27043         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27045         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27047         Moved ...
27048         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27050         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27051         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27052         Moved ...
27053         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27054         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27055         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27056         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27057         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27059         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27061         Moved ...
27062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27064         Moved ...
27065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27069         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27070         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27071         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27072         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27073         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27074         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27075         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27076         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27077         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27078         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27079         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27080         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27081         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27083         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27084         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27085         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27086         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27087         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27089         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27090         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27091         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27092         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27093         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27094         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27095         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27096         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27097         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27098         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27100         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27101         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27103         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27104         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27105         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27106         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27107         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27108         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27109         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27110         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27111         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27112         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27113         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27114         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27115         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27116         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27118         Update #include.
27119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27120         Likewise.
27121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27122         Likewise.
27123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27124         Likewise.
27125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27126         Likewise.
27127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27128         Likewise.
27129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27130         Likewise.
27131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27132         Likewise.
27133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27134         Likewise.
27135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27136         Likewise.
27137         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27138         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27139         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27140         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27141         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27142         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27143         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27144         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27145         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27146         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27147         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27148         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27149         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27150         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27151         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27153         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27154         that was previously under [RESET_PID].
27155         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27156         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27157         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27159         * sysdeps/i386/nptl/Implies: New file.
27160         * sysdeps/x86_64/nptl/Implies: New file.
27161         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27162         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27163         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27164         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27166         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27167         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27168         (__libc_vfork): New strong alias.
27169         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27170         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27172         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27173         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27174         (__libc_vfork): New strong alias.
27175         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27176         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27178         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27179         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27180         (__libc_vfork): New strong alias.
27181         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27182         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27183         * nptl/pt-vfork.c: New file.
27184         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27185         (libpthread: GLIBC_2.20): New version set (empty).
27187 2014-05-14  Will Newton  <will.newton@linaro.org>
27189         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27190         rather than #if.
27192 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27194         [BZ #16564]
27195         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27196         arguments with exponent 65 or above.
27197         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27198         arguments 0x1p113L or above.
27199         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27200         to arguments 0x1p107L or above.
27201         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27202         positive arguments with exponent 65 or above.
27203         * math/auto-libm-test-in: Add more tests of log1p.
27204         * math/auto-libm-test-out: Regenerated.
27206         [BZ #16928]
27207         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27208         non-finite arguments is +0.
27209         * math/s_cacosf.c (__cacosf): Likewise.
27210         * math/s_cacosl.c (__cacosl): Likewise.
27211         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27212         * sysdeps/i386/fpu/libm-test-ulps: Update.
27213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27215         [BZ #16927]
27216         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27217         value.
27218         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27219         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27220         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27221         for explicit high bit of mantissa when testing for argument equal
27222         to 1.
27223         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27224         * sysdeps/i386/fpu/libm-test-ulps: Update.
27225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27227         [BZ #16516]
27228         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27229         (__erf): Scale by 16 instead of 8 in potentially underflowing
27230         case.  Ensure exception if result actually underflows.
27231         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27232         (__erff): Scale by 16 instead of 8 in potentially underflowing
27233         case.  Ensure exception if result actually underflows.
27234         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27235         (efx8): Remove variable.
27236         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27237         case.  Ensure exception if result actually underflows.
27238         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27239         (efx8): Remove variable.
27240         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27241         case.  Ensure exception if result actually underflows.
27242         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27243         (efx8): Remove variable.
27244         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27245         case.  Ensure exception if result actually underflows.
27246         * math/auto-libm-test-in: Add more tests of erf.
27247         * math/auto-libm-test-out: Regenerated.
27249 2014-05-14  Andreas Schwab  <schwab@suse.de>
27251         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27252         Remove code conditionalized on USE___THREAD.
27254         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27255         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27256         not definedness.
27258 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27260         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27261         Define unconditionally.
27262         (__ASSUME_O_CLOEXEC): Likewise.
27263         (__ASSUME_SOCK_CLOEXEC): Likewise.
27264         (__ASSUME_IN_NONBLOCK): Likewise.
27265         (__ASSUME_PIPE2): Likewise.
27266         (__ASSUME_EVENTFD2): Likewise.
27267         (__ASSUME_SIGNALFD4): Likewise.
27268         (__ASSUME_DUP3): Likewise.
27269         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27270         (__ASSUME_DUP3): Do not define.
27271         (__ASSUME_EVENTFD2): Likewise.
27272         (__ASSUME_IN_NONBLOCK): Likewise.
27273         (__ASSUME_O_CLOEXEC): Likewise.
27274         (__ASSUME_PIPE2): Likewise.
27275         (__ASSUME_SIGNALFD4): Likewise.
27276         (__ASSUME_SOCK_CLOEXEC): Likewise.
27277         (__ASSUME_UTIMES): Undefine.
27278         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27279         (__ASSUME_UTIMES): Do not define.
27280         (__ASSUME_O_CLOEXEC): Likewise.
27281         (__ASSUME_SOCK_CLOEXEC): Likewise.
27282         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27283         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27284         0x020621].
27285         (__ASSUME_PIPE2): Likewise.
27286         (__ASSUME_EVENTFD2): Likewise.
27287         (__ASSUME_SIGNALFD4): Likewise.
27288         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27289         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27290         Do not define.
27291         (__ASSUME_EVENTFD2): Likewise.
27292         (__ASSUME_SIGNALFD4): Likewise.
27293         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27294         (__ASSUME_32BITUIDS): Likewise.
27295         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27296         (__ASSUME_IPC64): Likewise.
27297         (__ASSUME_ST_INO_64_BIT): Likewise.
27298         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27299         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27300         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27301         (__ASSUME_UTIMES): Do not define.
27302         (__ASSUME_PSELECT): Likewise.
27303         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
27312         (__ASSUME_UTIMES): Likewise.
27313         (__ASSUME_O_CLOEXEC): Likewise.
27314         (__ASSUME_SOCK_CLOEXEC): Likewise.
27315         (__ASSUME_IN_NONBLOCK): Likewise.
27316         (__ASSUME_PIPE2): Likewise.
27317         (__ASSUME_EVENTFD2): Likewise.
27318         (__ASSUME_SIGNALFD4): Likewise.
27319         (__ASSUME_DUP3): Likewise.
27320         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27321         (__ASSUME_UTIMES): Likewise.
27322         (__ASSUME_O_CLOEXEC): Likewise.
27323         (__ASSUME_SOCK_CLOEXEC): Likewise.
27324         (__ASSUME_IN_NONBLOCK): Likewise.
27325         (__ASSUME_PIPE2): Likewise.
27326         (__ASSUME_EVENTFD2): Likewise.
27327         (__ASSUME_SIGNALFD4): Likewise.
27328         (__ASSUME_DUP3): Likewise.
27329         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27330         Likewise.
27331         (__ASSUME_UTIMES): Likewise.
27332         (__ASSUME_EVENTFD2): Likewise.
27333         (__ASSUME_SIGNALFD4): Likewise.
27334         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27335         (__ASSUME_O_CLOEXEC): Likewise.
27336         (__ASSUME_SOCK_CLOEXEC): Likewise.
27337         (__ASSUME_IN_NONBLOCK): Likewise.
27338         (__ASSUME_PIPE2): Likewise.
27339         (__ASSUME_EVENTFD2): Likewise.
27340         (__ASSUME_SIGNALFD4): Likewise.
27341         (__ASSUME_DUP3): Likewise.
27342         (__ASSUME_UTIMES): Undefine.
27344         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27345         feclearexcept.  Remove symbol versioning code.
27346         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27347         symbol versioning code.
27348         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27349         symbol versioning code.
27350         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27351         feupdateenv.  Remove symbol versioning code.
27352         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27353         fegetexceptflag.  Remove symbol versioning code.
27354         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27355         fesetexceptflag.  Remove symbol versioning code.
27356         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27357         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27358         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27359         (__posix_fadvise64_l32): Remove prototype.
27360         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27361         code.
27363 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27365         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27366         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27367         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27368         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27370 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27372         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27373         current working directory
27375 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27377         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27378         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27379         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27380         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27381         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27382         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27383         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27384         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27385         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27386         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27387         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27388         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27389         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27390         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27391         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27392         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27393         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27394         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27395         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27396         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27397         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27398         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27399         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27400         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27401         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27402         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27403         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27404         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27405         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27406         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27407         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27408         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27409         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27410         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27411         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27412         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27413         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27414         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27415         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27416         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27417         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27418         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27420         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27421         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27423         * sysdeps/unix/sysv/linux/arm/Makefile
27424         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27425         Add rt-aeabi_unwind_cpp_pr1.
27426         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27427         Add nptl-aeabi_unwind_cpp_pr1.
27428         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27429         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27430         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27431         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27432         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27433         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27435         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27436         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27437         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27438         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27440         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27441         Deconditionalize the code that was previously under [RESET_PID].
27442         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27444         * sysdeps/generic/exit-thread.h: New file.
27445         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27446         * include/unistd.h (__exit_thread): Remove declaration.
27447         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27448         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27449         * csu/libc-start.c: Include <exit-thread.h>.
27450         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27451         * nptl/pthread_create.c: Include <exit-thread.h>.
27452         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27453         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27454         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27455         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27456         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27457         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27458         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27459         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27460         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27461         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27462         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27463         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27464         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27465         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27466         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27467         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27468         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27470 2014-05-13  Andreas Schwab  <schwab@suse.de>
27472         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27474 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
27476         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27477         (__ASSUME_UTIMES): Do not condition on kernel version.
27478         (__ASSUME_PSELECT): Define unconditionally.
27479         (__ASSUME_PPOLL): Likewise.
27480         (__ASSUME_ATFCTS): Likewise.
27481         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27482         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27483         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27484         (__ASSUME_UTIMENSAT): Define unconditionally.
27485         (__ASSUME_PRIVATE_FUTEX): Likewise.
27486         (__ASSUME_FALLOCATE): Likewise.
27487         (__ASSUME_O_CLOEXEC): Likewise.
27488         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27489         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27490         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27491         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27492         (__ASSUME_IN_NONBLOCK): Likewise.
27493         (__ASSUME_PIPE2): Likewise.
27494         (__ASSUME_EVENTFD2): Likewise.
27495         (__ASSUME_SIGNALFD4): Likewise.
27496         (__ASSUME_DUP3): Likewise.
27497         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27498         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27499         (__ASSUME_AT_RANDOM): Likewise.
27500         (__ASSUME_PREADV): Likewise.
27501         (__ASSUME_PWRITEV): Likewise.
27502         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27503         (__ASSUME_F_GETOWN_EX): Define unconditionally.
27504         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27505         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27506         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27507         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27508         (__ASSUME_O_CLOEXEC): Define unconditionally.
27509         (__ASSUME_PSELECT): Do not undefine conditionally.
27510         (__ASSUME_PPOLL): Likewise.
27511         (__ASSUME_ATFCTS): Likewise.
27512         (__ASSUME_SET_ROBUST_LIST): Likewise.
27513         (__ASSUME_UTIMENSAT): Likewise.
27514         (__ASSUME_FDATASYNC): Define unconditionally.
27515         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27516         (__ASSUME_SIGFRAME_V2): Likewise.
27517         )__ASSUME_EVENTFD2): Likewise.
27518         (__ASSUME_SIGNALFD4): Likewise.
27519         (__ASSUME_PSELECT): Do not undefine conditionally.
27520         (__ASSUME_PPOLL): Likewise.
27521         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27522         (__ASSUME_PSELECT): Define unconditionally.
27523         (__ASSUME_PPOLL): Likewise.
27524         (__ASSUME_O_CLOEXEC): Likewise.
27525         (__ASSUME_SOCK_CLOEXEC): Likewise.
27526         (__ASSUME_IN_NONBLOCK): Likewise.
27527         (__ASSUME_PIPE2): Likewise.
27528         (__ASSUME_EVENTFD2): Likewise.
27529         (__ASSUME_SIGNALFD4): Likewise.
27530         (__ASSUME_DUP3): Likewise.
27531         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27532         (__ASSUME_O_CLOEXEC): Likewise.
27533         (__ASSUME_SOCK_CLOEXEC): Likewise.
27534         (__ASSUME_IN_NONBLOCK): Likewise.
27535         (__ASSUME_PIPE2): Likewise.
27536         (__ASSUME_EVENTFD2): Likewise.
27537         (__ASSUME_SIGNALFD4): Likewise.
27538         (__ASSUME_DUP3): Likewise.
27539         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27540         (__ASSUME_EVENTFD2): Likewise.
27541         (__ASSUME_SIGNALFD4): Likewise.
27542         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27544 2014-05-12  Andreas Schwab  <schwab@suse.de>
27546         [BZ #16932]
27547         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27548         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27549         than maximum RPC packet size.
27550         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27551         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27552         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27553         (_nss_nis_getservbyport_r): Likewise.
27555 2014-05-12  Will Newton  <will.newton@linaro.org>
27557         * malloc/Makefile (tests): Add tst-mallopt.
27558         * malloc/tst-mallopt.c: New file.
27560 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27562         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27563         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27565 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27567         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27568         (tst-tlsmod6.so): Likewise.
27570 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27572         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27574 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27576         [BZ #16064]
27577         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27578         and <dl-procinfo.h>.
27579         (__fegetenv): Save SSE state in envp->__eip if supported.
27580         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27581         envp->__eip if supported.
27582         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27583         and <dl-procinfo.h>.
27584         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27585         __data_offset and __data_selector in environment to 0.  Set SSE
27586         state if supported.
27587         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27588         test-fenv-sse.
27589         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27590         -mfpmath=sse.
27591         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27593 2014-05-09  Will Newton  <will.newton@linaro.org>
27595         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27596         and libc_relro_required for ARM.
27597         * sysdeps/arm/preconfigure: Regenerate.
27599 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
27600             Stefan Liebler  <stli@linux.vnet.ibm.com>
27602         * config.make.in (enable-lock-elision): New Makefile variable.
27603         * configure.ac: Likewise.
27604         * configure: Regenerate.
27605         * sysdeps/s390/configure.ac:
27606         Add check for gcc transactions support.
27607         * sysdeps/s390/configure: Regenerate.
27608         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27609         Build elision files if enabled.
27610         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27611         Add lock elision support for s390.
27612         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27613         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27614         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27615         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27616         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27617         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27618         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27619         Likewise.
27620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27621         Likewise.
27622         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27623         Likewise.
27624         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27625         Likewise.
27626         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27627         (__lll_timedlock_elision, __lll_lock_elision)
27628         (__lll_unlock_elision, __lll_trylock_elision)
27629         (lll_timedlock_elision, lll_lock_elision)
27630         (lll_unlock_elision, lll_trylock_elision): Add.
27631         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27632         (pthread_mutex_t): Add lock elision support for s390.
27634 2014-05-14  Wilco  <wdijkstr@arm.com>
27636         * sysdeps/arm/fclrexcpt.c: Cleanup.
27637         * sysdeps/arm/fedisblxcpt.c: Cleanup.
27638         * sysdeps/arm/feenablxcpt.c: Cleanup.
27639         * sysdeps/arm/fegetenv.c: Cleanup.
27640         * sysdeps/arm/fegetexcept.c: Cleanup.
27641         * sysdeps/arm/fegetround.c: Cleanup.
27642         * sysdeps/arm/feholdexcpt.c: Cleanup.
27643         * sysdeps/arm/fesetenv.c: Cleanup.
27644         * sysdeps/arm/fesetround.c: Cleanup.
27645         * sysdeps/arm/feupdateenv.c: Cleanup.
27646         * sysdeps/arm/fgetexcptflg.c: Cleanup.
27647         * sysdeps/arm/fraiseexcpt.c: Cleanup.
27648         * sysdeps/arm/fsetexcptflg.c: Cleanup.
27649         * sysdeps/arm/ftestexcept.c: Cleanup.
27650         * sysdeps/arm/get-rounding-mode.h: Cleanup.
27651         * sysdeps/arm/setfpucw.c: Cleanup.
27653 2014-05-09  Will Newton  <will.newton@linaro.org>
27655         * sysdeps/arm/armv7/strcmp.S: New file.
27656         * NEWS: Mention addition of ARMv7 optimized strcmp.
27658 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27660         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27661         look for %.ac rather than %.in.
27663         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27664         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27665         * sysdeps/mach/hurd/configure: Regenerated.
27666         * sysdeps/unix/sysv/linux/configure: Regenerated.
27668         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27670 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27672         [BZ# 16922]
27673         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27674         (LONG_SUB): Ditto.
27675         (PTR_SUB): Ditto.
27677 2014-05-07  Andreas Schwab  <schwab@suse.de>
27679         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27680         when skipping over non-matching result from nscd.
27682 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27684         [BZ #16876]
27685         * nptl/sockperf.c (client): Check socket return value.
27687         [BZ #16877]
27688         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27689         nscd security class.
27691 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27693         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27694         * sysdeps/arm/unwind.h: ... here.
27696 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27698         [BZ# 16916]
27699         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27700         Define.
27702 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27704         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27705         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27706         multiarch strncpy for PPC64.
27707         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27708         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27710         multiarch optimizations.
27711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27712         (__libc_ifunc_impl_list): Likewise.
27713         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27714         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27715         multiarch stpncpy for PPC64.
27716         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27717         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27719 2014-05-06  Andreas Schwab  <schwab@suse.de>
27721         [BZ #16912]
27722         * gmon/mcount.c (_MCOUNT_DECL): Use
27723         atomic_compare_and_exchange_bool_acq instead of
27724         catomic_compare_and_exchange_bool_acq.
27726 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27728         * elf/Makefile (others, install-bin): Remove pldd.
27729         (pldd-modules): Variable removed.
27730         ($(objpfx)pldd): Target removed.
27731         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27732         (others, install-bin): Append pldd here.
27733         ($(objpfx)pldd): New target.
27735         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27736         to 0, so the first #if test emitted later doesn't see it undefined.
27737         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27738         * sysdeps/gnu/errlist.c: Regenerated.
27740 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27742         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27743         [libc_hidden_builtin_def]: Define to empty value.
27744         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27745         [libc_hidden_builtin_def]: Likewise.
27746         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27747         [libc_hidden_builtin_def]: Likewise.
27748         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27749         [libc_hidden_builtin_def]: Likewise.
27750         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27751         __redirect_memcpy and define ifunc as default hidden symbol.
27752         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27753         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27755 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27757         * locale/iso-4217.def: Reintroduce XDR currency.
27759 2014-05-04  Allan McRae  <allan@archlinux.org>
27761         * po/eo.po: Update Esperanto translation from translation project.
27763 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27765         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27766         and FEATURE_INDEX_MAX to 1.
27767         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27769 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27771         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27772         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27773         * iconvdata/big5.c (ONE_DIRECTION): Define.
27774         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27775         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27776         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27777         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27778         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27779         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27780         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27781         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27782         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27783         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27784         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27785         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27786         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27787         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27788         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27789         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27790         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27791         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27792         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27793         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27794         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27795         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27796         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27797         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27798         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27799         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27800         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27801         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27802         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27803         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27804         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27805         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27806         * iconvdata/johab.c (ONE_DIRECTION): Define.
27807         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27808         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27809         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27810         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27811         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27812         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27813         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27814         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27815         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27816         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27818 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27820         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27821         (_IO_JUMPS_OFFSET): Define to 0.
27823         * nptl/sysdeps/pthread/bits/libc-lock.h
27824         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27825         (__libc_lock_define_initialized_recursive): Always define using
27826         initializer.  Modern compilers treat uninitialized (implicit zero) and
27827         explicit zero initializers the same (i.e. put the datum in bss).
27829 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27831         * nscd/nscd-client.h: Include <string.h>.
27833 2014-05-01  David S. Miller  <davem@davemloft.net>
27835         [BZ #16885]
27836         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27837         multiple zero bytes exist at the end of a string.
27838         Reported by Aurelien Jarno <aurelien@aurel32.net>
27840         * string/test-strcmp.c (check): Add explicit test for situations where
27841         there are multiple zero bytes after the first.
27843 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27845         [BZ #16890]
27846         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27847         when compiling wprintf.
27848         * stdio-common/tstdiomisc.c (t3): New function.
27849         (main): Call it.
27851 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27853         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27854         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27855         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27856         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27858 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27860         * stdlib/longlong.h: Updated from GCC.
27862 2014-05-01  Will Newton  <will.newton@linaro.org>
27863             Bernard Ogden  <bernie.ogden@linaro.org>
27865         * NEWS: Update fixed bug list.
27867         [BZ #15119]
27868         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27870 2014-04-30  David S. Miller  <davem@davemloft.net>
27872         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27873         (libc_feholdexcept_setround_sparc_ctx): New function.
27874         (libc_fesetenv_sparc_ctx): Likewise.
27875         (libc_feupdateenv_sparc_ctx): Likewise.
27876         (libc_feholdsetround_sparc_ctx): Likewise.
27877         (libc_feholdexcept_setround_ctx): Define.
27878         (libc_feholdexcept_setroundf_ctx): Likewise.
27879         (libc_feholdexcept_setroundl_ctx): Likewise.
27880         (libc_fesetenv_ctx): Likewise.
27881         (libc_fesetenvf_ctx): Likewise.
27882         (libc_fesetenvl_ctx): Likewise.
27883         (libc_feupdateenv_ctx): Likewise.
27884         (libc_feupdateenvf_ctx): Likewise.
27885         (libc_feupdateenvl_ctx): Likewise.
27886         (libc_feresetround_ctx): Likewise.
27887         (libc_feresetroundf_ctx): Likewise.
27888         (libc_feresetroundl_ctx): Likewise.
27889         (libc_feholdsetround_ctx): Likewise.
27890         (libc_feholdsetroundf_ctx): Likewise.
27891         (libc_feholdsetroundl_ctx): Likewise.
27893         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27894         with __USE_GNU instead of XOPEN cpp guards.
27896         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27897         0.
27899         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27900         with XOPEN cpp guards.
27902 2014-04-30  Julian Brown  <julian@codesourcery.com>
27904         [BZ #16888]
27905         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27906         handling.
27908 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27910         [BZ #9894]
27911         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27912         Change to 2.6.32.
27913         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27914         * sysdeps/unix/sysv/linux/configure: Regenerated.
27915         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27916         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27917         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27918         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27919         * README: Update reference to required Linux kernel version.
27920         * manual/install.texi (Linux): Update reference to required Linux
27921         kernel headers version.
27922         * INSTALL: Regenerated.
27924         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27925         header inclusion.
27926         [POSIX] (limits.h): Likewise.
27927         [POSIX] (math.h): Likewise.
27928         [POSIX] (sys/wait.h): Likewise.
27929         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27930         function.
27931         [POSIX] (stddef.h): Do not allow header inclusion.
27933 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27935         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27937 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27939         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27940         Return immediately after lll_futex_wake.
27942 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27944         [BZ #16791]
27945         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27946         structure.
27947         (datahead_init_pos): Call datahead_init_common early.
27948         (datahead_init_neg): Likewise.
27950         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27951         datahead_init_neg): New functions.
27952         * nscd/aicache.c (addhstaiX): Use them.
27953         * nscd/grpcache.c (cache_addgr): Likewise.
27954         * nscd/hstcache.c (cache_addhst): Likewise.
27955         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27956         * nscd/netgroupcache.c (do_notfound): Likewise.
27957         (addgetnetgrentX): Likewise.
27958         (addinnetgrX): Likewise.
27959         * nscd/pwdcache.c (cache_addpw): Likewise.
27960         * nscd/servicescache.c (cache_addserv): Likewise.
27962 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27963             Atsushi Onoe  <atsushi@onoe.org>
27965         [BZ #14308]
27966         [BZ #12994]
27967         [BZ #13651]
27968         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27969         one response is valid.
27970         * resolv/res_send.c (send_dg): Check for validity of other
27971         response if the current response is a referral.
27973 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27975         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27977 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27979         [BZ #16823]
27980         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27981         Always divide by positive zero when computing -Inf result.
27982         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27983         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27985 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27987         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27988         FPSCR if value do not change.
27989         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27990         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27991         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27992         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27993         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27994         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27995         function.
27997 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27999         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28000         * sysdeps/unix/sysv/linux/hppa: Move directory from
28001         ports/systeps/unix/sysv/linux/hppa.
28002         * README: Update listing for hppa-*-linux-gnu.
28004 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28006         [BZ #16754]
28007         * manual/stdio.texi (Hook functions): Fix types of stream hook
28008         functions.
28009         [BZ #16854]
28010         * socket/sys/socket.h: Fix typo in comment.
28012 2014-04-28  Wilco  <wdijkstr@arm.com>
28014         * sysdeps/arm/fenv_private.h: New file.
28015         * sysdeps/arm/math_private.h: New file.
28016         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28018 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28020         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28021         with __int128_t.
28022         (La_x86_64_retval): Likewise.
28024 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28026         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28027         fpsr if value didn't change.
28028         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28029         to fpcr if value didn't change.
28030         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28031         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28032         fpsr or fpcr if value didn't change.
28033         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28034         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28035         fpcr if value didn't change.
28036         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28037         to fpsr if value didn't change.
28039 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28041         * nptl/tst-sem3.c: Use test-skeleton.c
28042         (main): Rename to do_test.  Use return instead of
28043         exit.
28044         * nptl/tst-sem4.c: Use test-skeleton.c
28045         (main): Rename to do_test.
28047 2014-04-22  David S. Miller  <davem@davemloft.net>
28049         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28050         (struct sigaction): New struct member __glibc_reserved0, change
28051         type of sa_flags to int.
28053 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28055         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28056         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28058 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28060         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28061         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28063 2014-04-22  Will Newton  <will.newton@linaro.org>
28064             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28066         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28067         (__longjmp): Add longjmp and longjmp_target SystemTap
28068         probes.
28069         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28070         (__sigsetjmp): Add setjmp SystemTap probe.
28072 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28074         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28075         match manual order.
28077 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28079         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28081         * sysdeps/powerpc/fpu/fenv_private.h
28082         (libc_feholdexcept_setroundl_ctx): Define to
28083         libc_feholdexcept_setround_ppc_ctx.
28084         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28085         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28086         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28087         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28089 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28091         * sysdeps/aarch64/math-tests.h: New file.
28093 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28095         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28096         New.
28097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28098         Check and set bit_AVX2_Usable.
28099         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28100         macro.
28101         (bit_AVX2): Likewise.
28102         (index_AVX2_Usable): Likewise.
28103         (CPUID_AVX2): Likewise.
28104         (HAS_AVX2): Likewise.
28106 2014-04-17  Will Newton  <will.newton@linaro.org>
28108         * manual/setjmp.texi (System V contexts): Add note that
28109         calling setcontext on a context created by a call to a
28110         signal handler is undefined.  Update text to note that
28111         setcontext from a signal handler is possible but not
28112         recommended.
28114         [BZ #16629]
28115         * stdlib/tst-setcontext.c: Include signal.h.
28116         (main): Check that the signal stack before and
28117         after swapcontext is the same.
28119         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28120         Re-implement to restore registers in user code and avoid
28121         rt_sigreturn system call.
28123 2014-04-17  Wilco  <wdijkstr@arm.com>
28125         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28126         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28127         * math/test-fenv.c: Skip exception trap tests on targets which only
28128         support non-stop mode.
28130 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28131             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28133         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28134         (libc_feholdsetround_aarch64_ctx)
28135         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28136         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28137         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28138         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28139         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28140         (libc_feresetround_noexl_ctx): Define.
28142 2014-04-16  Richard Henderson  <rth@redhat.com>
28144         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28146         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28147         unwind tables.
28149         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28150         const from the non-libc, non-ldso copy.
28152         * sysdeps/alpha/libm-test-ulps: Regenerate.
28154 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28155             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28157         * sysdeps/aarch64/fpu/math_private.h: New file.
28159 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28161         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28163 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28165         [BZ #16275]
28166         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28167         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28168         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28169         Intel MPX bound registers before _dl_profile_fixup.
28170         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28171         registers after _dl_profile_fixup.  Save and restore bound
28172         registers bnd0/bnd1 when calling _dl_call_pltexit.
28173         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28174         (LR_BND_OFFSET): Likewise.
28175         (LRV_BND0_OFFSET): Likewise.
28176         (LRV_BND1_OFFSET): Likewise.
28178 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28180         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28181         to...
28182         * sysdeps/mach/hurd/i386/tls.h: ... here.
28183         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28184         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28185         fields.
28187 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28189         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28191 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28193         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28195 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28197         [BZ #14770]
28198         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28199         * sysdeps/s390/configure: Regenerate.
28201         [BZ #16824]
28202         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28203         Set round-to-nearest internally to reduce error accumulation.
28205 2014-04-16  Alan Modra  <amodra@gmail.com>
28207         [BZ #16740]
28208         [BZ #16619]
28209         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28210         * math/libm-test.inc (frexp_test_data): Add tests.
28211         * NEWS: Update fixed bug list.
28213 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28215         * benchtests/Makefile: Depend on libraries in build directory.
28216         (bench-math): Separate out math tests.
28217         (bench-pthread): Separate out pthread tests.
28218         (bench): Include math and pthread tests.
28220 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28222         [BZ #16831]
28223         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28224         _dl_debug_initialize.
28226         * configure.ac: Remove SELinux header check.
28227         * configure: Regenerate.
28228         * nscd/selinux.c (perms): Array of const char* to permission names.
28229         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28230         default policy. Call string_to_security_class and string_to_av_perm to
28231         translate strings. Enforce default policy and call avs_has_perm with
28232         results of translated strings.
28234 2014-04-13  David S. Miller  <davem@davemloft.net>
28236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28238 2014-04-12  Allan McRae  <allan@archlinux.org>
28240         [BZ #16838]
28241         * manual/string.texi (Collation Functions): Fix qsort argument
28242         order in example.
28243         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28245 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28247         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28248         Make the test a no-op if there are no exceptions defined.
28250 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28252         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28253         enable-hardcoded-path-in-tests
28255 2014-04-11  Will Newton  <will.newton@linaro.org>
28257         * benchtests/Makefile (extra-objs): Add json-lib.o.
28258         (bench-func): Tidy up JSON output.
28259         * benchtests/bench-skeleton.c: Include json-lib.h.
28260         (main): Use JSON library functions to do output of
28261         benchmark results.
28262         * benchtests/bench-timing-type.c (main): Output the
28263         timing type simply, leaving formatting to the user.
28264         * benchtests/json-lib.c: New file.
28265         * benchtests/json-lib.h: Likewise.
28267 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28269         [BZ #15215]
28270         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28271         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28272         memory barriers.  Add comments.
28273         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28274         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28275         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28276         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28277         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28278         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28280 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28282         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28283         * sysdeps/s390/s390-64/configure.ac: ... this ...
28284         * sysdeps/s390/configure.ac: ... to here.
28285         * sysdeps/s390/s390-32/configure: Delete file.
28286         * sysdeps/s390/s390-64/configure: Delete file.
28287         * sysdeps/s390/configure: Regenerate.
28289 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28291         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28293 2014-04-11  Will Newton  <will.newton@linaro.org>
28295         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28296         to zero if it is not defined elsewhere.  (mtrim): Test
28297         the value of MALLOC_DEBUG with #if rather than #ifdef.
28299 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28301         * benchtests/pthread_once-inputs: New file.
28302         * benchtests/pthread_once-source.c: New file.
28303         * benchtests/README: Update documentation.
28305 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28306             H.J. Lu  <hongjiu.lu@intel.com>
28308         [BZ #16275]
28309         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28310         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28311         * sysdeps/x86_64/configure: Regenerated.
28312         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28313         macro.
28314         (REGISTER_SAVE_RAX): Likewise.
28315         (REGISTER_SAVE_RCX): Likewise.
28316         (REGISTER_SAVE_RDX): Likewise.
28317         (REGISTER_SAVE_RSI): Likewise.
28318         (REGISTER_SAVE_RDI): Likewise.
28319         (REGISTER_SAVE_R8): Likewise.
28320         (REGISTER_SAVE_R9): Likewise.
28321         (REGISTER_SAVE_BND0): Likewise.
28322         (REGISTER_SAVE_BND1): Likewise.
28323         (REGISTER_SAVE_BND2): Likewise.
28324         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28325         bound registers when calling _dl_fixup.
28327 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28329         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28330         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28331         of its definition.
28332         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28333         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28334         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28335         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28336         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28337         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28338         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28340 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28342         [BZ #15514]
28343         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28344         pathconf(_PC_NAME_MAX).
28346 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28348         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28349         Remove macro usage.
28350         (__PTHREAD_SPINS): Move definition to ...
28351         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28352         (__PTHREAD_SPINS): ... here.
28353         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28354         (__PTHREAD_SPIN): Likewise.
28355         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28356         (__PTHREAD_SPIN): Likewise.
28357         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28358         (__PTHREAD_SPIN): Likewise.
28359         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28360         (__PTHREAD_SPIN): Likewise.
28361         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28362         (__PTHREAD_SPIN): Likewise.
28363         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28364         (__PTHREAD_SPIN): Likewise.
28365         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28366         (__PTHREAD_SPIN): Likewise.
28367         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28368         (__PTHREAD_SPIN): Likewise.
28369         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28370         (__PTHREAD_SPIN): Likewise.
28371         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28372         (__PTHREAD_SPIN): Likewise.
28373         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28374         (__PTHREAD_SPIN): Likewise.
28375         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28376         (__PTHREAD_SPIN): Likewise.
28378         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28379         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28380         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28381         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28382         imply folder.
28383         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28384         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28385         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28386         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28387         correct imply path.
28388         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28389         strlen symbol for non multi-arch builds.
28390         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28391         missing hidden_def and weak_alias.
28393 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28395         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28397 2014-04-07  Will Newton  <will.newton@linaro.org>
28399         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28400         and contents.  [!_LIBC] Remove #ifndef and contents.
28401         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28402         * string/memccpy.c (__memccpy): Use ANSI prototype.
28403         * string/memfrob.c (memfrob): Likewise.
28404         * string/strcoll.c (STRCOLL): Likewise.
28405         * string/strlen.c (strlen): Likewise.
28406         * string/strtok.c (STRTOK): Likewise.
28407         * string/strcat.c: Remove unused #include of memcopy.h.
28408         (strcat): Use ANSI prototype.
28409         * string/strchr.c: Remove unused #include of memcopy.h.
28410         (strchr): Use ANSI prototype.
28411         * string/strcmp.c: Remove unused #include of memcopy.h.
28412         (strcmp): Use ANSI prototype.
28413         * string/strcpy.c: Remove unused #include of memcopy.h.
28414         (strcpy): Use ANSI prototype.
28416 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28418         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28419         * config.make.in (config-extra-cppflags): Set it from
28420         libc_extra_cppflags.
28421         * configure.ac (libc_extra_cflags): Make it accumulate over
28422         configure fragments.
28423         (libc_extra_cppflags): New flag.
28424         * configure. Regenerate.
28425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28426         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28427         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28430         [BZ #16815]
28431         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28432         result for FE_DOWNWARD rounding mode.
28433         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28434         Likewise.
28435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28437 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28439         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28440         in function argument name.
28442 2014-04-03  David Svoboda  <svoboda@cert.org>
28444         [BZ #5666]
28445         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28446         explicitly.
28448 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28450         * elf/dl-unmap-segments.h: New file.
28451         * sysdeps/generic/ldsodefs.h
28452         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28453         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28454         * elf/dl-fptr.c: Likewise.
28455         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28456         * sysdeps/aarch64/tlsdesc.c: Likewise.
28457         * sysdeps/arm/tlsdesc.c: Likewise.
28458         * sysdeps/i386/tlsdesc.c: Likewise.
28459         * sysdeps/tile/dl-runtime.c: Likewise.
28460         * sysdeps/x86_64/tlsdesc.c: Likewise.
28461         * elf/dl-load.h: New file.
28462         * elf/dl-load.c: Include it.
28463         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28464         Macros moved to dl-load.h.
28465         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28466         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28467         Use _dl_unmap_segments in place of __munmap.
28468         Break out segment-mapping loop into ...
28469         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28471 2014-04-03  Will Newton  <will.newton@linaro.org>
28473         * elf/dl-lookup.c (do_lookup_x): Remove comment
28474         referring to nested function and move variable
28475         declarations down to before first use.
28477 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
28479         [BZ #16799]
28480         [BZ #16800]
28481         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28482         with 0 numerator.
28483         * math/s_catanf.c (__catanf): Likewise.
28484         * math/s_catanh.c (__catanh): Likewise.
28485         * math/s_catanhf.c (__catanhf): Likewise.
28486         * math/s_catanhl.c (__catanhl): Likewise.
28487         * math/s_catanl.c (__catanl): Likewise.
28488         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28489         by positive zero when computing -Inf result.
28490         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28491         (catanh_test): Likewise.
28492         * sysdeps/i386/fpu/libm-test-ulps: Update.
28493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28495         [BZ #16789]
28496         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28497         instead of using underflowing value in computing result.
28498         * math/s_clog10.c (__clog10): Likewise.
28499         * math/s_clog10f.c (__clog10f): Likewise.
28500         * math/s_clog10l.c (__clog10l): Likewise.
28501         * math/s_clogf.c (__clogf): Likewise.
28502         * math/s_clogl.c (__clogl): Likewise.
28503         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28504         (clog10_test): Likewise.
28505         * sysdeps/i386/fpu/libm-test-ulps: Update.
28506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28508 2014-04-02  Alan Modra  <amodra@gmail.com>
28510         [BZ #16739]
28511         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28512         output when value is near a power of two.  Use int64_t for lx and
28513         remove casts.  Use decimal rather than hex exponent constants.
28514         Don't use long double multiplication when double will suffice.
28515         * math/libm-test.inc (nextafter_test_data): Add tests.
28516         * NEWS: Add 16739 and 16786 to bug list.
28518         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28520         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28522 2014-04-01  Will Newton  <will.newton@linaro.org>
28524         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28525         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
28527 2014-04-01  Florian Weimer  <fweimer@redhat.com>
28529         [BZ #13347]
28530         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28531         * nptl/tst-setuid2.c: New file.
28532         * nptl/Makefile (xtests): Add tst-setuid2.
28534 2014-04-01  Alan Modra  <amodra@gmail.com>
28536         [BZ #16786]
28537         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28539 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28541         [BZ #6803]
28542         [BZ #6804]
28543         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28544         set errno as appropriate.
28545         * math/w_scalbf.c (__scalbf): Likewise.
28546         * math/w_scalbl.c (__scalbl): Likewise.
28547         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28548         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28549         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28550         Add more NaN tests.
28552         [BZ #16349]
28553         * math/w_atan2.c: Include <errno.h>.
28554         (__atan2): Set errno for result underflowing to zero.
28555         * math/w_atan2f.c: Include <errno.h>.
28556         (__atan2f): Set errno for result underflowing to zero.
28557         * math/w_atan2l.c: Include <errno.h>.
28558         (__atan2l): Set errno for result underflowing to zero.
28559         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28560         tests.
28561         * math/auto-libm-test-out: Regenerated.
28563 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28565         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28566         Encode instruction correctly in little endian.
28567         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28568         Likewise.
28569         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28570         Likewise.
28571         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28572         Likewise.
28573         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28574         Likewise.
28576 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28578         [BZ #9894]
28579         * sysdeps/unix/sysv/linux/kernel-features.h
28580         [__sparc__ && !__arch64__ && !__sparc_v9__]
28581         (__ASSUME_SET_ROBUST_LIST): Do not define.
28582         [__sparc__ && !__arch64__ && !__sparc_v9__]
28583         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28584         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28585         Likewise.
28586         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28587         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28588         (__ASSUME_REQUEUE_PI): Likewise.
28589         (__ASSUME_SET_ROBUST_LIST): Likewise.
28590         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28591         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28592         Undefine.
28593         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28594         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28595         Likewise.
28596         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28597         Likewise.
28598         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28599         Likewise.
28600         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28601         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28602         Undefine.
28603         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28604         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28605         Likewise.
28607         [BZ #16648]
28608         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28609         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28610         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28612 2014-03-31  Will Newton  <will.newton@linaro.org>
28614         * benchtests/Makefile (bench): Add ffs and ffsll to list
28615         of tests.
28616         * benchtests/ffs-inputs: New file.
28617         * benchtests/ffsll-inputs: Likewise.
28619 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
28621         [BZ #16770]
28622         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28623         too large before casting to int.
28624         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28625         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28626         * math/libm-test.inc (scalb_test_data): Add more tests.
28628 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28630         * benchtests/Makefile (DETAILED_OPT): New make option.
28631         (bench-func): Run benchmark program with -d if DETAILED_OPT is
28632         set.
28633         * benchtests/bench-skeleton.c: Include stdbool.h.
28634         (main): Store and print timings per input.
28635         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
28636         member to each argument value.
28637         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
28638         (_print_arg_data): Initialize per-input timing to 0.
28640         * benchtests/Makefile (timing-type): New binary.
28641         (bench-clean): Also remove bench-timing-type.
28642         (bench): New target for timing-type.
28643         (bench-func): Print output in JSON format.
28644         * benchtests/bench-skeleton.c (main): Print output in JSON
28645         format.
28646         * benchtests/bench-timing-type.c: New file.
28647         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
28648         (TIMING_PRINT_STATS): Remove.
28649         * benchtests/scripts/bench.py (_print_arg_data): Store variant
28650         name separately.
28652         * benchtests/bench-modf.c: Remove.
28653         * benchtests/modf-inputs: New inputs file.
28655 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
28657         [BZ #16362]
28658         * math/s_clog10.c (M_PI_LOG10E): New macro.
28659         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28660         imaginary parts are 0.
28661         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28662         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28663         imaginary parts are 0.
28664         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28665         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28666         imaginary parts are 0.
28667         * math/libm-test.inc (clog10_test_data): Update expected results
28668         for when real and imaginary parts are 0.
28670 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28672         * elf/dl-load.c: Finish conversion of __builtin_expect into
28673         __glibc_{un}likely.
28675 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28677         [BZ #16348]
28678         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28679         1+x for argument with exponent below -67.
28680         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28681         Likewise.
28682         * math/auto-libm-test-in: Add more tests of exp.
28683         * math/auto-libm-test-out: Regenerated.
28685 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28687         [BZ #16759]
28688         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28689         (nscd_getnetgrent): Use it.
28691         [BZ #16760]
28692         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28693         of stpcpy.
28695 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28697         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28698         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28699         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28700         (lll_robust_unlock): Remove out of line section. Use cfi
28701         intrinsics.
28702         (LLL_STUB_UNWIND_INFO*): Remove.
28703         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28704         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28705         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28706         (lll_robust_unlock): Remove out of line section. Use cfi
28707         intrinsics.
28708         (LLL_STUB_UNWIND_INFO*): Remove.
28710 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28712         [BZ #16758]
28713         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28714         blank values.
28716 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28718         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28720 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28722         [BZ #16198]
28723         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28724         fnstenv.
28725         * math/test-fenv-preserve.c: New file.
28726         * math/Makefile (tests): Add test-fenv-preserve.
28728 2014-03-26  Will Newton <will.newton@linaro.org>
28730         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28732 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28734         * scripts/versionlist.awk: Partition the version sets and emit all
28735         GLIBC_* (sorted) before all others (sorted).
28737 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28739         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28740         GLIBC_2.2.5 version.
28742 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28744         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28745         calls.
28747         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28748         previous change.
28750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28752 2014-03-25  Andreas Schwab  <schwab@suse.de>
28754         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28755         label to be used after in6ailist is initialized.
28757 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28759         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28760         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28762 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28764         [BZ #16357]
28765         [BZ #16599]
28766         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28767         min_plus_half.
28768         (fp_formats): Update initializers.
28769         (init_fp_formats): Initialize new field.
28770         (output_for_one_input_case): Allow underflow for results up to
28771         min_plus_half.
28772         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28773         * math/auto-libm-test-in: Don't mark some underflows from asin and
28774         atanh as spurious.
28775         * math/auto-libm-test-out: Regenerated.
28776         * sysdeps/i386/fpu/libm-test-ulps: Update.
28777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28779 2014-03-25  Andreas Schwab  <schwab@suse.de>
28781         * libio/Makefile (tst-ftell-partial-wide-ENV)
28782         (tst-ftell-active-handler-ENV): Define.
28784 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28786         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28788 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28790         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28792 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28794         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28795         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28796         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28798 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28800         [BZ #16634]
28801         * elf/dl-load.c (open_verify): Add mode parameter.
28802         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28803         (open_path): Change from boolean 'secure' to complete flag 'mode'
28804         (_dl_map_object): Adjust.
28805         * elf/Makefile (tests): Add tst-dlopen-aout.
28806         * elf/tst-dlopen-aout.c: New test.
28808 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28810         [BZ #16714]
28811         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28812         (struct stat): Rename member pad0 to __glibc_reserved0.
28814         [BZ #16712]
28815         * sysdeps/s390/s390-32/bits/wordsize.h
28816         (__WORDSIZE32_SIZE_ULONG): New define.
28817         * sysdeps/s390/s390-64/bits/wordsize.h
28818         (__WORDSIZE32_SIZE_ULONG): Likewise.
28819         * sysdeps/generic/stdint.h (SIZE_MAX):
28820         Define as UL if __WORDSIZE32_SIZE_ULONG.
28822         [BZ #16713]
28823         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28824         (__glibc_reserved0): New variable.
28825         (sa_flags): Change type to int.
28827         * posix/Makefile (before-compile): Use += before-compile instead
28828         of a :=.
28830         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28831         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28833 2014-03-20  Andreas Schwab  <schwab@suse.de>
28835         [BZ #16743]
28836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28837         non-matching result from nscd.
28839 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28841         * scripts/bench.py: Moved to ...
28842         * benchtests/scripts/bench.py: ... here.
28843         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28845 2014-03-24  Andreas Schwab  <schwab@suse.de>
28847         [BZ #16002]
28848         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28849         alloca_account and account alloca use for struct in6ailist.
28851 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28853         [BZ #16284]
28854         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28855         rounding mode to recompute results that overflow to infinity or
28856         underflow to zero.
28857         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28858         bug 16284.
28859         * math/auto-libm-test-out: Regenerated.
28860         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28861         (ccosh_test): Likewise.
28862         (csin_test_data): Use plus_oflow.
28863         (csin_test): Use ALL_RM_TEST.
28864         (csinh_test_data): Use plus_oflow.
28865         (csinh_test): Use ALL_RM_TEST.
28866         * sysdeps/i386/fpu/libm-test-ulps: Update.
28867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28869 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28871         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28872         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28873         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28875         [BZ #16731]
28876         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28877         when x - 1 is zero.
28878         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28879         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28880         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28881         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28882         argument is 1.
28883         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28884         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28885         zero.
28886         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28887         * sysdeps/i386/fpu/libm-test-ulps: Update.
28888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28890 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28892         * scripts/bench.pl: Remove file.
28893         * scripts/bench.py: New benchmark script.
28894         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28895         * benchtests/README: Mention python dependency.
28896         * scripts/pylintrc: New file.
28897         * scripts/pylint: New file.
28899         * bits/mathdef.h: Use #ifdef instead of #if.
28900         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28901         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28902         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28903         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28904         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28905         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28907 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28908             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28910         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28912         and strpbrk-ppc64 objects.
28913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28914         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28915         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28916         multiarch strpbrk for POWER7.
28917         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28918         multiarch strpbrk for PPC64.
28919         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28920         ifunc selector.
28921         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28922         strpbrk for POWER7.
28924 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28926         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28927         (atan_test): Likewise.
28928         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28929         (atanh_test): Use ALL_RM_TEST.
28930         (atan2_test_data): Likewise.
28931         (cabs_test): Likewise.
28932         (cacosh_test): Likewise.
28933         (carg_test): Likewise.
28934         (casin_test): Likewise.
28935         (casinh_test): Likewise.
28936         (cbrt_test): Likewise.
28937         (csqrt_test): Likewise.
28938         (erf_test): Likewise.
28939         (erfc_test): Likewise.
28940         (pow10_test): Likewise.
28941         (exp2_test): Likewise.
28942         (hypot_test): Likewise.
28943         (j0_test): Likewise.
28944         (j1_test): Likewise.
28945         (lgamma_test): Likewise.
28946         (gamma_test): Likewise.
28947         (sincos_test): Likewise.
28948         (tanh_test): Likewise.
28949         (y0_test): Likewise.
28950         (y1_test): Likewise.
28951         * sysdeps/i386/fpu/libm-test-ulps: Update.
28952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28954 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28956         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28958         and strcspn-ppc64 objects.
28959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28960         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28961         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28962         multiarch strcspn for POWER7.
28963         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28964         multiarch strcspn for PPC64.
28965         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28966         ifunc selector.
28967         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28968         strcspn for POWER7.
28970 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28972         * math/gen-libm-test.pl (generate_testfile): Expect only function
28973         name as argument to AUTO_TESTS_* and pass results for all rounding
28974         modes to parse_args.
28975         (parse_auto_input): Separate inputs of automatic tests from
28976         outputs before storing in %auto_tests.
28977         * math/libm-test.inc (acos_test_data): Update call to
28978         AUTO_TESTS_f_f.
28979         (acos_test): Use ALL_RM_TEST.
28980         (acos_tonearest_test_data): Remove.
28981         (acos_test_tonearest): Likewise.
28982         (acos_towardzero_test_data): Likewise.
28983         (acos_test_towardzero): Likewise.
28984         (acos_downward_test_data): Likewise.
28985         (acos_test_downward): Likewise.
28986         (acos_upward_test_data): Likewise.
28987         (acos_test_upward): Likewise.
28988         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28989         (asin_test_data): Likewise.
28990         (asin_test): Use ALL_RM_TEST.
28991         (asin_tonearest_test_data): Remove.
28992         (asin_test_tonearest): Likewise.
28993         (asin_towardzero_test_data): Likewise.
28994         (asin_test_towardzero): Likewise.
28995         (asin_downward_test_data): Likewise.
28996         (asin_test_downward): Likewise.
28997         (asin_upward_test_data): Likewise.
28998         (asin_test_upward): Likewise.
28999         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29000         (atan_test_data): Likewise.
29001         (atanh_test_data): Likewise.
29002         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29003         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29004         (carg_test_data): Likewise.
29005         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29006         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29007         (ccosh_test_data): Likewise.
29008         (cexp_test_data): Likewise.
29009         (clog_test_data): Likewise.
29010         (clog10_test_data): Likewise.
29011         (cos_test_data): Update call to AUTO_TESTS_f_f.
29012         (cos_test): Use ALL_RM_TEST.
29013         (cos_tonearest_test_data): Remove.
29014         (cos_test_tonearest): Likewise.
29015         (cos_towardzero_test_data): Likewise.
29016         (cos_test_towardzero): Likewise.
29017         (cos_downward_test_data): Likewise.
29018         (cos_test_downward): Likewise.
29019         (cos_upward_test_data): Likewise.
29020         (cos_test_upward): Likewise.
29021         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29022         (cosh_test): Use ALL_RM_TEST.
29023         (cosh_tonearest_test_data): Remove.
29024         (cosh_test_tonearest): Likewise.
29025         (cosh_towardzero_test_data): Likewise.
29026         (cosh_test_towardzero): Likewise.
29027         (cosh_downward_test_data): Likewise.
29028         (cosh_test_downward): Likewise.
29029         (cosh_upward_test_data): Likewise.
29030         (cosh_test_upward): Likewise.
29031         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29032         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29033         (ctan_test_data): Likewise.
29034         (ctan_test): Use ALL_RM_TEST.
29035         (ctan_tonearest_test_data): Remove.
29036         (ctan_test_tonearest): Likewise.
29037         (ctan_towardzero_test_data): Likewise.
29038         (ctan_test_towardzero): Likewise.
29039         (ctan_downward_test_data): Likewise.
29040         (ctan_test_downward): Likewise.
29041         (ctan_upward_test_data): Likewise.
29042         (ctan_test_upward): Likewise.
29043         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29044         (ctanh_test): Use ALL_RM_TEST.
29045         (ctanh_tonearest_test_data): Remove.
29046         (ctanh_test_tonearest): Likewise.
29047         (ctanh_towardzero_test_data): Likewise.
29048         (ctanh_test_towardzero): Likewise.
29049         (ctanh_downward_test_data): Likewise.
29050         (ctanh_test_downward): Likewise.
29051         (ctanh_upward_test_data): Likewise.
29052         (ctanh_test_upward): Likewise.
29053         (erf_test_data): Update call to AUTO_TESTS_f_f.
29054         (erfc_test_data): Likewise.
29055         (exp_test_data): Likewise.
29056         (exp_test): Use ALL_RM_TEST.
29057         (exp_tonearest_test_data): Remove.
29058         (exp_test_tonearest): Likewise.
29059         (exp_towardzero_test_data): Likewise.
29060         (exp_test_towardzero): Likewise.
29061         (exp_downward_test_data): Likewise.
29062         (exp_test_downward): Likewise.
29063         (exp_upward_test_data): Likewise.
29064         (exp_test_upward): Likewise.
29065         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29066         (exp10_test): Use ALL_RM_TEST.
29067         (exp10_tonearest_test_data): Remove.
29068         (exp10_test_tonearest): Likewise.
29069         (exp10_towardzero_test_data): Likewise.
29070         (exp10_test_towardzero): Likewise.
29071         (exp10_downward_test_data): Likewise.
29072         (exp10_test_downward): Likewise.
29073         (exp10_upward_test_data): Likewise.
29074         (exp10_test_upward): Likewise.
29075         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29076         (expm1_test_data): Likewise.
29077         (expm1_test): Use ALL_RM_TEST.
29078         (expm1_tonearest_test_data): Remove.
29079         (expm1_test_tonearest): Likewise.
29080         (expm1_towardzero_test_data): Likewise.
29081         (expm1_test_towardzero): Likewise.
29082         (expm1_downward_test_data): Likewise.
29083         (expm1_test_downward): Likewise.
29084         (expm1_upward_test_data): Likewise.
29085         (expm1_test_upward): Likewise.
29086         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29087         (fma_test): Use ALL_RM_TEST.
29088         (fma_towardzero_test_data): Remove.
29089         (fma_test_towardzero): Likewise.
29090         (fma_downward_test_data): Likewise.
29091         (fma_test_downward): Likewise.
29092         (fma_upward_test_data): Likewise.
29093         (fma_test_upward): Likewise.
29094         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29095         (j0_test_data): Update call to AUTO_TESTS_f_f.
29096         (j1_test_data): Likewise.
29097         (jn_test_data): Update call to AUTO_TESTS_if_f.
29098         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29099         (log_test_data): Update call to AUTO_TESTS_f_f.
29100         (log10_test_data): Likewise.
29101         (log1p_test_data): Likewise.
29102         (log2_test_data): Likewise.
29103         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29104         (pow_tonearest_test_data): Likewise.
29105         (sin_test_data): Update call to AUTO_TESTS_f_f.
29106         (sin_test): Use ALL_RM_TEST.
29107         (sin_tonearest_test_data): Remove.
29108         (sin_test_tonearest): Likewise.
29109         (sin_towardzero_test_data): Likewise.
29110         (sin_test_towardzero): Likewise.
29111         (sin_downward_test_data): Likewise.
29112         (sin_test_downward): Likewise.
29113         (sin_upward_test_data): Likewise.
29114         (sin_test_upward): Likewise.
29115         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29116         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29117         (sinh_test): Use ALL_RM_TEST.
29118         (sinh_tonearest_test_data): Remove.
29119         (sinh_test_tonearest): Likewise.
29120         (sinh_towardzero_test_data): Likewise.
29121         (sinh_test_towardzero): Likewise.
29122         (sinh_downward_test_data): Likewise.
29123         (sinh_test_downward): Likewise.
29124         (sinh_upward_test_data): Likewise.
29125         (sinh_test_upward): Likewise.
29126         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29127         (sqrt_test): Use ALL_RM_TEST.
29128         (sqrt_tonearest_test_data): Remove.
29129         (sqrt_test_tonearest): Likewise.
29130         (sqrt_towardzero_test_data): Likewise.
29131         (sqrt_test_towardzero): Likewise.
29132         (sqrt_downward_test_data): Likewise.
29133         (sqrt_test_downward): Likewise.
29134         (sqrt_upward_test_data): Likewise.
29135         (sqrt_test_upward): Likewise.
29136         (tan_test_data): Update call to AUTO_TESTS_f_f.
29137         (tan_test): Use ALL_RM_TEST.
29138         (tan_tonearest_test_data): Remove.
29139         (tan_test_tonearest): Likewise.
29140         (tan_towardzero_test_data): Likewise.
29141         (tan_test_towardzero): Likewise.
29142         (tan_downward_test_data): Likewise.
29143         (tan_test_downward): Likewise.
29144         (tan_upward_test_data): Likewise.
29145         (tan_test_upward): Likewise.
29146         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29147         (tgamma_test_data): Likewise.
29148         (y0_test_data): Likewise.
29149         (y1_test_data): Likewise.
29150         (yn_test_data): Update call to AUTO_TESTS_if_f.
29151         (main): Do not call removed functions.
29153 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29155         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29156         (ldexp_test_data): Remove.
29157         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29158         scalbn_test_data.
29159         (scalb_test): Use ALL_RM_TEST.
29161 2014-03-19  Andreas Schwab  <schwab@suse.de>
29163         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29165 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29167         [BZ #16649]
29168         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29169         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29170         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29171         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29172         (__ASSUME_PREADV): Undefine.
29173         (__ASSUME_PWRITEV): Likewise.
29175 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29177         * bits/mman-linux.h: Add comment about non-Linux use.
29178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29179         bits/mman-linux.h resting place.
29181         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29182         * bits/mman-linux.h: ... here.
29184 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29186         * conform/conformtest.pl: Add standard definition when calling C
29187         preprocessor on data files.
29188         (checknamespace): Remove unused variable.
29190 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29192         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29193         minus_oflow, plus_uflow and minus_uflow in expected results.
29194         * math/libm-test.inc (scalbn_test_data): Add more tests of
29195         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29196         minus_uflow.
29197         (scalbn_test): Use ALL_RM_TEST.
29198         (scalbln_test_data): Add more tests of negative arguments.  Use
29199         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29200         (scalbln_test): Use ALL_RM_TEST.
29202 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29204         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29206 2014-03-18  Will Newton  <will.newton@linaro.org>
29208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29209         inaccurate comment.
29211 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29213         * Makerules [!subdir] (check-abi): Exit with error status if a
29214         test failed.
29216 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29218         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29219         for rint.  Include results for all rounding modes.
29220         (nearbyint_test): Use ALL_RM_TEST.
29221         (rint_test_data): Include all tests used for nearbyint.
29223 2014-03-17  Will Newton  <will.newton@linaro.org>
29225         * nptl/sysdeps/pthread/pthread.h: Revert previous
29226         change.
29228         * sysdeps/generic/ldsodefs.h: Revert previous
29229         change.
29231         * libio/genops.c: Revert previous change.
29232         * libio/libioP.h: Likewise.
29233         * stdio-common/vfprintf.c: Likewise.
29235         * sysdeps/generic/math_private.h: Revert previous
29236         change.
29238         * sysdeps/generic/math_private.h: Check whether
29239         HAVE_RM_CTX is defined with #ifdef rather
29240         than #if.
29242         * argp/argp-fmtstream.h: Check whether
29243         __STRICT_ANSI__ is defined with #ifdef rather
29244         than #if.
29245         * argp/argp.h: Likewise.
29247         * libio/genops.c: Check whether
29248         _IO_JUMPS_OFFSET is defined with #ifdef rather
29249         than #if.
29250         * libio/libioP.h: Likewise.
29251         * stdio-common/vfprintf.c: Likewise.
29253         * sysdeps/generic/ldsodefs.h: Check whether
29254         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29255         than #if.
29257         * nptl/sysdeps/pthread/pthread.h: Check
29258         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29259         its value.
29261 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29263         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29264         setting O_APPEND.
29265         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29266         test case.
29268         [BZ #16680]
29269         * libio/fileops.c (_IO_file_open): Seek to end of file but
29270         don't cache the offset.
29271         (get_file_offset): Remove function.
29272         (do_ftell): Use cached offset when available.
29273         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29274         don't cache the offset.
29275         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29276         case.
29277         (do_one_test): Call it.
29278         (do_ftell_test): Fix up expected old offset for a+ mode.
29279         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29280         available.
29282         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29283         up test status with function return status.
29284         (do_write_test): Likewise.
29285         (do_append_test): Likewise.
29287         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29288         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29289         Remove.
29291 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29293         * math/gen-libm-test.pl (parse_args): Handle results specified for
29294         each rounding mode separately.
29295         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29296         tests and results from lrint_tonearest_test_data,
29297         lrint_towardzero_test_data, lrint_downward_test_data and
29298         lrint_upward_test_data.
29299         (lrint_test): Use ALL_RM_TEST.
29300         (lrint_tonearest_test_data): Remove.
29301         (lrint_test_tonearest): Likewise.
29302         (lrint_towardzero_test_data): Likewise.
29303         (lrint_test_towardzero): Likewise.
29304         (lrint_downward_test_data): Likewise.
29305         (lrint_test_downward): Likewise.
29306         (lrint_upward_test_data): Likewise.
29307         (lrint_test_upward): Likewise.
29308         (llrint_test_data): Merge in per-rounding-mode tests and results
29309         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29310         llrint_downward_test_data and llrint_upward_test_data.
29311         (llrint_test): Use ALL_RM_TEST.
29312         (llrint_tonearest_test_data): Remove.
29313         (llrint_test_tonearest): Likewise.
29314         (llrint_towardzero_test_data): Likewise.
29315         (llrint_test_towardzero): Likewise.
29316         (llrint_downward_test_data): Likewise.
29317         (llrint_test_downward): Likewise.
29318         (llrint_upward_test_data): Likewise.
29319         (llrint_test_upward): Likewise.
29320         (rint_test_data): Merge in per-rounding-mode tests and results
29321         from rint_tonearest_test_data, rint_towardzero_test_data,
29322         rint_downward_test_data and rint_upward_test_data.  Add
29323         per-rounding-mode results for tests not in those arrays.
29324         (rint_test): Use ALL_RM_TEST.
29325         (rint_tonearest_test_data): Remove.
29326         (rint_test_tonearest): Likewise.
29327         (rint_towardzero_test_data): Likewise.
29328         (rint_test_towardzero): Likewise.
29329         (rint_downward_test_data): Likewise.
29330         (rint_test_downward): Likewise.
29331         (rint_upward_test_data): Likewise.
29332         (rint_test_upward): Likewise.
29333         (main): Don't call removed functions.
29335 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29337         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29338         "Compiled on ..." crapola.  It is anti-useful.
29340 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29342         * scripts/evaluate-test.sh: Handle fourth argument to determine
29343         whether test run should stop on failure.
29344         * Makeconfig (stop-on-test-failure): New variable.
29345         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29346         $(stop-on-test-failure).
29347         * Makefile (tests): Give a summary of results from testing and
29348         exit with failure status if they include an ERROR or FAIL.
29349         (xtests): Likewise.
29350         * manual/install.texi (Configuring and compiling): Mention
29351         stop-on-test-failure=y.
29352         * INSTALL: Regenerated.
29354 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29356         * scripts/versionlist.awk: New file.
29357         * Makerules [$(build-shared) = yes]
29358         (postclean-generated): Add Versions.def, not Versions.def.v and
29359         Versions.def.v.i.
29360         ($(common-objpfx)Versions.def.v.i): Target removed.
29361         ($(common-objpfx)Versions.def): New target.
29362         ($(common-objpfx)Versions.all): Depend on that rather that
29363         $(common-objpfx)Versions.def.v.
29364         * Versions.def: File removed.
29366         * Makeconfig (+gccwarn): Add -Wundef.
29367         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29368         a dl-sysdep.h breaking its contract.
29369         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29370         * include/stackinfo.h: New file.
29371         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29372         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29373         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29374         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29375         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29376         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29377         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29378         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29379         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29380         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29381         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29382         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29383         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29384         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29385         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29387 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29389         [BZ #16707]
29390         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29391         implementation.
29392         * math/libm-test.inc (round_test_data): Add more tests.
29394         [BZ #16706]
29395         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29396         implementation.
29397         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29399         [BZ #16701]
29400         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29401         implementation.
29402         * math/libm-test.inc (ceil_test_data): Add more tests.
29404         * math/libm-test.inc (trunc_test_data): Add more tests related to
29405         BZ#16414.
29407 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29409         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29410         with #if rather than #ifdef.
29411         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29413 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29415         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29416         first.  Disable AVX-512 GCC support if assembler doesn't support
29417         it.
29418         * sysdeps/x86_64/configure: Regenerated.
29420 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29422         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29423         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29424         (__old_pthread_attr_setstack): Likewise.
29425         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29426         [!_STACK_GROWS_DOWN]: Likewise.
29428 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29430         * config.make.in (have-bash2): Delete.
29431         * configure.ac (libc_cv_have_bash2): Delete.
29432         * configure: Regenerate.
29433         * elf/Makefile (common-ldd-rewrite): Rename to ...
29434         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29435         (sh-ldd-rewrite): Delete.
29436         (bash-ldd-rewrite): Delete.
29437         (have-bash2): Delete checks.
29438         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29439         ldd-rewrite.
29441         * config.make.in (have-ksh): Delete.
29442         (KSH): Delete.
29443         * configure.ac (libc_cv_have_ksh): Delete.
29444         * configure: Regenerate.
29446         * elf/Makefile: Delete $(have-ksh) check.
29447         ($(objpfx)sotruss): Change KSH to BASH.
29448         * elf/sotruss.ksh: Rename to ...
29449         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29450         function style to match POSIX.  Drop ksh vim mode setting.
29452         * manual/time.texi (Specifying the Time Zone with TZ): Change
29453         Tuesday to Thursday.
29455         * debug/tst-longjmp_chk2.c: Update header comment.
29456         (stackoverflow_handler): Add comment.  Call assert on pass value.
29458 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29460         [BZ #16194]
29461         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29462         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29463         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29464         (La_x86_64_vector): Add zmm.
29465         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29466         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29467         ($(objpfx)tst-audit10): New target.
29468         ($(objpfx)tst-audit10.out): Likewise.
29469         (tst-audit10-ENV): New.
29470         (AVX512-CFLAGS): Likewise.
29471         (CFLAGS-tst-audit10.c): Likewise.
29472         (CFLAGS-tst-auditmod10a.c): Likewise.
29473         (CFLAGS-tst-auditmod10b.c): Likewise.
29474         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29475         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29476         * sysdeps/x86_64/configure: Regenerated.
29477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29478         AVX-512 zmm register support.
29479         (_dl_x86_64_save_sse): Likewise.
29480         (_dl_x86_64_restore_sse): Likewise.
29481         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29482         size vector registers.
29483         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29484         (ZMM_SIZE): Likewise.
29485         * sysdeps/x86_64/tst-audit10.c: New file.
29486         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29487         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29489 2014-03-13  Roland McGrath  <roland@hack.frob.com>
29491         * configure.ac (HAVE_EHDR_START): New check.
29492         * configure: Regenerated.
29493         * config.h.in (HAVE_EHDR_START): New #undef.
29494         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29495         assuming the lowest-addressed segment maps the start of the file.
29497 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
29499         * INSTALL: Regenerated.
29501 2014-03-13  Will Newton  <will.newton@linaro.org>
29503         * manual/setjmp.texi (System V contexts): Improve
29504         clarity and grammar of documentation.
29506 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29508         [BZ #16381]
29509         * elf/Makefile (tests): Add tst-pie2.
29510         (tests-pie): Add tst-pie2.
29511         * elf/tst-pie2.c: New file.
29512         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29513         for ET_EXEC.
29514         * elf/rtld.c (map_doit): Load executable as lt_executable.
29515         (dl_main): Likewise.
29517 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
29519         [BZ #16642]
29520         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29521         (__ASSUME_PSELECT): Undefine.
29523 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29525         [BZ #16689]
29526         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29527         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29528         static build.
29529         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29530         selector for static builds.
29532 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29534         [BZ #16695]
29535         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29536         key in the buffer.
29538 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29540         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29541         IFUNC selector for static builds.
29543 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29545         * sysdeps/mips/math_private.h [__mips_hard_float]
29546         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29547         libc_feresetround_mips_ctx.
29548         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29549         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29550         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29552         [BZ #16677]
29553         * math/s_nextafter.c (__nextafter): Do not return value from
29554         overflowing computation.
29555         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29556         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29557         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29558         Likewise.
29559         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29560         Likewise.
29561         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29562         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29564 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29566         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29567         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29568         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29569         the new mov targetting sp.
29571 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29573         [BZ #16683]
29574         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29575         Define it for static builds as well.
29576         (NO_BZERO_IMPL): Likewise.
29578 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29580         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29581         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29582         multiarch strspn for PPC64.
29583         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29584         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29586         (__libc_ifunc_impl_list): Likewise.
29587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29588         multiarch optimizations
29589         * string/strspn.c (strspn): Using macro to redefine symbol name.
29591 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29592             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29594         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29595         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29596         multiarch strncat for PPC64.
29597         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29598         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29600         (__libc_ifunc_impl_list): Likewise.
29601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29602         multiarch optimizations
29604 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29606         [BZ #16639]
29607         * nscd/nscd.service: Make service type forking.
29609 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29611         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29612         sign in non default rounding modes.
29613         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29615 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
29617         * math/libm-test.inc (ALL_RM_TEST): New macro.
29618         (ceil_test): Use ALL_RM_TEST.
29619         (cimag_test): Likewise.
29620         (conj_test): Likewise.
29621         (copysign_test): Likewise.
29622         (cproj_test): Likewise.
29623         (creal_test): Likewise.
29624         (fabs_test): Likewise.
29625         (floor_test): Likewise.
29626         (fmax_test): Likewise.
29627         (fmin_test): Likewise.
29628         (fmod_test): Likewise.
29629         (fpclassify_test): Likewise.
29630         (frexp_test): Likewise.
29631         (ilogb_test): Likewise.
29632         (isfinite_test): Likewise.
29633         (finite_test): Likewise.
29634         (isgreater_test): Likewise.
29635         (isgreaterequal_test): Likewise.
29636         (isinf_test): Likewise.
29637         (isless_test): Likewise.
29638         (islessequal_test): Likewise.
29639         (islessgreater_test): Likewise.
29640         (isnan_test): Likewise.
29641         (isnormal_test): Likewise.
29642         (issignaling_test): Likewise.
29643         (isunordered_test): Likewise.
29644         (logb_test): Likewise.
29645         (logb_downward_test_data): Remove.
29646         (logb_test_downward): Likewise.
29647         (lround_test): Use ALL_RM_TEST.
29648         (llround_test): Likewise.
29649         (modf_test): Likewise.
29650         (nexttoward_test): Likewise.
29651         (remainder_test): Likewise.
29652         (drem_test): Likewise.
29653         (remainder_tonearest_test_data): Likewise.
29654         (remainder_test_tonearest): Likewise.
29655         (drem_test_tonearest): Likewise.
29656         (remainder_towardzero_test_data): Likewise.
29657         (remainder_test_towardzero): Likewise.
29658         (drem_test_towardzero): Likewise.
29659         (remainder_downward_test_data): Likewise.
29660         (remainder_test_downward): Likewise.
29661         (drem_test_downward): Likewise.
29662         (remainder_upward_test_data): Likewise.
29663         (remainder_test_upward): Likewise.
29664         (drem_test_upward): Likewise.
29665         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29666         (round_test): Use ALL_RM_TEST.
29667         (signbit_test): Likewise.
29668         (trunc_test): Likewise.
29669         (significand_test): Likewise.
29670         (main): Don't call removed functions.
29672 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29674         [BZ #16674]
29675         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29676         || __USE_XOPEN2K8].
29677         (ILL_ILLOPN): Likewise.
29678         (ILL_ILLADR): Likewise.
29679         (ILL_ILLTRP): Likewise.
29680         (ILL_PRVOPC): Likewise.
29681         (ILL_PRVREG): Likewise.
29682         (ILL_COPROC): Likewise.
29683         (ILL_BADSTK): Likewise.
29684         (FPE_INTDIV): Likewise.
29685         (FPE_INTOVF): Likewise.
29686         (FPE_FLTDIV): Likewise.
29687         (FPE_FLTOVF): Likewise.
29688         (FPE_FLTUND): Likewise.
29689         (FPE_FLTRES): Likewise.
29690         (FPE_FLTINV): Likewise.
29691         (FPE_FLTSUB): Likewise.
29692         (SEGV_MAPERR): Likewise.
29693         (SEGV_ACCERR): Likewise.
29694         (BUS_ADRALN): Likewise.
29695         (BUS_ADRERR): Likewise.
29696         (BUS_OBJERR): Likewise.
29697         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29698         (TRAP_TRACE): Likewise.
29699         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29700         __USE_XOPEN2K8].
29701         (CLD_KILLED): Likewise.
29702         (CLD_DUMPED): Likewise.
29703         (CLD_TRAPPED): Likewise.
29704         (CLD_STOPPED): Likewise.
29705         (CLD_CONTINUED): Likewise.
29706         (POLL_IN): Likewise.
29707         (POLL_OUT): Likewise.
29708         (POLL_MSG): Likewise.
29709         (POLL_ERR): Likewise.
29710         (POLL_PRI): Likewise.
29711         (POLL_HUP): Likewise.
29712         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29713         Likewise.
29714         (ILL_ILLOPN): Likewise.
29715         (ILL_ILLADR): Likewise.
29716         (ILL_ILLTRP): Likewise.
29717         (ILL_PRVOPC): Likewise.
29718         (ILL_PRVREG): Likewise.
29719         (ILL_COPROC): Likewise.
29720         (ILL_BADSTK): Likewise.
29721         (FPE_INTDIV): Likewise.
29722         (FPE_INTOVF): Likewise.
29723         (FPE_FLTDIV): Likewise.
29724         (FPE_FLTOVF): Likewise.
29725         (FPE_FLTUND): Likewise.
29726         (FPE_FLTRES): Likewise.
29727         (FPE_FLTINV): Likewise.
29728         (FPE_FLTSUB): Likewise.
29729         (SEGV_MAPERR): Likewise.
29730         (SEGV_ACCERR): Likewise.
29731         (BUS_ADRALN): Likewise.
29732         (BUS_ADRERR): Likewise.
29733         (BUS_OBJERR): Likewise.
29734         (BUS_MCEERR_AR): Likewise.
29735         (BUS_MCEERR_AO): Likewise.
29736         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29737         (TRAP_TRACE): Likewise.
29738         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29739         __USE_XOPEN2K8].
29740         (CLD_KILLED): Likewise.
29741         (CLD_DUMPED): Likewise.
29742         (CLD_TRAPPED): Likewise.
29743         (CLD_STOPPED): Likewise.
29744         (CLD_CONTINUED): Likewise.
29745         (POLL_IN): Likewise.
29746         (POLL_OUT): Likewise.
29747         (POLL_MSG): Likewise.
29748         (POLL_ERR): Likewise.
29749         (POLL_PRI): Likewise.
29750         (POLL_HUP): Likewise.
29751         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29752         (ILL_ILLOPN): Likewise.
29753         (ILL_ILLADR): Likewise.
29754         (ILL_ILLTRP): Likewise.
29755         (ILL_PRVOPC): Likewise.
29756         (ILL_PRVREG): Likewise.
29757         (ILL_COPROC): Likewise.
29758         (ILL_BADSTK): Likewise.
29759         (FPE_INTDIV): Likewise.
29760         (FPE_INTOVF): Likewise.
29761         (FPE_FLTDIV): Likewise.
29762         (FPE_FLTOVF): Likewise.
29763         (FPE_FLTUND): Likewise.
29764         (FPE_FLTRES): Likewise.
29765         (FPE_FLTINV): Likewise.
29766         (FPE_FLTSUB): Likewise.
29767         (SEGV_MAPERR): Likewise.
29768         (SEGV_ACCERR): Likewise.
29769         (BUS_ADRALN): Likewise.
29770         (BUS_ADRERR): Likewise.
29771         (BUS_OBJERR): Likewise.
29772         (BUS_MCEERR_AR): Likewise.
29773         (BUS_MCEERR_AO): Likewise.
29774         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29775         (TRAP_TRACE): Likewise.
29776         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29777         __USE_XOPEN2K8].
29778         (CLD_KILLED): Likewise.
29779         (CLD_DUMPED): Likewise.
29780         (CLD_TRAPPED): Likewise.
29781         (CLD_STOPPED): Likewise.
29782         (CLD_CONTINUED): Likewise.
29783         (POLL_IN): Likewise.
29784         (POLL_OUT): Likewise.
29785         (POLL_MSG): Likewise.
29786         (POLL_ERR): Likewise.
29787         (POLL_PRI): Likewise.
29788         (POLL_HUP): Likewise.
29789         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29790         Likewise.
29791         (ILL_ILLOPN): Likewise.
29792         (ILL_ILLADR): Likewise.
29793         (ILL_ILLTRP): Likewise.
29794         (ILL_PRVOPC): Likewise.
29795         (ILL_PRVREG): Likewise.
29796         (ILL_COPROC): Likewise.
29797         (ILL_BADSTK): Likewise.
29798         (ILL_BADIADDR): Likewise.
29799         (ILL_BREAK): Likewise.
29800         (FPE_INTDIV): Likewise.
29801         (FPE_INTOVF): Likewise.
29802         (FPE_FLTDIV): Likewise.
29803         (FPE_FLTOVF): Likewise.
29804         (FPE_FLTUND): Likewise.
29805         (FPE_FLTRES): Likewise.
29806         (FPE_FLTINV): Likewise.
29807         (FPE_FLTSUB): Likewise.
29808         (FPE_DECOVF): Likewise.
29809         (FPE_DECDIV): Likewise.
29810         (FPE_DECERR): Likewise.
29811         (FPE_INVASC): Likewise.
29812         (FPE_INVDEC): Likewise.
29813         (SEGV_MAPERR): Likewise.
29814         (SEGV_ACCERR): Likewise.
29815         (SEGV_PSTKOVF): Likewise.
29816         (BUS_ADRALN): Likewise.
29817         (BUS_ADRERR): Likewise.
29818         (BUS_OBJERR): Likewise.
29819         (BUS_MCEERR_AR): Likewise.
29820         (BUS_MCEERR_AO): Likewise.
29821         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29822         (TRAP_TRACE): Likewise.
29823         (TRAP_BRANCH): Likewise.
29824         (TRAP_HWBKPT): Likewise.
29825         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29826         __USE_XOPEN2K8].
29827         (CLD_KILLED): Likewise.
29828         (CLD_DUMPED): Likewise.
29829         (CLD_TRAPPED): Likewise.
29830         (CLD_STOPPED): Likewise.
29831         (CLD_CONTINUED): Likewise.
29832         (POLL_IN): Likewise.
29833         (POLL_OUT): Likewise.
29834         (POLL_MSG): Likewise.
29835         (POLL_ERR): Likewise.
29836         (POLL_PRI): Likewise.
29837         (POLL_HUP): Likewise.
29838         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29839         (ILL_ILLOPN): Likewise.
29840         (ILL_ILLADR): Likewise.
29841         (ILL_ILLTRP): Likewise.
29842         (ILL_PRVOPC): Likewise.
29843         (ILL_PRVREG): Likewise.
29844         (ILL_COPROC): Likewise.
29845         (ILL_BADSTK): Likewise.
29846         (FPE_INTDIV): Likewise.
29847         (FPE_INTOVF): Likewise.
29848         (FPE_FLTDIV): Likewise.
29849         (FPE_FLTOVF): Likewise.
29850         (FPE_FLTUND): Likewise.
29851         (FPE_FLTRES): Likewise.
29852         (FPE_FLTINV): Likewise.
29853         (FPE_FLTSUB): Likewise.
29854         (SEGV_MAPERR): Likewise.
29855         (SEGV_ACCERR): Likewise.
29856         (BUS_ADRALN): Likewise.
29857         (BUS_ADRERR): Likewise.
29858         (BUS_OBJERR): Likewise.
29859         (BUS_MCEERR_AR): Likewise.
29860         (BUS_MCEERR_AO): Likewise.
29861         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29862         (TRAP_TRACE): Likewise.
29863         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29864         __USE_XOPEN2K8].
29865         (CLD_KILLED): Likewise.
29866         (CLD_DUMPED): Likewise.
29867         (CLD_TRAPPED): Likewise.
29868         (CLD_STOPPED): Likewise.
29869         (CLD_CONTINUED): Likewise.
29870         (POLL_IN): Likewise.
29871         (POLL_OUT): Likewise.
29872         (POLL_MSG): Likewise.
29873         (POLL_ERR): Likewise.
29874         (POLL_PRI): Likewise.
29875         (POLL_HUP): Likewise.
29876         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29877         (ILL_ILLOPN): Likewise.
29878         (ILL_ILLADR): Likewise.
29879         (ILL_ILLTRP): Likewise.
29880         (ILL_PRVOPC): Likewise.
29881         (ILL_PRVREG): Likewise.
29882         (ILL_COPROC): Likewise.
29883         (ILL_BADSTK): Likewise.
29884         (FPE_INTDIV): Likewise.
29885         (FPE_INTOVF): Likewise.
29886         (FPE_FLTDIV): Likewise.
29887         (FPE_FLTOVF): Likewise.
29888         (FPE_FLTUND): Likewise.
29889         (FPE_FLTRES): Likewise.
29890         (FPE_FLTINV): Likewise.
29891         (FPE_FLTSUB): Likewise.
29892         (SEGV_MAPERR): Likewise.
29893         (SEGV_ACCERR): Likewise.
29894         (BUS_ADRALN): Likewise.
29895         (BUS_ADRERR): Likewise.
29896         (BUS_OBJERR): Likewise.
29897         (BUS_MCEERR_AR): Likewise.
29898         (BUS_MCEERR_AO): Likewise.
29899         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29900         (TRAP_TRACE): Likewise.
29901         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29902         __USE_XOPEN2K8].
29903         (CLD_KILLED): Likewise.
29904         (CLD_DUMPED): Likewise.
29905         (CLD_TRAPPED): Likewise.
29906         (CLD_STOPPED): Likewise.
29907         (CLD_CONTINUED): Likewise.
29908         (POLL_IN): Likewise.
29909         (POLL_OUT): Likewise.
29910         (POLL_MSG): Likewise.
29911         (POLL_ERR): Likewise.
29912         (POLL_PRI): Likewise.
29913         (POLL_HUP): Likewise.
29914         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29915         (ILL_ILLOPN): Likewise.
29916         (ILL_ILLADR): Likewise.
29917         (ILL_ILLTRP): Likewise.
29918         (ILL_PRVOPC): Likewise.
29919         (ILL_PRVREG): Likewise.
29920         (ILL_COPROC): Likewise.
29921         (ILL_BADSTK): Likewise.
29922         (FPE_INTDIV): Likewise.
29923         (FPE_INTOVF): Likewise.
29924         (FPE_FLTDIV): Likewise.
29925         (FPE_FLTOVF): Likewise.
29926         (FPE_FLTUND): Likewise.
29927         (FPE_FLTRES): Likewise.
29928         (FPE_FLTINV): Likewise.
29929         (FPE_FLTSUB): Likewise.
29930         (SEGV_MAPERR): Likewise.
29931         (SEGV_ACCERR): Likewise.
29932         (BUS_ADRALN): Likewise.
29933         (BUS_ADRERR): Likewise.
29934         (BUS_OBJERR): Likewise.
29935         (BUS_MCEERR_AR): Likewise.
29936         (BUS_MCEERR_AO): Likewise.
29937         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29938         (TRAP_TRACE): Likewise.
29939         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29940         __USE_XOPEN2K8].
29941         (CLD_KILLED): Likewise.
29942         (CLD_DUMPED): Likewise.
29943         (CLD_TRAPPED): Likewise.
29944         (CLD_STOPPED): Likewise.
29945         (CLD_CONTINUED): Likewise.
29946         (POLL_IN): Likewise.
29947         (POLL_OUT): Likewise.
29948         (POLL_MSG): Likewise.
29949         (POLL_ERR): Likewise.
29950         (POLL_PRI): Likewise.
29951         (POLL_HUP): Likewise.
29952         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29953         (ILL_ILLOPN): Likewise.
29954         (ILL_ILLADR): Likewise.
29955         (ILL_ILLTRP): Likewise.
29956         (ILL_PRVOPC): Likewise.
29957         (ILL_PRVREG): Likewise.
29958         (ILL_COPROC): Likewise.
29959         (ILL_BADSTK): Likewise.
29960         (ILL_DBLFLT): Likewise.
29961         (ILL_HARDWALL): Likewise.
29962         (FPE_INTDIV): Likewise.
29963         (FPE_INTOVF): Likewise.
29964         (FPE_FLTDIV): Likewise.
29965         (FPE_FLTOVF): Likewise.
29966         (FPE_FLTUND): Likewise.
29967         (FPE_FLTRES): Likewise.
29968         (FPE_FLTINV): Likewise.
29969         (FPE_FLTSUB): Likewise.
29970         (SEGV_MAPERR): Likewise.
29971         (SEGV_ACCERR): Likewise.
29972         (BUS_ADRALN): Likewise.
29973         (BUS_ADRERR): Likewise.
29974         (BUS_OBJERR): Likewise.
29975         (BUS_MCEERR_AR): Likewise.
29976         (BUS_MCEERR_AO): Likewise.
29977         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29978         (TRAP_TRACE): Likewise.
29979         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29980         __USE_XOPEN2K8].
29981         (CLD_KILLED): Likewise.
29982         (CLD_DUMPED): Likewise.
29983         (CLD_TRAPPED): Likewise.
29984         (CLD_STOPPED): Likewise.
29985         (CLD_CONTINUED): Likewise.
29986         (POLL_IN): Likewise.
29987         (POLL_OUT): Likewise.
29988         (POLL_MSG): Likewise.
29989         (POLL_ERR): Likewise.
29990         (POLL_PRI): Likewise.
29991         (POLL_HUP): Likewise.
29992         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29993         (ILL_ILLOPN): Likewise.
29994         (ILL_ILLADR): Likewise.
29995         (ILL_ILLTRP): Likewise.
29996         (ILL_PRVOPC): Likewise.
29997         (ILL_PRVREG): Likewise.
29998         (ILL_COPROC): Likewise.
29999         (ILL_BADSTK): Likewise.
30000         (FPE_INTDIV): Likewise.
30001         (FPE_INTOVF): Likewise.
30002         (FPE_FLTDIV): Likewise.
30003         (FPE_FLTOVF): Likewise.
30004         (FPE_FLTUND): Likewise.
30005         (FPE_FLTRES): Likewise.
30006         (FPE_FLTINV): Likewise.
30007         (FPE_FLTSUB): Likewise.
30008         (SEGV_MAPERR): Likewise.
30009         (SEGV_ACCERR): Likewise.
30010         (BUS_ADRALN): Likewise.
30011         (BUS_ADRERR): Likewise.
30012         (BUS_OBJERR): Likewise.
30013         (BUS_MCEERR_AR): Likewise.
30014         (BUS_MCEERR_AO): Likewise.
30015         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30016         (TRAP_TRACE): Likewise.
30017         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30018         __USE_XOPEN2K8].
30019         (CLD_KILLED): Likewise.
30020         (CLD_DUMPED): Likewise.
30021         (CLD_TRAPPED): Likewise.
30022         (CLD_STOPPED): Likewise.
30023         (CLD_CONTINUED): Likewise.
30024         (POLL_IN): Likewise.
30025         (POLL_OUT): Likewise.
30026         (POLL_MSG): Likewise.
30027         (POLL_ERR): Likewise.
30028         (POLL_PRI): Likewise.
30029         (POLL_HUP): Likewise.
30030         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30031         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30033         [BZ #16670]
30034         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30035         before #include of <time.h>.
30036         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30037         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30038         (test-xfail-UNIX98/sched.h/conform): Likewise.
30040 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30042         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30043         error absence of trapping exception support.
30044         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30046 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30048         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30049         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30050         * timezone/Makefile (testdata): Move definition above include of
30051         Rules.
30052         (test-zones): New variable.
30053         (tests-special): Add zone files.
30054         (build-testdata): Use $(evaluate-test).
30056         * elf/Makefile (tests-special): Rename tests to end with .out.
30057         ($(objpfx)noload-mem): Likewise.
30058         ($(objpfx)tst-leaks1-mem): Likewise.
30059         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30060         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30061         $(objpfx)test-iconvconfig.out.
30062         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30063         set -e inside subshell and redirect output to file.
30064         * iconvdata/Makefile (generated): Rename tests to end with .out.
30065         Correct type.
30066         (tests-special): Rename tests to end with .out.
30067         ($(objpfx)mtrace-tst-loading): Likewise.
30068         * intl/Makefile (generated): Likewise.
30069         (tests-special): Likewise.
30070         ($(objpfx)mtrace-tst-gettext): Likewise.
30071         * misc/Makefile (generated): Likewise.
30072         (tests-special): Likewise.
30073         ($(objpfx)tst-error1-mem): Likewise.
30074         * nptl/Makefile (tests-special): Likewise.
30075         ($(objpfx)tst-stack3-mem): Likewise.
30076         (generated): Likewise.
30077         * posix/Makefile (generated): Likewise.
30078         (tests-special): Likewise.
30079         (xtests-special): Likewise.
30080         ($(objpfx)tst-fnmatch-mem): Likewise.
30081         ($(objpfx)bug-regex2-mem): Likewise.
30082         ($(objpfx)bug-regex14-mem): Likewise.
30083         ($(objpfx)bug-regex21-mem): Likewise.
30084         ($(objpfx)bug-regex31-mem): Likewise.
30085         ($(objpfx)tst-vfork3-mem): Likewise.
30086         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30087         ($(objpfx)tst-pcre-mem): Likewise.
30088         ($(objpfx)tst-boost-mem): Likewise.
30089         ($(objpfx)bug-ga2-mem): Likewise.
30090         ($(objpfx)bug-glob2-mem): Likewise.
30091         * resolv/Makefile (generate): Likewise.
30092         (tests-special): Likewise.
30093         (xtests-special): Likewise.
30094         (generated): Likewise.
30095         ($(objpfx)mtrace-tst-leaks): Likewise.
30096         ($(objpfx)mtrace-tst-leaks2): Likewise.
30098         * scripts/merge-test-results.sh: New file.
30099         * Makefile (tests-special-notdir): New variable.
30100         (tests): Run merge-test-results.sh.
30101         (xtests): Likewise.
30102         * Rules (tests-special-notdir): New variable.
30103         (xtests-special-notdir): Likewise.
30104         (tests): Run merge-test-results.sh
30105         (xtests): Likewise.
30107         * Makeconfig (test-xfail-name): New variable.
30108         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30109         compute variable name for expected failures.
30110         * conform/Makefile (conformtest-headers-data): New variable.
30111         (conformtest-standards): Likewise.
30112         (conformtest-headers-ISO): Likewise.
30113         (conformtest-headers-ISO99): Likewise.
30114         (conformtest-headers-ISO11): Likewise.
30115         (conformtest-headers-POSIX): Likewise.
30116         (conformtest-headers-XPG3): Likewise.
30117         (conformtest-headers-XPG4): Likewise.
30118         (conformtest-headers-UNIX98): Likewise.
30119         (conformtest-headers-XOPEN2K): Likewise.
30120         (conformtest-headers-POSIX2008): Likewise.
30121         (conformtest-headers-XOPEN2K8): Likewise.
30122         (conformtest-header-list-base): Likewise.
30123         (conformtest-header-list-tests): Likewise.
30124         (conformtest-header-base): Likewise.
30125         (conformtest-header-tests): Likewise.
30126         (tests-special): Add $(conformtest-header-list-tests).  If
30127         [$(fast-check) && !$(cross-compiling)], add
30128         $(conformtest-header-tests) instead of
30129         $(objpfx)run-conformtest.out.
30130         (generated): Add $(conformtest-header-list-base).  If
30131         [$(fast-check) && !$(cross-compiling)], add
30132         $(conformtest-header-base).  Remove previous setting.
30133         ($(conformtest-header-list-tests)): New target.
30134         (test-xfail-run-conformtest): Remove variable.
30135         ($(objpfx)run-conformtest.out): Remove target.
30136         (test-xfail-ISO11/complex.h/conform): New variable.
30137         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30138         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30139         (test-xfail-XPG3/varargs.h/conform): Likewise.
30140         (test-xfail-XPG4/varargs.h/conform): Likewise.
30141         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30142         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30143         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30144         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30145         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30146         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30147         (test-xfail-XPG3/ftw.h/conform): Likewise.
30148         (test-xfail-XPG3/grp.h/conform): Likewise.
30149         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30150         (test-xfail-XPG3/limits.h/conform): Likewise.
30151         (test-xfail-XPG3/pwd.h/conform): Likewise.
30152         (test-xfail-XPG3/search.h/conform): Likewise.
30153         (test-xfail-XPG3/signal.h/conform): Likewise.
30154         (test-xfail-XPG3/stdio.h/conform): Likewise.
30155         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30156         (test-xfail-XPG3/string.h/conform): Likewise.
30157         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30158         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30159         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30160         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30161         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30162         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30163         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30164         (test-xfail-XPG3/termios.h/conform): Likewise.
30165         (test-xfail-XPG3/time.h/conform): Likewise.
30166         (test-xfail-XPG3/unistd.h/conform): Likewise.
30167         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30168         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30169         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30170         (test-xfail-XPG4/netdb.h/conform): Likewise.
30171         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30172         (test-xfail-XPG4/signal.h/conform): Likewise.
30173         (test-xfail-XPG4/stdio.h/conform): Likewise.
30174         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30175         (test-xfail-XPG4/stropts.h/conform): Likewise.
30176         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30177         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30178         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30179         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30180         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30181         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30182         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30183         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30184         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30185         (test-xfail-XPG4/termios.h/conform): Likewise.
30186         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30187         (test-xfail-XPG4/unistd.h/conform): Likewise.
30188         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30189         (test-xfail-POSIX/sched.h/conform): Likewise.
30190         (test-xfail-POSIX/signal.h/conform): Likewise.
30191         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30192         (test-xfail-POSIX/tar.h/conform): Likewise.
30193         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30194         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30195         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30196         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30197         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30198         (test-xfail-UNIX98/sched.h/conform): Likewise.
30199         (test-xfail-UNIX98/signal.h/conform): Likewise.
30200         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30201         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30202         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30203         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30204         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30205         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30206         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30207         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30208         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30209         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30210         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30211         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30212         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30213         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30214         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30215         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30216         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30217         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30218         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30219         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30220         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30221         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30222         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30223         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30224         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30225         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30226         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30227         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30228         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30229         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30230         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30231         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30232         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30233         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30234         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30235         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30236         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30237         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30238         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30239         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30240         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30241         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30242         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30243         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30244         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30245         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30246         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30247         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30248         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30249         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30250         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30251         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30252         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30253         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30254         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30255         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30256         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30257         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30258         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30259         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30260         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30261         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30262         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30263         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30264         (conformtest-cc-flags): Likewise.
30265         ($(conformtest-header-tests): New target.
30266         * conform/check-header-lists.sh: New file.
30267         * conform/run-conformtest.sh: Remove.
30269         * conform/conformtest.pl: Allow ' and \ in values given for
30270         constants.
30271         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30272         inclusion.
30273         [POSIX] (sys/types.h): Likewise.
30274         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30275         inclusion.
30276         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30277         inclusion.
30278         * conform/data/signal.h-data (SIGIO): Remove expectation.
30279         [XPG3] (SIGBUS): Do not expect.
30280         [POSIX || XPG3] (SIGPOLL): Likewise.
30281         [POSIX || XPG3] (SIGPROF): Likewise.
30282         [POSIX || XPG3] (SIGSYS): Likewise.
30283         [XPG3] (SIGTRAP): Likewise.
30284         [POSIX || XPG3] (SIGURG): Likewise.
30285         [POSIX || XPG3] (SIGVTALRM): Likewise.
30286         [POSIX || XPG3] (SIGXCPU): Likewise.
30287         [POSIX || XPG3] (SIGXFSZ): Likewise.
30288         [POSIX] (SA_SIGINFO): Expect.
30289         [XPG3] (siginfo_t): Do not expect type or contents.
30290         [POSIX] (si_pid): Do not expect element.
30291         [POSIX] (si_uid): Likewise.
30292         [POSIX] (si_addr): Likewise.
30293         [POSIX] (si_status): Likewise.
30294         [POSIX] (si_band): Likewise.
30295         [XPG4] (si_value): Likewise.
30296         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30297         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30298         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30299         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30300         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30301         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30302         [POSIX || XPG3] (ILL_COPROC): Likewise.
30303         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30304         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30305         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30306         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30307         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30308         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30309         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30310         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30311         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30312         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30313         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30314         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30315         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30316         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30317         [POSIX || XPG3] (CLD_EXITED): Likewise.
30318         [POSIX || XPG3] (CLD_KILLED): Likewise.
30319         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30320         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30321         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30322         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30323         [POSIX || XPG3] (POLL_IN): Likewise.
30324         [POSIX || XPG3] (POLL_OUT): Likewise.
30325         [POSIX || XPG3] (POLL_MSG): Likewise.
30326         [POSIX || XPG3] (POLL_ERR): Likewise.
30327         [POSIX || XPG3] (POLL_PRI): Likewise.
30328         [POSIX || XPG3] (POLL_HUP): Likewise.
30329         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30330         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30331         (SIG*): Do not allow.
30332         [XPG3] (si_*): Likewise.
30333         [XPG3] (SI_*): Likewise.
30334         [XPG3 || XPG4] (sigev_*): Likewise.
30335         [XPG3 || XPG4] (SIGEV_*): Likewise.
30336         [XPG3 || XPG4] (sival_*): Likewise.
30337         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30338         [POSIX || XPG3] (BUS_*): Likewise.
30339         [POSIX || XPG3] (CLD_*): Likewise.
30340         [POSIX || XPG3] (FPE_*): Likewise.
30341         [POSIX || XPG3] (ILL_*): Likewise.
30342         [POSIX || XPG3] (POLL_*): Likewise.
30343         [POSIX || XPG3] (SEGV_*): Likewise.
30344         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30345         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30346         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30347         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30348         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30349         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30350         Specify type and value.
30351         (TVERSLEN): Likewise.
30352         (REGTYPE): Likewise.
30353         (AREGTYPE): Likewise.
30354         (LNKTYPE): Likewise.
30355         (SYMTYPE): Likewise.
30356         (CHRTYPE): Likewise.
30357         (BLKTYPE): Likewise.
30358         (DIRTYPE): Likewise.
30359         (FIFOTYPE): Likewise.
30360         (CONTTYPE): Likewise.
30361         (TSUID): Likewise.
30362         (TSGID): Likewise.
30363         (TSVTX): Likewise.
30364         (TUREAD): Likewise.
30365         (TUWRITE): Likewise.
30366         (TUEXEC): Likewise.
30367         (TGREAD): Likewise.
30368         (TGWRITE): Likewise.
30369         (TGEXEC): Likewise.
30370         (TOREAD): Likewise.
30371         (TOWRITE): Likewise.
30372         (TOEXEC): Likewise.
30373         [POSIX] (TSVTX): Expect constant.
30375 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30377         * Makefile (tests): Change dependencies to ....
30378         (tests-special): ... additions to this variable.
30379         (tests): Depend on $(tests-special).
30380         * Makerules (check-abi-list): New variable.
30381         (check-abi): Depend on $(check-abi-list).
30382         [$(subdir) = elf] (tests-special): Add
30383         $(objpfx)check-abi-libc.out.
30384         [$(build-shared) = yes && subdir] (tests-special): Add
30385         $(check-abi-list).
30386         [$(build-shared) = yes && subdir] (tests): Do not depend on
30387         check-abi.
30388         * Rules (tests): Depend on $(tests-special).
30389         (xtests): Depend on $(xtests-special).
30390         * catgets/Makefile (tests): Change dependencies to ....
30391         (tests-special): ... additions to this variable.
30392         * conform/Makefile (tests): Change dependencies to ....
30393         (tests-special): ... additions to this variable.
30394         * elf/Makefile (tests): Change dependencies to ....
30395         (tests-special): ... additions to this variable.
30396         * grp/Makefile (tests): Change dependencies to ....
30397         (tests-special): ... additions to this variable.
30398         * iconv/Makefile (xtests): Change dependencies to ....
30399         (xtests-special): ... additions to this variable.
30400         * iconvdata/Makefile (tests): Change dependencies to ....
30401         (tests-special): ... additions to this variable.
30402         * intl/Makefile (tests): Change dependencies to ....
30403         (tests-special): ... additions to this variable.  Also add
30404         $(objpfx)tst-gettext.out.
30405         * io/Makefile (tests): Change dependencies to ....
30406         (tests-special): ... additions to this variable.
30407         * libio/Makefile (tests): Change dependencies to ....
30408         (tests-special): ... additions to this variable.
30409         * malloc/Makefile (tests): Change dependencies to ....
30410         (tests-special): ... additions to this variable.
30411         * misc/Makefile (tests): Change dependencies to ....
30412         (tests-special): ... additions to this variable.
30413         * nptl/Makefile (tests): Change dependencies to ....
30414         (tests-special): ... additions to this variable.
30415         * nptl_db/Makefile (tests): Change dependencies to ....
30416         (tests-special): ... additions to this variable.
30417         * posix/Makefile (tests): Change dependencies to ....
30418         (tests-special): ... additions to this variable.
30419         (xtests): Change dependencies to ....
30420         (xtests-special): ... additions to this variable.
30421         * resolv/Makefile (tests): Change dependencies to ....
30422         (tests-special): ... additions to this variable.
30423         (xtests): Change dependencies to ....
30424         (xtests-special): ... additions to this variable.
30425         * stdio-common/Makefile (tests): Change dependencies to ....
30426         (tests-special): ... additions to this variable.
30427         (do-tst-unbputc): Remove target.
30428         (do-tst-printf): Likewise.
30429         * stdlib/Makefile (tests): Change dependencies to ....
30430         (tests-special): ... additions to this variable.
30431         * string/Makefile (tests): Change dependencies to ....
30432         (tests-special): ... additions to this variable.
30433         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30434         (tests-special): ... additions to this variable.
30436         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30437         whole file.
30438         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30439         whole file.
30440         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30441         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30443         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30444         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30445         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30446         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30447         * conform/data/libgen.h-data [XPG3]: Likewise.
30448         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30449         * conform/data/ndbm.h-data [XPG3]: Likewise.
30450         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30451         * conform/data/netdb.h-data [XPG3]: Likewise.
30452         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30453         * conform/data/poll.h-data [XPG3]: Likewise.
30454         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30455         * conform/data/strings.h-data [XPG3]: Likewise.
30456         * conform/data/stropts.h-data [XPG3]: Likewise.
30457         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30458         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30459         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30460         Likewise.
30461         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30462         * conform/data/sys/time.h-data [XPG3]: Likewise.
30463         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30464         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30465         * conform/data/sys/un.h-data [XPG3]: Likewise.
30466         * conform/data/syslog.h-data [XPG3]: Likewise.
30467         * conform/data/ucontext.h-data [XPG3]: Likewise.
30468         * conform/data/utmpx.h-data [XPG3]: Likewise.
30469         * conform/data/varargs.h-data [UNIX98]: Enable file.
30471         * manual/Makefile (INSTALL_INFO): Remove variable setting.
30473         * math/libm-test.inc (struct test_f_f_data): Move expected results
30474         into structure for each rounding mode.
30475         (struct test_ff_f_data): Likewise.
30476         (struct test_ff_f_data_nexttoward): Likewise.
30477         (struct test_fi_f_data): Likewise.
30478         (struct test_fl_f_data): Likewise.
30479         (struct test_if_f_data): Likewise.
30480         (struct test_fff_f_data): Likewise.
30481         (struct test_c_f_data): Likewise.
30482         (struct test_f_f1_data): Likewise.
30483         (struct test_fF_f1_data): Likewise.
30484         (struct test_ffI_f1_data): Likewise.
30485         (struct test_c_c_data): Likewise.
30486         (struct test_cc_c_data): Likewise.
30487         (struct test_f_i_data): Likewise.
30488         (struct test_ff_i_data): Likewise.
30489         (struct test_f_l_data): Likewise.
30490         (struct test_f_L_data): Likewise.
30491         (struct test_fFF_11_data): Likewise.
30492         (RM_): New macro.
30493         (RM_FE_DOWNWARD): Likewise.
30494         (RM_FE_TONEAREST): Likewise.
30495         (RM_FE_TOWARDZERO): Likewise.
30496         (RM_FE_UPWARD): Likewise.
30497         (RUN_TEST_LOOP_f_f): Update references to expected results.
30498         (RUN_TEST_LOOP_2_f): Likewise.
30499         (RUN_TEST_LOOP_fff_f): Likewise.
30500         (RUN_TEST_LOOP_c_f): Likewise.
30501         (RUN_TEST_LOOP_f_f1): Likewise.
30502         (RUN_TEST_LOOP_fF_f1): Likewise.
30503         (RUN_TEST_LOOP_fI_f1): Likewise.
30504         (RUN_TEST_LOOP_ffI_f1): Likewise.
30505         (RUN_TEST_LOOP_c_c): Likewise.
30506         (RUN_TEST_LOOP_cc_c): Likewise.
30507         (RUN_TEST_LOOP_f_i): Likewise.
30508         (RUN_TEST_LOOP_f_i_tg): Likewise.
30509         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30510         (RUN_TEST_LOOP_f_b): Likewise.
30511         (RUN_TEST_LOOP_f_b_tg): Likewise.
30512         (RUN_TEST_LOOP_f_l): Likewise.
30513         (RUN_TEST_LOOP_f_L): Likewise.
30514         (RUN_TEST_LOOP_fFF_11): Likewise.
30515         * math/gen-libm-test.pl (parse_args): Output four copies of
30516         expected results for each test.
30518         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30519         (__ASSUME_UTIMES): Remove.
30520         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30521         (__ASSUME_UTIMES): Likewise.
30523         * math/gen-auto-libm-tests.c: Update comment on output format.
30524         (output_for_one_input_case): Generate before-rounding and
30525         after-rounding information as conditions on output flags not
30526         floating-point format.
30527         * math/auto-libm-test-out: Regenerated.
30528         * math/gen-libm-test.pl (cond_value): New function.
30529         (or_cond_value): Use cond_value.
30530         (generate_testfile): Handle conditional exceptions.
30532 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
30534         * math/libm-test.inc (max_valid_error): New variable.
30535         (init_max_error): Take new argument specifying whether function
30536         results are exactly determined.  Set max_valid_error and bound
30537         other variables for errors based on this argument.
30538         (set_max_error): Do not record results above max_valid_error.
30539         (check_float_internal): Only accept errors of up to 0.5ulps if
30540         also at most max_valid_error.
30541         (START): Take new argument EXACT and pass it to init_max_error.
30542         (acos_test): Update call to START.
30543         (acos_test_tonearest): Likewise.
30544         (acos_test_towardzero): Likewise.
30545         (acos_test_downward): Likewise.
30546         (acos_test_upward): Likewise.
30547         (acosh_test): Likewise.
30548         (asin_test): Likewise.
30549         (asin_test_tonearest): Likewise.
30550         (asin_test_towardzero): Likewise.
30551         (asin_test_downward): Likewise.
30552         (asin_test_upward): Likewise.
30553         (asinh_test): Likewise.
30554         (atan_test): Likewise.
30555         (atanh_test): Likewise.
30556         (atan2_test): Likewise.
30557         (cabs_test): Likewise.
30558         (cacos_test): Likewise.
30559         (cacosh_test): Likewise.
30560         (carg_test): Likewise.
30561         (casin_test): Likewise.
30562         (casinh_test): Likewise.
30563         (catan_test): Likewise.
30564         (catanh_test): Likewise.
30565         (cbrt_test): Likewise.
30566         (ccos_test): Likewise.
30567         (ccosh_test): Likewise.
30568         (ceil_test): Likewise.
30569         (cexp_test): Likewise.
30570         (cimag_test): Likewise.
30571         (clog_test): Likewise.
30572         (clog10_test): Likewise.
30573         (conj_test): Likewise.
30574         (copysign_test): Likewise.
30575         (cos_test): Likewise.
30576         (cos_test_tonearest): Likewise.
30577         (cos_test_towardzero): Likewise.
30578         (cos_test_downward): Likewise.
30579         (cos_test_upward): Likewise.
30580         (cosh_test): Likewise.
30581         (cosh_test_tonearest): Likewise.
30582         (cosh_test_towardzero): Likewise.
30583         (cosh_test_downward): Likewise.
30584         (cosh_test_upward): Likewise.
30585         (cpow_test): Likewise.
30586         (cproj_test): Likewise.
30587         (creal_test): Likewise.
30588         (csin_test): Likewise.
30589         (csinh_test): Likewise.
30590         (csqrt_test): Likewise.
30591         (ctan_test): Likewise.
30592         (ctan_test_tonearest): Likewise.
30593         (ctan_test_towardzero): Likewise.
30594         (ctan_test_downward): Likewise.
30595         (ctan_test_upward): Likewise.
30596         (ctanh_test): Likewise.
30597         (ctanh_test_tonearest): Likewise.
30598         (ctanh_test_towardzero): Likewise.
30599         (ctanh_test_downward): Likewise.
30600         (ctanh_test_upward): Likewise.
30601         (erf_test): Likewise.
30602         (erfc_test): Likewise.
30603         (exp_test): Likewise.
30604         (exp_test_tonearest): Likewise.
30605         (exp_test_towardzero): Likewise.
30606         (exp_test_downward): Likewise.
30607         (exp_test_upward): Likewise.
30608         (exp10_test): Likewise.
30609         (exp10_test_tonearest): Likewise.
30610         (exp10_test_towardzero): Likewise.
30611         (exp10_test_downward): Likewise.
30612         (exp10_test_upward): Likewise.
30613         (pow10_test): Likewise.
30614         (exp2_test): Likewise.
30615         (expm1_test): Likewise.
30616         (expm1_test_tonearest): Likewise.
30617         (expm1_test_towardzero): Likewise.
30618         (expm1_test_downward): Likewise.
30619         (expm1_test_upward): Likewise.
30620         (fabs_test): Likewise.
30621         (fdim_test): Likewise.
30622         (floor_test): Likewise.
30623         (fma_test): Likewise.
30624         (fma_test_towardzero): Likewise.
30625         (fma_test_downward): Likewise.
30626         (fma_test_upward): Likewise.
30627         (fmax_test): Likewise.
30628         (fmin_test): Likewise.
30629         (fmod_test): Likewise.
30630         (fpclassify_test): Likewise.
30631         (frexp_test): Likewise.
30632         (hypot_test): Likewise.
30633         (ilogb_test): Likewise.
30634         (isfinite_test): Likewise.
30635         (finite_test): Likewise.
30636         (isgreater_test): Likewise.
30637         (isgreaterequal_test): Likewise.
30638         (isinf_test): Likewise.
30639         (isless_test): Likewise.
30640         (islessequal_test): Likewise.
30641         (islessgreater_test): Likewise.
30642         (isnan_test): Likewise.
30643         (isnormal_test): Likewise.
30644         (issignaling_test): Likewise.
30645         (isunordered_test): Likewise.
30646         (j0_test): Likewise.
30647         (j1_test): Likewise.
30648         (jn_test): Likewise.
30649         (ldexp_test): Likewise.
30650         (lgamma_test): Likewise.
30651         (gamma_test): Likewise.
30652         (lrint_test): Likewise.
30653         (lrint_test_tonearest): Likewise.
30654         (lrint_test_towardzero): Likewise.
30655         (lrint_test_downward): Likewise.
30656         (lrint_test_upward): Likewise.
30657         (llrint_test): Likewise.
30658         (llrint_test_tonearest): Likewise.
30659         (llrint_test_towardzero): Likewise.
30660         (llrint_test_downward): Likewise.
30661         (llrint_test_upward): Likewise.
30662         (log_test): Likewise.
30663         (log10_test): Likewise.
30664         (log1p_test): Likewise.
30665         (log2_test): Likewise.
30666         (logb_test): Likewise.
30667         (logb_test_downward): Likewise.
30668         (lround_test): Likewise.
30669         (llround_test): Likewise.
30670         (modf_test): Likewise.
30671         (nearbyint_test): Likewise.
30672         (nextafter_test): Likewise.
30673         (nexttoward_test): Likewise.
30674         (pow_test): Likewise.
30675         (pow_test_tonearest): Likewise.
30676         (pow_test_towardzero): Likewise.
30677         (pow_test_downward): Likewise.
30678         (pow_test_upward): Likewise.
30679         (remainder_test): Likewise.
30680         (drem_test): Likewise.
30681         (remainder_test_tonearest): Likewise.
30682         (drem_test_tonearest): Likewise.
30683         (remainder_test_towardzero): Likewise.
30684         (drem_test_towardzero): Likewise.
30685         (remainder_test_downward): Likewise.
30686         (drem_test_downward): Likewise.
30687         (remainder_test_upward): Likewise.
30688         (drem_test_upward): Likewise.
30689         (remquo_test): Likewise.
30690         (rint_test): Likewise.
30691         (rint_test_tonearest): Likewise.
30692         (rint_test_towardzero): Likewise.
30693         (rint_test_downward): Likewise.
30694         (rint_test_upward): Likewise.
30695         (round_test): Likewise.
30696         (scalb_test): Likewise.
30697         (scalbn_test): Likewise.
30698         (scalbln_test): Likewise.
30699         (signbit_test): Likewise.
30700         (sin_test): Likewise.
30701         (sin_test_tonearest): Likewise.
30702         (sin_test_towardzero): Likewise.
30703         (sin_test_downward): Likewise.
30704         (sin_test_upward): Likewise.
30705         (sincos_test): Likewise.
30706         (sinh_test): Likewise.
30707         (sinh_test_tonearest): Likewise.
30708         (sinh_test_towardzero): Likewise.
30709         (sinh_test_downward): Likewise.
30710         (sinh_test_upward): Likewise.
30711         (sqrt_test): Likewise.
30712         (sqrt_test_tonearest): Likewise.
30713         (sqrt_test_towardzero): Likewise.
30714         (sqrt_test_downward): Likewise.
30715         (sqrt_test_upward): Likewise.
30716         (tan_test): Likewise.
30717         (tan_test_tonearest): Likewise.
30718         (tan_test_towardzero): Likewise.
30719         (tan_test_downward): Likewise.
30720         (tan_test_upward): Likewise.
30721         (tanh_test): Likewise.
30722         (tgamma_test): Likewise.
30723         (trunc_test): Likewise.
30724         (y0_test): Likewise.
30725         (y1_test): Likewise.
30726         (yn_test): Likewise.
30727         (significand_test): Likewise.
30729         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30730         individual tests in comment.
30731         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30732         (prev_max_error): New variable.
30733         (prev_real_max_error): Likewise.
30734         (prev_imag_max_error): Likewise.
30735         (compare_ulp_data): Don't refer to test names in comment.
30736         (find_test_ulps): Remove function.
30737         (find_function_ulps): Likewise.
30738         (find_complex_function_ulps): Likewise.
30739         (init_max_error): Take function name as argument.  Look up ulps
30740         for that function.
30741         (print_ulps): Remove function.
30742         (print_max_error): Use prev_max_error instead of calling
30743         find_function_ulps.
30744         (print_complex_max_error): Use prev_real_max_error and
30745         prev_imag_max_error instead of calling find_complex_function_ulps.
30746         (check_float_internal): Take max_ulp parameter instead of calling
30747         find_test_ulps.  Don't call print_ulps.
30748         (check_float): Update call to check_float_internal.
30749         (check_complex): Update calls to check_float_internal.
30750         (START): Pass argument to init_max_error.
30751         * math/gen-libm-test.pl (%results): Don't include "kind"
30752         information.
30753         (parse_ulps): Don't handle ulps of individual tests.
30754         (print_ulps_file): Likewise.
30755         (output_ulps): Likewise.
30756         * math/README.libm-test: Update.
30757         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30758         individual tests.
30759         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30760         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30761         * sysdeps/arm/libm-test-ulps: Likewise.
30762         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30763         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30764         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30765         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30766         * sysdeps/microblaze/libm-test-ulps: Likewise.
30767         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30768         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30769         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30770         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30771         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30772         * sysdeps/sh/libm-test-ulps: Likewise.
30773         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30774         * sysdeps/tile/libm-test-ulps: Likewise.
30775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30777 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30779         * math/libm-test.inc (print_complex_max_error): Check separately
30780         whether real and imaginary errors are within allowed range and
30781         pass 0 to print_complex_function_ulps instead of value within
30782         allowed range.
30784 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30786         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30787         formatting.
30788         (get_handles_fopen): Likewise.
30789         (do_write_test): Likewise.
30791         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30793         * libio/fileops.c (do_ftell): Use cached offset when
30794         available.
30795         * libio/iofwide.c (do_ftell_wide): Likewise.
30796         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30797         _IO_file_attach.
30798         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30800         [BZ #16532]
30801         * libio/libioP.h (get_file_offset): New function.
30802         * libio/fileops.c (get_file_offset): Likewise.
30803         (do_ftell): Likewise.
30804         (_IO_new_file_seekoff): Split out ftell logic.
30805         * libio/wfileops.c (do_ftell_wide): Likewise.
30806         (_IO_wfile_seekoff): Split out ftell logic.
30807         * libio/tst-ftell-active-handler.c: New test case.
30808         * libio/Makefile (tests): Add it.
30810 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30812         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30813         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30815 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30817         [BZ #16639]
30818         * nscd/connections.c (nscd_init): Call do_exit.
30819         (start_threads): Call do_exit and notify_parent.
30820         (begin_drop_privileges): Call do_exit.
30821         (finish_drop_privileges): Likewise.
30822         * nscd/selinux.c (preserve_capabilities): Likewise.
30823         (install_real_capabilities): Likewise.
30824         (nscd_selinux_enabled): Likewise.
30825         (avc_create_thread): Likewise.
30826         (avc_alloc_lock): Likewise.
30827         (nscd_avc_init): Likewise.
30828         * nscd/nscd.c (parent_fd): New static variable.
30829         (main): Create a pipe between parent and child processes.
30830         Skip closing parent_fd.
30831         (monitor_child): New function.
30832         (do_exit): Likewise.
30833         (notify_parent): Likewise.
30834         * nscd/nscd.h (notify_parent): Likewise.
30835         (do_exit): Likewise.
30837 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30839         * malloc/malloc.c (__libc_calloc): Revert last change.
30841 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30845 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30847         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30849         implementation.
30850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30851         (__libc_ifunc_impl_list): Likewise.
30852         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30853         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30854         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30855         * string/strrchr.c: Define STRRCHR.
30857 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30859         * benchtest/bench-strtok.c (simple_strtok): Delete.
30860         (strtok_string): Use as benchmark.
30861         * string/strtok (STRTOK): New macro.
30863 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30865         * manual/threads.texi: Add header and standard comments to all
30866         functions.
30868         * elf/dl-lookup.c (check_match): New function.
30869         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30870         (do_lookup_x): Remove nested function check_match. Use non-nested
30871         function check_match.
30873 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30875         * csu/Makefile (generated, before-compile): Use += rather than =.
30876         * catgets/Makefile (generated, generated-dirs): Likewise.
30877         * debug/Makefile (generated): Likewise.
30878         * dlfcn/Makefile (generated): Likewise.
30879         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30880         * iconvdata/Makefile (before-compile, generated): Likewise.
30881         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30882         * libio/Makefile (generated): Likewise.
30883         * malloc/Makefile (generated): Likewise.
30884         * manual/Makefile (generated, generated-dirs): Likewise.
30885         * misc/Makefile (generated): Likewise.
30886         * posix/Makefile (generated): Likewise.
30887         * resolv/Makefile (generated): Likewise.
30888         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30889         * timezone/Makefile (generated, generated-dirs): Likewise.
30891         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30893 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30896         power8 implementation.
30897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30898         file: POWER8 llround ifunc implementation.
30899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30900         (__lllround): Add POWER8 implementation.
30901         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30902         POWER8 llround implementation.
30904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30905         power8 implementation.
30906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30907         file: POWER8 llrint ifunc implementation.
30908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30909         Add POWER8 implementation.
30910         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30911         POWER8 llrint implementation.
30913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30914         power8 implementation.
30915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30916         file: POWER8 finite ifunc implementation.
30917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30918         Add POWER8 implementation.
30919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30920         Likewise.
30921         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30922         POWER8 finite implementation.
30923         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30926         power8 implementation.
30927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30928         file: POWER8 isinf ifunc implementation.
30929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30930         POWER8 implementation.
30931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30932         Likewise.
30933         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30934         isinf implementation.
30935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30937         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30938         (INIT_ARCH): Add hwcap2 initialization.
30939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30940         power8 implementation.
30941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30942         file: POWER8 isnan ifunc implementation.
30943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30944         POWER8 implementation.
30945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30946         Likewise.
30947         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30948         isnan implementation.
30949         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30951 2014-02-27  Joey Ye  <joey.ye@arm.com>
30953         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30954         (_FP_NANFRAC_Q): Set to zero.
30956 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30958         [BZ #16623]
30959         * math/auto-libm-test-in: New test inputs.
30960         * math/auto-libm-test-out: Regenerate.
30961         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30962         and DA.
30963         (__cos): Likewise.
30964         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30966 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30968         * scripts/evaluate-test.sh: Take new argument indicating whether
30969         failure is expected.
30970         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30971         indicating whether failure is expected.
30972         * conform/Makefile (test-xfail-run-conformtest): New variable.
30973         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30974         level.
30975         * posix/Makefile (test-xfail-annexc): New variable.
30976         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30978 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30980         * argp/Makefile: Include Makeconfig immediately after defining
30981         subdir.
30982         * assert/Makefile: Likewise.
30983         * benchtests/Makefile: Likewise.
30984         * catgets/Makefile: Likewise.
30985         * conform/Makefile: Likewise.
30986         * crypt/Makefile: Likewise.
30987         * csu/Makefile: Likewise.
30988         (all): Remove target.
30989         * ctype/Makefile: Include Makeconfig immediately after defining
30990         subdir.
30991         * debug/Makefile: Likewise.
30992         * dirent/Makefile: Likewise.
30993         * dlfcn/Makefile: Likewise.
30994         * gmon/Makefile: Likewise.
30995         * gnulib/Makefile: Likewise.
30996         * grp/Makefile: Likewise.
30997         * gshadow/Makefile: Likewise.
30998         * hesiod/Makefile: Likewise.
30999         * hurd/Makefile: Likewise.
31000         (all): Remove target.
31001         * iconvdata/Makefile: Include Makeconfig immediately after
31002         defining subdir.
31003         * inet/Makefile: Likewise.
31004         * intl/Makefile: Likewise.
31005         * io/Makefile: Likewise.
31006         * libio/Makefile: Likewise.
31007         (all): Remove target.
31008         * locale/Makefile: Include Makeconfig immediately after defining
31009         subdir.
31010         * login/Makefile: Likewise.
31011         * mach/Makefile: Likewise.
31012         (all): Remove target.
31013         * malloc/Makefile: Include Makeconfig immediately after defining
31014         subdir.
31015         (all): Remove target.
31016         * manual/Makefile: Include Makeconfig immediately after defining
31017         subdir.
31018         * math/Makefile: Likewise.
31019         * misc/Makefile: Likewise.
31020         * nis/Makefile: Likewise.
31021         * nss/Makefile: Likewise.
31022         * po/Makefile: Likewise.
31023         (all): Remove target.
31024         * posix/Makefile: Include Makeconfig immediately after defining
31025         subdir.
31026         * pwd/Makefile: Likewise.
31027         * resolv/Makefile: Likewise.
31028         * resource/Makefile: Likewise.
31029         * rt/Makefile: Likewise.
31030         * setjmp/Makefile: Likewise.
31031         * shadow/Makefile: Likewise.
31032         * signal/Makefile: Likewise.
31033         * socket/Makefile: Likewise.
31034         * soft-fp/Makefile: Likewise.
31035         * stdio-common/Makefile: Likewise.
31036         * stdlib/Makefile: Likewise.
31037         * streams/Makefile: Likewise.
31038         * string/Makefile: Likewise.
31039         * sunrpc/Makefile: Likewise.
31040         (all): Remove target.
31041         * sysvipc/Makefile: Include Makeconfig immediately after defining
31042         subdir.
31043         * termios/Makefile: Likewise.
31044         * time/Makefile: Likewise.
31045         * timezone/Makefile: Likewise.
31046         (all): Remove target.
31047         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31048         subdir.
31049         * wctype/Makefile: Likewise.
31051 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31053         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31054         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31055         (libc_feholdexcept_setround_mips): Ditto.
31056         (libc_feholdsetround): New.
31057         (libc_feholdsetroundf): New.
31058         (libc_feholdsetroundl): New.
31059         (libc_feupdateenv_test_mips): New.
31060         (libc_feupdateenv_test): New.
31061         (libc_feupdateenv_testf): New.
31062         (libc_feupdateenv_testl): New.
31063         (libc_feresetround): New.
31064         (libc_feresetroundf): New.
31065         (libc_feresetroundl): New.
31066         (libc_fetestexcept_mips): New.
31067         (libc_fetestexcept): New.
31068         (libc_fetestexceptf): New.
31069         (libc_fetestexceptl): New.
31070         (HAVE_RM_CTX): New.
31071         (libc_feholdexcept_setround_mips_ctx): New.
31072         (libc_feholdexcept_setround_ctx): New.
31073         (libc_feholdexcept_setroundf_ctx): New.
31074         (libc_feholdexcept_setroundl_ctx): New.
31075         (libc_fesetenv_mips_ctx): New.
31076         (libc_fesetenv_ctx): New.
31077         (libc_fesetenv_ctxf): New.
31078         (libc_fesetenv_ctxl): New.
31079         (libc_feupdateenv_mips_ctx): New.
31080         (libc_feupdateenv_ctx): New.
31081         (libc_feupdateenvf_ctx): New.
31082         (libc_feupdateenvl_ctx): New.
31083         (libc_feholdsetround_mips_ctx): New.
31084         (libc_feholdsetround_ctx): New.
31085         (libc_feholdsetroundf_ctx): New.
31086         (libc_feholdsetroundl_ctx): New.
31087         (libc_feresetround_mips_ctx): New.
31088         (libc_feresetround_ctx): New.
31089         (libc_feresetroundf_ctx): New.
31090         (libc_feresetroundl_ctx): New.
31092 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31094         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31096         * manual/ipc.texi: New file.
31097         * manual/Makefile (chapters): Add ipc.
31098         * manual/job.texi: Add "Inter-Process Communication" to next.
31099         * manual/process.texi: Add "Inter-Process Communication" to prev.
31101 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31105 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31107         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31109         * manual/arith.texi: Fix spaces after sentences.
31110         * manual/charset.texi: Likewise.
31111         * manual/errno.texi: Likewise.
31112         * manual/install.texi: Likewise.
31113         * manual/llio.texi: Likewise.
31114         * manual/locale.texi: Likewise.
31115         * manual/maint.texi: Likewise.
31116         * manual/math.texi: Likewise.
31117         * manual/memory.texi: Likewise.
31118         * manual/message.texi: Likewise.
31119         * manual/probes.texi: Likewise.
31120         * manual/resource.texi: Likewise.
31121         * manual/signal.texi: Likewise.
31122         * manual/socket.texi: Likewise.
31123         * manual/stdio.texi: Likewise.
31124         * manual/string.texi: Likewise.
31125         * manual/time.texi: Likewise.
31126         * manual/users.texi: Likewise.
31128 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31130         [BZ #16632]
31131         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31132         _DEFAULT_SOURCE is defined.
31134 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31135             Carlos O'Donell  <carlos@redhat.com>
31137         [BZ #16613]
31138         * elf/dl-tls.c (_dl_count_modids): New function.
31139         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31140         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31141         audit library and increment generation counter.
31142         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31143         * elf/tst-audit9.c: New file.
31144         * elf/tst-auditmod9a.c: New file.
31145         * elf/tst-auditmod9b.c: New file.
31146         * elf/Makefile: Add rules to build and run tst-audit9.
31148 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31150         [BZ #15347]
31151         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31153 2014-02-25  Will Newton  <will.newton@linaro.org>
31155         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31156         (__longjmp): Restore sp and lr before restoring callee
31157         saved registers.  Add longjmp and longjmp_target
31158         SystemTap probe point.
31159         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31160         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31161         Define to zero to match jmpbuf layout.
31162         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31163         (__sigsetjmp): Save sp and lr before saving callee
31164         saved registers.  Add setjmp SystemTap probe point.
31166 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31168         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31170 2014-02-24  Andreas Schwab  <schwab@suse.de>
31172         [BZ #15804]
31173         * elf/pldd.c (wait_for_ptrace_stop): New function.
31174         (main): Call it after attaching.
31176 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31178         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31179         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31180         Versions files is now verboten.
31181         * hurd/Versions (libc: GLIBC_2.0):
31182         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31183         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31184         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31185         * mach/Versions: Likewise.
31187         * csu/Versions: Remove unused %include.
31188         * resolv/Versions: Likewise.
31190 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31192         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31193         ($(objpfx)check-local-headers.out): Likewise.
31194         ($(objpfx)begin-end-check.out): Likewise.
31195         * Makerules (check-abi-%.out): Likewise.
31196         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31197         ($(objpfx)test2.cat): Likewise.
31198         ($(objpfx)de/libc.cat): Likewise.
31199         ($(objpfx)test-gencat.out): Likewise.
31200         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31201         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31202         ($(objpfx)noload-mem): Likewise.
31203         ($(objpfx)tst-pathopt.out): Likewise.
31204         ($(objpfx)tst-rtld-load-self.out): Likewise.
31205         ($(objpfx)tst-array1-cmp.out): Likewise.
31206         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31207         ($(objpfx)tst-array2-cmp.out): Likewise.
31208         ($(objpfx)tst-array3-cmp.out): Likewise.
31209         ($(objpfx)tst-array4-cmp.out): Likewise.
31210         ($(objpfx)tst-array5-cmp.out): Likewise.
31211         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31212         ($(objpfx)check-textrel.out): Likewise.
31213         ($(objpfx)check-execstack.out): Likewise.
31214         ($(objpfx)check-localplt.out): Likewise.
31215         ($(objpfx)order2-cmp.out): Likewise.
31216         ($(objpfx)tst-leaks1-mem): Likewise.
31217         ($(objpfx)tst-leaks1-static-mem): Likewise.
31218         ($(objpfx)tst-initorder-cmp.out): Likewise.
31219         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31220         ($(objpfx)tst-unused-dep.out): Likewise.
31221         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31222         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31223         * iconv/Makefile (test-iconvconfig): Likewise.
31224         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31225         ($(objpfx)iconv-test.out): Likewise.
31226         ($(objpfx)tst-tables.out): Likewise.
31227         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31228         ($(objpfx)tst-gettext.out): Likewise.
31229         ($(objpfx)tst-translit.out): Likewise.
31230         ($(objpfx)tst-gettext2.out): Likewise.
31231         ($(objpfx)tst-gettext4.out): Likewise.
31232         ($(objpfx)tst-gettext6.out): Likewise.
31233         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31234         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31235         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31236         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31237         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31238         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31239         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31240         ($(objpfx)wordexp-tst.out): Likewise.
31241         ($(objpfx)annexc.out): Likewise.
31242         ($(objpfx)tst-fnmatch-mem): Likewise.
31243         ($(objpfx)bug-regex2-mem): Likewise.
31244         ($(objpfx)bug-regex14-mem): Likewise.
31245         ($(objpfx)bug-regex21-mem): Likewise.
31246         ($(objpfx)bug-regex31-mem): Likewise.
31247         ($(objpfx)tst-vfork3-mem): Likewise.
31248         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31249         ($(objpfx)tst-pcre-mem): Likewise.
31250         ($(objpfx)tst-boost-mem): Likewise.
31251         ($(objpfx)tst-getconf.out): Likewise.
31252         ($(objpfx)bug-ga2-mem): Likewise.
31253         ($(objpfx)bug-glob2-mem): Likewise.
31254         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31255         ($(objpfx)mtrace-tst-leaks2): Likewise.
31256         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31257         ($(objpfx)tst-printf.out): Likewise.
31258         ($(objpfx)tst-setvbuf1.out): Likewise.
31259         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31260         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31261         ($(objpfx)tst-fmtmsg.out): Likewise.
31262         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31263         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31265         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31266         * bits/sigaction.h [__USE_MISC]: Likewise.
31267         * bits/waitstatus.h: Update #endif comments.
31268         * ctype/ctype.h: Likewise.
31269         * dirent/dirent.h: Likewise.
31270         [__USE_MISC]: Remove redundant conditionals.
31271         * grp/grp.h: Update #endif comments.
31272         [__USE_GNU]: Remove redundant conditionals.
31273         [__USE_MISC]: Likewise.
31274         * inet/netinet/in.h [__USE_GNU]: Likewise.
31275         * io/sys/stat.h [__USE_MISC]: Likewise.
31276         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31277         * libio/bits/stdio.h: Update #endif comments.
31278         [__USE_MISC]: Remove redundant conditionals.
31279         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31280         * libio/stdio.h: Update #endif comments.
31281         [__USE_MISC]: Remove redundant conditionals.
31282         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31283         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31284         * math/math.h: Update #else and #endif comments.
31285         [__USE_MISC]: Remove redundant conditionals.
31286         * misc/sys/uio.h: Update #endif comments.
31287         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31288         * posix/glob.h [__USE_MISC]: Likewise.
31289         * posix/sys/types.h: Update #endif comments.
31290         [__USE_MISC]: Remove redundant conditionals.
31291         * posix/sys/wait.h: Update #endif comments.
31292         [__USE_MISC]: Remove redundant conditionals.
31293         * posix/unistd.h: Update #endif comments.
31294         [__USE_MISC]: Remove redundant conditionals.
31295         * pwd/pwd.h [__USE_GNU]: Likewise.
31296         [__USE_MISC]: Likewise.
31297         * resolv/netdb.h [__USE_GNU]: Likewise.
31298         * signal/signal.h: Update #endif comments.
31299         [__USE_MISC]: Remove redundant conditionals.
31300         * stdlib/stdlib.h: Update #else and #endif comments.
31301         [__USE_MISC]: Remove redundant conditionals.
31302         [__USE_GNU]: Likewise.
31303         * string/bits/string2.h [__USE_MISC]: Likewise.
31304         * string/string.h: Update #endif comments.
31305         [__USE_MISC]: Remove redundant conditionals.
31306         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31307         Likewise.
31308         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31309         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31310         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31311         Likewise.
31312         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31313         Likewise.
31314         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31315         comments.
31316         [__USE_MISC]: Remove redundant conditionals.
31317         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31318         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31319         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31320         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31321         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31322         Likewise.
31323         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31324         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31325         Likewise.
31326         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31327         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31328         Likewise.
31329         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31330         Likewise.
31331         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31332         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31333         Likewise.
31334         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31335         Likewise.
31336         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31337         * sysdeps/x86/bits/string.h: Update #endif comments.
31338         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31339         conditionals.
31340         * time/sys/time.h: Update #endif comments.
31341         * time/time.h: Likewise.
31342         [__USE_MISC]: Remove redundant conditionals.
31344 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31346         [BZ #16600]
31347         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31349 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31351         * Versions.def (librt): Add GLIBC_2.17.
31353 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31355         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31356         synonym for _SYS_AUXV_H to allow direct inclusion.
31357         * sysdeps/sparc/bits/hwcap.h: Likewise.
31358         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31359         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31360         * sysdeps/sparc/sysdep.h: Likewise.
31362 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31364         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31366 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31368         * benchtests/bench-strrchr.c: Print length instead of position.
31370 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31372         [BZ #16611]
31373         * sysdeps/unix/sysv/linux/kernel-features.h
31374         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31375         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31376         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31377         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31378         Likewise.
31379         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31380         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31381         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31382         (__ASSUME_SENDMMSG): Define instead of using previous
31383         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31384         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31385         (__ASSUME_SENDMMSG_SYSCALL): Define.
31386         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31387         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31388         Likewise.
31389         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31390         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31391         Likewise.
31392         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31393         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31394         Likewise.
31395         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31396         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31397         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31398         [__ASSUME_SENDMMSG]: Change conditionals to
31399         [__ASSUME_SENDMMSG_SOCKETCALL].
31400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31401         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31402         Define.
31403         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31404         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31405         Likewise.
31406         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31407         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31408         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31409         [!__ASSUME_SENDMMSG]: Change conditional to
31410         [!__ASSUME_SENDMMSG_SOCKETCALL].
31411         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31412         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31413         Define.
31415         [BZ #16610]
31416         * sysdeps/unix/sysv/linux/kernel-features.h
31417         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31418         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31419         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31420         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31421         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31422         [__i386__ || __sparc__]
31423         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31424         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31425         (__ASSUME_RECVMMSG): Define instead of using previous
31426         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31427         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31428         (__ASSUME_RECVMMSG_SYSCALL): Define.
31429         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31430         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31431         Likewise.
31432         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31433         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31434         Likewise.
31435         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31436         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31437         Likewise.
31438         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31439         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31440         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31441         [__ASSUME_RECVMMSG]: Change condition to
31442         [__ASSUME_RECVMMSG_SOCKETCALL].
31443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31445         Define.
31446         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31447         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31448         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31449         Likewise.
31450         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31451         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31452         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31453         [!__ASSUME_RECVMMSG]: Change condition to
31454         [!__ASSUME_RECVMMSG_SOCKETCALL].
31455         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31456         (__ASSUME_RECVMMSG_SYSCALL): Define.
31458         [BZ #16609]
31459         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31460         __powerpc__ || __s390__ || __sh__ || __sparc__]
31461         (__ASSUME_SOCKETCALL): Define.
31462         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31463         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31464         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31465         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31466         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31467         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31468         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31469         (__ASSUME_ACCEPT4): Define instead of using previous
31470         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31471         __powerpc__ || __sparc__ || __s390__)] condition.
31472         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31473         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31474         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31475         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31476         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31477         [!__ASSUME_ACCEPT4]: Change condition to
31478         [!__ASSUME_ACCEPT4_SOCKETCALL].
31479         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31480         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
31481         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31482         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31483         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31484         __ASSUME_ACCEPT4_SYSCALL.
31485         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31486         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31487         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31488         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31489         __ASSUME_ACCEPT4_SYSCALL.
31490         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
31491         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31492         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31493         [__ASSUME_ACCEPT4]: Change condition to
31494         [__ASSUME_ACCEPT4_SOCKETCALL].
31495         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31496         (__ASSUME_SOCKETCALL): Define.
31497         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31498         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31499         (__ASSUME_SOCKETCALL): Define.
31500         (__ASSUME_ACCEPT4): Remove.
31501         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31502         Define.
31503         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31504         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31505         Likewise.
31506         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31507         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31509         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31510         macro.
31511         (HWCAP_ARM_LPAE): Likewise.
31512         (HWCAP_ARM_EVTSTRM): Likewise.
31513         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31514         Add vpfd32, lpae and evtstrm.
31515         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31516         Increase to 22.
31518 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
31520         * math/auto-libm-test-in: Add tests of clog10.
31521         * math/auto-libm-test-out: Regenerated.
31522         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31523         * sysdeps/i386/fpu/libm-test-ulps: Update.
31524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31526 2014-02-18  Andreas Schwab  <schwab@suse.de>
31528         [BZ #16574]
31529         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31530         Store non-zero if the second buffer was newly allocated.
31531         (send_dg): Likewise.
31532         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31533         to send_vc and send_dg.
31534         (res_nsend): Pass NULL for ansp2_malloced.
31535         * resolv/res_query.c (__libc_res_nquery): Add parameter
31536         answerp2_malloced and pass it down to __libc_res_nsend.
31537         (res_nquery): Pass additional NULL to __libc_res_nquery.
31538         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31539         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
31540         second answer buffer if answerp2_malloced was set.
31541         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31542         (__libc_res_nquerydomain): Add parameter
31543         answerp2_malloced and pass it down to __libc_res_nquery.
31544         (res_nquerydomain): Pass additional NULL to
31545         __libc_res_nquerydomain.
31546         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31547         additional NULL to __libc_res_nsend and __libc_res_nquery.
31548         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31549         additional NULL to __libc_res_nsearch.
31550         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31551         parameter of __libc_res_nsearch to check for separately allocated
31552         second buffer.
31553         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31554         __libc_res_nquery.
31555         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31556         additional NULL to __libc_res_nquery.
31557         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31558         __libc_res_nsearch.
31559         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31560         * include/resolv.h: Update prototypes of __libc_res_nquery,
31561         __libc_res_nsearch, __libc_res_nsend.
31563 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31565         * math/auto-libm-test-in: Add tests of fma.
31566         * math/auto-libm-test-out: Regenerated.
31567         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31568         (fma_towardzero_test_data): Likewise.
31569         (fma_downward_test_data): Likewise.
31570         (fma_upward_test_data): Likewise.
31571         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31572         mpc_mode.
31573         (rounding_modes): Add values for new field.
31574         (func_calc_method): Add value mpfr_fff_f.
31575         (func_calc_desc): Add mpfr_fff_f union field.
31576         (test_function): Add field exact_args.
31577         (FUNC): Add macro argument EXACT_ARGS.
31578         (FUNC_mpfr_f_f): Update call to FUNC.
31579         (FUNC_mpfr_f_f): Likewise.
31580         (FUNC_mpfr_ff_f): Likewise.
31581         (FUNC_mpfr_if_f): Likewise.
31582         (FUNC_mpc_c_f): Likewise.
31583         (FUNC_mpc_c_c): Likewise.
31584         (test_functions): Add fma.  Update calls to FUNC.
31585         (handle_input_arg): Add argument exact_args.
31586         (add_test): Update call to handle_input_arg.
31587         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31588         (output_for_one_input_case): Update call to calc_generic_results.
31589         Recalculate exact zero results in each rounding mode.
31591         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31592         non-negative before setting low bit.
31593         * math/auto-libm-test-in: Mark one asin test possibly having
31594         spurious underflow.
31595         * math/auto-libm-test-out: Regenerated.
31596         * sysdeps/i386/fpu/libm-test-ulps: Update.
31597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31599 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
31601         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31602         * sysdeps/unix/sysv/linux/microblaze: Move directory from
31603         ports/sysdeps/unix/sysv/linux/microblaze.
31604         * README: Add missing listing for microblaze*-*-linux-gnu.
31606 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
31608         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31609         duplicate code
31611 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
31613         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31614         * sysdeps/unix/sysv/linux/ia64: Move directory from
31615         ports/sysdeps/unix/sysv/linux/ia64.
31616         * README: Update listing for ia64-*-linux-gnu.
31618 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
31619             Joseph Myers  <joseph@codesourcery.com>
31621         * Makeconfig (test-name): New variable.
31622         (evaluate-test): Likewise.
31623         * Makerules (do-test-clean): Remove .test-result files.
31624         (common-mostlyclean): Likewise.
31625         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31626         * scripts/evaluate-test.sh: New file.
31628 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
31630         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31631         separate $(objpfx)tst-fopenloc-cmp.out and
31632         $(objpfx)tst-fopenloc-mem.out targets.
31633         (tests): Update dependencies.
31634         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
31635         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
31636         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
31637         (tst-rxspencer-no-utf8-ARGS): New variable.
31638         (tst-rxspencer-no-utf8-ENV): Likewise.
31639         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
31640         instead of $(objpfx)tst-rxspencer-mem.
31641         ($(objpfx)tst-rxspencer-mem): Change target to
31642         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
31643         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
31644         * posix/tst-rxspencer-no-utf8.c: New file.
31646         * elf/Makefile ($(objpfx)order.out): Remove rule.
31647         [$(run-built-tests) = yes] (tests): Depend on
31648         $(objpfx)order-cmp.out.
31649         ($(objpfx)order-cmp.out): New rule.
31650         [$(run-built-tests) = yes] (tests): Depend on
31651         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31652         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31653         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31654         $(objpfx)tst-array5-static-cmp.out.
31655         ($(objpfx)tst-array1.out): Remove rule.
31656         ($(objpfx)tst-array1-cmp.out): New rule.
31657         ($(objpfx)tst-array1-static.out): Remove rule.
31658         ($(objpfx)tst-array1-static-cmp.out): New rule.
31659         ($(objpfx)tst-array2.out): Remove rule.
31660         ($(objpfx)tst-array2-cmp.out): New rule.
31661         ($(objpfx)tst-array3.out): Remove rule.
31662         ($(objpfx)tst-array3-cmp.out): New rule.
31663         ($(objpfx)tst-array4.out): Remove rule.
31664         ($(objpfx)tst-array4-cmp.out): New rule.
31665         ($(objpfx)tst-array5.out): Remove rule.
31666         ($(objpfx)tst-array5-cmp.out): New rule.
31667         ($(objpfx)tst-array5-static.out): Remove rule.
31668         ($(objpfx)tst-array5-static-cmp.out): New rule.
31669         [$(run-built-tests) = yes] (tests): Depend on
31670         $(objpfx)order2-cmp.out.
31671         ($(objpfx)order2.out): Remove rule.
31672         ($(objpfx)order2-cmp.out): New rule.
31673         ($(objpfx)tst-initorder.out): Remove rule.
31674         [$(run-built-tests) = yes] (tests): Depend on
31675         $(objpfx)tst-initorder-cmp.out.
31676         ($(objpfx)tst-initorder-cmp.out): New rule.
31677         ($(objpfx)tst-initorder2.out): Remove rule.
31678         [$(run-built-tests) = yes] (tests): Depend on
31679         $(objpfx)tst-initorder2-cmp.out.
31680         ($(objpfx)tst-initorder2-cmp.out): New rule.
31681         [$(run-built-tests) = yes] (tests): Depend on
31682         $(objpfx)tst-unused-dep-cmp.out.
31683         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31684         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31685         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31686         on $(objpfx)tst-setvbuf1-cmp.out.
31687         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31688         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31689         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31690         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31691         ($(objpfx)tst-svc.out): Remove rule.
31692         ($(objpfx)tst-svc-cmp.out): New rule.
31694 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31696         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31697         * ctype/ctype.h [__USE_MISC]: Likewise.
31698         * dirent/dirent.h [__USE_MISC]: Likewise.
31699         * grp/grp.h [__USE_MISC]: Likewise.
31700         * io/fcntl.h [__USE_MISC]: Likewise.
31701         * io/sys/stat.h [__USE_MISC]: Likewise.
31702         * libio/stdio.h [__USE_MISC]: Likewise.
31703         * posix/unistd.h [__USE_MISC]: Likewise.
31704         * pwd/pwd.h [__USE_MISC]: Likewise.
31705         * stdlib.h [__USE_MISC]: Likewise.
31706         * string/bits/string2.h [__USE_MISC]: Likewise.
31707         * string/string.h [__USE_MISC]: Likewise.
31708         * time/time.h [__USE_MISC]: Likewise.
31710 2014-02-13  Andreas Schwab  <schwab@suse.de>
31712         [BZ #16574]
31713         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31714         second answer buffer if it was separately allocated.
31716 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31718         * sysdeps/mips/math-tests.h: Include <features.h>.
31719         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31720         (ROUNDING_TESTS_long_double): Do not define.
31721         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31722         (EXCEPTION_TESTS_long_double): Likewise.
31723         * sysdeps/mips/mips64/libm-test-ulps: Update.
31725         * include/features.h (__USE_BSD): Remove macro definitions.
31726         (__USE_SVID): Likewise.
31727         (_BSD_SOURCE): Likewise.
31728         (_SVID_SOURCE): Likewise.
31729         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31730         from definition of _DEFAULT_SOURCE.
31731         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31732         [_DEFAULT_SOURCE].
31733         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31734         * bits/mman.h [__USE_BSD]: Likewise.
31735         * bits/termios.h [__USE_BSD]: Likewise.
31736         * bits/waitstatus.h [__USE_BSD]: Likewise.
31737         * ctype/ctype.h [__USE_SVID]: Likewise.
31738         * dirent/dirent.h [__USE_BSD]: Likewise.
31739         * grp/grp.h [__USE_SVID]: Likewise.
31740         [__USE_BSD]: Likewise.
31741         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31742         * io/fcntl.h [__USE_BSD]: Likewise.
31743         * io/ftw.h [__USE_BSD]: Likewise.
31744         * io/sys/stat.h [__USE_BSD]: Likewise.
31745         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31746         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31747         * libio/stdio.h [__USE_SVID]: Likewise.
31748         [__USE_BSD]: Likewise.
31749         * math/math.h [__USE_SVID]: Likewise.
31750         [__USE_BSD]: Likewise.
31751         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31752         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31753         * misc/search.h [__USE_SVID]: Likewise.
31754         * misc/sys/mman.h [__USE_BSD]: Likewise.
31755         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31756         * misc/sys/uio.h [__USE_BSD]: Likewise.
31757         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31758         * posix/glob.h [__USE_BSD]: Likewise.
31759         * posix/regex.h [__USE_BSD]: Likewise.
31760         * posix/sys/types.h [__USE_BSD]: Likewise.
31761         [__USE_SVID]: Likewise.
31762         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31763         * posix/sys/wait.h [__USE_BSD]: Likewise.
31764         [__USE_SVID]: Likewise.
31765         * posix/unistd.h [__USE_BSD]: Likewise.
31766         [__USE_SVID]: Likewise.
31767         * pwd/pwd.h [__USE_SVID]: Likewise.
31768         * resolv/netdb.h [__USE_BSD]: Likewise.
31769         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31770         * signal/signal.h [__USE_BSD]: Likewise.
31771         [__USE_SVID]: Likewise.
31772         * socket/sys/socket.h [__USE_BSD]: Likewise.
31773         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31774         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31775         [__USE_SVID]: Likewise.
31776         * string/bits/string2.h [__USE_BSD]: Likewise.
31777         [__USE_SVID]: Likewise.
31778         * string/bits/string3.h [__USE_BSD]: Likewise.
31779         * string/endian.h [__USE_BSD]: Likewise.
31780         * string/string.h [__USE_SVID]: Likewise.
31781         [__USE_BSD]: Likewise.
31782         * string/strings.h [__USE_BSD]: Likewise.
31783         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31784         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31785         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31786         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31787         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31788         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31789         Likewise.
31790         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31791         Likewise.
31792         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31793         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31794         Likewise.
31795         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31796         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31797         Likewise.
31798         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31799         Likewise.
31800         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31801         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31802         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31803         Likewise.
31804         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31805         Likewise.
31806         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31807         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31808         * termios/termios.h [__USE_BSD]: Likewise.
31809         * time/sys/time.h [__USE_BSD]: Likewise.
31810         * time/time.h [__USE_BSD]: Likewise.
31811         [__USE_SVID]: Likewise.
31813         * Makefile (subdir_targets): Remove subdir_lint.out.
31815         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31816         (do-tst-printf): Likewise.
31817         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31818         $(objpfx)tst-printf.out.
31820         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31822         * Makerules (check-abi-%): Change target to
31823         $(objpfx)check-abi-%.out.
31824         (check-abi target): Update dependencies.
31825         (check-abi-pattern variable): Redirect output of diff to $@.
31826         (check-abi variable): Likewise.
31827         * elf/Makefile (check-abi): Update dependencies.
31829         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31830         unused.
31831         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31832         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31833         subnormal range.
31834         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31835         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31836         value has largest subnormal exponent.
31837         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31838         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31839         * sysdeps/aarch64/soft-fp/sfp-machine.h
31840         (_FP_TININESS_AFTER_ROUNDING): New macro.
31841         * sysdeps/alpha/soft-fp/sfp-machine.h
31842         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31843         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31844         Likewise.
31845         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31846         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31847         * sysdeps/mips/soft-fp/sfp-machine.h
31848         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31849         * sysdeps/powerpc/soft-fp/sfp-machine.h
31850         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31851         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31852         Likewise.
31853         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31854         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31855         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31856         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31857         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31858         Likewise.
31860 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31862         [BZ #16545]
31863         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31864         model 1.
31866 2014-02-12  Richard Henderson  <rth@redhat.com>
31868         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31869         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31870         * sysdeps/unix/sysv/linux/alpha: Move directory from
31871         ports/sysdeps/unix/sysv/linux/alpha.
31872         * README: Update listing for alpha-*-linux-gnu.
31874 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31876         * include/features.h: Update comment documenting feature test
31877         macros.
31878         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31879         _DEFAULT_SOURCE.
31880         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31881         (_SVID_SOURCE): Likewise.
31882         (_DEFAULT_SOURCE): Update description of default features.
31883         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31884         with _GNU_SOURCE.
31885         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31886         (S_ISVTX): Likewise.
31887         * manual/math.texi (Mathematical Constants): Likewise.
31888         * manual/signal.texi (Interrupted Primitives): Likewise.
31889         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31890         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31891         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31892         Don't refer to _SVID_SOURCE in warning text.
31894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31896         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31897         already defined.
31898         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31899         * sysdeps/mips/dl-lookup.c: Remove.
31900         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31902 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31904         [BZ #16447]
31905         * math/auto-libm-test-in: Add testcase for expl.
31906         * math/auto-libm-test-out: Regenerate.
31907         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31908         calculation of unsafe.
31909         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31911 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31913         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31914         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31915         ports/sysdeps/unix/sysv/linux/aarch64.
31916         * README: Update listing for aarch64*-*-linux-gnu.
31918 2014-02-11  Will Newton  <will.newton@linaro.org>
31920         * manual/probes.texi (Mathematical Function Probes): Use
31921         "triggered" instead of "hit".
31923         * manual/probes.texi (Internal Probes): Add documentation
31924         of setjmp, longjmp and longjmp_target probes.
31926         * include/stap-probe.h: Add comment about probe argument
31927         format.
31929         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31930         definition.  (tr_where, tr_freehook, tr_mallochook,
31931         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31933 2014-02-11  David S. Miller  <davem@davemloft.net>
31935         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31936         processing int_tests.
31938 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31940         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31941         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31942         * sysdeps/unix/sysv/linux/mips: Move directory from
31943         ports/sysdeps/unix/sysv/linux/mips.
31944         * README: Update listing for mips-*-linux-gnu and
31945         mips64-*-linux-gnu.
31947 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31949         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31950         * sysdeps/unix/sysv/linux/m68k: Move directory from
31951         ports/sysdeps/unix/sysv/linux/m68k.
31952         * README: Update listing for m68k-*-linux-gnu.
31954 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31956         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31957         * sysdeps/unix/sysv/linux/generic: Move directory from
31958         ports/sysdeps/unix/sysv/linux/generic.
31959         * sysdeps/unix/sysv/linux/tile: Move directory from
31960         ports/sysdeps/unix/sysv/linux/tile.
31961         * README: Update listing for tile*-*-linux-gnu.
31963 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31965         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31966         __builtin_expect.
31967         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31968         * catgets/open_catalog.c (__open_catalog): Likewise.
31969         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31970         * debug/confstr_chk.c: Likewise.
31971         * debug/fread_chk.c (__fread_chk): Likewise.
31972         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31973         * debug/getgroups_chk.c: Likewise.
31974         * debug/mbsnrtowcs_chk.c: Likewise.
31975         * debug/mbsrtowcs_chk.c: Likewise.
31976         * debug/mbstowcs_chk.c: Likewise.
31977         * debug/memcpy_chk.c: Likewise.
31978         * debug/memmove_chk.c: Likewise.
31979         * debug/mempcpy_chk.c: Likewise.
31980         * debug/memset_chk.c: Likewise.
31981         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31982         * debug/strcat_chk.c (__strcat_chk): Likewise.
31983         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31984         * debug/strncat_chk.c (__strncat_chk): Likewise.
31985         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31986         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31987         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31988         * debug/wcpncpy_chk.c: Likewise.
31989         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31990         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31991         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31992         * debug/wcsncpy_chk.c: Likewise.
31993         * debug/wcsnrtombs_chk.c: Likewise.
31994         * debug/wcsrtombs_chk.c: Likewise.
31995         * debug/wcstombs_chk.c: Likewise.
31996         * debug/wmemcpy_chk.c: Likewise.
31997         * debug/wmemmove_chk.c: Likewise.
31998         * debug/wmempcpy_chk.c: Likewise.
31999         * debug/wmemset_chk.c: Likewise.
32000         * dirent/scandirat.c (SCANDIRAT): Likewise.
32001         * dlfcn/dladdr1.c (dladdr1): Likewise.
32002         * dlfcn/dladdr.c (dladdr): Likewise.
32003         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32004         * dlfcn/dlerror.c (__dlerror): Likewise.
32005         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32006         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32007         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32008         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32009         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32010         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32011         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32012         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32013         Likewise.
32014         * elf/dl-conflict.c: Likewise.
32015         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32016         * elf/dl-dst.h: Likewise.
32017         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32018         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32019         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32020         * elf/dl-init.c (call_init, _dl_init): Likewise.
32021         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32022         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32023         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32024         Likewise.
32025         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32026         Likewise.
32027         * elf/dl-minimal.c (__libc_memalign): Likewise.
32028         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32029         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32030         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32031         * elf/dl-sym.c (do_sym): Likewise.
32032         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32033         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32034         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32035         * elf/dl-writev.h (_dl_writev): Likewise.
32036         * elf/ldconfig.c (search_dir): Likewise.
32037         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32038         (dl_main): Likewise.
32039         * elf/setup-vdso.h (setup_vdso): Likewise.
32040         * grp/compat-initgroups.c (compat_call): Likewise.
32041         * grp/fgetgrent.c (fgetgrent): Likewise.
32042         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32043         * grp/putgrent.c (putgrent): Likewise.
32044         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32045         Likewise.
32046         * hurd/hurdinit.c: Likewise.
32047         * iconvdata/8bit-gap.c (struct): Likewise.
32048         * iconvdata/ansi_x3.110.c : Likewise.
32049         * iconvdata/big5.c : Likewise.
32050         * iconvdata/big5hkscs.c : Likewise.
32051         * iconvdata/cp1255.c: Likewise.
32052         * iconvdata/cp1258.c : Likewise.
32053         * iconvdata/cp932.c : Likewise.
32054         * iconvdata/euc-cn.c: Likewise.
32055         * iconvdata/euc-jisx0213.c : Likewise.
32056         * iconvdata/euc-jp.c: Likewise.
32057         * iconvdata/euc-jp-ms.c : Likewise.
32058         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32059         * iconvdata/gb18030.c : Likewise.
32060         * iconvdata/gbbig5.c (const): Likewise.
32061         * iconvdata/gbgbk.c: Likewise.
32062         * iconvdata/gbk.c : Likewise.
32063         * iconvdata/ibm1364.c : Likewise.
32064         * iconvdata/ibm930.c : Likewise.
32065         * iconvdata/ibm932.c: Likewise.
32066         * iconvdata/ibm933.c : Likewise.
32067         * iconvdata/ibm935.c : Likewise.
32068         * iconvdata/ibm937.c : Likewise.
32069         * iconvdata/ibm939.c : Likewise.
32070         * iconvdata/ibm943.c: Likewise.
32071         * iconvdata/iso_11548-1.c: Likewise.
32072         * iconvdata/iso-2022-cn.c : Likewise.
32073         * iconvdata/iso-2022-cn-ext.c : Likewise.
32074         * iconvdata/iso-2022-jp-3.c: Likewise.
32075         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32076         * iconvdata/iso-2022-kr.c : Likewise.
32077         * iconvdata/iso646.c (gconv_end): Likewise.
32078         * iconvdata/iso_6937-2.c : Likewise.
32079         * iconvdata/iso_6937.c : Likewise.
32080         * iconvdata/iso8859-1.c: Likewise.
32081         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32082         * iconvdata/shift_jisx0213.c : Likewise.
32083         * iconvdata/sjis.c : Likewise.
32084         * iconvdata/t.61.c : Likewise.
32085         * iconvdata/tcvn5712-1.c : Likewise.
32086         * iconvdata/tscii.c: Likewise.
32087         * iconvdata/uhc.c : Likewise.
32088         * iconvdata/unicode.c (gconv_end): Likewise.
32089         * iconvdata/utf-16.c (gconv_end): Likewise.
32090         * iconvdata/utf-32.c (gconv_end): Likewise.
32091         * iconvdata/utf-7.c (base64): Likewise.
32092         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32093         * iconv/gconv_close.c (__gconv_close): Likewise.
32094         * iconv/gconv_open.c (__gconv_open): Likewise.
32095         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32096         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32097         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32098         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32099         (ucs4le_internal_loop_single): Likewise.
32100         * iconv/iconv.c (iconv): Likewise.
32101         * iconv/iconv_close.c: Likewise.
32102         * iconv/loop.c (SINGLE): Likewise.
32103         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32104         * include/atomic.h: Likewise.
32105         * inet/inet6_option.c (option_alloc): Likewise.
32106         * intl/bindtextdom.c (set_binding_values): Likewise.
32107         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32108         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32109         * intl/localealias.c (read_alias_file): Likewise.
32110         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32111         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32112         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32113         * libio/fmemopen.c (fmemopen): Likewise.
32114         * libio/iofgets.c (_IO_fgets): Likewise.
32115         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32116         * libio/iofgetws.c (fgetws): Likewise.
32117         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32118         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32119         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32120         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32121         * locale/findlocale.c (_nl_find_locale): Likewise.
32122         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32123         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32124         Likewise.
32125         * locale/setlocale.c (setlocale): Likewise.
32126         * login/programs/pt_chown.c (main): Likewise.
32127         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32128         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32129         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32130         (mmap, mmap64, mremap, munmap): Likewise.
32131         * math/e_exp2l.c: Likewise.
32132         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32133         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32134         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32135         * math/s_catan.c (__catan): Likewise.
32136         * math/s_catanf.c (__catanf): Likewise.
32137         * math/s_catanh.c (__catanh): Likewise.
32138         * math/s_catanhf.c (__catanhf): Likewise.
32139         * math/s_catanhl.c (__catanhl): Likewise.
32140         * math/s_catanl.c (__catanl): Likewise.
32141         * math/s_ccosh.c (__ccosh): Likewise.
32142         * math/s_ccoshf.c (__ccoshf): Likewise.
32143         * math/s_ccoshl.c (__ccoshl): Likewise.
32144         * math/s_cexp.c (__cexp): Likewise.
32145         * math/s_cexpf.c (__cexpf): Likewise.
32146         * math/s_cexpl.c (__cexpl): Likewise.
32147         * math/s_clog10.c (__clog10): Likewise.
32148         * math/s_clog10f.c (__clog10f): Likewise.
32149         * math/s_clog10l.c (__clog10l): Likewise.
32150         * math/s_clog.c (__clog): Likewise.
32151         * math/s_clogf.c (__clogf): Likewise.
32152         * math/s_clogl.c (__clogl): Likewise.
32153         * math/s_csin.c (__csin): Likewise.
32154         * math/s_csinf.c (__csinf): Likewise.
32155         * math/s_csinh.c (__csinh): Likewise.
32156         * math/s_csinhf.c (__csinhf): Likewise.
32157         * math/s_csinhl.c (__csinhl): Likewise.
32158         * math/s_csinl.c (__csinl): Likewise.
32159         * math/s_csqrt.c (__csqrt): Likewise.
32160         * math/s_csqrtf.c (__csqrtf): Likewise.
32161         * math/s_csqrtl.c (__csqrtl): Likewise.
32162         * math/s_ctan.c (__ctan): Likewise.
32163         * math/s_ctanf.c (__ctanf): Likewise.
32164         * math/s_ctanh.c (__ctanh): Likewise.
32165         * math/s_ctanhf.c (__ctanhf): Likewise.
32166         * math/s_ctanhl.c (__ctanhl): Likewise.
32167         * math/s_ctanl.c (__ctanl): Likewise.
32168         * math/w_pow.c: Likewise.
32169         * math/w_powf.c: Likewise.
32170         * math/w_powl.c: Likewise.
32171         * math/w_scalb.c (sysv_scalb): Likewise.
32172         * math/w_scalbf.c (sysv_scalbf): Likewise.
32173         * math/w_scalbl.c (sysv_scalbl): Likewise.
32174         * misc/error.c (error_tail): Likewise.
32175         * misc/pselect.c (__pselect): Likewise.
32176         * nis/nis_callback.c (__nis_create_callback): Likewise.
32177         * nis/nis_call.c (__nisfind_server): Likewise.
32178         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32179         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32180         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32181         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32182         * nis/nis_lookup.c (nis_lookup): Likewise.
32183         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32184         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32185         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32186         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32187         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32188         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32189         * nis/nss_compat/compat-initgroups.c (add_group)
32190         (internal_getgrent_r): Likewise.
32191         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32192         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32193         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32194         (internal_getspnam_r): Likewise.
32195         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32196         (_nss_nis_getaliasbyname_r): Likewise.
32197         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32198         (_nss_nis_getntohost_r): Likewise.
32199         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32200         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32201         (_nss_nis_getgrgid_r): Likewise.
32202         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32203         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32204         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32205         (_nss_nis_gethostbyname4_r): Likewise.
32206         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32207         (initgroups_netid): Likewise.
32208         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32209         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32210         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32211         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32212         (_nss_nis_getprotobynumber_r): Likewise.
32213         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32214         (_nss_nis_getsecretkey): Likewise.
32215         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32216         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32217         (_nss_nis_getpwuid_r): Likewise.
32218         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32219         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32220         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32221         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32222         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32223         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32224         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32225         Likewise.
32226         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32227         (_nss_nisplus_getntohost_r): Likewise.
32228         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32229         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32230         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32231         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32232         Likewise.
32233         * nis/nss_nisplus/nisplus-initgroups.c
32234         (_nss_nisplus_initgroups_dyn): Likewise.
32235         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32236         (_nss_nisplus_getnetbyaddr_r): Likewise.
32237         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32238         (_nss_nisplus_getprotobynumber_r): Likewise.
32239         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32240         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32241         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32242         Likewise.
32243         * nis/nss_nisplus/nisplus-service.c
32244         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32245         (_nss_nisplus_getservbyport_r): Likewise.
32246         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32247         (_nss_nisplus_getspnam_r): Likewise.
32248         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32249         Likewise.
32250         * nscd/aicache.c (addhstaiX): Likewise.
32251         * nscd/cache.c (cache_search, prune_cache): Likewise.
32252         * nscd/connections.c (register_traced_file, send_ro_fd)
32253         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32254         (main_loop_epoll): Likewise.
32255         * nscd/grpcache.c (addgrbyX): Likewise.
32256         * nscd/hstcache.c (addhstbyX): Likewise.
32257         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32258         * nscd/mem.c (gc, mempool_alloc): Likewise.
32259         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32260         (addinnetgrX): Likewise.
32261         * nscd/nscd-client.h (__nscd_acquire_maplock)
32262         (__nscd_drop_map_ref): Likewise.
32263         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32264         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32265         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32266         Likewise.
32267         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32268         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32269         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32270         (__nscd_get_map_ref): Likewise.
32271         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32272         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32273         Likewise.
32274         * nscd/pwdcache.c (addpwbyX): Likewise.
32275         * nscd/selinux.c (preserve_capabilities): Likewise.
32276         * nscd/servicescache.c (addservbyX): Likewise.
32277         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32278         * posix/fnmatch.c (fnmatch): Likewise.
32279         * posix/getopt.c (_getopt_internal_r): Likewise.
32280         * posix/glob.c (glob, glob_in_dir): Likewise.
32281         * posix/wordexp.c (exec_comm_child): Likewise.
32282         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32283         (getanswer_r, gaih_getanswer_slice): Likewise.
32284         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32285         * resolv/res_init.c: Likewise.
32286         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32287         * resolv/res_query.c (__libc_res_nquery): Likewise.
32288         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32289         Likewise.
32290         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32291         * stdio-common/perror.c (perror): Likewise.
32292         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32293         * stdio-common/tmpnam.c (tmpnam): Likewise.
32294         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32295         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32296         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32297         Likewise.
32298         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32299         * stdlib/putenv.c (putenv): Likewise.
32300         * stdlib/setenv.c (__add_to_environ): Likewise.
32301         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32302         * stdlib/strtol_l.c (INTERNAL): Likewise.
32303         * string/memmem.c (memmem): Likewise.
32304         * string/strerror.c (strerror): Likewise.
32305         * string/strnlen.c (__strnlen): Likewise.
32306         * string/test-memmem.c (simple_memmem): Likewise.
32307         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32308         * sunrpc/pm_getport.c (__get_socket): Likewise.
32309         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32310         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32311         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32312         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32313         Likewise.
32314         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32315         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32316         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32317         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32318         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32319         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32320         Likewise.
32321         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32322         Likewise.
32323         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32324         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32325         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32326         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32327         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32329         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32330         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32331         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32332         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32333         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32334         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32335         Likewise.
32336         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32337         Likewise.
32338         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32339         Likewise.
32340         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32341         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32342         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32343         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32344         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32345         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32346         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32347         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32348         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32349         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32350         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32351         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32352         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32353         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32355         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32356         Likewise.
32357         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32358         Likewise.
32359         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32360         Likewise.
32361         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32362         Likewise.
32363         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32365         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32366         Likewise.
32367         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32368         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32369         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32370         * sysdeps/posix/sleep.c: Likewise.
32371         * sysdeps/posix/tempname.c: Likewise.
32372         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32373         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32374         Likewise.
32375         * sysdeps/powerpc/powerpc32/dl-machine.h
32376         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32377         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32379         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32380         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32381         Likewise.
32382         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32383         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32384         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32385         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32386         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32387         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32388         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32389         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32390         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32391         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32392         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32393         (elf_machine_lazy_rel): Likewise.
32394         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32395         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32396         (elf_machine_lazy_rel): Likewise.
32397         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32398         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32399         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32400         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32401         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32402         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32403         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32404         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32405         Likewise.
32406         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32407         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32408         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32409         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32410         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32411         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32412         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32413         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32414         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32415         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32416         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32417         Likewise.
32418         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32419         (__posix_fallocate64_l64): Likewise.
32420         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32421         (posix_fallocate): Likewise.
32422         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32423         Likewise.
32424         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32425         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32426         (getifaddrs_internal): Likewise.
32427         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32428         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32429         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32430         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32431         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32432         (__posix_fallocate64_l64): Likewise.
32433         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32434         Likewise.
32435         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32436         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32437         (__get_clockfreq): Likewise.
32438         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32439         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32440         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32441         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32442         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32443         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32444         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32445         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32446         Likewise.
32447         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32448         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32449         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32450         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32451         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32452         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32453         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32454         Likewise.
32455         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32456         (posix_fallocate): Likewise.
32457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32458         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32459         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32460         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32461         (elf_machine_rela, elf_machine_rela_relative)
32462         (elf_machine_lazy_rel): Likewise.
32463         * time/asctime.c (asctime_internal): Likewise.
32464         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32465         * time/tzset.c (__tzset_parse_tz): Likewise.
32466         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32467         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32468         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32469         * wcsmbs/wcsmbsload.h: Likewise.
32471         [BZ #15894]
32472         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32474         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32475         (arena_get2): Remove THREAD_STATS conditionals.
32476         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32477         (__malloc_stats, int): Likewise.
32479 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
32481         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32482         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
32484         * manual/setjmp.texi: Fix typos/grammar errors.
32486         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32487         Only return early when n is <= 0.  Delete unused return statement.
32489         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32490         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32491         * debug/tst-longjmp_chk3.c: New file.
32493         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32494         (test_main): Replace code with set_fortify_handler call.
32495         * debug/test-strcpy_chk.c: Likewise.
32496         * debug/tst-chk1.c: Likewise.
32497         * debug/tst-longjmp_chk.c: Likewise.
32498         * test-skeleton.c: Include fcntl.h & paths.h
32499         (set_fortify_handler): Define.
32501         * debug/tst-longjmp_chk.c: Add header comment and include
32502         ../test-skeleton.c.
32503         (do_test): Mark static.
32504         (TEST_FUNCTION): Define.
32506         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32507         (IP_PMTUDISC_INTERFACE): Likewise.
32508         (IP_MULTICAST_IF): Likewise.
32509         (IP_MULTICAST_TTL): Likewise.
32510         (IP_MULTICAST_LOOP): Likewise.
32511         (IP_ADD_MEMBERSHIP): Likewise.
32512         (IP_DROP_MEMBERSHIP): Likewise.
32513         (IP_UNBLOCK_SOURCE): Likewise.
32514         (IP_BLOCK_SOURCE): Likewise.
32515         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32516         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32517         (IP_MSFILTER): Likewise.
32518         (MCAST_JOIN_GROUP): Likewise.
32519         (MCAST_BLOCK_SOURCE): Likewise.
32520         (MCAST_UNBLOCK_SOURCE): Likewise.
32521         (MCAST_LEAVE_GROUP): Likewise.
32522         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32523         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32524         (MCAST_MSFILTER): Likewise.
32525         (IP_MULTICAST_ALL): Likewise.
32526         (IP_UNICAST_IF): Likewise.
32528         * timezone/Makefile: Delete $(have-ksh) check.
32529         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32530         * timezone/tzselect.ksh: Add +x mode bits.
32532         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32533         (ANON_INODE_FS_MAGIC): Likewise.
32534         (BDEVFS_MAGIC): Likewise.
32535         (BINFMTFS_MAGIC): Likewise.
32536         (BTRFS_TEST_MAGIC): Likewise.
32537         (CRAMFS_MAGIC_WEND): Likewise.
32538         (DEBUGFS_MAGIC): Likewise.
32539         (ECRYPTFS_SUPER_MAGIC): Likewise.
32540         (EXT3_SUPER_MAGIC): Likewise.
32541         (EXT4_SUPER_MAGIC): Likewise.
32542         (FUTEXFS_SUPER_MAGIC): Likewise.
32543         (HOSTFS_SUPER_MAGIC): Likewise.
32544         (HUGETLBFS_MAGIC): Likewise.
32545         (MINIX3_SUPER_MAGIC): Likewise.
32546         (MTD_INODE_FS_MAGIC): Likewise.
32547         (NILFS_SUPER_MAGIC): Likewise.
32548         (OPENPROM_SUPER_MAGIC): Likewise.
32549         (PIPEFS_MAGIC): Likewise.
32550         (PSTOREFS_MAGIC): Likewise.
32551         (QNX6_SUPER_MAGIC): Likewise.
32552         (RAMFS_MAGIC): Likewise.
32553         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32554         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32555         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32556         (SECURITYFS_MAGIC): Likewise.
32557         (SELINUX_MAGIC): Likewise.
32558         (SMACK_MAGIC): Likewise.
32559         (SOCKFS_MAGIC): Likewise.
32560         (SQUASHFS_MAGIC): Likewise.
32561         (STACK_END_MAGIC): Likewise.
32562         (TMPFS_MAGIC): Likewise.
32563         (USBDEVICE_SUPER_MAGIC): Likewise.
32564         (V9FS_MAGIC): Likewise.
32565         (XENFS_SUPER_MAGIC): Likewise.
32566         (CRAMFS_MAGIC): Fix typo in comment.
32567         (EXT2_SUPER_MAGIC): Update comment.
32568         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32570 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32572         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32573         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32574         * sysdeps/unix/sysv/linux/arm: Move directory from
32575         ports/sysdeps/unix/sysv/linux/arm.
32576         * README: Update listing for arm-*-linux-gnueabi.
32578         * README: Remove mention of am33.
32580 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32582         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32583         than the comma operator, to avoid "rhs of comma has no effect"
32584         compiler warnings.
32585         (__sigfillset, __sigandset, __sigorset): Likewise.
32586         * include/signal.h (__sigemptyset): Likewise.
32587         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32589 2014-02-07  Allan McRae  <allan@archlinux.org>
32591         * version.h (RELEASE): Set to "development".
32592         (VERSION): Set to "2.19.90"
32593         * NEWS: Add 2.20 section.
32595 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32597         [BZ #16529]
32598         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32600 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32602         * manual/contrib.texi: Update entry for Carlos O'Donell,
32603         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32605 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
32607         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32609         * sysdeps/unix/sysv/linux/kernel-features.h
32610         [__LINUX_KERNEL_VERSION >= 0x020621]
32611         (__ASSUME_PROC_PID_TASK_COMM): Define.
32613 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32615         [BZ #16398]
32616         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32617         conversion when destination buffer does not have enough space.
32618         * libio/tst-ftell-partial-wide.c: New test case.
32619         * libio/Makefile (tests): Add tst-ftell-partial-wide.
32621         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32622         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
32623         Leonard and Allan McRae.
32625 2014-02-04  David S. Miller  <davem@davemloft.net>
32627         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32628         32-bit.
32630 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32633         New file
32634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32635         New file
32636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32637         New file.
32638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32639         New file.
32640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32641         New file.
32642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32643         New file.
32644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32645         New file.
32646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32647         New file.
32648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32649         New file.
32650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32651         New file.
32652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32653         New file.
32654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32655         New file.
32656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32657         New file.
32659 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32661         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32662         * shlib-versions: Likewise.
32664 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32665             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32667         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32668         (abilist-pattern): New variable, set to %-le.abilist.
32670         * Makerules (abilist-pattern): New variable.
32671         (vpath): Use $(abilist-pattern) in place of %.abilist.
32672         (check-abi-% pattern rule): Likewise.
32673         (check-abi, update-abi): Likewise.
32675 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32679 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32681         * manual/startup.texi: Add next, previous, and top entries for
32682         the `Program Arguments' and `Environment Variables' nodes.
32684 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32686         * manual/macros.texi: Add comments before MTASC-safety macros.
32688         * manual/users.texi: Document MTASC-safety properties.
32690         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32691         (pthread_getspecific, pthread_setspecific): Format with
32692         @deftypefun, and add @safety note.
32693         * manual/signal.texi: Move comments that analyze the above
32694         functions to their home place.
32696 2014-02-03  Allan McRae  <allan@archlinux.org>
32698         * po/sl.po: Update Slovenian translation from translation project.
32700 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32702         * manual/time.texi (timegm): Add missing blank after @c.
32703         Reported by Joseph Myers <joseph@codesourcery.com>.
32705 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32707         * manual/check-safety.sh: New.
32708         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32710         * manual/terminal.texi: Document MTASC-safety properties.
32712         * manual/filesys.texi: Document MTASC-safety properties.
32714         * manual/errno.texi: Document MTASC-safety properties.
32716         * manual/intro.texi: Document safety identifiers and
32717         conditionals.
32719         * manual/string.texi (wcstok): Fix prototype.
32720         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32722         * manual/time.texi: Document MTASC-safety properties.
32724         * manual/string.texi: Document MTASC-safety properties.
32726         * manual/threads.texi: Document MTASC-safety properties.
32728         * manual/stdio.texi: Document MTASC-safety properties.
32730         * manual/syslog.texi: Document MTASC-safety properties.
32732         * manual/sysinfo.texi: Document MTASC-safety properties.
32734         * manual/startup.texi: Document MTASC-safety properties.
32736         * manual/socket.texi: Document MTASC-safety properties.
32738         * manual/signal.texi: Document MTASC-safety properties.
32740 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32742         * manual/setjmp.texi: Document MTASC-safety properties.
32744         * manual/search.texi: Document MTASC-safety properties.
32746         * manual/resource.texi: Document MTASC-safety properties.
32748         * manual/process.texi: Document MTASC-safety properties.
32750         * manual/platform.texi: Document MTASC-safety properties.
32752         * manual/pipe.texi: Document MTASC-safety properties.
32754         * manual/pattern.texi: Document MTASC-safety properties.
32756         * manual/message.texi: Document MTASC-safety properties.
32758         [BZ #12751]
32759         * manual/memory.texi: Document MTASC-safety properties.
32761         * manual/math.texi: Document MTASC-safety properties.
32763         * manual/locale.texi: Document MTASC-safety properties.
32765         * manual/llio.texi: Document MTASC-safety properties.
32767         * manual/libdl.texi: New.
32769         * manual/lang.texi: Document MTASC-safety properties.
32771         * manual/job.texi: Document MTASC-safety properties.
32773         * manual/getopt.texi: Document MTASC-safety properties.
32775         * manual/ctype.texi: Document MTASC-safety properties.
32777 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32779         [BZ #16046]
32780         * csu/libc-tls.c (static_map): Remove variable.
32781         (__libc_setup_tls): Use main executable's link map for TLS data.
32782         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32783         casing for LM_ID_BASE and GL(dl_nns).
32784         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32785         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32786         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32787         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32788         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32789         member.
32790         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32791         l_phnum members.
32793 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32795         * manual/debug.texi: Document MTASC-safety properties.
32797 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32799         [BZ #16510]
32800         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32801         of __x86_64__ when disabling x87 inline functions.
32803 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32805         * manual/charset.texi: Document MTASC-safety properties.
32807         * manual/crypt.texi: Document MTASC-safety properties.
32809         * manual/conf.texi: Document MTASC-safety properties.
32811         * manual/arith.texi: Document MTASC-safety properties.
32813         * manual/argp.texi: Document MTASC-safety properties.
32815         * manual/macros.texi: Introduce macros to document multi
32816         thread, asynchronous signal and asynchronous cancellation
32817         safety properties.
32818         * manual/intro.texi: Introduce the properties themselves.
32820 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32822         * sysdeps/sh/sh4/Makefile: New file.
32824 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32826         * math/gen-libm-test.pl ($srcdir): New variable.
32827         ($auto_input): Use it.
32829 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32831         [BZ #16506]
32832         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32833         access beyond array bounds when parsing netgroups file.
32835         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32836         the old buffer before realloc.
32838 2014-01-27  Allan McRae  <allan@archlinux.org>
32840         * po/fr.po: Update French translation from translation project.
32842 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32844         * sysdeps/sh/libm-test-ulps: Regenerate.
32846 2014-01-24  David S. Miller  <davem@davemloft.net>
32848         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32850 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32852         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32853         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32855 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32857         [BZ #16474]
32858         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32859         string pointers after reallocation.
32861 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32863         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32864         __SH4A__ instead of __SH_FPU_ANY__.
32866 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32868         * sysdeps/sh/fpu_control.h: New file.
32869         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32870         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32871         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32872         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32873         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32874         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32875         * sysdeps/sh/sys/ucontext.h: Remove.
32876         * sysdeps/sh/sys: Remove directory.
32878 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32880         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32881         s390/sys/ucontext.h.
32882         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32883         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32885 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32887         [BZ #15605]
32888         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32890 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32892         [BZ#16431]
32893         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32894         Adjust the vDSO correctly for internal calls.
32895         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32897 2014-01-20  Allan McRae  <allan@archlinux.org>
32899         * po/ca.po: Update Catalan translation from translation project.
32901 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32903         * sysdeps/s390/sotruss-lib.c: New file.
32905 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32907         [BZ#16430]
32908         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32909         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32910         local calls issues by not having a PLT stub required for IFUNC calls.
32911         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32913 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32915         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32916         * math/test-fpucw-static.c: Likewise.
32918 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32920         [BZ #16453]
32921         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32923 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32925         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32926         implementation for powerpc.
32928 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32930         [BZ #14782]
32931         * sysdeps/posix/system.c (__libc_system): Do not enable
32932         asynchronous cancellation.
32934 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32936         [BZ #16427]
32937         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32938         handling only for numbers special also in the IEEE case.
32940 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32942         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32944 2014-01-11  Allan McRae  <allan@archlinux.org>
32946         * po/bg.po: Update Bulgarian translation from translation project.
32948         * po/de.po: Update German translation from translation project.
32950 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32952         * sysdeps/generic/gcc-compat.h: New file.
32954 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32956         * benchtests/asin-inputs: Correct slow inputs.
32957         * benchtests/acos-inputs: Likewise.
32959 2014-01-10  Allan McRae  <allan@archlinux.org>
32961         * po:sv.po: Update Swedish translation from translation project.
32963         * po/vi.po: Update Vietnamese translation from translation project.
32965         * po/eo.po: Update Esperanto translation from translation project.
32967         * po/cs.po: Update Czech translation from translation project.
32969         * po/nl.po: Update Dutch translation from translation project.
32971         * po/pl.po: Update Polish translation from translation project.
32973         * po/ru.po: Update Russian translation from translation project.
32975         * po/uk.po: Update Ukrainian translation from translation project.
32977 2014-01-08  Brooks Moses  <bmoses@google.com>
32979         * elf/dl-load.c: Fix comment typo.
32981 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32983         * po/header.pot: Rename to...
32984         * po/pot.header: ... this.
32985         * po/Makefile: Use pot.header.
32987 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32988             Maxim Kuvyrkov  <maxim@kugelworks.com>
32990         [BZ #16394]
32991         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32992         SRC and DEST against LEN.
32994 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32996         [BZ #16414]
32997         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32998         implementation.
32999         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33001 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33005 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33007         [BZ #16408]
33008         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33009         for large positive arguments.
33011 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33013         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33015         * math/auto-libm-test-in: Mark various tests with
33016         xfail-rounding:ldbl-128ibm.
33017         * math/auto-libm-test-out: Regenerated.
33019         [BZ #16407]
33020         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33021         Increase overflow threshold.
33023 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33025         [BZ #14286]
33026         * stdio-common/vfprintf.c: Check for integer overflow.
33028 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33030         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33031         the first argument and return value of __tls_get_addr_internal.
33033 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33035         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33036         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33038 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33040         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33041         * sysdeps/s390/rtld-global-offsets.sym: New file.
33042         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33043         GLIBC_2.19 symbol.
33044         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33045         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33046         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33047         ... this.
33048         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33049         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33050         ... this.
33051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33052         Regenerate.
33053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33054         Regenerate.
33055         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33056         halfs of GPRs for high_gprs contexts.
33057         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33058         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33059         field.
33060         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33061         uc_flags field.
33062         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33063         64 bit versions:
33064         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33065         for high GPRs (uc_high_gprs) and for future extensions
33066         (__reserved).
33067         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33068         for future extensions (__reserved).
33069         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33070         64 bit versions:
33071         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33072         SC_HIGHGPRS offset definition.
33073         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33074         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33076         * Versions.def: Add GLIBC_2.19 for libpthread.
33077         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33078         siglongjmp for libpthread with GLIBC_2.19 symver.
33079         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33080         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33081         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33082         * sysdeps/s390/__longjmp.c: New file.
33083         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33084         * sysdeps/s390/longjmp.c: New file.
33085         * sysdeps/s390/setjmp.S: New file.
33086         * sysdeps/s390/sigjmp.S: New file.
33087         * sysdeps/s390/v1-longjmp.c: New file.
33088         * sysdeps/s390/v1-setjmp.h: New file.
33089         * sysdeps/s390/v1-sigjmp.c: New file.
33090         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33091         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33092         GLIBC_2.19 version.
33093         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33094         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33095         versioned symbols for ____longjmp_chk.
33096         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33097         Likewise.
33098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33099         Regenerate.
33100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33101         Regenerate.
33102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33103         Regenerate.
33104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33105         Regenerate.
33106         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33107         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33108         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33109         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33110         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33111         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33112         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33113         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33114         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33115         * sysdeps/s390/rtld-__longjmp.c: New file.
33116         * sysdeps/s390/rtld-setjmp.S: New file.
33118 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33120         [BZ #16400]
33121         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33122         Return -__logl (x) for small positive arguments without evaluating
33123         a polynomial.
33125 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33127         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33128         Rename to ...
33129         (__ptrace_peeksiginfo_args): ... this.
33130         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33131         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33132         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33134 2014-01-06  Allan McRae  <allan@archlinux.org>
33136         * inet/netinet/in.h: Fix typo in comment.
33138 2014-01-05  Andreas Jaeger  <aj@suse.de>
33140         * sysdeps/i386/fpu/libm-test-ulps: Update.
33142 2014-01-05  Allan McRae  <allan@archlinux.org>
33144         * po/libc.pot: Regenerated.
33146         * malloc/memusagestat.c: Fix gettext call formatting.
33148 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33150         * nscd/nscd.c: Improve usage() output.
33152 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33154         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33155         * sysdeps/unix/sysv/linux/configure: Regenerated.
33156         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33157         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33159 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33161         [BZ #16390]
33162         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33163         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33165 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33167         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33168         extra tokens at end of #undef directive.
33169         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33170         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33171         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33173 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33175         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33177         * math/auto-libm-test-in: Mark various tests with
33178         xfail-rounding:ldbl-128ibm.
33179         * math/auto-libm-test-out: Regenerated.
33181 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33183         [BZ #16386]
33184         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33185         numbers with subnormal high part when calculating exponent.
33187         [BZ #16385]
33188         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33189         fabs.
33191         [BZ #16384]
33192         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33193         M_LN2l.
33194         (__ieee754_acoshl): Use __log1pl not __log1p.
33196 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33198         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33199         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33200         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33201         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33202         (reused_arena, arena_get2): Convert to GNU style.
33203         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33204         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33205         (memalign_check, __malloc_set_state): Likewise.
33206         * malloc/mallocbug.c (main): Likewise.
33207         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33208         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33209         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33210         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33211         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33212         (__posix_memalign, malloc_info): Likewise.
33213         * malloc/malloc.h: Likewise.
33214         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33215         (mallochook, memalignhook, reallochook, mabort): Likewise.
33216         * malloc/mcheck.h: Likewise.
33217         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33218         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33219         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33220         * malloc/morecore.c (__default_morecore): Likewise.
33221         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33222         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33223         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33224         (print_and_abort): Likewise.
33225         * malloc/obstack.h: Likewise.
33226         * malloc/set-freeres.c (__libc_freeres): Likewise.
33227         * malloc/tst-mallocstate.c (main): Likewise.
33228         * malloc/tst-mtrace.c (main): Likewise.
33229         * malloc/tst-realloc.c (do_test): Likewise.
33231 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33233         [BZ #16366]
33234         * nscd/netgroupcache.c (do_notfound): New function.
33235         (addgetnetgrentX): Use it.
33237         [BZ # 16365]
33238         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33239         NSS_STATUS_NOTFOUND.
33241 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33243         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33246 2014-01-01  Allan McRae  <allan@archlinux.org>
33248         * scripts/update-copyrights: Update configure input file suffix.
33250         * NEWS: Update copyright year.
33251         * catgets/gencat.c: Likewise.
33252         * csu/version.c: Likewise.
33253         * debug/catchsegv.sh: Likewise.
33254         * debug/pcprofiledump.c: Likewise.
33255         * debug/xtrace.sh: Likewise.
33256         * elf/ldconfig.c: Likewise.
33257         * elf/ldd.bash.in: Likewise.
33258         * elf/pldd.c: Likewise.
33259         * elf/sotruss.ksh: Likewise.
33260         * elf/sprof.c: Likewise.
33261         * iconv/iconv_prog.c: Likewise.
33262         * iconv/iconvconfig.c: Likewise.
33263         * locale/programs/locale.c: Likewise.
33264         * locale/programs/localedef.c: Likewise.
33265         * login/programs/pt_chown.c: Likewise.
33266         * malloc/memusage.sh: Likewise.
33267         * malloc/memusagestat.c: Likewise.
33268         * malloc/mtrace.pl: Likewise.
33269         * manual/libc.texinfo: Likewise.
33270         * nscd/nscd.c: Likewise.
33271         * nss/getent.c: Likewise.
33272         * nss/makedb.c: Likewise.
33273         * posix/getconf.c: Likewise.
33274         * scripts/test-installation.pl: Likewise.
33276         * All files with FSF copyright notices: Update copyright dates
33277         using scripts/update-copyrights.
33278         * intl/plural.c: Regenerated.
33279         * locale/programs/charmap-kw.h: Likewise.
33280         * locale/programs/locfile-kw.h: Likewise.
33282 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33284         * sysdeps/unix/sysv/linux/configure: Regenerated.
33285         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33286         the linux/fanotify.h header.
33287         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33288         HAVE_LINUX_FANOTIFY_H is defined.
33290 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33292         * benchtests/cos-inputs: New inputs.
33293         * benchtests/sin-inputs: Likewise.
33295         * benchtests/atan-inputs: New inputs. Fix name of multiple
33296         precision fallback inputs.
33298         * benchtests/atanh-inputs: New inputs.
33299         * benchtests/tanh-inputs: Likewise.
33301         * benchtests/acosh-inputs: New inputs.
33302         * benchtests/asinh-inputs: Likewise.
33304         * benchtests/cosh-inputs: New inputs.
33305         * benchtests/sinh-inputs: Likewise.
33307         * benchtests/acos-inputs: Add more inputs.
33308         * benchtests/asin-inputs: Likewise.
33310 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33312         [BZ #16375]
33313         * manual/arith.texi: Fix spelling.
33314         * manual/charset.texi: Likewise.
33315         * manual/errno.texi: Likewise.
33316         * manual/filesys.texi: Likewise.
33317         * manual/lang.texi: Likewise.
33318         * manual/llio.texi: Likewise.
33319         * manual/locale.texi: Likewise.
33320         * manual/message.texi: Likewise.
33321         * manual/resource.texi: Likewise.
33322         * manual/search.texi: Likewise.
33323         * manual/setjmp.texi: Likewise.
33324         * manual/stdio.texi: Likewise.
33325         * manual/string.texi: Likewise.
33326         * manual/sysinfo.texi: Likewise.
33327         * manual/time.texi: Likewise.
33329 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33331         * po/sl.po: New file.
33333 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33335         * .gitignore: Add core/.gdbinit/.gdb_history.
33337 2013-12-27  Allan McRae  <allan@archlinux.org>
33339         [BZ #16369]
33340         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33341         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33343 2013-12-24  Brooks Moses  <bmoses@google.com>
33345         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33346         all compilers that claim C++98 compliance, not just GCC.
33347         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33348         Likewise.
33350 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33352         * NEWS: Restore accidentally deleted bug-fix entries.
33354 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33355             Ondřej Bílka  <neleai@seznam.cz>
33357         [BZ #15073]
33358         * malloc/malloc.c (_int_free): Perform sanity check only if we
33359         have_lock.
33361 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33363         [BZ #12986]
33364         * manual/stdio.texi (String Input Conversions): Clarify that character
33365         classes are not supported.
33367 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33371 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33373         [BZ #16337]
33374         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33375         Calculate results for small negative arguments directly rather
33376         than using reflection formula with special underflow handling.
33378         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33379         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33380         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33381         (fchflags): Likewise.
33382         (revoke): Likewise.
33383         (setlogin): Likewise.
33384         (sigaltstack): Likewise.
33385         (wait4): Likewise.
33386         (sigblock): Remove.
33387         (sigsetmask): Likewise.
33388         (wait3): Likewise.
33389         (waitpid): Likewise.
33390         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33391         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33392         file.
33393         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33394         * sysdeps/unix/bsd/Makefile: ... here.
33395         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33396         * sysdeps/unix/bsd/Versions: ... here.
33397         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33398         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33399         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33400         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33401         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33402         * sysdeps/unix/bsd/sigblock.c: ... here.
33403         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33404         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33405         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33406         * sysdeps/unix/bsd/sigvec.c: ... here.
33407         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33408         * sysdeps/unix/bsd/tcdrain.c: ... here.
33409         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33410         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33411         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33412         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33413         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33414         * sysdeps/unix/bsd/wait.c: ... here.
33415         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33416         * sysdeps/unix/bsd/wait3.c: ... here.
33417         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33418         * sysdeps/unix/bsd/waitpid.c: ... here.
33420 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33422         [BZ #16356]
33423         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33424         round-to-nearest for [!USE_AS_EXPM1L].
33425         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33426         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33427         more tests of exp and exp10.  Expect some exp10 tests to miss
33428         exceptions or fail in directed rounding modes.
33429         * math/auto-libm-test-out: Regenerated.
33430         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33431         (exp10_test_tonearest): New function.
33432         (exp10_towardzero_test_data): New array.
33433         (exp10_test_towardzero): New function.
33434         (exp10_downward_test_data): New array.
33435         (exp10_test_downward): New function.
33436         (exp10_upward_test_data): New array.
33437         (exp10_test_upward): New function.
33438         (main): Call the new functions.
33439         * sysdeps/i386/fpu/libm-test-ulps: Update.
33440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33442 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33444         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33445         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33446         * math/auto-libm-test-out: Regenerated.
33447         * math/libm-test.inc (acosh_test_data): Add more tests.
33448         (atanh_test_data): Likewise.
33449         (ceil_test_data): Likewise.
33450         (copysign_test_data): Likewise.
33451         * sysdeps/i386/fpu/libm-test-ulps: Update.
33452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33454         * timezone/checktab.awk: Update from tzcode 2013i.
33455         * timezone/private.h: Likewise.
33456         * timezone/scheck.c: Likewise.
33457         * timezone/tzfile.h: Likewise.
33458         * timezone/tzselect.ksh: Likewise.
33459         * timezone/zdump.c: Likewise.
33460         * timezone/zic.c: Likewise.
33462         * math/auto-libm-test-in: Add tests of cpow.
33463         * math/auto-libm-test-out: Regenerated.
33464         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33465         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33466         mpc_cc_c.
33467         (func_calc_desc): Add mpc_cc_c union field.
33468         (test_functions): Add cpow.
33469         (special_fill_2pi): New function.
33470         (special_real_inputs): Add 2pi.
33471         (calc_generic_results): Handle mpc_cc_c.
33472         * sysdeps/i386/fpu/libm-test-ulps: Update.
33473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33475         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33476         csqrt, ctan and ctanh.
33477         * math/auto-libm-test-out: Regenerated.
33478         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33479         (TEST_COND_x86): Likewise.
33480         (ccos_test_data): Use AUTO_TESTS_c_c.
33481         (ccosh_test_data): Likewise.
33482         (cexp_test_data): Likewise.
33483         (clog_test_data): Likewise.
33484         (csqrt_test_data): Likewise.
33485         (ctan_test_data): Likewise.
33486         (ctan_tonearest_test_data): Likewise.
33487         (ctan_towardzero_test_data): Likewise.
33488         (ctan_downward_test_data): Likewise.
33489         (ctan_upward_test_data): Likewise.
33490         (ctanh_test_data): Likewise.
33491         (ctanh_tonearest_test_data): Likewise.
33492         (ctanh_towardzero_test_data): Likewise.
33493         (ctanh_downward_test_data): Likewise.
33494         (ctanh_upward_test_data): Likewise.
33495         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33496         mpc_c_c.
33497         (func_calc_desc): Add mpc_c_c union field.
33498         (FUNC_mpc_c_c): New macro.
33499         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33500         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33501         ctanh.
33502         (special_fill_min_subnorm_p120): New function.
33503         (special_real_inputs): Add min_subnorm_p120.
33504         (calc_generic_results): Handle mpc_c_c.
33505         * sysdeps/i386/fpu/libm-test-ulps: Update.
33506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33508 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33510         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33511         (do_sin_slow): New functions.
33512         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33513         (cslow2, csloww1, csloww2): Use the new functions.
33515         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33516         Use M to change sign of result instead of X.  Assume X is
33517         positive.
33518         (csloww1): Likewise.
33519         (__sin): Adjust.
33520         (__cos): Adjust.
33522         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33523         arguments A and DA.
33524         (__sin): Adjust.
33525         (__cos): Likewise.
33527         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33528         (__cos): Likewise.
33529         (sloww1): Don't adjust sign of DX.
33530         (csloww1): Likewise.
33531         (sloww2): Use X directly and don't adjust sign of DX.
33532         (csloww2): Likewise.
33534 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33536         * math/auto-libm-test-in: Add tests of cabs and carg.
33537         * math/auto-libm-test-out: Regenerated.
33538         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33539         (carg_test_data): Likewise.
33540         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33541         mpc_c_f.
33542         (func_calc_desc): Add mpc_c_f union field.
33543         (test_functions): Add cabs and carg.
33544         (calc_generic_results): Handle mpc_c_f.
33546         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33547         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33548         as a macro and a compat symbol.
33549         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33550         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33551         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33552         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33553         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33554         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33555         not use .hidden.
33556         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33557         Likewise.
33558         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33559         Likewise.
33560         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33561         Likewise.
33562         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33563         Likewise.
33564         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33565         Likewise.
33566         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33567         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33568         from GLIBC_2.3.2.
33570 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33574 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33576         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33577         trailing whitespace removed.
33578         * scripts/config.guess: Update to version 2013-11-29.
33579         * scripts/config.sub: Update to version 2013-10-01.
33581         * math/auto-libm-test-in: Add tests of sincos.
33582         * math/auto-libm-test-out: Regenerated.
33583         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33584         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33585         mpfr_f_11.
33586         (func_calc_desc): Add mpfr_f_11 union field.
33587         (test_functions): Add sincos.
33588         (calc_generic_results): Handle mpfr_f_11.
33589         * sysdeps/i386/fpu/libm-test-ulps: Update.
33590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33592 2013-12-19  Andreas Schwab  <schwab@suse.de>
33594         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33595         CALL_MCOUNT.
33596         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33597         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33598         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33600 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33602         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33603         * sysdeps/i386/fpu/libm-test-ulps: Update.
33604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33606         [BZ #16293]
33607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33608         round-to-nearest mode when using frndint.
33609         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33610         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33611         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33612         Likewise.
33613         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
33614         sinh test to fail.
33615         * math/auto-libm-test-out: Regenerated.
33616         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33617         (TEST_COND_x86): Likewise.
33618         (expm1_tonearest_test_data): New array.
33619         (expm1_test_tonearest): New function.
33620         (expm1_towardzero_test_data): New array.
33621         (expm1_test_towardzero): New function.
33622         (expm1_downward_test_data): New array.
33623         (expm1_test_downward): New function.
33624         (expm1_upward_test_data): New array.
33625         (expm1_test_upward): New function.
33626         (main): Run the new test functions.
33627         * sysdeps/i386/fpu/libm-test-ulps: Update.
33628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33630         * include/features.h: Update comment documenting feature test
33631         macros.  Mention _DEFAULT_SOURCE in comment.
33632         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
33633         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
33634         _BSD_SOURCE and _SVID_SOURCE.
33635         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33636         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
33637         !_SVID_SOURCE]: Likewise.
33638         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33639         (__USE_POSIX_IMPLICITLY): Define.
33640         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33641         (_POSIX_SOURCE): Undefine and redefine.
33642         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33643         (_POSIX_C_SOURCE): Likewise.
33644         * manual/creature.texi (_DEFAULT_SOURCE): Document.
33645         (Feature Test Macros): Update documentation of default features.
33647 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33649         * benchtests/Makefile: Add bench-strtok.
33650         * benchtests/bench-strtok.c: New file: strtok benchtest.
33652 2013-12-19  Allan McRae  <allan@archlinux.org>
33654         * manual/install.texi: Suppress menu for plain text output.
33655         * INSTALL: Regenerated.
33657 2013-12-18  Brooks Moses  <bmoses@google.com>
33659         [BZ #15846]
33660         * misc/getauxval.c: Include errno.h.
33661         (__getauxval): Set errno to ENOENT if the requested type is not
33662         found.
33663         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33664         don't declare with __attribute_const__.
33665         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33666         * manual/startup.texi: Document that getauxval sets errno.
33668 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33670         * math/auto-libm-test-in: Add tests of jn and yn.
33671         * math/auto-libm-test-out: Regenerated.
33672         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33673         (yn_test_data): Likewise.
33674         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33675         mpfr_if_f.
33676         (func_calc_desc): Add mpfr_if_f union field.
33677         (FUNC_mpfr_if_f): New macro.
33678         (test_functions): Add jn and yn.
33679         (calc_generic_results): Assert type of second input for
33680         mpfr_ff_f.  Handle mpfr_if_f.
33681         (output_for_one_input_case): Disable all checking for arguments
33682         fitting floating-point types in case of an integer argument.
33683         * sysdeps/i386/fpu/libm-test-ulps: Update.
33684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33687         Don't expect fegetround reference in libm.so.
33689 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33691         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33692         $(config-cflags-nofma).
33694 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33696         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33697         * math/auto-libm-test-out: Regenerated.
33699         [BZ #16338]
33700         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33701         to determine exponent and adjust argument to have exponent of -1.
33702         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33703         log2.
33704         * math/auto-libm-test-out: Regenerated.
33705         * sysdeps/i386/fpu/libm-test-ulps: Update.
33706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33708 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33710         * manual/probes.texi: Remove cases when per-thread arenas are
33711         disabled.
33713 2013-12-18  Andreas Schwab  <schwab@suse.de>
33715         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33716         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33717         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33718         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33719         * sysdeps/i386/i686/multiarch/Makefile: Update.
33720         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33722 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33724         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33725         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33727 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33729         [BZ #15968]
33730         Support TZ transition times < 00:00:00.
33731         This is needed for version-3 tz-format files; it supports time
33732         stamps past 2037 for America/Godthab (the only entry in the tz
33733         database for which this change is relevant).
33734         * manual/time.texi (TZ Variable): Document transition times
33735         from -167:59:59 through -00:00:01.
33736         * time/tzset.c (tz_rule): Time of day is now signed.
33737         (__tzset_parse_tz): Parse negative time of day.
33739         Document TZ transition times >= 25:00:00.
33740         * manual/time.texi (TZ Variable): Document transition times from
33741         25:00:00 through 167:59:59.  These are already supported, and this
33742         support will help with version-3 tz-format files.
33744         * manual/time.texi (TZ Variable): Modernize North America example
33745         to reflect current (i.e., 2007-and-later) daylight saving rules.
33747         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33749 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33751         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33752         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33753         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33755         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33756         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33757         * sysdeps/unix/bsd/clock.c: Likewise.
33758         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33759         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33760         * sysdeps/unix/bsd/init-posix.c: Likewise.
33761         * sysdeps/unix/bsd/poll.c: Likewise.
33762         * sysdeps/unix/bsd/ptsname.c: Likewise.
33763         * sysdeps/unix/bsd/seekdir.c: Likewise.
33764         * sysdeps/unix/bsd/setegid.c: Likewise.
33765         * sysdeps/unix/bsd/seteuid.c: Likewise.
33766         * sysdeps/unix/bsd/setgid.c: Likewise.
33767         * sysdeps/unix/bsd/setrgid.c: Likewise.
33768         * sysdeps/unix/bsd/setruid.c: Likewise.
33769         * sysdeps/unix/bsd/setsid.c: Likewise.
33770         * sysdeps/unix/bsd/setuid.c: Likewise.
33771         * sysdeps/unix/bsd/sigaction.c: Likewise.
33772         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33773         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33774         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33775         * sysdeps/unix/bsd/telldir.c: Likewise.
33776         * sysdeps/unix/bsd/times.c: Likewise.
33777         * sysdeps/unix/bsd/usleep.c: Likewise.
33779         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33780         ($(objpfx)libbsd-compat.a): Remove rule.
33782         * include/features.h (__FAVOR_BSD): Do not define.
33783         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33784         features conflicting with POSIX.
33785         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33786         (_BSD_SOURCE): Remove description of not being a subset of other
33787         feature test macros.
33788         * manual/job.texi (getpgrp): Do not document BSD version.
33789         (getpgid): Do not document by reference to BSD getpgrp.
33790         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33791         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33792         * signal/signal.h [__FAVOR_BSD]: Likewise.
33793         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33794         instead of making contents conditional on [__FAVOR_BSD].
33795         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33797 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33801 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33803         [BZ #16314]
33804         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33805         values below 2**-450, not 2**-500.
33806         * math/auto-libm-test-in: Don't allow spurious underflow from
33807         hypot.
33808         * math/auto-libm-test-out: Regenerated.
33810         [BZ #16316]
33811         [BZ #16330]
33812         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33813         values of ha and hb and sort them after adjusting subnormal
33814         arguments.
33815         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33816         Likewise.
33817         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33818         values of ea and eb and sort them after adjusting subnormal
33819         arguments.
33820         * math/auto-libm-test-in: Do not expect some hypot tests of
33821         subnormals to fail.  Add more hypot tests.
33822         * math/auto-libm-test-out: Regenerated.
33824 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33826         [BZ #13304]
33827         * sysdeps/sh/s_fma.c: New file.
33828         * sysdeps/sh/s_fmaf.c: New file.
33829         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33830         version.
33831         * sysdeps/sh/Implies: Add sh/soft-fp.
33833 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33835         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33836         level of indirection to members `objname', `errstring', `malloced'.
33837         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33838         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33839         it as the __longjmp argument (just pass 1 instead).
33840         (_dl_catch_error): Initialize C with argument pointers and address of
33841         volatile local ERRCODE rather than copying values out of C at return.
33843 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33845         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33846         * math/auto-libm-test-out: Regenerated.
33847         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33848         (hypot_test_data): Likewise.
33849         (pow_test_data): Likewise.
33850         (pow_tonearest_test_data): Likewise.
33851         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33852         mpfr_ff_f.
33853         (func_calc_desc): Add mpfr_ff_f union field.
33854         (FUNC_mpfr_ff_f): New macro.
33855         (test_functions): Add atan2, hypot and pow.
33856         (special_fill_min): New function.
33857         (special_fill_minus_min): Likewise.
33858         (special_fill_min_subnorm): Likewise.
33859         (special_fill_minus_min_subnorm): Likewise.
33860         (special_real_inputs): Add min, -min, min_subnorm and
33861         -min_subnorm.
33862         (calc_generic_results): Handle mpfr_ff_f.
33863         * sysdeps/i386/fpu/libm-test-ulps: Update.
33864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33866 2013-12-16  Will Newton  <will.newton@linaro.org>
33868         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33869         (Aligned Memory Blocks): Add documentation for aligned_alloc
33870         and suggest it as an alternative to posix_memalign.
33871         (Hooks for Malloc): Document __memalign_hook is also called
33872         for aligned_alloc.  (Summary of Malloc): Add summary for
33873         aligned alloc.  Document __memalign_hook is also called
33874         for aligned_alloc.
33876 2013-12-16  Will Newton  <will.newton@linaro.org>
33878         * manual/memory.texi (Malloc Examples): Clarify default
33879         alignment documentation.  Suggest posix_memalign rather
33880         than memalign or valloc.
33881         (Aligned Memory Blocks): Remove suggestion to use memalign
33882         or valloc.  Remove obsolete comment about BSD.
33883         Document memalign errno values and mark the function obsolete.
33884         Document posix_memalign returned error codes.  Mark valloc
33885         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33886         called for posix_memalign and valloc.
33887         (Summary of Malloc): Add posix_memalign to function summary.
33888         __memalign_hook is also called for posix_memalign and valloc.
33890 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33892         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33893         TAYLOR_SIN.
33894         (__sin): Adjust.
33895         (__cos): Likewise.
33896         (sloww): Use mynumber union.  Expand ternary operator into
33897         if-else statements.
33898         (cslow): use mynumber union.
33900 2013-12-16  Allan McRae  <allan@archlinux.org>
33902         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33903         * configure: Regenerated.
33905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33907         [BZ #14120]
33908         * configure.ac: Added --enable-maintainer-mode. Check for
33909         autoconf when enabled.
33910         * configure: Regenerated.
33912         * nscd/nscd.service: New file.
33913         * nscd/nscd.tmpfiles: New file.
33915 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33917         [BZ #12100]
33918         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33919         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33920         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33921         (strstr): Add __strstr_sse2_unaligned ifunc.
33922         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33923         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33924         (strcasestr): Remove __strcasestr_sse42 ifunc.
33925         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33926         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33929 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33931         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33932         * sysdeps/sh/bits/fenv.h: ... here.
33933         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33935 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33937         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33940         hypotf multiarch implementations.
33941         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33942         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33943         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33944         multiarch hypot for PPC64.
33945         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33946         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33947         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33948         multiarch hypotf for PPC64.
33950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33951         modff multiarch implementations.
33952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33955         multiarch modf for PPC64.
33956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33959         multiarch modff for PPC64.
33961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33962         and logl multiarch implementations.
33963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33966         multiarch logb for PPC64.
33967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33970         multiarch logb for PPC64.
33971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33974         multiarch logb for PPC64.
33976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33977         isinff multiarch implementation.
33978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33979         file.
33980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33982         multiarch isinf for PPC64.
33983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33984         file.
33985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33986         multiarch isinff for PPC64.
33988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33989         finitef multiarch implementation.
33990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33991         file.
33992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33994         multiarch finite for PPC64.
33995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33996         file.
33997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33998         multiarch finitef for PPC64.
34000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34001         lrint multiarch implementation.
34002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34003         file.
34004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34006         multiarch llrint for PPC64.
34007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34008         multiarch lrint for PPC64.
34010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34011         copysignf multiarch implementation.
34012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34013         file.
34014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34015         file.
34016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34017         multiarch copysign for PPC64.
34018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34019         multiarch copysignf for PPC64.
34021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34022         multiarch implementation.
34023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34024         file.
34025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34026         file.
34027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34028         file.
34029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34030         file.
34031         multiarch llround for PPC64.
34032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34033         multiarch trunc for PPC64.
34034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34035         multiarch truncf for PPC64.
34037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34038         multiarch implementation.
34039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34040         file.
34041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34042         file.
34043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34044         file.
34045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34046         file.
34047         multiarch llround for PPC64.
34048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34049         multiarch round for PPC64.
34050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34051         multiarch roundf for PPC64.
34053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34054         multiarch implementation.
34055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34056         file.
34057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34058         file.
34059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34060         file.
34061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34062         file.
34063         multiarch llround for PPC64.
34064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34065         multiarch floor for PPC64.
34066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34067         multiarch floorf for PPC64.
34069         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34070         multiarch implementation.
34071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34072         file.
34073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34074         file.
34075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34076         file.
34077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34078         file.
34079         multiarch llround for PPC64.
34080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34081         multiarch ceil for PPC64.
34082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34083         multiarch ceilf for PPC64.
34085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34086         multiarch implementation.
34087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34088         file.
34089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34090         file.
34091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34092         file.
34093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34094         multiarch llround for PPC64.
34095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34096         multiarch lround for PPC64.
34098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34099         multiarch implementation.
34100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34103         file.
34104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34107         multiarch isnan for PPC64.
34108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34109         multiarch isnanf for PPC64.
34111         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34112         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34113         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34114         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34115         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34118         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34119         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34120         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34121         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34124         multiarch implementations.
34125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34126         (__libc_ifunc_impl_list): Likewise.
34127         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34128         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34129         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34130         multiarch stpcpy for PPC64.
34132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34133         multiarch implementations.
34134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34135         (__libc_ifunc_impl_list): Likewise.
34136         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34137         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34138         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34139         multiarch strcpy for PPC64.
34141         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34142         redefine function name.
34143         (_wordcopy_fwd_dest_aligned): Likewise.
34144         (_wordcopy_bwd_aligned): Likewise.
34145         (_wordcopy_bwd_dest_aligned): Likewise.
34146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34147         multiarch implementations.
34148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34149         (__libc_ifunc_impl_list): Likewise.
34150         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34151         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34154         multiarch wcscpy for PPC64.
34156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34157         multiarch implementations.
34158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34159         (__libc_ifunc_impl_list): Likewise.
34160         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34161         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34162         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34163         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34164         multiarch wcscpy for PPC64.
34166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34167         multiarch implementations.
34168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34169         (__libc_ifunc_impl_list): Likewise.
34170         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34171         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34172         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34173         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34174         multiarch wcsrchr for PPC64.
34176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34177         multiarch implementations.
34178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34179         (__libc_ifunc_impl_list): Likewise.
34180         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34181         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34182         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34183         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34184         multiarch wcschr for PPC64.
34186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34187         multiarch implementations.
34188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34189         (__libc_ifunc_impl_list): Likewise.
34190         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34191         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34192         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34193         multiarch strchrnul for PPC64.
34195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34196         implementations.
34197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34198         (__libc_ifunc_impl_list): Likewise.
34199         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34200         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34201         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34202         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34203         strchr for PPC64.
34205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34206         implementations.
34207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34208         (__libc_ifunc_impl_list): Likewise.
34209         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34210         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34211         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34212         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34213         strncmp for PPC64.
34215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34216         multiarch implementations.
34217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34218         (__libc_ifunc_impl_list): Likewise.
34219         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34220         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34221         strncasecmp for PPC64.
34222         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34223         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34224         multiarch strncasecmp_l for PPC64.
34226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34227         multiarch implementations.
34228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34229         (__libc_ifunc_impl_list): Likewise.
34230         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34231         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34232         multiarch strcasecmp for PPC64.
34233         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34234         file.
34235         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34236         multiarch strcasecmp_l for PPC64.
34238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34239         implementations.
34240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34241         (__libc_ifunc_impl_list): Likewise.
34242         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34243         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34244         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34245         strnlen for PPC64.
34247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34248         implementations.
34249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34250         (__libc_ifunc_impl_list): Likewise.
34251         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34252         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34253         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34254         strlen for PPC64.
34256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34257         implementations.
34258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34259         (__libc_ifunc_impl_list): Likewise.
34260         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34261         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34262         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34263         rawmemrchr for PPC64.
34265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34266         implementation.
34267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34268         (__libc_ifunc_impl_list): Likewise.
34269         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34270         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34271         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34272         memrchr for PPC64.
34274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34275         implementation.
34276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34277         (__libc_ifunc_impl_list): Likewise.
34278         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34279         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34280         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34281         memchr for PPC64.
34283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34284         implementation.
34285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34286         (__libc_ifunc_impl_list): Likewise.
34287         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34288         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34289         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34290         mempcpy for PPC64.
34292         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34293         avoid cretion of __bzero symbol.
34294         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34295         Likewise.
34296         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34297         Likewise.
34298         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34299         Likewise.
34300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34301         multiarch implementations.
34302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34303         (__libc_ifunc_impl_list): Likewise.
34304         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34305         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34306         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34307         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34308         bzero for PPC32.
34309         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34310         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34311         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34312         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34313         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34314         memset for PPC64.
34315         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34317         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34319         implementations.
34320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34321         (__libc_ifunc_impl_list): Likewise.
34322         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34323         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34324         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34325         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34326         memcmp for PPC64.
34328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34329         multiarch for POWER/PPC64.
34330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34331         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34332         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34333         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34334         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34335         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34336         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34337         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34338         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34339         memcpy for PPC64.
34341         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34342         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34343         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34344         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34345         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34346         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34347         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34348         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34349         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34350         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34351         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34352         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34353         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34354         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34355         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34364 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34366         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34368 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34370         * benchtests/Makefile (bench): Add exp2 and log2.
34371         (LDLIBS-bench-exp2): Add -lm.
34372         (LDLIBS-bench-log2): Likewise.
34373         * benchtests/exp2-inputs: New inputs file.
34374         * benchtests/log2-inputs: New inputs file.
34375         * benchtests/log-inputs: Add new inputs.
34376         * benchtests/tan-inputs: Likewise.
34378 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34380         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34381         definition...
34382         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34383         (csloww2): ... from here.
34385         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34386         instead of structures.
34387         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34388         (POLYNOMIAL): Likewise.
34389         (TAYLOR_SLOW): Likewise.
34390         (__sin): Likewise.
34391         (__cos): Likewise.
34392         (slow1): Likewise.
34393         (slow2): Likewise.
34394         (sloww): Likewise.
34395         (sloww1); Likewise.
34396         (sloww2): Likewise.
34397         (bsloww1): Likewise.
34398         (bsloww2): Likewise.
34399         (cslow2): Likewise.
34400         (csloww): Likewise.
34401         (csloww1): Likewise.
34402         (csloww2): Likewise.
34404 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34406         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34407         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34408         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34409         * malloc/hooks.c (realloc_check): Likewise.
34411         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34412         * malloc/arena.c: Remove PER_THREAD conditional.
34413         [!PER_THREAD]: Remove code.
34414         (ptmalloc_unlock_all2): Likewise.
34415         (ptmalloc_init): Likewise.
34416         (_int_new_arena): Likewise.
34417         (arena_get2): Likewise.
34418         * malloc/hooks.c (__malloc_get_state): Likewise.
34419         (__malloc_set_state): Likewise.
34420         * malloc/malloc.c: Likewise.
34421         (struct malloc_state): Likewise.
34422         (struct malloc_par): Likewise.
34423         (__libc_realloc): Likewise.
34424         (__libc_mallopt): Likewise.
34426 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34428         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34430 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34432         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34433         macro to a function.  Check for zero perturb_byte.
34434         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34436         * malloc/malloc.c: (force_reg): Remove.
34437         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34438         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34439         force_reg by atomic_forced_read.
34440         * malloc/arena.c (ptmalloc_init): Likewise.
34441         * malloc/hooks.c (top_check): Likewise.
34443 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34447 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34451 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34453         * math/auto-libm-test-in: Add tests of lgamma.
34454         * math/auto-libm-test-out: Regenerated.
34455         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34456         (M_LOG_2_SQRT_PIl): Likewise.
34457         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34458         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34459         mpfr_f_f1.
34460         (func_calc_desc): Add mpfr_f_f1 union field.
34461         (ARGS1): New macro.
34462         (ARGS2): Likewise.
34463         (ARGS3): Likewise.
34464         (ARGS4): Likewise.
34465         (RET1): Likewise.
34466         (RET2): Likewise.
34467         (CALC): Likewise.
34468         (FUNC): Likewise.
34469         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34470         (test_functions): Add lgamma.
34471         (calc_generic_results): Handle mpfr_f_f1.
34472         * sysdeps/i386/fpu/libm-test-ulps: Update.
34473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34475 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34477         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34478         __mpn_add_n for PowerPC64/POWER7.
34479         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34480         __mpn_sub_n for PowerPC64/POWER7.
34482         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34483         __mpn_addmul_1 for PowerPC64.
34484         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34485         __mpn_submul_1 for PowerPC64.
34486         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34487         for PowerPC64.
34488         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34489         for PowerPC64.
34491 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
34493         [BZ #15089]
34494         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34496 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34498         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34500         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34501         add multiarch folders.
34502         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34503         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34504         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34505         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34506         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34507         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34508         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34509         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34510         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34511         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34512         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34521         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34523         New file.
34524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34525         New file.
34526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34527         multiarch __ieee754_hypot for PowerPC32.
34528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34529         New file.
34530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34531         New file.
34532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34533         multiarch __ieee754_hypotf for PowerPC32.
34535         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34536         long_double_symbol only if __logbl is defined.
34537         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34538         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34539         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34540         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34541         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34542         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34543         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34544         path for implementation.
34545         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34546         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34548         logb, and logbl multiarch implementations for PowerPC32.
34549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34550         file.
34551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34552         file.
34553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34554         multiarch logb for PowerPC32.
34555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34556         file.
34557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34558         file.
34559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34560         multiarch logbf for PowerPC32.
34561         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34563         file.
34564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34565         multiarch logbl implementation for PowerPC32.
34567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34568         and modff multiarch implementations.
34569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34570         New file.
34571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34572         New file.
34573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34574         multiarch modf for PowerPC32.
34575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34576         New file.
34577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34578         New file.
34579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34580         multiarch modff for PowerPC32.
34582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34583         and lrintf multiarch implementations.
34584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34585         New file.
34586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34587         New file.
34588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34589         multiarch lrint for PowerPC32.
34590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34591         file: multiarch lrintf for PowerPC32.
34593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34594         and lroundf multiarch implementations.
34595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34596         New file.
34597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34598         New file.
34599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34600         New file.
34601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34602         multiarch lround for PowerPC32.
34603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34604         file: multiarch lroundf for PowerPC32.
34606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34607         copysign and copysignf multiarch implementations.
34608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34609         New file.
34610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34611         New file.
34612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34613         file: multiarch copysign for PowerPC32.
34614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34615         file: multiarch copysignf for PowerPC32.
34617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34618         and truncf multiarch implementations.
34619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34620         New file.
34621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34622         file.
34623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34624         multiarch trunc for PowerPC32.
34625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34626         New file.
34627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34628         New file.
34629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34630         multiarch truncf for PowerPC32.
34632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
34633         and roundf multiarch implementations.
34634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
34635         New file.
34636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
34637         file.
34638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
34639         multiarch round for PowerPC32.
34640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
34641         New file.
34642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
34643         New file.
34644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
34645         multiarch roundf for PowerPC32.
34647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
34648         and floorf multiarch implementations.
34649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
34650         New file.
34651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34652         file.
34653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34654         multiarch floor for PowerPC32.
34655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34656         New file.
34657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34658         New file.
34659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34660         multiarch floorf for PowerPC32.
34662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34663         and ceilf multiarch implementations.
34664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34665         New file.
34666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34667         file.
34668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34669         multiarch ceil for PowerPC32.
34670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34671         New file.
34672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34673         file.
34674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34675         multiarch ceilf for PowerPC32.
34677         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34678         is defined.
34679         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34680         FINITEF is defined.
34681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34682         and finitef multiarch implementations.
34683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34684         New file.
34685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34686         file.
34687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34688         multiarch finite for PowerPC32.
34689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34690         New file.
34691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34692         file: multiarch finitef for PowerPC32.
34694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34695         and isinff multiarch implementations.
34696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34697         file.
34698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34699         file.
34700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34701         multiarch isinf for PowerPC32.
34702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34703         New file.
34704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34705         multiarch isinff for PowerPC32.
34707         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34708         alias when __isnan is defined.
34709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34710         and isnanf multiarch implementations.
34711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34712         file.
34713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34714         file.
34715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34716         file.
34717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34718         file.
34719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34720         multiarch isnan for PowerPC32.
34721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34722         New file.
34723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34724         New file.
34725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34726         multiarch isnanf for PowerPC32.
34728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34729         and sqrtf multiarch implementations.
34730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34731         file.
34732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34733         file.
34734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34735         multiarch sqrt for PowerPC32.
34736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34737         file.
34738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34739         file.
34740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34741         multiarch sqrtf for PowerPC32.
34743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34744         and llroundf multiarch implementations.
34745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34746         New file.
34747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34748         New file.
34749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34750         New file.
34751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34752         file: multiarch llround for PowerPC32.
34753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34754         file: multiarch llroundf for PowerPC32.
34756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34757         multiarch PowerPC32 fpu implementations.
34758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34759         New file.
34760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34761         New file.
34762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34763         multiarch llrint for PowerPC32.
34764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34765         New file.
34766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34767         New file.
34768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34769         file.
34771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34773         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34774         file.
34775         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34776         file.
34777         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34778         file.
34779         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34780         multiarch wordcopy for PPC32.
34781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34782         wordcopy objects.
34783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34784         (__libc_ifunc_impl_list): Likewise.
34785         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34786         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34787         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34788         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34789         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34790         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34792         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34794         file.
34795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34796         file.
34797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34798         file.
34799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34800         multiarch wcscpy for PPC32.
34801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34802         multiarch objects.
34803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34804         (__libc_ifunc_impl_list): Likewise.
34805         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34806         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34807         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34808         sysdeps/powerpc/power6/wcscpy.c.
34810         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34812         file.
34813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34814         file.
34815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34816         file.
34817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34818         multiarch wcsrchr for PPC32.
34819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34820         multiarch objects.
34821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34822         (__libc_ifunc_impl_list): Likewise.
34823         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34824         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34825         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34826         sysdeps/powerpc/power6/wcsrchr.c.
34828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34829         file.
34830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34831         file.
34832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34834         multiarch wcschr for PPc32.
34835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34836         multiarch objects.
34837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34838         (__libc_ifunc_impl_list): Likewise.
34839         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34840         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34841         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34842         sysdeps/powerpc/power6/wcschr.c.
34844         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34845         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34846         file.
34847         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34848         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34849         file: multiarch strchr for PPC32.
34850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34851         multiarch objects.
34852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34853         (__libc_ifunc_impl_list): Likewise.
34855         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34856         name.
34857         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34858         file.
34859         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34860         file.
34861         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34862         multiarch strchrnul for PPC32.
34863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34864         multiarch objects.
34865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34866         (__libc_ifunc_impl_list): Likewise.
34868         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34869         file.
34870         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34871         multiarch strncasecmp for PPC32.
34872         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34873         file.
34874         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34875         multiarch strncasecmp_l for PPC32.
34876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34877         strncasecmp multiarch objects.
34878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34879         (__libc_ifunc_impl_list): Likewise.
34881         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34882         file.
34883         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34884         multiarch strncasecmp for PPC32.
34885         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34886         New file.
34887         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34888         multiarch strcasecmp_l for PPC32.
34889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34890         multiarch objects.
34891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34892         (__libc_ifunc_impl_list): Likewise.
34894         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34895         file.
34896         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34897         file.
34898         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34899         multiarch strncmp for PPC32.
34900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34901         multiarch objects.
34902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34903         (__libc_ifunc_impl_list): Likewise.
34905         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34906         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34907         file.
34908         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34909         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34911         multiarch objects.
34912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34913         (__libc_ifunc_impl_list): Likewise.
34915         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34916         file.
34917         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34918         file.
34919         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34921         multiarch objects.
34922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34923         (__libc_ifunc_impl_list): Likewise.
34925         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34926         file.
34927         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34928         file.
34929         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34930         multiarch rawmemchr for PPC32.
34931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34932         multiarch objects.
34933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34934         (__libc_ifunc_impl_list): Likewise.
34936         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34937         file.
34938         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34939         file.
34940         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34941         file: memrchr multiarch for PPC32.
34942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34943         multiarch objects.
34944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34945         (__libc_ifunc_impl_list): Likewise.
34947         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34948         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34949         file.
34950         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34951         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34952         multiarch memchr for PPC32.
34953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34954         multiarch objects.
34955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34956         (__libc_ifunc_impl_list): Likewise.
34958         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34959         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34960         file.
34961         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34962         file.
34963         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34964         file: multiarch mempcpy for PPC32.
34965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34966         multiarch objects.
34967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34968         (__libc_ifunc_impl_list): Likewise.
34970         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34971         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34972         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34973         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34974         multiarch bzero for PPC32.
34975         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34976         file.
34977         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34978         file.
34979         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34980         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34981         file: multiarch memset for PPC32.
34982         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34984         memset multiarch objects.
34985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34986         (__libc_ifunc_impl_list): Likewise.
34988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34989         file.
34990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34991         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34992         memcmp for PPC32.
34993         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34995         multiarch objects.
34996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34997         (__libc_ifunc_impl_list): Likewise.
34999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35002         file.
35003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35004         file.
35005         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35006         file.
35007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35008         multiarch memcpy for PPC32.
35009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35010         multiarch objects.
35011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35012         (__libc_ifunc_impl_list): Likewise.
35014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35015         support multiarch for POWER/PPC32.
35016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35017         Likewise.
35018         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35020         Implies file to make multiarch folder appers before the fpu and
35021         default folder for power4 configuration.
35023 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35025         * scripts/bench.pl: Append volatile keyword to type.
35027 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35029         * sysdeps/sh/sotruss-lib.c: New file.
35030         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35032 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35036 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35038         [BZ #6810]
35039         * math/w_tgamma.c: Include <errno.h>.
35040         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35041         * math/w_tgammaf.c: Include <errno.h>.
35042         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35043         * math/w_tgammal.c: Include <errno.h>.
35044         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35045         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35046         underflow.  Add more tgamma tests.
35047         * math/auto-libm-test-out: Regenerated.
35048         * sysdeps/i386/fpu/libm-test-ulps: Update.
35049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35051         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35052         sin, sinh, tan, tanh, tgamma, y0 and y1.
35053         * math/auto-libm-test-out: Regenerated.
35054         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35055         (TEST_COND_x86): Likewise.
35056         (M_E2l): Remove macro.
35057         (M_E3l): Likewise.
35058         (M_2_SQRT_PIl): Likewise.
35059         (M_SQRT_PIl): Likewise.
35060         (M_1_DIV_El): Likewise.
35061         (log_test_data): Use AUTO_TESTS_f_f.
35062         (log10_test_data): Likewise.
35063         (log1p_test_data): Likewise.
35064         (log2_test_data): Likewise.
35065         (sin_test_data): Likewise.
35066         (sin_tonearest_test_data): Likewise.
35067         (sin_towardzero_test_data): Likewise.
35068         (sin_downward_test_data): Likewise.
35069         (sin_upward_test_data): Likewise.
35070         (sinh_test_data): Likewise.
35071         (sinh_tonearest_test_data): Likewise.
35072         (sinh_towardzero_test_data): Likewise.
35073         (sinh_downward_test_data): Likewise.
35074         (sinh_upward_test_data): Likewise.
35075         (tan_test_data): Likewise.
35076         (tan_tonearest_test_data): Likewise.
35077         (tan_towardzero_test_data): Likewise.
35078         (tan_downward_test_data): Likewise.
35079         (tan_upward_test_data): Likewise.
35080         (tanh_test_data): Likewise.
35081         (tgamma_test_data): Likewise.
35082         (y0_test_data): Likewise.
35083         (y1_test_data): Likewise.
35084         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35085         (special_real_inputs): Add pi/4.
35086         * sysdeps/i386/fpu/libm-test-ulps: Update.
35087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35089 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35091         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35092         "longjmp_target" static probes.
35093         (__longjmp): Rename to __longjmp_symbol.
35094         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35095         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35096         on which longjmp to generate.
35097         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35098         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35099         probe.
35100         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35101         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35102         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35103         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35104         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35105         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35107         __longjmp_symbol based on which __longjmp to generate.
35108         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35109         probe.
35110         (setjmp): Rename to setjmp_symbol.
35111         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35112         (_setjmp): Rename to _setjmp_symbol.
35113         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35114         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35115         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35116         which setjmp to generate.
35117         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35118         "longjmp_target" static probes.
35120 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35122         * benchtests/README: Add note about output arguments.
35123         * benchtests/bench-sincos.c: Remove file.
35124         * benchtests/sincos-inputs: New file.
35125         * scripts/bench.pl: Identify output arguments and define
35126         static variables for them.
35128         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35130         [BZ #15941]
35131         * Makefile (INSTALL): Add install-plain.texi as the primary
35132         dependency.
35133         * manual/install-plain.texi: New file.
35134         * manual/install.texi: Include node directive only for
35135         non-plaintext output.
35137 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35139         * stdlib/longlong.h: Update from GCC.
35141         [BZ #6807]
35142         [BZ #15901]
35143         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35144         * math/w_j0f.c (y0f): Likewise.
35145         * math/w_j0l.c (__y0l): Likewise.
35146         * math/w_j1.c (y1): Likewise.
35147         * math/w_j1f.c (y1f): Likewise.
35148         * math/w_j1l.c (__y1l): Likewise
35149         * math/w_jn.c (yn): Likewise.
35150         * math/w_jnf.c (ynf): Likewise.
35151         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35152         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35153         value for Bessel function domain errors outside _SVID_ mode.
35154         Adjust sign of return value for yn (negative integer, 0).
35155         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35156         by zero in return for negative x and set sign appropriately for
35157         negative n.
35158         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35159         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35160         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35161         expectations in error cases.
35162         (y1_test_data): Likewise.
35163         (yn_test_data): Likewise.
35164         * sysdeps/i386/fpu/libm-test-ulps: Update.
35165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35167 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35169         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35170         "64" to "64-v1".  Add "64-v2".
35171         (abi-64-options): Rename to ...
35172         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35173         (abi-64-condition): Rename to ...
35174         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35175         (abi-64-ld-soname): Rename to ...
35176         (abi-64-v1-ld-soname): ... this.
35177         (abi-64-v2-options): Define.
35178         (abi-64-v2-condition): Likewise.
35179         (abi-64-v2-ld-soname): Likewise.
35180         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35181         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35186 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35187             Alan Modra  <amodra@gmail.com>
35189         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35190         New versions for use with the ELFv2 ABI.
35191         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35192         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35193         declaration.
35194         (struct La_ppc64v2_retval): Likewise.
35195         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35196         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35197         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35198         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35199         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35200         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35201         Do not save or restore CR.
35202         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35203         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35204         return values for ELFv2 ABI.  Fix location of FPR return registers.
35205         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35206         updated values for _CALL_ELF == 2.
35207         (La_regs, La_retval, int_retval): Likewise.
35209 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35211         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35212         (FRAME_MIN_SIZE_PARM): Likewise.
35213         (FRAME_BACKCHAIN): Likewise.
35214         (FRAME_CR_SAVE): Likewise.
35215         (FRAME_LR_SAVE): Likewise.
35216         (FRAME_TOC_SAVE): Likewise.
35217         (FRAME_PARM_SAVE): Likewise.
35218         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35219         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35220         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35221         (call_mcount_parm_offset): New macro.
35222         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35223         (PROF): Use symbolic stack frame offsets.
35224         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35225         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35226         Redefine in terms of FRAME_MIN_SIZE.
35227         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35228         (_dl_profile_resolve): Likewise.  Update comment.
35229         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35230         symbols stack frame offsets.
35231         (__sigsetjmp): Likewise.
35232         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35233         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35234         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35235         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35238         (FRAME_BACKCHAIN): Remove.
35239         (FRAME_CR_SAVE): Likewise.
35240         (FRAME_LR_SAVE): Likewise.
35241         (FRAME_COMPILER_DW): Likewise.
35242         (FRAME_LINKER_DW): Likewise.
35243         (FRAME_TOC_SAVE): Likewise.
35244         (FRAME_PARM_SAVE): Likewise.
35245         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35246         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35247         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35249         (CHECK_SP): Use symbolic stack frame offsets.
35250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35251         zone" instead of caller's parameter save area for temp storage.
35252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35253         Likewise.  Also, use symbolic stack frame offsets.
35254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35255         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35256         our own stack frame instead of the caller's.
35257         (__socket): Use symbolic stack frame offsets.
35259 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35260             Alan Modra  <amodra@gmail.com>
35262         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35263         Define.
35264         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35265         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35266         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35267         New function.
35268         (elf_machine_fixup_plt): Call it.
35269         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35270         reloc arguments.
35271         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35272         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35273         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35274         r2 before calling target.
35276 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35277             Alan Modra  <amodra@gmail.com>
35279         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35280         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35281         versions of macros to support ELFv2 ABI.
35282         (LOCALENTRY): New macro.
35283         (ENTRY, EALIGN): Use it.
35284         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35285         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35286         fall through into ENTRY entry point.
35287         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35288         Only define if _CALL_ELF != 2.
35290         (elf_machine_matches_host): Verify ABI version matches.
35291         (RTLD_START): Use LOCALENTRY.
35292         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35293         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35294         (PLT_ENTRY_WORDS): New macro.
35295         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35296         (elf_machine_runtime_setup): Support ELFv2 ABI.
35297         (elf_machine_fixup_plt): Likewise.
35298         (elf_machine_plt_conflict): Likewise.
35299         (resolve_ifunc): Likewise.
35300         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35302         Likewise.
35303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35304         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35306         (makecontext): Support ELFv2 ABI.
35307         * elf/elf.h (EF_PPC64_ABI): Define.
35309 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35311         * sysdeps/powerpc/powerpc64/sysdep.h
35312         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35313         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35314         (ENTRY) [ASSEMBLER]: ... but instead here ...
35315         (EALIGN) [ASSEMBLER]: ... and here.
35316         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35317         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35318         (ENTRY_2) [!ASSEMBLER]: Use it.
35319         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35320         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35321         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35322         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35323         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35325         Use PPC64_LOAD_FUNCPTR.
35327         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35329 2013-12-04  Alan Modra  <amodra@gmail.com>
35331         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35332         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35333         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35334         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35336         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35337         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35338         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35339         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35340         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35341         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35343 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35346         (__makecontext): Fix incorrect CFI when backtracing out of
35347         context created via makecontext.
35348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35349         (__setcontext): Fix incorrect CFI during switch to new context.
35350         (__novec_setcontext): Likewise.
35352 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35354         [BZ #4772]
35355         * time/strptime_l.c (__strptime_internal): Allow modifiers
35356         in strptime.
35357         * time/tst-strptime.c (day_tests): Add testcase.
35359 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35361         * scripts/bench.pl: Skip over blank lines.
35363 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35365         [BZ #926]
35366         * manual/time.texi (Calendar Time): Clarify what timezone functions
35367         use.
35369 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35373 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35375         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35376         implementation.
35377         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35378         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35379         * debug/memset_chk.c (__memset_chk): Likewise.
35380         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35381         * debug/strncpy_chk.c: Likewise.
35383 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35385         [BZ #15268]
35386         [BZ #15425]
35387         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35388         (__ieee754_exp): For possibly underflowing results, check size of
35389         result and force underflow exception if required.
35390         * math/auto-libm-test-in: Add more tests of exp.
35391         * math/auto-libm-test-out: Regenerated.
35392         * sysdeps/i386/fpu/libm-test-ulps: Update.
35393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35395         [BZ #16283]
35396         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35397         * math/w_exp2f.c (__exp2f): Likewise.
35398         * math/w_exp2l.c (__exp2l): Likewise.
35399         * math/auto-libm-test-in: Do not allow missing errno on exp2
35400         underflow.
35401         * math/auto-libm-test-out: Regenerated.
35403 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35405         [BZ #16274]
35406         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35407         handle filename validation.
35408         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35409         (do_open): Delete.
35411 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35413         [BZ #6786]
35414         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35415         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35416         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35417         <float.h>.
35418         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35420         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35421         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35422         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35423         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35424         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35425         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35426         Add more erfc tests.
35427         * math/auto-libm-test-out: Regenerated.
35428         * sysdeps/i386/fpu/libm-test-ulps: Update.
35429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35431         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35432         exp2, expm1, j0 and j1.
35433         * math/auto-libm-test-out: Regenerated.
35434         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35435         (erfc_test_data): Likewise.
35436         (exp_test_data): Likewise.
35437         (exp_tonearest_test_data): Likewise.
35438         (exp_towardzero_test_data): Likewise.
35439         (exp_downward_test_data): Likewise.
35440         (exp_upward_test_data): Likewise.
35441         (exp10_test_data): Likewise.
35442         (exp2_test_data): Likewise.
35443         (expm1_test_data): Likewise.
35444         (j0_test_data): Likewise.
35445         (j1_test_data): Likewise.
35446         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35447         (input_flag_type): Add flag_xfail_rounding.
35448         (input_flags): Add xfail-rounding.
35449         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35450         (output_for_one_input_case): Handle flag_xfail_rounding.
35451         * sysdeps/i386/fpu/libm-test-ulps: Update.
35452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35454 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35456         [BZ #16289]
35457         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35458         division by 0.
35460 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35462         [BZ #16195]
35463         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35464         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35465         (STAP_PROBE0): New macro.
35466         (STAP_PROBE1): Likewise.
35467         (STAP_PROBE2): Likewise.
35468         (STAP_PROBE3): Likewise.
35469         (STAP_PROBE4): Likewise.
35471 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
35473         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35475 2013-12-02  Steve Ellcey  <sellcey@mips.com>
35477         * benchtests/Makefile (bench): Add sqrt.
35478         (LDLIBS-bench-sqrt): New.
35479         * benchtests/sqrt-input: New.
35481 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
35483         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35484         (GAIH_EAI): Likewise.
35485         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35486         (gaih_inet): Likewise.
35487         (getaddrinfo): Don't use GAIH_EAI.
35489         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35490         (struct gaih): Remove definition.
35492 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35494         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35495         Use HERRNOP directly.
35497 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35501 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
35503         * math/gen-auto-libm-tests.c (test_functions): Add more
35504         single-argument functions.
35505         (special_fill_pi_2): New function.
35506         (special_fill_minus_pi_2): Likewise.
35507         (special_fill_pi_6): Likewise.
35508         (special_fill_minus_pi_6): Likewise.
35509         (special_fill_pi_3): Likewise.
35510         (special_fill_2pi_3): Likewise.
35511         (special_fill_e): Likewise.
35512         (special_fill_1_e): Likewise.
35513         (special_fill_e_minus_1): Likewise.
35514         (special_real_inputs): Add more special inputs.
35515         (output_for_one_input_case): Do not require ERANGE on underflow to
35516         zero if round-to-nearest result does not underflow to zero, unless
35517         exact results required.
35518         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35519         atan, atanh, cbrt, cos and cosh.
35520         * math/auto-libm-test-out: Regenerated.
35521         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35522         (acos_tonearest_test_data): Likewise.
35523         (acos_towardzero_test_data): Likewise.
35524         (acos_downward_test_data): Likewise.
35525         (acos_upward_test_data): Likewise.
35526         (acosh_test_data): Likewise.
35527         (asin_test_data): Likewise.
35528         (asin_tonearest_test_data): Likewise.
35529         (asin_towardzero_test_data): Likewise.
35530         (asin_upward_test_data): Likewise.
35531         (asinh_test_data): Likewise.
35532         (atan_test_data): Likewise.
35533         (atanh_test_data): Likewise.
35534         (cbrt_test_data): Likewise.
35535         (cos_test_data): Likewise.
35536         (cos_tonearest_test_data): Likewise.
35537         (cos_towardzero_test_data): Likewise.
35538         (cos_downward_test_data): Likewise.
35539         (cos_upward_test_data): Likewise.
35540         (cosh_test_data): Likewise.
35541         (cosh_tonearest_test_data): Likewise.
35542         (cosh_towardzero_test_data): Likewise.
35543         (cosh_downward_test_data): Likewise.
35544         (cosh_upward_test_data): Likewise.
35545         * sysdeps/i386/fpu/libm-test-ulps: Update.
35546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35548 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35550         [BZ #6787]
35551         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35552         * math/w_exp10f.c (__exp10f): Likewise.
35553         * math/w_exp10l.c (__exp10l): Likewise.
35554         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35555         errno settings in existing tests.
35557         [BZ #14032]
35558         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35559         precision control set to double precision.
35560         * sysdeps/i386/fpu/w_sqrt.c: New file.
35561         * math/auto-libm-test-in: Add more tests.
35562         * math/auto-libm-test-out: Update.
35564         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35565         (sqrt_test_tonearest): New function.
35566         (sqrt_towardzero_test_data): New variable.
35567         (sqrt_test_towardzero): New function.
35568         (sqrt_downward_test_data): New variable.
35569         (sqrt_test_downward): New function.
35570         (sqrt_upward_test_data): New variable.
35571         (sqrt_test_upward): New function.
35572         (main): Call the new functions.
35574         * math/gen-auto-libm-tests.c: New file.
35575         * math/auto-libm-test-in: Likewise.
35576         * math/auto-libm-test-out: New generated file.
35577         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35578         variables.
35579         (%beautify): Add generated representations of zero.
35580         (top level): Set $auto_input and call parse_auto_input.
35581         (beautify): Remove trailing "f" from hex float constants.
35582         (parse_args): Handle XFAIL_TEST.
35583         (convert_condition): New function.
35584         (or_value): Likewise.
35585         (or_cond_value): Likewise.
35586         (generate_testfile): Handle AUTO_TESTS_* lines.
35587         (parse_auto_input): New function.
35588         * math/libm-test.inc (XFAIL_TEST): New macro.
35589         (ERRNO_UNCHANGED): Update value.
35590         (ERRNO_EDOM): Likewise.
35591         (ERRNO_ERANGE): Likewise.
35592         (IGNORE_RESULT): Likewise.
35593         (TEST_COND_flt_32): New macro.
35594         (TEST_COND_dbl_64): Likewise.
35595         (TEST_COND_ldbl_96_intel): Likewise.
35596         (TEST_COND_ldbl_96_m68k): Likewise.
35597         (TEST_COND_ldbl_128): Likewise.
35598         (TEST_COND_ldbl_128ibm): Likewise.
35599         (TEST_COND_long32): Likewise.
35600         (TEST_COND_long64): Likewise.
35601         (TEST_COND_before_rounding): Likewise.
35602         (TEST_COND_after_rounding): Likewise.
35603         (enable_test): Handle XFAIL_TEST flag.
35604         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35605         with finite results.
35606         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35607         auto-libm-test-out.
35609 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35610             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35612         [BZ #16214]
35613         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35614         __tls_get_addr_internal instead of __tls_get_offset in order to
35615         avoid GOT pointer dependency.  Make rtld export
35616         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35617         __tls_get_addr since we are a __tls_get_offset platform.
35618         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35619         GOT pointer being set up before.
35620         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35622 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
35624         * manual/math.texi (Errors in Math Functions): Document accuracy
35625         goals.
35627         [BZ #15004]
35628         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35629         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35630         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35631         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35632         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35633         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35634         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35635         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35636         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35637         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35638         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35639         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35640         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35641         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35642         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35643         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35645         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
35646         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
35647         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
35648         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
35649         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
35650         Likewise.
35651         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35652         Likewise.
35653         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35654         Likewise.
35655         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35656         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35657         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35658         atomic-feupdateenv and flt-rounds.
35659         * sysdeps/powerpc/nofpu/Versions (libc): Add
35660         __atomic_feholdexcept, __atomic_feclearexcept,
35661         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35662         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35663         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35664         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35665         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35666         here.
35667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35668         Update.
35670         * manual/arith.texi (FP Exceptions): Document that exceptions may
35671         not be raised when matherr is used.
35672         (Math Error Reporting): Document overflow in directed rounding
35673         modes.  Document that errno may not be set when finite values are
35674         returned on overflow.  Document intent to set errno on underflow
35675         only for underflow to zero.
35677         [BZ #16271]
35678         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35679         round-to-nearest then adjust result for other rounding modes.
35680         * include/fenv.h (fegetround): Use libm_hidden_proto.
35681         * math/fegetround.c (fegetround): Use libm_hidden_def.
35682         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35683         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35684         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35685         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35686         Likewise.
35687         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35688         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35689         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35690         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35692 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35694         [BZ #16077]
35695         * nss/Versions (libnss_files): Add
35696         _nss_files_gethostbyname3_r.
35697         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35698         New function.
35699         (HOST_DB_LOOKUP): Remove macro.
35700         (_nss_files_gethostbyname_r): Implement function without the
35701         HOST_DB_LOOKUP macro.
35702         (_nss_files_gethostbyname2_r): Likewise.
35704 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35706         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35708 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35710         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35711         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35712         warning.
35714 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35716         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35717         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35718         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35719         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35720         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35721         __fe_nomask_env_priv and attribute_hidden.
35722         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35723         (libc_feupdateenv_test_ppc): Likewise.
35724         (libc_feresetround_ppc): Likewise.
35725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35726         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35727         compat_symbol macro.
35728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35729         (__fe_nomask_env): Likewise.
35730         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35732 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35734         * string/Makefile: Remove ifunc tests.
35735         * string/test-string.h: Define TEST_IFUNC.
35736         * string/test-bcopy-ifunc.c: Remove.
35737         * string/test-bzero-ifunc.c: Likewise.
35738         * string/test-memccpy-ifunc.c: Likewise.
35739         * string/test-memchr-ifunc.c: Likewise.
35740         * string/test-memcmp-ifunc.c: Likewise.
35741         * string/test-memcpy-ifunc.c: Likewise.
35742         * string/test-memmem-ifunc.c: Likewise.
35743         * string/test-memmove-ifunc.c: Likewise.
35744         * string/test-mempcpy-ifunc.c: Likewise.
35745         * string/test-memrchr-ifunc.c: Likewise.
35746         * string/test-memset-ifunc.c: Likewise.
35747         * string/test-rawmemchr-ifunc.c: Likewise.
35748         * string/test-stpcpy-ifunc.c: Likewise.
35749         * string/test-stpncpy-ifunc.c: Likewise.
35750         * string/test-strcasecmp-ifunc.c: Likewise.
35751         * string/test-strcasestr-ifunc.c: Likewise.
35752         * string/test-strcat-ifunc.c: Likewise.
35753         * string/test-strchr-ifunc.c: Likewise.
35754         * string/test-strchrnul-ifunc.c: Likewise.
35755         * string/test-strcmp-ifunc.c: Likewise.
35756         * string/test-strcpy-ifunc.c: Likewise.
35757         * string/test-strcspn-ifunc.c: Likewise.
35758         * string/test-strlen-ifunc.c: Likewise.
35759         * string/test-strncasecmp-ifunc.c: Likewise.
35760         * string/test-strncat-ifunc.c: Likewise.
35761         * string/test-strncmp-ifunc.c: Likewise.
35762         * string/test-strncpy-ifunc.c: Likewise.
35763         * string/test-strnlen-ifunc.c: Likewise.
35764         * string/test-strpbrk-ifunc.c: Likewise.
35765         * string/test-strrchr-ifunc.c: Likewise.
35766         * string/test-strspn-ifunc.c: Likewise.
35767         * string/test-strstr-ifunc.c: Likewise.
35769 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35771         * benchtests/Makefile: Remove ifunc tests.
35772         * benchtests/bench-string.h: Define TEST_IFUNC.
35773         * benchtests/bench-bcopy-ifunc.c: Remove.
35774         * benchtests/bench-bzero-ifunc.c: Likewise.
35775         * benchtests/bench-memccpy-ifunc.c: Likewise.
35776         * benchtests/bench-memchr-ifunc.c: Likewise.
35777         * benchtests/bench-memcmp-ifunc.c: Likewise.
35778         * benchtests/bench-memcpy-ifunc.c: Likewise.
35779         * benchtests/bench-memmem-ifunc.c: Likewise.
35780         * benchtests/bench-memmove-ifunc.c: Likewise.
35781         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35782         * benchtests/bench-memrchr-ifunc.c: Likewise.
35783         * benchtests/bench-memset-ifunc.c: Likewise.
35784         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35785         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35786         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35787         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35788         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35789         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35790         * benchtests/bench-strcat-ifunc.c: Likewise.
35791         * benchtests/bench-strchr-ifunc.c: Likewise.
35792         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35793         * benchtests/bench-strcmp-ifunc.c: Likewise.
35794         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35795         * benchtests/bench-strcpy-ifunc.c: Likewise.
35796         * benchtests/bench-strcspn-ifunc.c: Likewise.
35797         * benchtests/bench-strlen-ifunc.c: Likewise.
35798         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35799         * benchtests/bench-strncat-ifunc.c: Likewise.
35800         * benchtests/bench-strncmp-ifunc.c: Likewise.
35801         * benchtests/bench-strncpy-ifunc.c: Likewise.
35802         * benchtests/bench-strnlen-ifunc.c: Likewise.
35803         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35804         * benchtests/bench-strrchr-ifunc.c: Likewise.
35805         * benchtests/bench-strsep-ifunc.c: Likewise.
35806         * benchtests/bench-strspn-ifunc.c: Likewise.
35807         * benchtests/bench-strstr-ifunc.c: Likewise.
35809 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35811         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35813 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35815         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35816         * rt/aio.h: Likewise.
35817         * sysdeps/gnu/bits/utmp.h: Likewise.
35818         * sysdeps/gnu/bits/utmpx.h: Likewise.
35819         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35820         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35821         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35822         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35823         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35824         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35825         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35826         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35827         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35828         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35829         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35830         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35831         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35833         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35834         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35835         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35836         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35837         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35838         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35839         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35840         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35841         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35842         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35843         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35845         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35846         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35847         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35848         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35849         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35850         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35851         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35852         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35853         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35854         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35855         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35856         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35857         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35858         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35859         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35860         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35862 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35864         [BZ #16245]
35865         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35866         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35868 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35870         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35871         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35872         Likewise.
35874 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35876         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35877         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35878         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35879         (__fesetround): Remove define.
35880         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35881         rounding and exceptions handling.
35882         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35883         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35884         (__fe_nomask_env): Likewise.
35885         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35886         __fegetround instead of fegetround.
35887         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35888         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35890 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35892         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35893         it's there.
35895         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35897 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35899         [BZ #11157]
35900         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35901         (encrypt_r): Likewise.
35902         * malloc/obstack.h (obstack_free): Likewise.
35903         * posix/unistd.h (encrypt): Likewise.
35905 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35907         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35908         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35909         DL_CALL_DT_FINI() that call the functions directly.
35910         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35911         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35912         * elf/dl-fini.c: Likewise.
35914 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35916         * malloc/hooks.c (memalign_check): Add alignment rounding.
35917         * malloc/malloc.c (_mid_memalign): New function.
35918         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35919         Implement by calling _mid_memalign.
35920         * manual/probes.texi (Memory Allocation Probes): Remove
35921         memory_valloc_retry and memory_pvalloc_retry.
35923 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35925         * locale/programs/locarchive.c (open_archive): Add const
35926         qualifier to ARCHIVEFNAME and copy default fname to
35927         DEFAULT_FNAME.
35929         [BZ #15601]
35930         * libio/tst-widetext.input: Rename Oriya to Odia.
35931         * locale/iso-639.def: Likewise.
35933         * manual/probes.texi (Mathematical Function Probes): Add
35934         documentation for sin, cos, asin and acos probes.
35935         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35936         (__sin32): Add slowasin probe.
35937         (__cos32): Add slowacos probe.
35938         (__mpsin): Add slowsin probe.
35939         (__mpcos): Add slowcos probe.
35941 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35943         [BZ #15483]
35944         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35945         thread-local __sim_exceptions_thread and global
35946         __sim_exceptions_global.
35947         (__sim_disabled_exceptions): Change to thread-local
35948         __sim_disabled_exceptions_thread and global
35949         __sim_disabled_exceptions_global.
35950         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35951         and global __sim_round_mode_global.
35952         (__simulate_exceptions): Use thread-local floating-point state and
35953         set global state from it as needed.
35954         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35955         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35956         __sim_round_mode_thread.
35957         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35958         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35959         and global __sim_exceptions_global.
35960         (__sim_disabled_exceptions): Change to thread-local
35961         __sim_disabled_exceptions_thread and global
35962         __sim_disabled_exceptions_global.
35963         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35964         and global __sim_round_mode_global.
35965         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35966         (SIM_SET_GLOBAL): Likewise.
35967         * sysdeps/powerpc/soft-fp/sfp-machine.h
35968         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35969         __sim_round_mode_thread.
35970         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35971         __sim_disabled_exceptions_thread.
35972         (__sim_exceptions): Change to __sim_exceptions_thread.
35973         (__sim_disabled_exceptions): Change to
35974         __sim_disabled_exceptions_thread.
35975         (__sim_round_mode): Change to __sim_round_mode_thread.
35976         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35977         thread-local floating-point state and set global state from it as
35978         needed.
35979         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35980         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35981         (__sim_disabled_exceptions): Remove extern declaration.
35982         (feenableexcept): Use thread-local floating-point state and set
35983         global state from it as needed.
35984         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35985         extern declaration.
35986         (__sim_disabled_exceptions): Likewise.
35987         (__sim_round_mode): Likewise.
35988         (__fegetenv): Use thread-local floating-point state.
35989         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35990         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35991         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35992         floating-point state and set global state from it as needed.
35993         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35994         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35995         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35996         Likewise.
35997         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35998         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35999         Likewise.
36000         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36001         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36002         Use __sim_round_mode_thread.
36003         * math/test-fenv-tls.c: New file.
36004         * math/Makefile (tests): Add test-fenv-tls.
36005         ($(objpfx)test-fenv-tls): Depend on
36006         $(common-objpfx)nptl/libpthread.so.
36008 2013-11-19  Andreas Schwab  <schwab@suse.de>
36010         * locale/programs/locale.c (show_info): Decode wordarray elements.
36011         * locale/categories.def (LC_MONETARY): Add element for
36012         _NL_MONETARY_CRNCYSTR.
36013         * locale/C-monetary.c (conversion_rate): New variable.
36014         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36015         element.
36017 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36019         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36020         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36022 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36024         * elf/Makefile (tst-auxv): New test.
36025         * elf/tst-auxv.c: New
36026         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36028 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36030         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36031         (hidden_proto): Caller changed.
36032         (hidden_tls_proto): New macro.
36033         (libc_hidden_tls_proto): Likewise.
36034         (rtld_hidden_tls_proto): Likewise.
36035         (libm_hidden_tls_proto): Likewise.
36036         (libresolv_hidden_tls_proto): Likewise.
36037         (librt_hidden_tls_proto): Likewise.
36038         (libdl_hidden_tls_proto): Likewise.
36039         (libnss_files_hidden_tls_proto): Likewise.
36040         (libnsl_hidden_tls_proto): Likewise.
36041         (libnss_nisplus_hidden_tls_proto): Likewise.
36042         (libutil_hidden_tls_proto): Likewise.
36044 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36046         [BZ #10253]
36047         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36048         (decompose_rpath): Defer expansion to fillin_rpath.
36049         (_dl_init_paths): Pass linkmap to fillin_rpath.
36051 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36053         * benchtests/Makefile: Add strsep.
36054         * benchtests/bench-strsep.c: New file: strsep benchtest.
36055         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36057 2013-11-18  Andreas Schwab  <schwab@suse.de>
36059         * locale/programs/locale.c (show_info) [case byte]: Check for
36060         '\377' instead of '\177'.
36061         * locale/C-monetary.c (not_available): Always use "\377".
36062         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36063         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36064         detect unavailable sign_posn locale elements.
36065         * locale/localeconv.c (__localeconv): For grouping and
36066         mon_grouping handle "\177" and "\377" like no grouping.
36067         (INT_ELEM): New macro.  Use it to set all numeric members.
36068         * locale/programs/ld-monetary.c (monetary_read)
36069         <tok_mon_grouping>: Normalize single -1 to the empty string.
36070         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36071         Likewise.
36073 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36075         [BZ #16055]
36076         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36077         when we match (nil).
36078         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36080 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36082         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36083         (NO_TEST_INLINE): Update value.
36084         (ERRNO_UNCHANGED): Likewise.
36085         (ERRNO_EDOM): Likewise.
36086         (ERRNO_ERANGE): Likewise.
36087         (IGNORE_RESULT): Likewise.
36088         (check_float_internal): Check signs of NaN results if
36089         TEST_NAN_SIGN used.
36090         (check_complex): Pass TEST_NAN_SIGN flag through to second
36091         check_float_internal call.
36092         (copysign_test_data): Add tests with quiet NaNs as second
36093         argument.  Use TEST_NAN_SIGN.
36094         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36095         TEST_NAN_SIGN.
36096         (signbit_test_data): Add tests of quiet NaN argument.
36097         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36099         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36100         $ignore_result.
36101         (parse_args): Handle function results specified as IGNORE.
36102         * math/libm-test.inc (IGNORE_RESULT): New macro.
36103         (check_float_internal): Do not check numerical result if flag
36104         IGNORE_RESULT set.
36105         (check_complex): Pass through IGNORE_RESULT to second
36106         check_float_internal call.
36107         (check_int): Do not check numerical result if flag IGNORE_RESULT
36108         set.
36109         (check_long): Likewise.
36110         (check_bool): Likewise.
36111         (check_longlong): Likewise.
36112         (lrint_test_data): Add tests of infinite and NaN arguments.
36113         (lrint_tonearest_test_data): Likewise.
36114         (lrint_towardzero_test_data): Likewise.
36115         (lrint_downward_test_data): Likewise.
36116         (lrint_upward_test_data): Likewise.
36117         (llrint_test_data): Likewise.
36118         (llrint_tonearest_test_data): Likewise.
36119         (llrint_towardzero_test_data): Likewise.
36120         (llrint_downward_test_data): Likewise.
36121         (llrint_upward_test_data): Likewise.
36122         (lround_test_data): Likewise.
36123         (llround_test_data): Likewise.
36125         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36126         (ERRNO_UNCHANGED): Update value.
36127         (ERRNO_EDOM): Likewise.
36128         (ERRNO_ERANGE): Likewise.
36129         (NO_TEST_INLINE_FLOAT): New macro.
36130         (NO_TEST_INLINE_DOUBLE): Likewise.
36131         (enable_test): New function.
36132         (RUN_TEST_f_f): Check enable_test before running test.
36133         (RUN_TEST_2_f): Likewise.
36134         (RUN_TEST_fff_f): Likewise.
36135         (RUN_TEST_c_f): Likewise.
36136         (RUN_TEST_f_f1): Likewise.
36137         (RUN_TEST_fF_f1): Likewise.
36138         (RUN_TEST_fI_f1): Likewise.
36139         (RUN_TEST_ffI_f1): Likewise.
36140         (RUN_TEST_c_c): Likewise.
36141         (RUN_TEST_cc_c): Likewise.
36142         (RUN_TEST_f_i): Likewise.
36143         (RUN_TEST_f_i_tg): Likewise.
36144         (RUN_TEST_ff_i_tg): Likewise.
36145         (RUN_TEST_f_b): Likewise.
36146         (RUN_TEST_f_b_tg): Likewise.
36147         (RUN_TEST_f_l): Likewise.
36148         (RUN_TEST_f_L): Likewise.
36149         (RUN_TEST_fFF_11): Likewise.
36150         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36151         conditionals.
36152         (cosh_test_data): Likewise.
36153         (exp_test_data): Likewise.
36154         (expm1_test_data): Likewise.
36155         (hypot_test_data): Likewise.
36156         (pow_test_data): Likewise.
36157         (sinh_test_data): Likewise.
36158         (tanh_test_data): Likewise.
36159         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36160         flags argument.
36162         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36163         tests with quiet NaN input and output.
36164         (acosh_test_data): Likewise.
36165         (asin_test_data): Likewise.
36166         (asinh_test_data): Likewise.
36167         (atan_test_data): Likewise.
36168         (atanh_test_data): Likewise.
36169         (atan2_test_data): Likewise.
36170         (cbrt_test_data): Likewise.
36171         (cos_test_data): Likewise.
36172         (cosh_test_data): Likewise.
36173         (erf_test_data): Likewise.
36174         (erfc_test_data): Likewise.
36175         (exp_test_data): Likewise.
36176         (exp10_test_data): Likewise.
36177         (exp2_test_data): Likewise.
36178         (expm1_test_data): Likewise.
36179         (hypot_test_data): Likewise.
36180         (j0_test_data): Likewise.
36181         (j1_test_data): Likewise.
36182         (jn_test_data): Likewise.
36183         (lgamma_test_data): Likewise.
36184         (log_test_data): Likewise.
36185         (log10_test_data): Likewise.
36186         (log1p_test_data): Likewise.
36187         (log2_test_data): Likewise.
36188         (pow_test_data): Likewise.
36189         (scalb_test_data): Likewise.
36190         (sin_test_data): Likewise.
36191         (sincos_test_data): Likewise.
36192         (sinh_test_data): Likewise.
36193         (tan_test_data): Likewise.
36194         (tanh_test_data): Likewise.
36195         (tgamma_test_data): Likewise.
36196         (y0_test_data): Likewise.
36197         (y1_test_data): Likewise.
36198         (yn_test_data): Likewise.
36200         [BZ #16167]
36201         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36202         argument being NaN and avoid computations with second argument in
36203         that case.
36204         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36205         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36206         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36208 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36210         * locale/iso-639.def: Add Chitwani Tharu (the).
36212 2013-11-14  Andreas Schwab  <schwab@suse.de>
36214         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36215         word instead of empty string.
36217 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36220         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36222         (__fe_nomask_env): Likewise.
36224 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36226         * benchtests/bench-timing.h: Include time.h.
36228 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36230         [BZ #15997]
36231         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36232         to 3.4.0 for x32.
36233         * sysdeps/unix/sysv/linux/configure: Regenerated.
36235 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36237         [BZ #16151]
36238         * stdlib/strtod_l.c (round_and_return): Do not consider
36239         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36240         exponent one less than half the least subnormal exponent.
36241         * stdlib/test-strtod-round-data: Add more tests.
36242         * stdlib/tst-strtod-round.c (tests): Regenerated.
36244 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36246         [BZ #14143]
36247         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36248         (__fe_mask_env): Likewise.
36249         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36250         libm_hidden_proto and add function prototype.
36251         (__fe_mask_env): Add function prototype.
36252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36253         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36255         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36257         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36259 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36261         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36262         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36264 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36266         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36267         of htab_find_slot().
36269 2013-11-11  David S. Miller  <davem@davemloft.net>
36271         [BZ #16150]
36272         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36273         symbol in the non-vis3 case in static builds.
36274         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36275         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36276         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36277         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36279 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36281         [BZ #387]
36282         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36283         it is empty.
36285 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36287         * benchtests/Makefile: Add bench-strtod.
36288         * benchtests/bench-strtod.c: New file: strtod benchtest
36290 2013-11-11  Andreas Schwab  <schwab@suse.de>
36292         [BZ #16153]
36293         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36294         terminating NUL in key length.
36296 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36298         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36299         Add artificial ODP entry for vDSO symbol for PPC64.
36300         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36301         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36303 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36305         [BZ #15374]
36306         * nss/getent.c (services_keys): Recognize services starting with digit.
36308 2013-11-06  David S. Miller  <davem@davemloft.net>
36310         [BZ #15985]
36311         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36312         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36314 2013-11-06  Will Newton  <will.newton@linaro.org>
36316         * manual/memory.texi (Malloc Examples): Remove register
36317         keyword from examples.
36319 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36321         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36323 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36325         [BZ #6981]
36326         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36327         depending on [__GCC_IEC_559 > 0].
36328         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36329         depending on [__GCC_IEC_559_COMPLEX > 0].
36331 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36333         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36334         to iso-639.def.
36336 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36338         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36340 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36342         [BZ #16112]
36343         * malloc/malloc (malloc_info): Do not handle first bin as
36344         special case.
36346 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36348         * locale/iso-639.def: Add Central Nahuatl (nhn).
36350 2013-11-01  Bruno Haible  <bruno@clisp.org>
36352         [BZ #7003]
36353         * manual/math.texi (BSD Random): Specify range upper bound as
36354         in POSIX.
36356 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36358         * locale/iso-639.def: Add Meadow Mari (mhr).
36360 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36362         [BZ #14752], [BZ #15763]
36363         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36364         Validate name.
36365         * rt/tst_shm.c: Add test for escaping directory.
36367 2013-10-31  Andreas Schwab  <schwab@suse.de>
36369         [BZ #15917]
36370         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36371         followed by 'x' as part of digit sequence.
36372         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36374 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36376         [BZ #16037]
36377         * configure.ac: allow GNU Make 4.0 and greater.
36378         * configure: Regenerated.
36380 2013-10-30  Will Newton  <will.newton@linaro.org>
36382         [BZ #16038]
36383         * malloc/hooks.c (memalign_check): Limit alignment to the
36384         maximum representable power of two.
36385         * malloc/malloc.c (__libc_memalign): Likewise.
36386         * malloc/tst-memalign.c (do_test): Add test for very
36387         large alignment values.
36388         * malloc/tst-posix_memalign.c (do_test): Likewise.
36390 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36392         [BZ #11087]
36393         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36394         (munmap_chunk): Likewise.
36395         (mremap_chunk): Likewise.
36397 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36399         [BZ #15799]
36400         * stdlib/div.c (div): Remove obsolete code.
36401         * stdlib/ldiv.c (ldiv): Likewise.
36402         * stdlib/lldiv.c (lldiv): Likewise.
36404 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36406         [BZ #16071]
36407         * nss/nss_files/files-XXX.c (get_contents_ret): New
36408         enumerator.
36409         (get_contents): New function.
36410         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36412 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36414         * configure.in: Moved to ...
36415         * configure.ac: ... here. Change reference to configure.in
36416         to configure.ac.
36417         * sysdeps/arm/preconfigure.ac: ... here.
36418         configure.in to configure.ac.
36419         * sysdeps/gnu/configure.in: Moved to ...
36420         * sysdeps/gnu/configure.ac: ... here.
36421         * sysdeps/i386/configure.in: Moved to ...
36422         * sysdeps/i386/configure.ac: ... here.
36423         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36424         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36425         * sysdeps/mach/configure.in: Moved to ...
36426         * sysdeps/mach/configure.ac: ... here.
36427         * sysdeps/mach/hurd/configure.in: Moved to ...
36428         * sysdeps/mach/hurd/configure.ac: ... here.
36429         * sysdeps/powerpc/configure.in: Moved to ...
36430         * sysdeps/powerpc/configure.ac: ... here.
36431         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36432         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36433         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36434         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36435         * sysdeps/s390/s390-32/configure.in: Moved to ...
36436         * sysdeps/s390/s390-32/configure.ac: ... here.
36437         * sysdeps/s390/s390-64/configure.in: Moved to ...
36438         * sysdeps/s390/s390-64/configure.ac: ... here.
36439         * sysdeps/sh/configure.in: Moved to ...
36440         * sysdeps/sh/configure.ac: ... here.
36441         * sysdeps/sparc/configure.in: Moved to ...
36442         * sysdeps/sparc/configure.ac: ... here.
36443         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36444         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36445         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36446         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36447         * sysdeps/x86_64/configure.in: Moved to ...
36448         * sysdeps/x86_64/configure.ac: ... here.
36449         * sysdeps/x86_64/preconfigure.in: Moved to ...
36450         * sysdeps/x86_64/preconfigure.ac: ... here.
36451         * aclocal.m4: Change reference to configure.in to configure.ac.
36452         * config.h.in: Likewise.
36453         * manual/install.texi: Likewise.
36454         * manual/maint.texi: Likewise.
36455         * Makefile: Likewise.
36456         * malloc/Makefile: Likewise.
36457         * nscd/Makefile: Likewise.
36458         * Makeconfig: Change reference to configure.in and
36459         preconfigure.in to configure.ac and preconfigure.ac
36460         respectively.
36461         * INSTALL: Regenerated.
36462         * configure: Likewise.
36463         * sysdeps/gnu/configure: Likewise.
36464         * sysdeps/i386/configure: Likewise.
36465         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36466         * sysdeps/mach/configure: Likewise.
36467         * sysdeps/mach/hurd/configure: Likewise.
36468         * sysdeps/powerpc/configure: Likewise.
36469         * sysdeps/powerpc/powerpc32/configure: Likewise.
36470         * sysdeps/powerpc/powerpc64/configure: Likewise.
36471         * sysdeps/s390/s390-32/configure: Likewise.
36472         * sysdeps/s390/s390-64/configure: Likewise.
36473         * sysdeps/sh/configure: Likewise.
36474         * sysdeps/sparc/configure: Likewise.
36475         * sysdeps/unix/sysv/linux/configure: Likewise.
36476         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36477         * sysdeps/x86_64/configure: Likewise.
36478         * sysdeps/x86_64/preconfigure: Likewise.
36480 2013-10-29  Andreas Schwab  <schwab@suse.de>
36482         * stdio-common/Makefile (tst-swscanf-ENV): Define.
36484 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36486         * benchtests/pow-inputs: Add new inputs.
36488         * benchtests/exp-inputs: Add new inputs.
36490         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36491         conditional check for return value.
36492         (__cos32): Likewise.
36494 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36496         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36497         to provide a boost for large inputs with word alignment.
36498         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36499         implementation based on optimized PPC64 strcpy.
36500         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36501         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36502         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36503         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36505 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36507         [BZ #2801]
36508         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36510 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36512         [BZ #14876]
36513         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36514         * time/tst-strptime.c (day_tests): Add testcase.
36516 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36518         [BZ #14029]
36519         * manual/pattern.texi: Acknowledge that fnmatch can fail.
36521 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
36523         [BZ #16074]
36524         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36525         MAP_FAILED on error.
36527 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36529         [BZ #16072]
36530         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36531         heap for large requests.
36533 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
36535         [BZ #9954]
36536         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36537         result if the result has no associated interface.
36538         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36539         interface for all 127.X.Y.Z addresses.
36541 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36543         * locale/iso-639.def: Add Ligurian (lij)
36545 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36547         [BZ #15825]
36548         * sunrpc/rpc_main.c: Document rpcgen -5.
36550 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36552         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36554 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36556         [BZ #10278]
36557         * posix/glob.c: Match only directories when trailing slash is present.
36558         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36559         (main): Add testcase.
36561 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36563         [BZ #15670]
36564         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36566 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36568         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36569         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36570         AUTH_DES and cindex for FIPS 140-2.
36571         (DES Encryption): Add cindex FIPS 46-3.
36573         * locale/locarchive.h (struct locarhandle): Add fname.
36574         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36575         if an optional argument was specified to --list-archive,
36576         otherwise NULL.
36577         * locale/programs/locarchive.c (show_archive_content): Take new
36578         argument fname and pass it via ah.fname to open_archive.
36579         * locale/programs/localedef.h: Update decl.
36580         (open_archive): If AH->fname is non-null, open that file
36581         rather than the default file name, and don't ignore ENOENT.
36582         (create_archive): Set AH.fname to NULL.
36583         (delete_locales_from_archive): Likewise.
36584         (add_locales_to_archive): Likewise.
36585         * locale/programs/locfile.c (write_all_categories): Likewise.
36587 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36588             Aldy Hernandez  <aldyh@redhat.com>
36590         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36591         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36592         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36593         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36594         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36595         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36596         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36597         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36598         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36599         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36600         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36601         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36602         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36603         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36604         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36605         Likewise.
36606         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36607         Likewise.
36608         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36609         Likewise.
36610         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36611         Likewise.
36612         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36613         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36614         Likewise.
36615         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36616         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36617         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36618         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36619         Likewise.
36620         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36621         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36622         * sysdeps/powerpc/preconfigure: Likewise.
36623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36624         Likewise.
36625         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36626         Replace contents of file by #include of <fenv_libc.h>.
36627         * sysdeps/powerpc/soft-fp/sfp-machine.h
36628         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36629         and <sys/prctl.h>.
36630         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36631         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36632         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
36633         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
36634         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
36635         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
36636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
36637         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
36638         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
36639         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
36640         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
36641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
36642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36643         Allow copysignl PLT reference to be missing.
36645 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
36646             Joseph Myers  <joseph@codesourcery.com
36648         [BZ #15948]
36649         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
36650         single character.
36651         (add_to_tablewc): Assert sequence of wide characters is nonempty.
36653 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36655         * elf/tst-tls-dlinfo.c: Don't include tls.h.
36656         * elf/tst-tls1.c: Likewise.
36657         * elf/tst-tls10.h: Likewise.
36658         * elf/tst-tls14.c: Likewise.
36659         * elf/tst-tls2.c: Likewise.
36660         * elf/tst-tls3.c: Likewise.
36661         * elf/tst-tls4.c: Likewise.
36662         * elf/tst-tls5.c: Likewise.
36663         * elf/tst-tls6.c: Likewise.
36664         * elf/tst-tls7.c: Likewise.
36665         * elf/tst-tls8.c: Likewise.
36666         * elf/tst-tls9.c: Likewise.
36667         * elf/tst-tlsmod1.c: Likewise.
36668         * elf/tst-tlsmod13.c: Likewise.
36669         * elf/tst-tlsmod13a.c: Likewise.
36670         * elf/tst-tlsmod14a.c: Likewise.
36671         * elf/tst-tlsmod16a.c: Likewise.
36672         * elf/tst-tlsmod16b.c: Likewise.
36673         * elf/tst-tlsmod2.c: Likewise.
36674         * elf/tst-tlsmod3.c: Likewise.
36675         * elf/tst-tlsmod4.c: Likewise.
36676         * elf/tst-tlsmod5.c: Likewise.
36677         * elf/tst-tlsmod6.c: Likewise.
36679 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36681         [BZ #12486]
36682         * malloc/malloc.c: remove checks for statistics.
36684 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36686         [BZ #15277]
36687         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36688         * inet/tst-network.c: Add testcase.
36690 2013-10-17  Andreas Schwab  <schwab@suse.de>
36692         [BZ #15218]
36693         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36694         to determine canonical name.
36696 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36698         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36699         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36700         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36701         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36702         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36703         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36704         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36705         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36706         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36707         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36708         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36709         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36710         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36711         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36712         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36713         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36714         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36715         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36716         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36717         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36718         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36719         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36720         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36721         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36722         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36723         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36724         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36725         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36726         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36727         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36728         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36729         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36730         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36731         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36732         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36733         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36734         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36735         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36736         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36737         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36738         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36739         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36740         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36741         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36742         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36743         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36744         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36745         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36746         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36747         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36748         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36749         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36750         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36751         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36752         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36753         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36754         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36755         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36757 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36759         [BZ #16041]
36760         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36761         make result into a quiet NaN.
36763 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36765         * soft-fp/adddf3.c: Fix horizontal whitespace.
36766         * soft-fp/addsf3.c: Likewise.
36767         * soft-fp/addtf3.c: Likewise.
36768         * soft-fp/divdf3.c: Likewise.
36769         * soft-fp/divsf3.c: Likewise.
36770         * soft-fp/divtf3.c: Likewise.
36771         * soft-fp/double.h: Likewise.
36772         * soft-fp/eqdf2.c: Likewise.
36773         * soft-fp/eqsf2.c: Likewise.
36774         * soft-fp/eqtf2.c: Likewise.
36775         * soft-fp/extenddftf2.c: Likewise.
36776         * soft-fp/extended.h: Likewise.
36777         * soft-fp/extendsfdf2.c: Likewise.
36778         * soft-fp/extendsftf2.c: Likewise.
36779         * soft-fp/extendxftf2.c: Likewise.
36780         * soft-fp/fixdfdi.c: Likewise.
36781         * soft-fp/fixdfsi.c: Likewise.
36782         * soft-fp/fixdfti.c: Likewise.
36783         * soft-fp/fixsfdi.c: Likewise.
36784         * soft-fp/fixsfsi.c: Likewise.
36785         * soft-fp/fixsfti.c: Likewise.
36786         * soft-fp/fixtfdi.c: Likewise.
36787         * soft-fp/fixtfsi.c: Likewise.
36788         * soft-fp/fixtfti.c: Likewise.
36789         * soft-fp/fixunsdfdi.c: Likewise.
36790         * soft-fp/fixunsdfsi.c: Likewise.
36791         * soft-fp/fixunsdfti.c: Likewise.
36792         * soft-fp/fixunssfdi.c: Likewise.
36793         * soft-fp/fixunssfsi.c: Likewise.
36794         * soft-fp/fixunssfti.c: Likewise.
36795         * soft-fp/fixunstfdi.c: Likewise.
36796         * soft-fp/fixunstfsi.c: Likewise.
36797         * soft-fp/fixunstfti.c: Likewise.
36798         * soft-fp/floatdidf.c: Likewise.
36799         * soft-fp/floatdisf.c: Likewise.
36800         * soft-fp/floatditf.c: Likewise.
36801         * soft-fp/floatsidf.c: Likewise.
36802         * soft-fp/floatsisf.c: Likewise.
36803         * soft-fp/floatsitf.c: Likewise.
36804         * soft-fp/floattidf.c: Likewise.
36805         * soft-fp/floattisf.c: Likewise.
36806         * soft-fp/floattitf.c: Likewise.
36807         * soft-fp/floatundidf.c: Likewise.
36808         * soft-fp/floatundisf.c: Likewise.
36809         * soft-fp/floatunditf.c: Likewise.
36810         * soft-fp/floatunsidf.c: Likewise.
36811         * soft-fp/floatunsisf.c: Likewise.
36812         * soft-fp/floatunsitf.c: Likewise.
36813         * soft-fp/floatuntidf.c: Likewise.
36814         * soft-fp/floatuntisf.c: Likewise.
36815         * soft-fp/floatuntitf.c: Likewise.
36816         * soft-fp/fmadf4.c: Likewise.
36817         * soft-fp/fmasf4.c: Likewise.
36818         * soft-fp/fmatf4.c: Likewise.
36819         * soft-fp/gedf2.c: Likewise.
36820         * soft-fp/gesf2.c: Likewise.
36821         * soft-fp/getf2.c: Likewise.
36822         * soft-fp/ledf2.c: Likewise.
36823         * soft-fp/lesf2.c: Likewise.
36824         * soft-fp/letf2.c: Likewise.
36825         * soft-fp/muldf3.c: Likewise.
36826         * soft-fp/mulsf3.c: Likewise.
36827         * soft-fp/multf3.c: Likewise.
36828         * soft-fp/negdf2.c: Likewise.
36829         * soft-fp/negsf2.c: Likewise.
36830         * soft-fp/negtf2.c: Likewise.
36831         * soft-fp/op-1.h: Likewise.
36832         * soft-fp/op-2.h: Likewise.
36833         * soft-fp/op-4.h: Likewise.
36834         * soft-fp/op-8.h: Likewise.
36835         * soft-fp/op-common.h: Likewise.
36836         * soft-fp/quad.h: Likewise.
36837         * soft-fp/single.h: Likewise.
36838         * soft-fp/soft-fp.h: Likewise.
36839         * soft-fp/sqrtdf2.c: Likewise.
36840         * soft-fp/sqrtsf2.c: Likewise.
36841         * soft-fp/sqrttf2.c: Likewise.
36842         * soft-fp/subdf3.c: Likewise.
36843         * soft-fp/subsf3.c: Likewise.
36844         * soft-fp/subtf3.c: Likewise.
36845         * soft-fp/truncdfsf2.c: Likewise.
36846         * soft-fp/trunctfdf2.c: Likewise.
36847         * soft-fp/trunctfsf2.c: Likewise.
36848         * soft-fp/trunctfxf2.c: Likewise.
36849         * soft-fp/unorddf2.c: Likewise.
36850         * soft-fp/unordsf2.c: Likewise.
36851         * soft-fp/unordtf2.c: Likewise.
36853 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36855         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36856         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36858 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36860         * elf/dl-libc.c: Clear initfini list after freeing.
36862 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36864         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36865         * soft-fp/addsf3.c: Likewise.
36866         * soft-fp/addtf3.c: Likewise.
36867         * soft-fp/divdf3.c: Likewise.
36868         * soft-fp/divsf3.c: Likewise.
36869         * soft-fp/divtf3.c: Likewise.
36870         * soft-fp/double.h: Likewise.
36871         * soft-fp/eqdf2.c: Likewise.
36872         * soft-fp/eqsf2.c: Likewise.
36873         * soft-fp/eqtf2.c: Likewise.
36874         * soft-fp/extenddftf2.c: Likewise.
36875         * soft-fp/extended.h: Likewise.
36876         * soft-fp/extendsfdf2.c: Likewise.
36877         * soft-fp/extendsftf2.c: Likewise.
36878         * soft-fp/extendxftf2.c: Likewise.
36879         * soft-fp/fixdfdi.c: Likewise.
36880         * soft-fp/fixdfsi.c: Likewise.
36881         * soft-fp/fixdfti.c: Likewise.
36882         * soft-fp/fixsfdi.c: Likewise.
36883         * soft-fp/fixsfsi.c: Likewise.
36884         * soft-fp/fixsfti.c: Likewise.
36885         * soft-fp/fixtfdi.c: Likewise.
36886         * soft-fp/fixtfsi.c: Likewise.
36887         * soft-fp/fixtfti.c: Likewise.
36888         * soft-fp/fixunsdfdi.c: Likewise.
36889         * soft-fp/fixunsdfsi.c: Likewise.
36890         * soft-fp/fixunsdfti.c: Likewise.
36891         * soft-fp/fixunssfdi.c: Likewise.
36892         * soft-fp/fixunssfsi.c: Likewise.
36893         * soft-fp/fixunssfti.c: Likewise.
36894         * soft-fp/fixunstfdi.c: Likewise.
36895         * soft-fp/fixunstfsi.c: Likewise.
36896         * soft-fp/fixunstfti.c: Likewise.
36897         * soft-fp/floatdidf.c: Likewise.
36898         * soft-fp/floatdisf.c: Likewise.
36899         * soft-fp/floatditf.c: Likewise.
36900         * soft-fp/floatsidf.c: Likewise.
36901         * soft-fp/floatsisf.c: Likewise.
36902         * soft-fp/floatsitf.c: Likewise.
36903         * soft-fp/floattidf.c: Likewise.
36904         * soft-fp/floattisf.c: Likewise.
36905         * soft-fp/floattitf.c: Likewise.
36906         * soft-fp/floatundidf.c: Likewise.
36907         * soft-fp/floatundisf.c: Likewise.
36908         * soft-fp/floatunsidf.c: Likewise.
36909         * soft-fp/floatunsisf.c: Likewise.
36910         * soft-fp/floatuntidf.c: Likewise.
36911         * soft-fp/floatuntisf.c: Likewise.
36912         * soft-fp/floatuntitf.c: Likewise.
36913         * soft-fp/fmadf4.c: Likewise.
36914         * soft-fp/fmasf4.c: Likewise.
36915         * soft-fp/fmatf4.c: Likewise.
36916         * soft-fp/gedf2.c: Likewise.
36917         * soft-fp/gesf2.c: Likewise.
36918         * soft-fp/getf2.c: Likewise.
36919         * soft-fp/ledf2.c: Likewise.
36920         * soft-fp/lesf2.c: Likewise.
36921         * soft-fp/letf2.c: Likewise.
36922         * soft-fp/muldf3.c: Likewise.
36923         * soft-fp/mulsf3.c: Likewise.
36924         * soft-fp/multf3.c: Likewise.
36925         * soft-fp/negdf2.c: Likewise.
36926         * soft-fp/negsf2.c: Likewise.
36927         * soft-fp/negtf2.c: Likewise.
36928         * soft-fp/op-1.h: Likewise.
36929         * soft-fp/op-2.h: Likewise.
36930         * soft-fp/op-4.h: Likewise.
36931         * soft-fp/op-8.h: Likewise.
36932         * soft-fp/op-common.h: Likewise.
36933         * soft-fp/quad.h: Likewise.
36934         * soft-fp/single.h: Likewise.
36935         * soft-fp/soft-fp.h: Likewise.
36936         * soft-fp/sqrtdf2.c: Likewise.
36937         * soft-fp/sqrtsf2.c: Likewise.
36938         * soft-fp/sqrttf2.c: Likewise.
36939         * soft-fp/subdf3.c: Likewise.
36940         * soft-fp/subsf3.c: Likewise.
36941         * soft-fp/subtf3.c: Likewise.
36942         * soft-fp/truncdfsf2.c: Likewise.
36943         * soft-fp/trunctfdf2.c: Likewise.
36944         * soft-fp/trunctfsf2.c: Likewise.
36945         * soft-fp/trunctfxf2.c: Likewise.
36946         * soft-fp/unorddf2.c: Likewise.
36947         * soft-fp/unordsf2.c: Likewise.
36948         * soft-fp/unordtf2.c: Likewise.
36950 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36952         [BZ #15672]
36953         * misc/error.c (error_tail): Fix possible buffer overflow.
36955 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36957         [BZ #13028]
36958         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36959         address.
36961 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36963         [BZ #832]
36964         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36965         testing pipefail option.
36967 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36969         * soft-fp/double.h: Indent preprocessor directives inside #if.
36970         * soft-fp/extended.h: Likewise.
36971         * soft-fp/op-2.h: Likewise.
36972         * soft-fp/op-4.h: Likewise.
36973         * soft-fp/op-common.h: Likewise.
36974         * soft-fp/quad.h: Likewise.
36975         * soft-fp/single.h: Likewise.
36976         * soft-fp/soft-fp.h: Likewise.
36978 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36980         * iconv/iconv_prog.c: Fix typos.
36981         * stdio-common/psiginfo-data.h: Likewise.
36983 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36985         [BZ #15764]
36986         * locale/setlocale.c: Fix typo.
36988 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36990         [BZ #16036]
36991         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36992         signaling NaN arguments.
36993         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36994         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36996         [BZ #14910]
36997         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36998         unordered operands.
36999         * soft-fp/gesf2.c (__gesf2): Likewise.
37000         * soft-fp/getf2.c (__getf2): Likewise.
37001         * soft-fp/ledf2.c (__ledf2): Likewise.
37002         * soft-fp/lesf2.c (__lesf2): Likewise.
37003         * soft-fp/letf2.c (__letf2): Likewise.
37005         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37006         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37007         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37008         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37009         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37010         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37011         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37012         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37013         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37014         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37015         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37016         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37017         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37018         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37019         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37020         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37021         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37022         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37023         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37024         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37025         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37026         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37027         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37028         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37029         * soft-fp/floattidf.c (__floattidf): Likewise.
37030         * soft-fp/floattisf.c (__floattisf): Likewise.
37031         * soft-fp/floattitf.c (__floattitf): Likewise.
37032         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37033         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37034         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37035         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37036         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37037         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37038         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37039         * soft-fp/gesf2.c (__gesf2): Likewise.
37040         * soft-fp/getf2.c (__getf2): Likewise.
37041         * soft-fp/ledf2.c (__ledf2): Likewise.
37042         * soft-fp/lesf2.c (__lesf2): Likewise.
37043         * soft-fp/letf2.c (__letf2): Likewise.
37045         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37046         Undefine and redefine.
37047         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37048         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37049         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37050         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37051         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37052         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37053         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37054         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37055         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37056         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37057         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37058         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37059         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37060         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37061         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37063         [BZ #16032]
37064         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37065         without decrementing exponent if mantissa >= that for the
37066         denominator, not >.
37067         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37068         denominator, not >.  Decrement exponent in < case instead of
37069         incrementing in >= case.
37070         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37071         without decrementing exponent if mantissa >= that for the
37072         denominator, not >.
37074         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37075         computing saturated result for unsigned overflow.
37077 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37078             Jeff Law  <law@redhat.com>
37080         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37081         (atan2Mp): Add systemtap probe marker.
37082         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37083         (__ieee754_log): Add systemtap probe marker.
37084         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37085         (atanMp): Add systemtap probe marker.
37086         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37087         (tanMp): Add systemtap probe marker.
37088         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37089         (__slowexp): Add systemtap probe marker.
37090         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37091         (__slowpow): Add systemtap probe marker.
37092         * manual/probes.texi: Document probes.
37094 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37096         [BZ #15362]
37097         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37098         written.
37099         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37100         written.
37101         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37102         written to buffer but not flushed.
37103         * libio/iofwrite_u.c:  Likewise.
37104         * libio/iopadn.c:  Return bytes returned even if EOF was
37105         encountered.
37106         * libio/iowpadn.c:  Likewise.
37107         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37108         if _IO_padn does not write the whole buffer.
37109         [!COMPILE_WPRINTF] (PAD): Likewise.
37111 2013-10-10  David S. Miller  <davem@davemloft.net>
37113         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37114         directory block.
37116 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37118         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37119         instead of FSF address.
37120         * soft-fp/fixdfti.c: Likewise.
37121         * soft-fp/fixsfti.c: Likewise.
37122         * soft-fp/fixtfti.c: Likewise.
37123         * soft-fp/fixunsdfti.c: Likewise.
37124         * soft-fp/fixunssfti.c: Likewise.
37125         * soft-fp/fixunstfti.c: Likewise.
37126         * soft-fp/floattidf.c: Likewise.
37127         * soft-fp/floattisf.c: Likewise.
37128         * soft-fp/floattitf.c: Likewise.
37129         * soft-fp/floatuntidf.c: Likewise.
37130         * soft-fp/floatuntisf.c: Likewise.
37131         * soft-fp/floatuntitf.c: Likewise.
37132         * soft-fp/trunctfxf2.c: Likewise.
37134         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37135         * soft-fp/fixdfti.c: Likewise.
37136         * soft-fp/fixsfti.c: Likewise.
37137         * soft-fp/fixtfti.c: Likewise.
37138         * soft-fp/fixunsdfti.c: Likewise.
37139         * soft-fp/fixunssfti.c: Likewise.
37140         * soft-fp/fixunstfti.c: Likewise.
37141         * soft-fp/floattidf.c: Likewise.
37142         * soft-fp/floattisf.c: Likewise.
37143         * soft-fp/floattitf.c: Likewise.
37144         * soft-fp/floatuntidf.c: Likewise.
37145         * soft-fp/floatuntisf.c: Likewise.
37146         * soft-fp/floatuntitf.c: Likewise.
37147         * soft-fp/trunctfxf2.c: Likewise.
37149 2013-10-10  David S. Miller  <davem@davemloft.net>
37151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37153 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37155         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37156         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37157         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37158         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37159         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37160         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37161         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37163         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37164         for NaNs before doing comparisons on argument.
37165         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37166         Likewise.
37168 2013-10-10  Will Newton  <will.newton@linaro.org>
37170         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37171         passed to _int_memalign does not overflow.
37173 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37175         * scripts/bench.pl: Add include-sources directive.
37176         * benchtests/README: Update documentation.
37178 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37180         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37181         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37182         instead of FP_INIT_ROUNDMODE.
37183         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37184         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37186         [BZ #16034]
37187         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37188         copy class of input value.
37189         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37190         not handle exceptions.
37191         * soft-fp/negsf2.c (__negsf2): Likewise.
37192         * soft-fp/negtf2.c (__negtf2): Likewise.
37193         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37195 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37197         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37198         semicolon.  From Linux kernel.
37200 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37202         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37204 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37206         [BZ #156]
37207         * manual/socket.texi: Added statement about buffer
37208         for gethostbyname2_r.
37210 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37212         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37213         Use .p2align directive instead, throughout.
37214         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37215         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37216         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37217         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37218         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37219         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37220         * sysdeps/x86_64/strchr.S: Likewise.
37221         * sysdeps/x86_64/strrchr.S: Likewise.
37223 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37225         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37227         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37229         * sysdeps/generic/math_private.h (__mpsin1): Remove
37230         declaration.
37231         (__mpcos1): Likewise.
37232         (__mpsin): New argument __range_reduce.
37233         (__mpcos): Likewise.
37234         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37235         (slow): Use __mpsin and __mpcos.
37236         (slow1): Likewise.
37237         (slow2): Likewise.
37238         (sloww): Likewise.
37239         (sloww1): Likewise.
37240         (sloww2): Likewise.
37241         (bsloww): Likewise.
37242         (bsloww1): Likewise.
37243         (bsloww2): Likewise.
37244         (cslow2): Likewise.
37245         (csloww): Likewise.
37246         (csloww1): Likewise.
37247         (csloww2): Likewise.
37248         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37249         range_reduce.  Merge in __mpsin1.
37250         (__mpcos): Likewise.
37251         (__mpsin1): Remove.
37252         (__mpcos1): Likewise.
37254 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37256         * locale/loadlocale.c (_nl_intern_locale_data): Use
37257         LOCFILE_ALIGNED_P.
37258         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37259         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37260         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37261         obstack data is appropriately aligned.
37262         (obstack_int32_grow_fast): Likewise.
37263         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37264         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37265         (add_locale_uint32_array): Likewise.
37267 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37269         * benchtests/Makefile: Remove ARGLIST and RET variables.
37270         ($(objpfx)bench-%.c): Pass only function name to the script.
37271         * benchtests/README: Update documentation.
37272         * benchtests/acos-inputs: Add new directives.
37273         * benchtests/acosh-inputs: Likewise.
37274         * benchtests/asin-inputs: Likewise.
37275         * benchtests/asinh-inputs: Likewise.
37276         * benchtests/atan-inputs: Likewise.
37277         * benchtests/atanh-inputs: Likewise.
37278         * benchtests/cos-inputs: Likewise.
37279         * benchtests/cosh-inputs: Likewise.
37280         * benchtests/exp-inputs: Likewise.
37281         * benchtests/log-inputs: Likewise.
37282         * benchtests/pow-inputs: Likewise.
37283         * benchtests/rint-inputs: Likewise.
37284         * benchtests/sin-inputs: Likewise.
37285         * benchtests/sinh-inputs: Likewise.
37286         * benchtests/tan-inputs: Likewise.
37287         * benchtests/tanh-inputs: Likewise.
37288         * scripts/bench.pl: Add support for new directives.
37290 2013-10-07  Alan Modra  <amodra@gmail.com>
37292         * README: Fix careless merge.
37294 2013-10-05  Alan Modra  <amodra@gmail.com>
37296         * NEWS: Mention powerpc64le support and bugs fixed.
37297         * README: Both big-endian and little-endian powerpc64 supported.
37299 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37301         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37302         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37303         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37304         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37306 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37308         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37309         match prototype.
37311 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37313         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37314         Move -mhard-float appending from
37315         ports/sysdeps/powerpc/powerpc32/Makefile.
37316         [$(with-fp) = yes] (ASFLAGS): Likewise.
37317         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37318         * sysdeps/powerpc/nofpu: Move directory from
37319         ports/sysdeps/powerpc/nofpu.
37320         * sysdeps/powerpc/soft-fp: Move directory from
37321         ports/sysdeps/powerpc/soft-fp.
37322         * sysdeps/powerpc/powerpc32/405: Move directory from
37323         ports/sysdeps/powerpc/powerpc32/405.
37324         * sysdeps/powerpc/powerpc32/440: Move directory from
37325         ports/sysdeps/powerpc/powerpc32/440.
37326         * sysdeps/powerpc/powerpc32/464: Move directory from
37327         ports/sysdeps/powerpc/powerpc32/464.
37328         * sysdeps/powerpc/powerpc32/476: Move directory from
37329         ports/sysdeps/powerpc/powerpc32/476.
37330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37331         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37333         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37335         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37337         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37339         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37340         * README: Update for powerpc-*-linux-gnu software floating point
37341         support in libc.
37343         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37344         case to powerpc/powerpc32*.
37345         * sysdeps/unix/sysv/linux/configure: Regenerated.
37347         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37348         (_FPU_MASK_OM): Define as 0x04.
37349         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37351         0x00c10080.
37352         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37353         0x0000003c.
37354         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37357         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37358         getcontext_e500.
37359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37360         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37361         setcontext_e500.
37362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37363         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37364         and setcontext_e500.
37366 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37368         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37370 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37372         * manual/threads.texi (Default Thread Attributes): Fix typo.
37374 2013-10-04  Will Newton  <will.newton@linaro.org>
37376         * malloc/Makefile: Add tst-memalign.
37377         * malloc/tst-memalign.c: New file.
37379         * malloc/tst-posix_memalign.c: Add comments.
37380         (do_test): Add comments and call free on all potentially
37381         allocated pointers. Add space after cast.
37383         * malloc/tst-pvalloc.c: Add comments.
37384         (do_test): Add comments and call free on all potentially
37385         allocated pointers. Remove duplicate check for NULL pointer.
37386         Add space after cast.
37388         * malloc/tst-valloc.c: Add comments.
37389         (do_test): Add comments and call free on all potentially
37390         allocated pointers. Remove duplicate check for NULL pointer.
37391         Add space after cast.
37393 2013-10-04  Alan Modra  <amodra@gmail.com>
37395         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37396         Use stdint types in rather than __attribute__((mode())).
37397         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37399 2013-10-04  Alan Modra  <amodra@gmail.com>
37401         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37402         Correct handling of unaligned relocs for little-endian.
37403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37405 2013-10-04  Alan Modra  <amodra@gmail.com>
37407         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37408         * configure: Regenerate.
37409         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37410         * shlib-versions: Likewise.
37412 2013-10-04  Alan Modra  <amodra@gmail.com>
37414         * string/tester.c (test_memrchr): Increment reported test cycle.
37416 2013-10-04  Alan Modra  <amodra@gmail.com>
37418         * string/test-memcpy.c (do_one_test): When reporting errors, print
37419         string address and don't overrun end of string.
37421 2013-10-04  Alan Modra  <amodra@gmail.com>
37423         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37424         insrdi.  Make better use of reg selection to speed exit slightly.
37425         Schedule entry path a little better.  Remove useless "are we done"
37426         checks on entry to main loop.  Handle wrapping around zero address.
37427         Correct main loop count.  Handle single left-over word from main
37428         loop inline rather than by using loop_small.  Remove extra word
37429         case in loop_small caused by wrong loop count.  Add little-endian
37430         support.
37431         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37432         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37433         cache hint.
37434         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37435         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37436         support.  Avoid rlwimi.
37437         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37439 2013-10-04  Alan Modra  <amodra@gmail.com>
37441         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37442         insrdi.  Formatting.
37443         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37444         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37445         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37446         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37447         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37448         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37450 2013-10-04  Alan Modra  <amodra@gmail.com>
37452         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37453         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37454         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37455         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37456         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37457         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37458         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37459         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37460         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37461         use of regs.  Use power7 mtocrf.  Tidy function tails.
37463 2013-10-04  Alan Modra  <amodra@gmail.com>
37465         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37466         Formatting.  Consistently use rXXX register defines or rN defines.
37467         Use early exit labels that avoid restoring unused non-volatile regs.
37468         Make cr field use more consistent with rWORDn compares.  Rename
37469         regs used as shift registers for unaligned loop, using rN defines
37470         for short lifetime/multiple use regs.
37471         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
37473         addi 1,1,64 to pop stack frame.  Simplify return value code.
37474         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37476 2013-10-04  Alan Modra  <amodra@gmail.com>
37478         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37479         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
37480         rather than rlwimi.
37481         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37482         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37483         little-endian support.  Correct typos.
37484         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
37485         rather than rlwimi.
37486         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
37487         in loop and entry code to keep "and." results.
37488         (strchr): Add little-endian support.  Comment.  Move cntlzd
37489         earlier in tail.
37490         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37492 2013-10-04  Alan Modra  <amodra@gmail.com>
37494         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37495         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37496         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37497         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37499 2013-10-04  Alan Modra  <amodra@gmail.com>
37501         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37502         (rTMP): Define as r11.
37503         (strcmp): Add little-endian support.  Optimise tail.
37504         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37505         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37506         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37507         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37508         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37509         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37510         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37512 2013-10-04  Alan Modra  <amodra@gmail.com>
37514         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37515         little-endian support.  Remove unnecessary "are we done" tests.
37516         Handle "s" wrapping around zero and extremely large "size".
37517         Correct main loop count.  Handle single left-over word from main
37518         loop inline rather than by using small_loop.  Correct comments.
37519         Delete "zero" tail, use "end_max" instead.
37520         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37522 2013-10-04  Alan Modra  <amodra@gmail.com>
37524         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37525         support.  Don't branch over align.
37526         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37527         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37528         support.  Rearrange tmp reg use to suit.  Comment.
37529         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37531 2013-10-04  Alan Modra  <amodra@gmail.com>
37533         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37535 2013-10-04  Alan Modra  <amodra@gmail.com>
37537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37538         conditional form of branch and link when obtaining pc.
37539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37541 2013-10-04  Alan Modra  <amodra@gmail.com>
37543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37544         HIWORD/LOWORD.
37545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37548 2013-10-04  Alan Modra  <amodra@gmail.com>
37550         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37551         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37552         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37553         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37554         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37555         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37556         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37557         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37558         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37559         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37561 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37562             Alistair Popple <alistair@ozlabs.au.ibm.com>
37563             Alan Modra <amodra@gmail.com>
37565         [BZ #15723]
37566         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37567         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37568         _dl_hwcap access for little-endian.
37569         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37570         destroy vmx regs when saving unaligned.
37571         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37572         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37573         destroy vmx regs when saving unaligned.
37575 2013-10-04  Alan Modra  <amodra@gmail.com>
37577         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37578         Don't use a union to pack hi/low value.
37580 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37582         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37583         for little-endian.
37584         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37585         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37586         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37587         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37588         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37590 2013-10-04  Alan Modra  <amodra@gmail.com>
37592         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37593         constants to usual value for .cst8 section, and remove redundant
37594         high address load.
37595         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37596         constant for 0x1p52.  Load little-endian words of double from
37597         correct stack offsets.
37599 2013-10-04  Alan Modra  <amodra@gmail.com>
37601         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37602         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37603         words of double from correct stack offsets.
37604         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37605         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37606         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37607         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37608         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37609         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37610         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37611         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37612         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37613         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37614         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37615         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37616         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37617         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37618         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37619         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37620         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37622 2013-10-04  Alan Modra  <amodra@gmail.com>
37624         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37625         64-bit int/double union.
37626         (_FPU_SETCW): Likewise.
37627         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37628         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37630 2013-10-04  Alan Modra  <amodra@gmail.com>
37632         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
37633         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37635 2013-10-04  Alan Modra  <amodra@gmail.com>
37637         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
37638         use vector int constants.
37639         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
37641 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37643         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
37644         array with long long.
37645         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
37646         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
37647         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
37648         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
37649         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
37650         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37651         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37652         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37653         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37654         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37655         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37656         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37657         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37659 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37661         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37662         (__signbit): Likewise.  Correct for little-endian.
37663         (__signbitl): Call __signbit.
37664         (lrint): Correct for little-endian.
37665         (lrintf): Call lrint.
37667 2013-10-04  Alan Modra  <amodra@gmail.com>
37669         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37670         union 32-bit int array member with 64-bit int array.
37671         (t515, tm256): Double rather than long double.
37672         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37674 2013-10-04  Alan Modra  <amodra@gmail.com>
37676         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37677         Delete.
37678         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37679         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37680         version of math_ldbl.h.
37682 2013-10-04  Alan Modra  <amodra@gmail.com>
37684         [BZ #15734], [BZ #15735]
37685         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37686         all uses of ieee875 long double macros and unions.  Simplify test
37687         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37688         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37689         normalize after ldbl_extract_mantissa, and don't add hidden bit
37690         already handled.  Don't treat low word of ieee854 mantissa like
37691         low word of IBM long double and mask off bit when testing for
37692         zero.
37693         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37694         all uses of ieee875 long double macros and unions.  Simplify tests
37695         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37696         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37697         two1022, instead use their values.  Recognise that tests for large
37698         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37699         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37700         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37701         test for 0.0L and nan.  Correct negation.
37702         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37703         ieee875 long double macros and unions.  Correct output for large
37704         magnitude x.  Correct absolute value calculation.
37705         (__erfcl): Likewise.
37706         * math/libm-test.inc: Add tests for errors discovered in IBM long
37707         double versions of fmodl, remainderl, erfl and erfcl.
37709 2013-10-04  Alan Modra  <amodra@gmail.com>
37711         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37712         all uses of ieee854 long double macros and unions.  Simplify tests
37713         for long doubles that are fully specified by the high double.
37714         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37715         Likewise.
37716         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37717         Remove dead code too.
37718         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37719         (__ieee754_ynl): Likewise.
37720         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37721         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37722         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37723         Remove dead code too.
37724         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37725         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37726         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37727         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37728         Simplify.
37729         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37730         Simplify.
37731         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37732         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37733         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37734         Comment on variable precision.
37735         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37736         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37737         Likewise.
37738         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37739         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37740         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37741         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37742         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37744 2013-10-04  Alan Modra  <amodra@gmail.com>
37746         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37747         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37748         all uses of ieee854 long double macros and unions.
37749         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37750         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37751         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37752         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37753         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37755         Likewise.
37756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37757         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37758         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37759         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37760         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37762         Simplify sign and nan test too.
37763         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37764         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37765         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37766         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37767         Likewise.
37768         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37769         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37770         Likewise.
37771         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37772         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37773         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37774         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37775         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37776         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37778 2013-10-04  Alan Modra  <amodra@gmail.com>
37780         * stdio-common/printf_size.c (__printf_size): Don't use
37781         union ieee854_long_double in fpnum union.
37782         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37783         signbit macro to retrieve sign from long double.
37784         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37785         retrieve sign from long double.
37786         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37787         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37788         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37789         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37790         * math/test-misc.c (main): Don't use union ieee854_long_double.
37792 2013-10-04  Alan Modra  <amodra@gmail.com>
37794         [BZ #15680]
37795         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37796         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37797         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37798         calculation.  Remove unnecessary test for denormal exponent.
37799         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37800         Correct handling of denormals.  Avoid undefined shift behaviour.
37801         Correct normalisation of low mantissa when low double is denormal.
37802         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37803         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37804         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37805         Correct normalisation of low mantissa.  Test for overflow of high
37806         mantissa and normalise.
37807         (ldbl_nearbyint): Use more readable constant for two52.
37808         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37809         (__mpn_construct_long_double): Fix test for overflow of high
37810         mantissa and correct normalisation.  Avoid undefined shift.
37812 2013-10-04  Alan Modra  <amodra@gmail.com>
37814         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37815         (union ibm_extended_long_double): Define as an array of ieee754_double.
37816         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37817         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37818         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37819         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37820         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37821         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37822         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37823         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37824         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37825         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37826         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37828 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37830         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37831         page size instead of calling getpagesize.
37833         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37834         (LOCFILE_ALIGN_MASK): Likewise.
37835         (LOCFILE_ALIGN_UP): Likewise.
37836         (LOCFILE_ALIGNED_P): Likewise.
37837         * locale/programs/ld-collate.c (collate_output): Use the new
37838         macros instead of __alignof__ (int32_t).
37839         * locale/weight.h (findidx): Likewise.
37841 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37843         [BZ #431]
37844         * manual/string.texi: Fix strncat and wcsncat.
37846 2013-10-03  Brooks Moses  <bmoses@google.com>
37848         [BZ #15915]
37849         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37850         * Makerules: ...here, and adjust associated comments.
37852 2013-10-02  Will Newton  <will.newton@linaro.org>
37854         * malloc/Makefile: Add tst-pvalloc.
37855         * malloc/tst-pvalloc.c: New file.
37857 2013-10-02  Will Newton  <will.newton@linaro.org>
37859         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37860         improve test coverage.
37862 2013-10-02  Will Newton  <will.newton@linaro.org>
37864         * malloc/Makefile: Add tst-posix_memalign.
37865         * malloc/tst-posix_memalign.c: New file.
37867 2013-10-01  Eric Blake  <eblake@redhat.com>
37869         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37870         Use __THROWNL rather than __THROW on static functions.
37872 2013-09-30  Petr Machata  <pmachata@redhat.com>
37874         * elf/elf.h (R_AARCH64_ABS16): New macro.
37875         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37876         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37877         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37878         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37879         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37880         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37881         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37882         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37883         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37884         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37885         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37886         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37887         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37888         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37889         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37890         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37891         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37892         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37893         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37894         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37895         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37896         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37897         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37898         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37899         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37900         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37901         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37902         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37903         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37904         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37905         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37906         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37907         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37908         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37909         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37910         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37911         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37912         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37913         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37914         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37915         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37916         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37917         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37918         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37919         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37920         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37921         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37922         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37923         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37924         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37925         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37926         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37927         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37928         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37929         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37930         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37931         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37932         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37933         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37934         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37935         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37936         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37937         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37938         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37939         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37940         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37941         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37942         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37943         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37944         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37945         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37946         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37947         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37948         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37949         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37950         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37951         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37952         (R_AARCH64_TLSDESC_LDR): Likewise.
37953         (R_AARCH64_TLSDESC_ADD): Likewise.
37954         (R_AARCH64_TLSDESC_CALL): Likewise.
37956 2013-09-30  Andreas Schwab  <schwab@suse.de>
37958         [BZ #15048]
37959         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37960         the nss database lookup.
37961         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37962         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37964 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37966         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37968 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37970         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37971         ${Bash-specific parameter/pattern/string} parameter expansion.
37972         * sysdeps/unix/make-syscalls.sh: Likewise.
37974 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37976         * sysdeps/sh/stackguard-macros.h: New file.
37978 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37982         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37983         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37984         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37985         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37987 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37989         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37990         Fix thread ID register.
37992 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37994         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37995         [POSIX || UNIX98]: Require rather than permitting all symbols from
37996         <time.h>.
37997         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37998         element of struct sched_param.
37999         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38000         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38001         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38002         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38003         constant.
38005 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38007         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38008         argument calculation.
38010 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38012         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38013         Expect macro.
38014         [POSIX] (pthread_attr_t): Do not require type.
38015         [POSIX] (pthread_cond_t): Likewise.
38016         [POSIX] (pthread_condattr_t): Likewise.
38017         [POSIX] (pthread_key_t): Likewise.
38018         [POSIX] (pthread_mutex_t): Likewise.
38019         [POSIX] (pthread_mutexattr_t): Likewise.
38020         [POSIX] (pthread_once_t): Likewise.
38021         [POSIX] (pthread_t): Likewise.
38022         [POSIX-based standards] (pthread_atfork): Expect function.
38024 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38025             Richard Sandiford  <richard@codesourcery.com>
38027         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38028         (swap_endianness_p): New extern variable.
38029         (set_big_endian): New inline function.
38030         (maybe_swap_uint32): Likewise.
38031         (maybe_swap_uint32_array): Likewise.
38032         (maybe_swap_uint32_obstack): Likewise.
38033         * locale/programs/locfile.c: Include <stdbool.h>.
38034         (swap_endianness_p): New variable.
38035         (add_locale_uint32): Call maybe_swap_uint32.
38036         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38037         (write_locale_data): Call maybe_swap_uint32_array.
38038         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38039         maybe_swap_uint32.
38040         (obstack_int32_grow_fast): Likewise.
38041         (output_weightwc): Call maybe_swap_uint32_obstack.
38042         (collate_output): Likewise.
38043         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38044         (OPT_LITTLE_ENDIAN): Likewise.
38045         (options): Add --little-endian and --big-endian options.
38046         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38047         * locale/programs/locarchive.c: Include "locfile.h".
38048         (GET): New macro.
38049         (SET): Likewise.
38050         (INC): Likewise.
38051         (create_archive): Use the new macros to access fields of
38052         structures directly mapped from or written to locale archives.
38053         (oldlocrecentcmp): Likewise.
38054         (enlarge_archive): Likewise.
38055         (insert_name): Likewise.
38056         (add_alias): Likewise.
38057         (add_locale): Likewise.
38058         (delete_locales_from_archive): Likewise.
38059         (show_archive_content): Likewise.
38060         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38061         locale data.
38063 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38065         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38066         http://www.gnu.org/doc/freemanuals.texi.
38067         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38069 2013-09-24  Will Newton  <will.newton@linaro.org>
38071         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38072         macro.
38074 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38076         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38077         unsigned char.
38079 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38081         * manual/threads.texi (POSIX Threads): Fix a typo.
38083 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38085         [BZ #14547]
38086         * string/tst-strcoll-overflow.c: New test case.
38087         * string/Makefile (xtests): Add tst-strcoll-overflow.
38088         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38089         cache if string sizes may cause integer overflow.
38091         [BZ #14547]
38092         * string/strcoll_l.c (coll_seq): New members rule, idx,
38093         save_idx and back_us.
38094         (get_next_seq_nocache): New function.
38095         (do_compare_nocache): New function.
38096         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38097         when malloc fails.
38099 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38101         [BZ #15754]
38102         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38103         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38104         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38106         [BZ #15754]
38107         * elf/Makefile (tests): Add tst-ptrguard1.
38108         (tests-static): Add tst-ptrguard1-static.
38109         (tst-ptrguard1-ARGS): Define.
38110         (tst-ptrguard1-static-ARGS): Define.
38111         * elf/tst-ptrguard1.c: New file.
38112         * elf/tst-ptrguard1-static.c: New file.
38113         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38114         * sysdeps/i386/stackguard-macros.h: Likewise.
38115         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38116         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38117         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38118         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38119         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38120         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38122 2013-09-23  Hector Marco  <hecmargi@upv.es>
38123             Ismael Ripoll  <iripoll@disca.upv.es>
38124             Carlos O'Donell  <carlos@redhat.com>
38126         [BZ #15754]
38127         * sysdeps/generic/stackguard-macros.h: Define
38128         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38129         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38130         Define __pointer_chk_guard_local.
38131         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38132         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38134 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38136         [BZ #15859]
38137         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38139 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38141         * include/string.h (__ffs): Declare as hidden.
38142         * string/ffs.c (__ffs): Define as hidden.
38143         * sysdeps/i386/ffs.c (__ffs): Likewise.
38144         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38145         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38146         * sysdeps/s390/ffs.c (__ffs): Likewise.
38147         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38149 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38151         * NEWS: Mention malloc probes.
38153         * malloc/arena.c (new_heap): New memory_heap_new probe.
38154         (grow_heap): New memory_heap_more probe.
38155         (shrink_heap): New memory_heap_less probe.
38156         (heap_trim): New memory_heap_free probe.
38157         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38158         (systrim): New memory_sbrk_less probe.
38159         * manual/probes.texi: Document them.
38161         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38162         * manual/probes.texi: Document it.
38164         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38165         (__libc_realloc): Add memory_realloc_retry probe.
38166         (__libc_memalign): Add memory_memalign_retry probe.
38167         (__libc_valloc): Add memory_valloc_retry probe.
38168         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38169         (__libc_calloc): Add memory_calloc_retry probe.
38170         * manual/probes.texi: Document them.
38172         * malloc/arena.c (get_free_list): Add probe
38173         memory_arena_reuse_free_list.
38174         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38175         and memory_arena_reuse.
38176         (arena_get2) [!PER_THREAD]: Likewise.
38177         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38178         memory_arena_reuse_realloc.
38179         * manual/probes.texi: Document them.
38181         * malloc/malloc.c (__libc_free): Add
38182         memory_mallopt_free_dyn_thresholds probe.
38183         (__libc_mallopt): Add multiple memory_mallopt probes.
38184         * manual/probes.texi: Document them.
38186         * malloc/malloc.c: Include stap-probe.h.
38187         (__libc_mallopt): Add memory_mallopt probe.
38188         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38189         * manual/probes.texi: New.
38190         * manual/Makefile (chapters): Add probes.
38191         * manual/threads.texi: Set next node.
38193 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38195         [BZ #15963, #13985]
38196         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38197         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38198         Add `Chinese' to `nan' entry name.
38200 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38202         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38203         (POLYNOMIAL): Likewise.
38204         (TAYLOR_SINCOS): Likewise.
38205         (TAYLOR_SLOW): Likewise.
38206         (__sin): Use TAYLOR_SINCOS.
38207         (__cos): Likewise.
38208         (slow): Use TAYLOR_SLOW.
38209         (sloww): Likewise.
38210         (bsloww): Likewise.
38211         (csloww): Likewise.
38213 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38215         * stdlib/strtod_l.c: Fix buffer overrun.
38217 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38219         * benchtests/Makefile (bench): Add sincos.
38220         * benchtests/bench-sincos.c: New file.
38222         * math/libm-test.inc (cos_test_data): New test inputs.
38223         (sin_test_data): Likewise.
38225         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38226         macro.
38227         (__sin): Use it.
38228         (__cos): Likewise.
38229         (slow1): Likewise.
38230         (slow2): Likewise.
38231         (sloww1): Likewise.
38232         (sloww2): Likewise.
38233         (bsloww1): Likewise.
38234         (bsloww2): Likewise.
38235         (cslow2): Likewise.
38236         (csloww1): Likewise.
38237         (csloww2): Likewise.
38239         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38240         function.
38241         (__sin): Use it.
38242         (__cos): Likewise.
38244         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38245         gotos.
38246         (__cos): Likewise.
38248 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38250         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38251         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38252         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38253         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38254         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38255         * elf/cache.c (print_entry): Handle the new cache flags.
38257 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38258             Aldy Hernandez  <aldyh@redhat.com>
38260         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38261         Change condition to [_SOFT_FLOAT].
38262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38274         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38277         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38278         declaration.
38280 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38282         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38283         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38284         (__longjmp): Use LOAD_GP to load saved GPRs.
38285         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38286         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38287         (__sigsetjmp): Use SAVE_GP to save GPRs.
38289         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38290         Do not append -msoft-float.
38291         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38293 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38295         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38297 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38299         [BZ #15966]
38300         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38301         (_FPU_GETCW): Use initial "__" on variable and field names but not
38302         on macro parameter name.
38303         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38304         parentheses around reference to macro parameter.
38306 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38308         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38309         prototype.
38310         (ctype_startup): Use uint32_t in cast and sizeof for
38311         ctype->charnames.
38313 2013-09-11  Jia Liu  <proljc@gmail.com>
38315         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38316         __daddr_t_defined.
38317         [__FreeBSD__]: Likewise.
38319 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38322         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38323         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38324         (strchr): Remove __strchr_sse42 ifunc selection.
38325         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38326         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38328 2013-09-11  Will Newton  <will.newton@linaro.org>
38330         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38331         parameter to RES. Remove hardcoded 1000 value.
38332         * benchtests/bench-skeleton.c (main): Pass RES parameter
38333         to TIMING_INIT and multiply result by 1000.
38335 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38339 2013-09-11  Andreas Schwab  <schwab@suse.de>
38341         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38342         if not defined.
38343         (O_TMPFILE) [__USE_GNU]: Define.
38344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38345         Define.
38347 2013-09-11  Will Newton  <will.newton@linaro.org>
38349         [BZ #15857]
38350         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38351         does not overflow.
38353 2013-09-11  Will Newton  <will.newton@linaro.org>
38355         [BZ #15856]
38356         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38357         does not overflow.
38359 2013-09-11  Will Newton  <will.newton@linaro.org>
38361         [BZ #15855]
38362         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38363         does not overflow.
38365 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38367         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38368         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38369         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38370         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38371         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38373 2013-09-10  Allan McRae  <allan@archlinux.org>
38375         [BZ #15748]
38376         * manual/arith.texi (Parsing of Floats): Clarify
38377         cross-reference.
38379         [BZ #15849]
38380         * manual/install.texi (Running make install): Mention
38381         --enable-pt-chown.
38382         * INSTALL: Regenerated.
38384 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38386         * csu/init-first.c (_init): Remove the !SHARED condition around
38387         FPU control word initialization.
38388         * elf/dl-support.c (_dl_fpu_control): New variable.
38389         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38390         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38391         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38392         * math/test-fpucw-static.c: New file.
38393         * math/test-fpucw-ieee.c: New file.
38394         * math/test-fpucw-ieee-static.c: New file.
38395         * math/Makefile (tests): Add `test-fpucw-ieee' and
38396         `$(tests-static)'.
38397         (tests-static): New variable.
38398         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38399         dependency to...
38400         [($(build-shared),yes)]
38401         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38402         ... this.
38403         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38404         New dependency.
38406 2013-09-09  Allan McRae  <allan@archlinux.org>
38408         [BZ #15939]
38409         * manual/string.texi (Collation Functions): Fix typo in
38410         strcoll example.
38411         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38413         [BZ #15893]
38414         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38416         [BZ #15892]
38417         * libio/memstream.c (open_memstream): Fix memory leak.
38418         * libio/wmemstream.c (open_wmemstream): Likewise.
38420         [BZ #15895]
38421         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38423 2013-09-09  Will Newton  <will.newton@linaro.org>
38425         * malloc/Makefile: Add tst-realloc to tests.
38426         * malloc/tst-realloc.c: New file.
38428 2013-09-09  Allan McRae  <allan@archlinux.org>
38430         [BZ #15844]
38431         * COPYING: Update from GNU website to fix FSF address.
38432         * COPYING.LIB: Likewise.
38434 2013-09-06  David S. Miller  <davem@davemloft.net>
38436         * po/zh_TW.po: Update Chinese (traditional) translation from
38437         translation project.
38439 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38440             Joseph Myers  <joseph@codesourcery.com>
38442         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38443         "localeinfo.h".
38444         (obstack_chunk_alloc): New macro.
38445         (obstack_chunk_free): Likewise.
38446         (record_offset): New function.
38447         (init_locale_data): Likewise.
38448         (align_locale_data): Likewise.
38449         (add_locale_empty): Likewise.
38450         (add_locale_raw_data): Likewise.
38451         (add_locale_raw_obstack): Likewise.
38452         (add_locale_string): Likewise.
38453         (add_locale_wstring): Likewise.
38454         (add_locale_uint32): Likewise.
38455         (add_locale_uint32_array): Likewise.
38456         (add_locale_char): Likewise.
38457         (start_locale_structure): Likewise.
38458         (end_locale_structure): Likewise.
38459         (start_locale_prelude): Likewise.
38460         (end_locale_prelude): Likewise.
38461         (write_locale_data): Take locale_file structure rather than an
38462         iovec.
38463         * locale/programs/locfile.h: Include "obstack.h".
38464         (struct locale_file): Change to store locale file contents instead
38465         of header.
38466         (init_locale_data): New prototype.
38467         (align_locale_data): Likewise.
38468         (add_locale_empty): Likewise.
38469         (add_locale_raw_data): Likewise.
38470         (add_locale_raw_obstack): Likewise.
38471         (add_locale_string): Likewise.
38472         (add_locale_wstring): Likewise.
38473         (add_locale_uint32): Likewise.
38474         (add_locale_uint32_array): Likewise.
38475         (add_locale_char): Likewise.
38476         (start_locale_structure): Likewise.
38477         (end_locale_structure): Likewise.
38478         (start_locale_prelude): Likewise.
38479         (end_locale_prelude): Likewise.
38480         (write_locale_data): Update prototype.
38481         * locale/programs/3level.h (struct TABLE): Remove result field.
38482         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38483         Use new locale_file interface.
38484         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38485         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38486         * locale/programs/ld-address.c (address_output): Use new
38487         locale_file interface.
38488         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38489         NO_ADD_LOCALE.
38490         (collate_finish): Don't call collseq_table_finalize.
38491         (collate_output): Use new locale_file interface.
38492         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38493         in file.
38494         (NO_FINALIZE): Change to NO_ADD_LOCALE.
38495         (TABLE): Move defines earlier in file.
38496         (ELEMENT): Likewise.
38497         (DEFAULT): Likewise.
38498         (wctrans_table_add): Move macro and inline function earlier in
38499         file.
38500         (struct wctype_table): Move type earlier in file.
38501         (add_locale_wctype_table): New static prototype.
38502         (struct locale_ctype_t): Use logical types instead of struct iovec
38503         pointers for members.
38504         (ctype_output): Use new locale_file interface.
38505         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
38506         new locale_file interface.
38507         (allocate_arrays): Update for use of new locale_file interface.
38508         * locale/programs/ld-identification.c (identification_output): Use
38509         new locale_file interface.
38510         * locale/programs/ld-measurement.c (measurement_output): Likewise.
38511         * locale/programs/ld-messages.c (messages_output): Likewise.
38512         * locale/programs/ld-monetary.c (monetary_output): Likewise.
38513         * locale/programs/ld-name.c (name_output): Likewise.
38514         * locale/programs/ld-numeric.c (numeric_output): Likewise.
38515         * locale/programs/ld-paper.c (paper_output): Likewise.
38516         * locale/programs/ld-telephone.c (telephone_output): Likewise.
38517         * locale/programs/ld-time.c (time_output): Likewise.
38519 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38521         * benchtests/Makefile: Add memrchr benchmark.
38522         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38523         benchmark as memrchr.
38524         * benchtests/bench-memrchr-ifunc.c: New file.
38525         * benchtests/bench-memrchr.c: New file.
38527 2013-09-06   Will Newton  <will.newton@linaro.org>
38529         * benchtests/Makefile (string-bench): Add memcpy.
38531 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
38532             Cong Wang  <amwang@redhat.com>
38534         [BZ #15850]
38535         * sysdeps/unix/sysv/linux/bits/in.h
38536         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38537         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38538         before __USE_KERNEL_IPV6_DEFS uses.
38539         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38540         IPPROTO_BEETPH.
38541         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38542         sockaddr_in6, or ipv6_mreq.
38544 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38546         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38547         memory access for final bytes in some large inputs.
38548         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38550 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38552         * string/test-memrchr.c: New file.
38553         * string/test-memrchr-ifunc.c: New file.
38554         * string/Makefile: Add new memrchr testcase.
38556 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38558         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38559         fanotify_init returns EPERM.
38561 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38563         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38564         errors.
38565         (top level): Treat second token from macro or constant entries for
38566         allowed headers as allowed.
38567         * include/complex.h: Condition internal declarations on
38568         [!_ISOMAC].
38569         * include/fenv.h: Condition include of <stdbool.h> and internal
38570         declarations on [!_ISOMAC].
38572 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38574         [BZ #15923]
38575         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38577 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38579         * configure.in (--enable-versioning): Remove configure option.
38580         (libc_cv_asm_symver_directive): Remove configure test.
38581         (libc_cv_ld_version_script_option): Likewise.
38582         (VERSIONING): Remove variable and AC_SUBST.
38583         (DO_VERSIONING): Remove AC_DEFINE.
38584         * configure: Regenerated.
38585         * config.h.in (DO_VERSIONING): Remove macro.
38586         * Makerules [$(versioning) = yes]: Change conditionals to
38587         [$(build-shared) = yes].
38588         * config.make.in (versioning): Remove variable.
38589         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38590         [$(build-shared) = yes].
38591         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38592         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38593         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38594         [$(build-shared) = yes].
38595         * extra-lib.mk [$(versioning) = yes]: Likewise.
38596         * hurd/Makefile [$(versioning) = yes]: Likewise.
38597         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38598         [SHARED].
38599         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38600         [SHARED].
38601         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38602         [SHARED && !NO_HIDDEN].
38603         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38604         [SHARED].
38605         [SHARED && DO_VERSIONING]: Likewise..
38606         * libio/Makefile [$(versioning) = yes]: Change conditionals to
38607         [$(build-shared) = yes].
38608         * manual/install.texi (--disable-versioning): Remove
38609         documentation.
38610         * INSTALL: Regenerated.
38611         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38612         to [SHARED].
38613         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38614         [$(build-shared) = yes].
38615         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38616         * sysdeps/i386/i686/multiarch/strstr-c.c
38617         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38618         [SHARED && !NO_HIDDEN].
38619         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38620         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38621         * sysdeps/powerpc/powerpc32/dl-machine.c
38622         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38623         * sysdeps/powerpc/powerpc32/sysdep.h
38624         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38625         to [SHARED && PIC && !NO_HIDDEN].
38626         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38627         conditional to [SHARED].
38629 2013-09-04   Will Newton  <will.newton@linaro.org>
38631         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38632         * benchtests/bench-string.h: Include bench-timing.h instead
38633         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
38634         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
38635         call to HP_TIMING_DIFF_INIT.
38636         * benchtests/bench-memccpy.c: Use bench-timing.h macros
38637         instead of hp-timing.h macros.
38638         * benchtests/bench-memchr.c: Likewise.
38639         * benchtests/bench-memcmp.c: Likewise.
38640         * benchtests/bench-memcpy.c: Likewise.
38641         * benchtests/bench-memmem.c: Likewise.
38642         * benchtests/bench-memmove.c: Likewise.
38643         * benchtests/bench-memset.c: Likewise.
38644         * benchtests/bench-rawmemchr.c: Likewise.
38645         * benchtests/bench-strcasecmp.c: Likewise.
38646         * benchtests/bench-strcasestr.c: Likewise.
38647         * benchtests/bench-strcat.c: Likewise.
38648         * benchtests/bench-strchr.c: Likewise.
38649         * benchtests/bench-strcmp.c: Likewise.
38650         * benchtests/bench-strcpy.c: Likewise.
38651         * benchtests/bench-strcpy_chk.c: Likewise.
38652         * benchtests/bench-strlen.c: Likewise.
38653         * benchtests/bench-strncasecmp.c: Likewise.
38654         * benchtests/bench-strncat.c: Likewise.
38655         * benchtests/bench-strncmp.c: Likewise.
38656         * benchtests/bench-strncpy.c: Likewise.
38657         * benchtests/bench-strnlen.c: Likewise.
38658         * benchtests/bench-strpbrk.c: Likewise.
38659         * benchtests/bench-strrchr.c: Likewise.
38660         * benchtests/bench-strspn.c: Likewise.
38661         * benchtests/bench-strstr.c: Likewise.
38663 2013-09-04  Will Newton  <will.newton@linaro.org>
38665         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38667 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38669         [BZ #15427]
38670         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38671         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38672         * math/libm-test.inc (lgamma_test_data): Add more tests.
38673         * sysdeps/i386/fpu/libm-test-ulps: Update.
38674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38676 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38678         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38680         Add ifunc.
38681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38682         Add strcmp-sse2-unaligned
38683         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38685 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38687         * Versions.def (libc): Add GLIBC_2.19.
38689 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38691         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38692         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38694 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38696         [BZ #14155]
38697         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38698         intermediate calculations in recurrence.
38699         (__ieee754_ynf): Likewise.
38700         * math/libm-test.inc (jn_test_data): Do not allow spurious
38701         underflow exception.  Add more tests.
38702         (yn_test_data): Add more tests.
38703         * sysdeps/i386/fpu/libm-test-ulps: Update.
38704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38706 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38708         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38710 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38712         * csu/init-first.c: Fix then/than typos.
38713         * locale/programs/ld-collate.c: Likewise.
38714         * locale/programs/linereader.h: Likewise.
38715         * manual/charset.texi: Likewise.
38716         * manual/filesys.texi: Likewise.
38717         * manual/stdio.texi: Likewise.
38718         * manual/string.texi: Likewise.
38719         * stdlib/fmtmsg.c: Likewise.
38720         * sysdeps/i386/stpncpy.S: Likewise.
38721         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38722         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38723         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38724         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38726 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38728         * elf/dl-open.c: Fix typos.
38729         * iconvdata/gbbig5.c: Likewise.
38730         * iconvdata/iso-2022-jp.c: Likewise.
38731         * iconv/gconv_int.h: Likewise.
38732         * iconv/loop.c: Likewise.
38733         * nis/rpcsvc/nis.h: Likewise.
38734         * resolv/ns_name.c: Likewise.
38735         * stdio-common/vfscanf.c: Likewise.
38736         * streams/stropts.h: Likewise.
38737         * sunrpc/rpc_thread.c: Likewise.
38738         * sysdeps/i386/strpbrk.S: Likewise.
38739         * sysdeps/ieee754/k_standard.c: Likewise.
38740         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38741         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38742         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38743         * sysdeps/mach/hurd/profil.c: Likewise.
38744         * sysdeps/s390/dl-procinfo.h: Likewise.
38745         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38746         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38747         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38748         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38749         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38751 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38753         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38756 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38758         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38759         aix specific files.
38760         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38761         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38762         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38763         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38764         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38765         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38766         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38767         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38769 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38770             Roland McGrath  <roland@hack.frob.com>
38772         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38773         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38775 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38777         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38778         __executable_start symbol instead of _start.
38780 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38782         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38783         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38784         Move macros to...
38785         * sysdeps/gnu/ldsodefs.h: ... this new file.
38787         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38788         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38789         instead of ELFOSABI_LINUX.
38791         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38792         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38793         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38794         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38795         Likewise.
38796         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38797         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38798         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38799         Likewise.
38800         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38801         (ibm_extended_long_double): Add ieee_nan member.
38802         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38803         (do_test): New function.
38805         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38806         TEST_TRUNC.
38807         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38808         functions, renamed from truncdfsf_test, trunctfsf_test,
38809         trunctfdf_test.
38810         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38811         functions.
38812         (do_test): Run all these.
38814 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38816         * argp/argp-help.c: Fix typos.
38817         * argp/argp-parse.c: Likewise.
38818         * debug/backtracesyms.c: Likewise.
38819         * elf/elf.h: Likewise.
38820         * malloc/malloc.c: Likewise.
38821         * nis/nis_print.c: Likewise.
38822         * resolv/res_comp.c: Likewise.
38823         * stdlib/stdlib.h: Likewise.
38824         * sunrpc/clnt_tcp.c: Likewise.
38825         * sunrpc/clnt_udp.c: Likewise.
38826         * sunrpc/clnt_unix.c: Likewise.
38827         * sysdeps/unix/bsd/ptsname.c: Likewise.
38828         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38829         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38831         Likewise.
38832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38833         Likewise.
38834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38835         Likewise.
38836         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38838 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38840         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38843 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38845         [BZ #15897]
38846         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38847         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38848         ($(objpfx)bug-dl-leaf): New rule.
38849         ($(objpfx)bug-dl-leaf.so): Likewise.
38850         ($(objpfx)bug-dl-leaf.out): Likewise.
38851         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38852         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38853         * dlfcn/bug-dl-leaf.c: New test.
38854         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38855         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38856         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38857         (dlclose): Likewise.
38858         (dlmopen): Likewise.
38860 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38862         * include/netdb.h [!_ISOMAC]:
38863         Don't include <tls.h>.
38864         (h_errno, __libc_h_errno): Move declaration and macros out of
38865         [_LIBC_REENTRANT].
38867         * include/resolv.h [_RESOLV_H_]:
38868         Don't include <tls.h>.
38869         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38870         * resolv/res_libc.c: Don't include <tls.h>.
38871         (_res): Use __attribute__ ((nocommon)) in place of
38872         __attribute__ ((section (".bss"))).
38874         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38875         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38877         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38879         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38880         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38882         * resolv/res_mkquery.c: Include <sys/time.h>.
38884         * inet/ifreq.c: Moved to ...
38885         * sysdeps/unix/ifreq.c: ... here.
38886         * inet/ifreq.c: New file, true stub version.
38888         * socket/sa_len.c: New file.
38889         * socket/Makefile (aux): Add it.
38890         * sysdeps/unix/sysv/linux/Makefile
38891         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38892         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38893         and #include <socket/sa_len.c>.
38894         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38895         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38897         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38898         * bits/socket.h: ... here.
38900         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38901         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38902         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38904 2013-08-27  Andreas Schwab  <schwab@suse.de>
38906         [BZ #15736]
38907         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38908         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38909         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38910         * string/test-strcasecmp.c (test_main): Run tests in several
38911         locales.
38912         * string/test-strncasecmp.c (test_main): Likewise.
38914         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38915         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38916         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38917         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38918         (__strncasecmp_ssse3) [PIC]: Likewise.
38920 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38922         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38924         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38925         instead of explicitly declaring xdecrypt.
38926         * nis/nss_nis/nis-publickey.c: Likewise.
38928 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38930         [BZ #15890]
38931         * nscd/aicache.c: Include res_hconf.h.
38932         (addhstaiX): Initialize res_hconf.
38934 2013-08-26  Andreas Schwab  <schwab@suse.de>
38936         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38937         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38939 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38941         * nscd/aicache.c (addhstaiX): Fix indentation.
38943 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38945         * configure.ac: Quote $build_pt_chown test.
38946         * configure: Regenerated.
38948 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38950         [BZ #15532]
38951         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38952         * math/s_cexpf.c (__cexpf): Likewise.
38953         * math/s_cexpl.c (__cexpl): Likewise.
38954         * math/libm-test.inc (cexp_test_data): Correct expected return
38955         value for NaN + i0.  Add another test.
38957 2013-08-22  David S. Miller  <davem@davemloft.net>
38959         * po/ca.po: Update Catalan translation from translation project.
38960         * po/uk.po: Add Ukrainian translations from translation project.
38962 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38964         [BZ #15797]
38965         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38966         is infinite, not alongside NaN test.
38967         * math/s_fdimf.c (__fdimf): Likewise.
38968         * math/s_fdiml.c (__fdiml): Likewise.
38969         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38970         errno is unchanged.
38972 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38974         * argp/argp-help.c: Fix typos.
38975         * crypt/speeds.c: Likewise.
38976         * csu/check_fds.c: Likewise.
38977         * elf/dl-load.c: Likewise.
38978         * elf/dl-open.c: Likewise.
38979         * elf/reldep3.c: Likewise.
38980         * elf/reldep.c: Likewise.
38981         * elf/sprof.c: Likewise.
38982         * iconv/iconv_charmap.c: Likewise.
38983         * iconv/skeleton.c: Likewise.
38984         * iconv/strtab.c: Likewise.
38985         * io/lockf64.c: Likewise.
38986         * libio/libioP.h: Likewise.
38987         * resolv/gai_notify.c: Likewise.
38988         * resolv/ns_name.c: Likewise.
38989         * resolv/ns_samedomain.c: Likewise.
38990         * resolv/res_send.c: Likewise.
38991         * stdlib/random.c: Likewise.
38992         * sunrpc/rpc/xdr.h: Likewise.
38993         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38994         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38995         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38996         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38997         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38998         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38999         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39000         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39001         * sysdeps/mach/hurd/check_fds.c: Likewise.
39002         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39003         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39004         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39005         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39006         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39007         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39008         * sysdeps/pthread/aio_notify.c: Likewise.
39009         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39010         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39011         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39012         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39013         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39015 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39017         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39018         version if bit_Slow_SSE4_2 is set.
39019         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39020         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39022 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39024         [BZ #15867]
39025         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39026         trampoline stack frame information.
39027         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39028         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39029         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39030         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39031         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39032         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39033         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39034         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39035         sa_flags value.
39036         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39037         interrupting a syscall and set with option SA_SIGINFO.
39039 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39041         [BZ #15531]
39042         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39043         argument is infinite.
39044         * math/s_cprojf.c (__cprojf): Likewise.
39045         * math/s_cprojl.c (__cprojl): Likewise.
39046         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39047         * math/libm-test.inc (cproj_test_data): Add more tests.
39049         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39051         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39052         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39053         size.  Use __ffs to determine corresponding shift.
39055 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39056             Roland McGrath  <roland@hack.frob.com>
39058         * Makefile (INSTALL): Remove trailing blank lines from output of
39059         makeinfo.
39061 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39063         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39064         Align 32 bit compat elf_greg to 8 bytes.
39066 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39068         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39070 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39072         * string/strcoll_l.c (coll_seq): New structure.
39073         (get_next_seq_cached): New function.
39074         (get_next_seq): New function.
39075         (do_compare): New function.
39076         (STRCOLL): Use GNU style definition.  Simplify implementation
39077         by using get_next_seq, get_next_seq_cached and do_compare.
39079 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39081         [BZ #14699]
39082         CVE-2013-4237
39083         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39084         member.
39085         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39086         member.
39087         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39088         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39089         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39090         conditional.
39091         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39092         GETDENTS_64BIT_ALIGNED.
39093         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39094         * manual/filesys.texi (Reading/Closing Directory): Document
39095         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39096         strongly.
39097         * manual/conf.texi (Limits for Files): Add portability note to
39098         NAME_MAX, PATH_MAX.
39099         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39101 2013-08-13  Andreas Schwab  <schwab@suse.de>
39103         [BZ #15749]
39104         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39105         of fabs.
39106         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39107         LDBL_MAX_EXP >= 16384]: Add tests for it.
39109 2013-08-12  David S. Miller  <davem@davemloft.net>
39111         * version.h (RELEASE): Set to "development".
39112         (VERSION): Set to "2.18.90".
39113         * NEWS: Add 2.19 section.
39115 2013-08-03  David S. Miller  <davem@davemloft.net>
39117         * po/ko.po: Update Korean translation from translation project.
39119 2013-08-01  David S. Miller  <davem@davemloft.net>
39121         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39122         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39123         Bilka.
39125 2013-07-30  David S. Miller  <davem@davemloft.net>
39127         * po/fr.po: Update French translation from translation project.
39129 2013-07-28  David S. Miller  <davem@davemloft.net>
39131         * po/cs.po: Update Czech translation from translation project.
39133         * po/sv.po: Update Swedish translation from translation project.
39135 2013-07-27  David S. Miller  <davem@davemloft.net>
39137         * po/eo.po: Update Esperanto translation from translation project.
39139         * po/vi.po: Update Vietnamese translation from translation project.
39141         * po/de.po: Update German translation from translation project.
39143 2013-07-26  David S. Miller  <davem@davemloft.net>
39145         * po/bg.po: Update Bulgarian translation from translation project.
39147         * po/nl.po: Update Dutch translation from translation project.
39148         * po/pl.po: Update Polish translation from translation project.
39149         * po/ru.po: Update Russian translation from translation project.
39151 2013-07-24  David S. Miller  <davem@davemloft.net>
39153         * po/libc.pot: Update.
39155 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39157         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39158         variable page size.
39159         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39160         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39161         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39163 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39165         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39167 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39168             Andreas Schwab  <schwab@suse.de>
39169             Roland McGrath  <roland@hack.frob.com>
39170             Joseph Myers  <joseph@codesourcery.com>
39171             Carlos O'Donell  <carlos@redhat.com>
39173         [BZ #15755]
39174         * config.h.in: Define HAVE_PT_CHOWN.
39175         * config.make.in (build-pt-chown): New variable.
39176         * configure.in (--enable-pt_chown): New configure option.
39177         * configure: Regenerate.
39178         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39179         build-pt-chown is enabled.
39180         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39181         pt_chown to fix pty ownership.
39182         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39183         CLOSE_ALL_FDS.
39184         * manual/install.texi (Configuring and compiling): Mention
39185         --enable-pt_chown. Add @findex for grantpt.
39186         * INSTALL: Regenerate.
39188 2013-07-20  David S. Miller  <davem@davemloft.net>
39190         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39191         difference between 32-bit and 64-bit.
39193 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39195         [BZ #15711]
39196         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39197         Avoid system header dependency with -ffreestanding.
39198         ($(objpfx)bits/syscall%d): Likewise.
39200 2013-07-13  David S. Miller  <davem@davemloft.net>
39202         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39203         underflows from atanl/atan2l due to bug 15319.
39204         (casinh_test_data): Likewise.
39206 2013-07-07  David S. Miller  <davem@davemloft.net>
39208         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39210 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39212         * sysdeps/i386/fpu/libm-test-ulps: Update.
39213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39215 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39217         * configure.in (--enable-lock-elision): Fix message text.
39218         * INSTALL: Regenerate.
39219         * configure: Regenerate.
39221 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39225 2013-07-03  Andreas Jaeger  <aj@suse.de>
39227         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39228         define.
39229         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39230         (ptrace_peeksiginfo_args): Add.
39231         (__ptrace_peeksiginfo_flags): Add.
39232         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39233         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39234         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39236 2013-07-03  Allan McRae  <allan@archlinux.org>
39238         * sysdeps/i386/fpu/libm-test-ulps: Update.
39240 2013-07-02  David S. Miller  <davem@davemloft.net>
39242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39244 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39248 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39250         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39253 2013-07-02  Andi Kleen <ak@linux.intel.com>
39255         * config.h.in (ENABLE_LOCK_ELISION): Add.
39256         * configure.in (--enable-lock-elision): Add option.
39257         * manual/install.texi: Document --enable lock elision.
39258         * configure: Regenerate
39259         * INSTALL: Regenerate.
39261 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39263         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39264         SSE4.2 strcasecmp for libc.a.
39265         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39267 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39269         [BZ #13304]
39270         * soft-fp/op-common.h (_FP_FMA): New macro.
39271         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39272         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39273         (_FP_MUL_MEAT_1_imm): ... here.
39274         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39275         (_FP_MUL_MEAT_1_wide): ... here.
39276         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39277         (_FP_MUL_MEAT_1_hard): ... here.
39278         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39279         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39280         (_FP_MUL_MEAT_2_wide): ... here.
39281         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39282         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39283         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39284         (_FP_MUL_MEAT_2_gmp): ... here.
39285         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39286         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39287         (_FP_MUL_MEAT_4_wide): ... here.
39288         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39289         (_FP_MUL_MEAT_4_gmp): ... here.
39290         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39291         (_FP_WFRACBITS_DW_S): Likewise.
39292         (_FP_WFRACXBITS_DW_S): Likewise.
39293         (_FP_HIGHBIT_DW_S): Likewise.
39294         (FP_FMA_S): Likewise.
39295         (_FP_FRAC_HIGH_DW_S): Likewise.
39296         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39297         (_FP_WFRACBITS_DW_D): Likewise.
39298         (_FP_WFRACXBITS_DW_D): Likewise.
39299         (_FP_HIGHBIT_DW_D): Likewise.
39300         (FP_FMA_D): Likewise.
39301         (_FP_FRAC_HIGH_DW_D): Likewise.
39302         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39303         (_FP_WFRACBITS_DW_E): Likewise.
39304         (_FP_WFRACXBITS_DW_E): Likewise.
39305         (_FP_HIGHBIT_DW_E): Likewise.
39306         (FP_FMA_E): Likewise.
39307         (_FP_FRAC_HIGH_DW_E): Likewise.
39308         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39309         (_FP_WFRACBITS_DW_Q): Likewise.
39310         (_FP_WFRACXBITS_DW_Q): Likewise.
39311         (_FP_HIGHBIT_DW_Q): Likewise.
39312         (FP_FMA_Q): Likewise.
39313         (_FP_FRAC_HIGH_DW_Q): Likewise.
39314         * soft-fp/fmasf4.c: New file.
39315         * soft-fp/fmadf4.c: Likewise.
39316         * soft-fp/fmatf4.c: Likewise.
39318 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39321         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39322         Silvermont.
39323         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39324         macro.
39325         (index_Slow_SSE4_2): Likewise.
39326         (index_Prefer_PMINUB_for_stringop): Likewise.
39327         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39328         bit_Slow_SSE4_2 is set.
39329         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39330         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39332 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39334         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39335         rtld_global._dl_hwcap2.
39336         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39337         POWER8.
39338         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39339         POWER8 feature descriptions defined in _dl_hwcap2.
39340         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39341         string handling for POWER8 feature bits.
39342         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39343         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39344         _dl_powerpc_cap_flags.
39345         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39346         * sysdeps/powerpc/rtld-global-offsets.sym
39347         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39348         _dl_hwcap2 in the rtld_global_ro structure.
39350 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39352         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39353         hardware capabilities in support of AT_HWCAP2.
39354         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39355         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39356         GLRO(dl_hwcap2).
39357         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39358         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39359         explicitly the unknown a_type display mechanism is used.
39360         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39361         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39362         struct member.
39363         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39364         to macro prototype for AT_HWCAP2 support.
39365         * sysdeps/i386/dl-procinfo.h: Likewise.
39366         * sysdeps/s390/dl-procinfo.h: Likewise.
39367         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39368         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39369         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39370         return -1 for unknown a_type display fallback.
39371         * sysdeps/sparc/dl-procinfo.h: Likewise.
39372         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39373         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39375 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39377         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39378         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39380 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39382         [BZ #12492]
39383         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39384         mprotect making __stack_prot writable.
39386 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39387             Joseph Myers  <joseph@codesourcery.com>
39389         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39390         as being properly aligned.
39392 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39394         * dlfcn/modstatic5.c: New file.
39395         * dlfcn/tststatic5.c: New file.
39396         * dlfcn/Makefile (tests): Add tststatic5.
39397         (tests-static): Likewise.
39398         (modules-names): Add modstatic5.
39399         (tststatic5-ENV): New variable.
39400         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39402         [BZ #15022]
39403         * elf/dl-support.c (_dl_main_map): New variable.
39404         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39405         (_dl_nns, _dl_load_adds): Set to 1.
39406         (_dl_initial_searchlist): Refer to _dl_main_map.
39407         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39408         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39409         call to _dl_get_origin.
39410         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39411         around call_map.
39412         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39413         * dlfcn/modstatic3.c: New file.
39414         * dlfcn/tststatic3.c: New file.
39415         * dlfcn/tststatic4.c: New file.
39416         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39417         (tests-static): Likewise.
39418         (modules-names): Add modstatic3.
39419         (tststatic3-ENV, tststatic4-ENV): New variables.
39420         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39421         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39423 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39425         * configure.in (CC): Require GCC version 4.4 or later.
39426         * configure: Regenerated.
39427         * manual/install.texi (Tools for Compilation): Update GCC version
39428         requirement.
39429         * INSTALL: Regenerated.
39431 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39433         [BZ #15674]
39434         * string/test-memcmp.c (check2): New.
39435         (main): Call check2.
39437         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39439 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39441         [BZ #15022]
39442         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39443         over to...
39444         (dl_open_worker) [!SHARED]: ... here.
39446 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39448         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39450 2013-06-25  Richard Henderson  <rth@redhat.com>
39452         * locale/programs/locarchive.c: Include <libc-internal.h>
39454 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39456         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39457         trailing whitespace removed.
39459 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39461         [BZ #10283]
39462         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39463         * locale/programs/locarchive.c: Include libc-mmap.h.
39464         (prepare_address_space): Take two new outputs (the mmap base and len).
39465         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39466         values.
39467         (create_archive): Declare new mmap base and len values for
39468         prepare_address_space, and store the result in ah.
39469         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39470         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39471         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39472         Declare new mmap base and len values for
39473         prepare_address_space, and store the result in new_ah.
39474         (open_archive): Declare new mmap base and len values for
39475         prepare_address_space, and store the result in ah.
39476         (close_archive): If ah->mmap_base is not NULL, use that and
39477         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39478         * sysdeps/generic/libc-mmap.h: New file.
39480 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39482         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39483         (ALIGN_UP): Likewise.
39484         (PTR_ALIGN_DOWN): Likewise.
39485         (PTR_ALIGN_UP): Likewise.
39487 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39489         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39490         entry mapped to PPC_PLATFORM_POWER8.
39491         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39492         POWER8.
39493         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39494         (_dl_string_platform): Add case for exporting platform position for
39495         POWER8.
39496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39497         search path to sysdeps/powerpc/powerpc32/power8 directory.
39498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39499         search path to sysdeps/powerpc/powerpc64/power8 directory.
39500         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39501         power7 directories.
39502         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39503         power7 directories.
39505 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39507         * INSTALL: Regenerate.
39509         * nscd/connections.c (nscd_init): Fix comment.
39511 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
39513         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39515         [BZ #15667]
39516         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39517         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39519 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39521         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39522         DL_DST_REQ_STATIC.
39523         (DL_DST_REQ_STATIC): Remove macro.
39525 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
39527         [BZ #7006]
39528         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39529         with a shift of 0 bits.
39531 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39533         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39534         $(tststatic-ENV).
39536 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39538         [BZ #15655]
39539         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39541 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39543         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39544         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39545         accepts -fno-tree-loop-distribute-patterns.
39546         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39547         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39548         recursive call.
39549         * string/memset.c (memset): Likewise.
39550         * string/test-memmove.c (simple_memmove): Disable loop transformation
39551         to library calls.
39552         * string/test-memset.c (simple_memset): Likewise.
39553         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39554         * benchtests/bench-memset.c (simple_memset): Likewise.
39555         * configure: Regenerated.
39557 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39559         * math/test-misc.c (main): Ignore fesetround failure when failures
39560         of subsequent rounding tests would be ignored.
39562         [BZ #15654]
39563         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39564         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39565         * math/fegetenv.c (__fegetenv): Return 0.
39566         * math/fegetexcept.c (fegetexcept): Return 0.
39567         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39568         FE_TONEAREST.
39569         * math/feholdexcpt.c (feholdexcept): Return 0.
39570         * math/fesetenv.c (__fesetenv): Return 0.
39571         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39572         argument FE_TONEAREST.
39573         * math/feupdateenv.c (__feupdateenv): Return 0.
39574         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39576 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39578         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39579         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39580         ($(objpfx)rtld-%.os rules): Use them.
39582 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39584         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39585         fields.
39587 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39589         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39590         length of target pattern, then descending length of dependency pattern.
39591         * configure.in (AWK): Require gawk 3.1.2 or newer.
39592         * manual/install.texi (Tools for Compilation): Say that we do.
39593         * configure: Regenerated.
39595         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39596         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39597         * scripts/sysd-rules.awk: ... this new script.
39598         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39599         than a glob-style pattern.
39601 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
39603         * math/test-misc.c (main): Do not treat incorrectly rounded
39604         conversions as failure unless ROUNDING_TESTS passes.
39606 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
39608         [BZ #15631]
39609         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39610         restore exception state around main square root computation, then
39611         check for inexactness explicitly.
39613         * math/libm-test.inc (fma_test_data): Add another test.
39615 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39617         * manual/threads.texi (Non-POSIX Extensions): New document
39618         node.  Document pthread_getattr_default_np and
39619         pthread_setattr_default_np.
39621         * Versions.def (libpthread): Add GLIBC_2.18.
39622         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39624         Likewise.
39625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39626         Likewise.
39627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39628         Likewise.
39629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39630         Likewise.
39631         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39632         Likewise.
39633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39634         Likewise.
39635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39636         Likewise.
39637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39638         Likewise.
39639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39640         Likewise.
39642 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39645         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
39647 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39648             H.J. Lu  <hjl.tools@gmail.com>
39650         [BZ #15627]
39651         * sysdeps/x86_64/rtld-memset.c: Remove file.
39652         * sysdeps/x86_64/rtld-memset.S: New file.
39654 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
39656         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39657         (test_in_one_mode): Take arguments for whether the rounding mode
39658         is supported for each floating-point type.
39659         (do_test): Pass new arguments to test_in_one_mode using
39660         ROUNDING_TESTS.
39662 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39664         * posix/tst-waitid.c (do_test): Distinguish different instances of
39665         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39666         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39667         before entering the kernel for waitpid.
39669 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39671         * NEWS: Fix note on clock function precision.  Text by Roland
39672         McGrath.
39674 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39676         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39677         it into place only when and if the sanity check passes.
39679 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39681         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39682         output for whether conversion result is exact.  Take argument
39683         indicating whether type is IBM long double.
39684         (round_for_all): Change need_exact field to ibm_ld.
39685         * stdlib/tst-strtod-round.c (struct exactness): New type.
39686         (struct test): Change bool ld_ok field to struct exactness exact.
39687         (TEST): Update all definitions for change to field.
39688         (tests): Regenerate array contents.
39689         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39690         field value.  Check for IBM long double here.
39691         (do_test): Update calls to test_in_one_mode.
39693 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39695         [BZ #12515]
39696         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39697         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39699 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39701         [BZ #15605]
39702         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39703         generated by the compiler on loop optimizations.
39704         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39705         general definitions.
39707 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39709         * math/bug-nextafter.c: Include <math-tests.h>.
39710         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39711         the relevant type.
39712         * math/bug-nexttoward.c: Include <math-tests.h>.
39713         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39714         the relevant type.
39715         * math/test-misc.c: Include <math-tests.h>.
39716         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39717         the relevant type.
39719 2013-06-12  Andreas Jaeger  <aj@suse.de>
39721         * po/ia.po: Update Interlingua translation from translation
39722         project.
39724 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39726         * include/fenv.h: Include stdbool.h.
39727         (struct rm_ctx): New structure.
39728         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39729         Define macro.
39730         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39731         (SET_RESTORE_ROUNDF): Likewise.
39732         (SET_RESTORE_ROUNDL): Likewise.
39733         (SET_RESTORE_ROUND_NOEX): Likewise.
39734         (SET_RESTORE_ROUND_NOEXF): Likewise.
39735         (SET_RESTORE_ROUND_NOEXL): Likewise.
39736         (SET_RESTORE_ROUND_53BIT): Likewise.
39737         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39738         (libc_feresetround_noexf_ctx): Likewise.
39739         (libc_feresetround_noexl_ctx): Likewise.
39740         (libc_feholdsetround_53bit_ctx): Likewise.
39741         (libc_feresetround_53bit_ctx): Likewise.
39742         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39743         (libc_feholdexcept_setround_sse_ctx): New function.
39744         (libc_fesetenv_sse_ctx): Likewise.
39745         (libc_feupdateenv_sse_ctx): Likewise.
39746         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39747         (libc_feholdexcept_setround_387_ctx): Likewise.
39748         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39749         (libc_feholdsetround_387_prec_ctx): Likewise.
39750         (libc_feholdsetround_387_ctx): Likewise.
39751         (libc_feholdsetround_387_53bit_ctx): Likewise.
39752         (libc_feholdsetround_sse_ctx): Likewise.
39753         (libc_feresetround_sse_ctx): Likewise.
39754         (libc_feresetround_387_ctx): Likewise.
39755         (libc_feupdateenv_387_ctx): Likewise.
39756         (libc_feholdexcept_setroundf_ctx): Define macro.
39757         (libc_fesetenvf_ctx): Likewise.
39758         (libc_feupdateenvf_ctx): Likewise.
39759         (libc_feholdsetroundf_ctx): Likewise.
39760         (libc_feresetroundf_ctx): Likewise.
39761         (libc_feholdexcept_setround_ctx): Likewise.
39762         (libc_fesetenv_ctx): Likewise.
39763         (libc_feupdateenv_ctx): Likewise.
39764         (libc_feholdsetround_ctx): Likewise.
39765         (libc_feresetround_ctx): Likewise.
39766         (libc_feholdexcept_setroundl_ctx): Likewise.
39767         (libc_feupdateenvl_ctx): Likewise.
39768         (libc_feholdsetroundl_ctx): Likewise.
39769         (libc_feresetroundl_ctx): Likewise.
39770         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39771         (libc_feresetround_53bit_ctx): Likewise.
39773 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39775         * locale/iso-639.def: Convert to UTF-8.
39777 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39779         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39780         (EXCEPTION_TESTS_double): Likewise.
39781         (EXCEPTION_TESTS_long_double): Likewise.
39782         (EXCEPTION_TESTS): Likewise.
39783         * math/libm-test.inc (test_exceptions): Only test exceptions if
39784         EXCEPTION_TESTS (FLOAT).
39786 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39788         * benchtests/Makefile (string-bench): Add strcpy_chk and
39789         stpcpy_chk.
39790         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39791         * benchtests/bench-stpcpy_chk.c: New file.
39792         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39793         * benchtests/bench-strcpy_chk.c: New file.
39794         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39795         code.
39796         (do_test): Likewise.
39798 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39800         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39801         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39802         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39803         with tabs where appropriate.
39804         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39805         dl-procinfo.h.
39806         [PPC_PLATFORM_PPC440]: Likewise.
39807         [PPC_PLATFORM_PPC464]: Likewise.
39808         [PPC_PLATFORM_PPC476]: Likewise.
39809         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39810         ppc464, and ppc476 platform strings merging from ports/
39811         dl-procinfo.h.
39813 2013-06-11  Andreas Schwab  <schwab@suse.de>
39815         [BZ #14991]
39816         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39817         (from_ucs4_idx): Regenerate.
39818         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39819         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39820         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39821         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39822         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39823         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39824         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39825         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39826         from FROM_LOOP and TO_LOOP specific macros.
39827         (BODY): Handle combining characters.
39828         * iconvdata/BIG5HKSCS.irreversible: Update.
39829         * iconvdata/BIG5HKSCS.precomposed: New file.
39830         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39831         characters.
39832         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39834 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39836         * include/sys/time.h: Fix indentation and add copyright header.
39838         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39839         (do_test): Likewise.
39840         * string/test-memchr.c (do_one_test): Likewise.
39841         (do_test): Likewise.
39842         * string/test-memcmp.c (do_one_test): Likewise.
39843         (do_test): Likewise.
39844         * string/test-memcpy.c (do_one_test): Likewise.
39845         (do_test): Likewise.
39846         * string/test-memmem.c (do_one_test): Likewise.
39847         (do_test): Likewise.
39848         (do_random_tests): Likewise.
39849         * string/test-memmove.c (do_one_test): Likewise.
39850         (do_test): Likewise.
39851         * string/test-memset.c (do_one_test): Likewise.
39852         (do_test): Likewise.
39853         * string/test-rawmemchr.c (do_one_test): Likewise.
39854         (do_test): Likewise.
39855         * string/test-strcasecmp.c (do_one_test): Likewise.
39856         (do_test): Likewise.
39857         * string/test-strcasestr.c (do_one_test): Likewise.
39858         (do_test): Likewise.
39859         * string/test-strcat.c (do_one_test): Likewise.
39860         (do_test): Likewise.
39861         * string/test-strchr.c (do_one_test): Likewise.
39862         (do_test): Likewise.
39863         * string/test-strcmp.c (do_one_test): Likewise.
39864         (do_test): Likewise.
39865         * string/test-strcpy.c (do_one_test): Likewise.
39866         (do_test): Likewise.
39867         * string/test-string.h: Likewise.
39868         (test_init): Likewise.
39869         * string/test-strlen.c (do_one_test): Likewise.
39870         (do_test): Likewise.
39871         * string/test-strncasecmp.c (do_one_test): Likewise.
39872         (do_test): Likewise.
39873         * string/test-strncat.c (do_one_test): Likewise.
39874         (do_test): Likewise.
39875         * string/test-strncmp.c (do_one_test): Likewise.
39876         (do_test_limit): Likewise.
39877         (do_test): Likewise.
39878         * string/test-strncpy.c (do_one_test): Likewise.
39879         (do_test): Likewise.
39880         * string/test-strnlen.c (do_one_test): Likewise.
39881         (do_test): Likewise.
39882         * string/test-strpbrk.c (do_one_test): Likewise.
39883         (do_test): Likewise.
39884         * string/test-strrchr.c (do_one_test): Likewise.
39885         (do_test): Likewise.
39886         * string/test-strspn.c (do_one_test): Likewise.
39887         (do_test): Likewise.
39888         * string/test-strstr.c (do_one_test): Likewise.
39889         (do_test): Likewise.
39891         * benchtests/Makefile (string-bench): Add string benchmarks.
39892         * benchtests/bench-bcopy-ifunc.c: New file.
39893         * benchtests/bench-bcopy.c: New file.
39894         * benchtests/bench-bzero-ifunc.c: New file.
39895         * benchtests/bench-bzero.c: New file.
39896         * benchtests/bench-memccpy-ifunc.c: New file.
39897         * benchtests/bench-memccpy.c: New file.
39898         * benchtests/bench-memchr-ifunc.c: New file.
39899         * benchtests/bench-memchr.c: New file.
39900         * benchtests/bench-memcmp-ifunc.c: New file.
39901         * benchtests/bench-memcmp.c: New file.
39902         * benchtests/bench-memmem-ifunc.c: New file.
39903         * benchtests/bench-memmem.c: New file.
39904         * benchtests/bench-memmove-ifunc.c: New file.
39905         * benchtests/bench-memmove.c: New file.
39906         * benchtests/bench-mempcpy-ifunc.c: New file.
39907         * benchtests/bench-mempcpy.c: New file.
39908         * benchtests/bench-memset-ifunc.c: New file.
39909         * benchtests/bench-memset.c: New file.
39910         * benchtests/bench-rawmemchr-ifunc.c: New file.
39911         * benchtests/bench-rawmemchr.c: New file.
39912         * benchtests/bench-stpcpy-ifunc.c: New file.
39913         * benchtests/bench-stpcpy.c: New file.
39914         * benchtests/bench-stpncpy-ifunc.c: New file.
39915         * benchtests/bench-stpncpy.c: New file.
39916         * benchtests/bench-strcasecmp-ifunc.c: New file.
39917         * benchtests/bench-strcasecmp.c: New file.
39918         * benchtests/bench-strcasestr-ifunc.c: New file.
39919         * benchtests/bench-strcasestr.c: New file.
39920         * benchtests/bench-strcat-ifunc.c: New file.
39921         * benchtests/bench-strcat.c: New file.
39922         * benchtests/bench-strchr-ifunc.c: New file.
39923         * benchtests/bench-strchr.c: New file.
39924         * benchtests/bench-strchrnul-ifunc.c: New file.
39925         * benchtests/bench-strchrnul.c: New file.
39926         * benchtests/bench-strcmp-ifunc.c: New file.
39927         * benchtests/bench-strcmp.c: New file.
39928         * benchtests/bench-strcpy-ifunc.c: New file.
39929         * benchtests/bench-strcpy.c: New file.
39930         * benchtests/bench-strcspn-ifunc.c: New file.
39931         * benchtests/bench-strcspn.c: New file.
39932         * benchtests/bench-strlen-ifunc.c: New file.
39933         * benchtests/bench-strlen.c: New file.
39934         * benchtests/bench-strncasecmp-ifunc.c: New file.
39935         * benchtests/bench-strncasecmp.c: New file.
39936         * benchtests/bench-strncat-ifunc.c: New file.
39937         * benchtests/bench-strncat.c: New file.
39938         * benchtests/bench-strncmp-ifunc.c: New file.
39939         * benchtests/bench-strncmp.c: New file.
39940         * benchtests/bench-strncpy-ifunc.c: New file.
39941         * benchtests/bench-strncpy.c: New file.
39942         * benchtests/bench-strnlen-ifunc.c: New file.
39943         * benchtests/bench-strnlen.c: New file.
39944         * benchtests/bench-strpbrk-ifunc.c: New file.
39945         * benchtests/bench-strpbrk.c: New file.
39946         * benchtests/bench-strrchr-ifunc.c: New file.
39947         * benchtests/bench-strrchr.c: New file.
39948         * benchtests/bench-strspn-ifunc.c: New file.
39949         * benchtests/bench-strspn.c: New file.
39950         * benchtests/bench-strstr-ifunc.c: New file.
39951         * benchtests/bench-strstr.c: New file.
39953         * benchtests/Makefile: Disable parallel execution of targets.
39954         (string-bench): Add memcpy.
39955         (benchset): New variable to store a list of benchmark sets.
39956         (bench-func): Renamed from bench.
39957         (bench-set): New target.
39958         (bench): Depend on bench-func and bench-set.
39959         * benchtests/README: Add section on benchmark sets.
39960         * benchtests/bench-memcpy-ifunc.c: New file.
39961         * benchtests/bench-memcpy.c: New file.
39962         * benchtests/bench-string.h: New file.
39964 2013-06-11  Andreas Schwab  <schwab@suse.de>
39966         [BZ #15577]
39967         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39968         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39969         values in the triple.
39970         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39971         terminator in the group key.
39973 2013-06-11  Andreas Jaeger  <aj@suse.de>
39975         * po/zh_TW.po: Update Chinese (traditional) translation from
39976         translation project.
39978 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39980         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39981         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39982         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39983         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39984         (clock_getcpuclockid): Likewise.
39985         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39986         Add weak_alias and libc_hidden_def.
39987         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39988         * rt/clock_gettime.c (clock_gettime): Rename to
39989         __clock_gettime.  Add weak_alias and libc_hidden_def.
39990         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39991         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39992         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39993         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39994         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39995         Likewise.
39996         * rt/clock_settime.c (clock_settime): Rename to
39997         __clock_settime.  Add weak_alias and libc_hidden_def.
39998         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40000 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40002         * mach/err_boot.sub: Remove trailing whitespace.
40003         * mach/err_ipc.sub: Likewise.
40004         * mach/err_mach.sub: Likewise.
40006         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40007         (ROUNDING_TESTS_double): Likewise.
40008         (ROUNDING_TESTS_long_double): Likewise.
40009         (ROUNDING_TESTS): Likewise.
40010         * math/libm-test.inc: Include <math-tests.h>.
40011         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40012         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40013         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40014         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40016 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40018         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40019         of assigning.
40021 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40023         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40024         otherwise empty TRANS lines.
40025         * sysdeps/gnu/errlist.c: Regenerated.
40027         * catgets/gencat.c (error_print): Use (void) in function
40028         definition.
40029         * crypt/crypt_util.c (__init_des): Likewise.
40030         * crypt/speeds.c (Stop): Likewise.
40031         (main): Likewise.
40032         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40033         * inet/ruserpass.c (token): Likewise.
40034         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40035         * intl/localealias.c (extend_alias_table): Likewise.
40036         * intl/plural-exp.c (init_germanic_plural): Likewise.
40037         * libio/fcloseall.c (__fcloseall): Likewise.
40038         * libio/genops.c (_IO_flush_all): Likewise.
40039         (_IO_flush_all_linebuffered): Likewise.
40040         (_IO_cleanup): Likewise.
40041         (_IO_iter_begin): Likewise.
40042         (_IO_iter_end): Likewise.
40043         (_IO_list_lock): Likewise.
40044         (_IO_list_unlock): Likewise.
40045         (_IO_list_resetlock): Likewise.
40046         * libio/getchar.c (getchar): Likewise.
40047         * libio/getchar_u.c (getchar_unlocked): Likewise.
40048         * libio/getwchar.c (getwchar): Likewise.
40049         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40050         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40051         * login/getpt.c (__getpt): Likewise.
40052         * login/tst-utmp.c (main): Likewise.
40053         * malloc/hooks.c (__malloc_check_init): Likewise.
40054         * malloc/malloc.c (__malloc_stats): Likewise.
40055         * malloc/mtrace.c (tr_break): Likewise.
40056         (mtrace): Likewise.
40057         (muntrace): Likewise.
40058         * misc/fstab.c (endfsent): Likewise.
40059         * misc/getclktck.c (__getclktck): Likewise.
40060         * misc/getdtsz.c (__getdtablesize): Likewise.
40061         * misc/gethostid.c (gethostid): Likewise.
40062         * misc/getpagesize.c (__getpagesize): Likewise.
40063         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40064         (__get_nprocs): Likewise.
40065         (__get_phys_pages): Likewise.
40066         (__get_avphys_pages): Likewise.
40067         * misc/getttyent.c (getttyent): Likewise.
40068         (setttyent): Likewise.
40069         (endttyent): Likewise.
40070         * misc/getusershell.c (getusershell): Likewise.
40071         (endusershell): Likewise.
40072         (setusershell): Likewise.
40073         (initshells): Likewise.
40074         * misc/hsearch.c (__hdestroy): Likewise.
40075         * misc/sync.c (sync): Likewise.
40076         * misc/syslog.c (closelog_internal): Likewise.
40077         (closelog): Likewise.
40078         * misc/ttyslot.c (ttyslot): Likewise.
40079         * misc/vhangup.c (vhangup): Likewise.
40080         * posix/fork.c (__fork): Likewise.
40081         * posix/getegid.c (__getegid): Likewise.
40082         * posix/geteuid.c (__geteuid): Likewise.
40083         * posix/getgid.c (__getgid): Likewise.
40084         * posix/getpid.c (__getpid): Likewise.
40085         * posix/getppid.c (__getppid): Likewise.
40086         * posix/getuid.c (__getuid): Likewise.
40087         * posix/pause.c (pause): Likewise.
40088         * posix/setpgrp.c (setpgrp): Likewise.
40089         * posix/setsid.c (__setsid): Likewise.
40090         * posix/test-vfork.c (noop): Likewise.
40091         * resolv/gethnamaddr.c (_endhtent): Likewise.
40092         (_gethtent): Likewise.
40093         (ht_endhostent): Likewise.
40094         (gethostent): Likewise.
40095         (dns_service): Likewise.
40096         * stdlib/drand48.c (drand48): Likewise.
40097         * stdlib/lrand48.c (lrand48): Likewise.
40098         * stdlib/mrand48.c (mrand48): Likewise.
40099         * stdlib/rand.c (rand): Likewise.
40100         * stdlib/random.c (__random): Likewise.
40101         * stdlib/setenv.c (clearenv): Likewise.
40102         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40103         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40104         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40105         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40106         (__get_nprocs): Likewise.
40107         (__get_phys_pages): Likewise.
40108         (__get_avphys_pages): Likewise.
40109         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40110         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40111         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40112         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40113         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40114         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40115         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40116         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40117         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40118         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40119         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40120         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40121         * sysdeps/posix/clock.c (clock): Likewise.
40122         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40123         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40124         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40125         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40126         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40127         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40128         (__get_nprocs_conf): Likewise.
40129         (__get_phys_pages): Likewise.
40130         (__get_avphys_pages): Likewise.
40131         * time/clock.c (clock): Likewise.
40132         * time/tzset.c (__tzname_max): Likewise.
40134 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40136         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40137         (__bswap_32): Do not use "register".
40138         * crypt/crypt.c (_ufc_doit_r): Likewise.
40139         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40140         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40141         * gmon/gmon.c (__monstartup): Likewise.
40142         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40143         * hurd/hurdmalloc.c (more_memory): Likewise.
40144         (malloc): Likewise.
40145         (free): Likewise.
40146         (realloc): Likewise.
40147         (malloc_fork_prepare): Likewise.
40148         (malloc_fork_parent): Likewise.
40149         (malloc_fork_child): Likewise.
40150         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40151         (_svcauth_des): Likewise.
40152         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40153         * inet/inet_net.c (inet_network): Likewise.
40154         * inet/inet_netof.c (inet_netof): Likewise.
40155         * inet/rcmd.c (__validuser2_sa): Likewise.
40156         * io/fts.c (fts_open): Likewise.
40157         (fts_load): Likewise.
40158         (fts_close): Likewise.
40159         (fts_read): Likewise.
40160         (fts_children): Likewise.
40161         (fts_build): Likewise.
40162         (fts_stat): Likewise.
40163         (fts_sort): Likewise.
40164         (fts_alloc): Likewise.
40165         (fts_lfree): Likewise.
40166         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40167         (_IO_file_xsgetn): Likewise.
40168         (_IO_file_xsgetn_mmap): Likewise.
40169         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40170         (_IO_cookie_write): Likewise.
40171         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40172         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40173         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40174         * malloc/obstack.c (_obstack_begin): Likewise.
40175         (_obstack_begin_1): Likewise.
40176         (_obstack_newchunk): Likewise.
40177         (_obstack_allocated_p): Likewise.
40178         (obstack_free): Likewise.
40179         (_obstack_memory_used): Likewise.
40180         * misc/getttyent.c (getttynam): Likewise.
40181         (getttyent): Likewise.
40182         (skip): Likewise.
40183         (value): Likewise.
40184         * misc/getusershell.c (initshells): Likewise.
40185         * misc/syslog.c (__vsyslog_chk): Likewise.
40186         * misc/ttyslot.c (ttyslot): Likewise.
40187         * nis/nis_hash.c (__nis_hash): Likewise.
40188         * posix/fnmatch_loop.c (FCT): Likewise.
40189         * posix/getconf.c (print_all): Likewise.
40190         (main): Likewise.
40191         * posix/getopt.c (exchange): Likewise.
40192         * posix/glob.c (globfree): Likewise.
40193         (prefix_array): Likewise.
40194         (__glob_pattern_type): Likewise.
40195         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40196         (NS_GET32): Likewise.
40197         (NS_PUT16): Likewise.
40198         (NS_PUT32): Likewise.
40199         * resolv/gethnamaddr.c (getanswer): Likewise.
40200         (gethostbyname2): Likewise.
40201         (gethostbyaddr): Likewise.
40202         (_gethtent): Likewise.
40203         (_gethtbyname2): Likewise.
40204         (_gethtbyaddr): Likewise.
40205         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40206         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40207         * resolv/res_init.c (__res_vinit): Likewise.
40208         (net_mask): Likewise.
40209         * resolv/res_mkquery.c (outchar): Likewise.
40210         (PRINT): Likewise.
40211         * stdio-common/printf_fp.c (outchar): Likewise.
40212         (PRINT): Likewise.
40213         * stdio-common/printf_fphex.c (outchar): Likewise.
40214         (PRINT): Likewise.
40215         * stdio-common/printf_size.c (outchar): Likewise.
40216         (PRINT): Likewise.
40217         * stdio-common/test_rdwr.c (main): Likewise.
40218         * stdio-common/tfformat.c (matches): Likewise.
40219         * stdio-common/vfprintf.c (outchar): Likewise.
40220         (printf_unknown): Likewise.
40221         (buffered_vfprintf): Likewise.
40222         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40223         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40224         (ReadFile): Likewise.
40225         * stdlib/qsort.c (SWAP): Likewise.
40226         (_quicksort): Likewise.
40227         * stdlib/setenv.c (__add_to_environ): Likewise.
40228         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40229         * stdlib/strtol_l.c (__strtol_l): Likewise.
40230         * stdlib/tst-strtod.c (main): Likewise.
40231         * stdlib/tst-strtol.c (main): Likewise.
40232         * stdlib/tst-strtoll.c (main): Likewise.
40233         * string/bits/string2.h (__strcmp_cc): Likewise.
40234         (__strcmp_cg): Likewise.
40235         (__strcspn_c1): Likewise.
40236         (__strcspn_c2): Likewise.
40237         (__strcspn_c3): Likewise.
40238         (__strspn_c1): Likewise.
40239         (__strspn_c2): Likewise.
40240         (__strspn_c3): Likewise.
40241         (__strsep_1c): Likewise.
40242         (__strsep_2c): Likewise.
40243         (__strsep_3c): Likewise.
40244         * string/memccpy.c (__memccpy): Likewise.
40245         * string/stpcpy.c (__stpcpy): Likewise.
40246         * string/strcmp.c (strcmp): Likewise.
40247         * string/strrchr.c (strrchr): Likewise.
40248         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40249         Likewise.
40250         * sysdeps/mach/hurd/getcwd.c
40251         (_hurd_canonicalize_directory_name_internal): Likewise.
40252         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40253         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40254         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40255         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40256         Likewise, in both definitions.
40257         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40258         definitions.
40259         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40260         64] (__bswap_64): Likewise.
40261         * time/test_time.c (main): Likewise.
40262         * time/tzfile.c (__tzfile_read): Likewise.
40263         (__tzfile_compute): Likewise.
40264         * time/tzset.c (__tzset_parse_tz): Likewise.
40265         (tzset_internal): Likewise.
40266         (compute_change): Likewise.
40267         * wcsmbs/wcscat.c (__wcscat): Likewise.
40268         * wcsmbs/wcschr.c (wcschr): Likewise.
40269         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40270         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40271         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40272         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40273         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40274         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40275         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40276         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40277         * wcsmbs/wmemset.c (wmemset): Likewise.
40279 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40281         * scripts/config.guess: Update to version 2013-05-16.
40282         * scripts/config.sub: Update to version 2013-04-24.
40283         * scripts/install-sh: Update to version 2011-11-20.07.
40284         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40285         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40287 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40289         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40290         * elf/sln.c: Likewise.
40291         * hurd/hurd/ioctl.h: Likewise.
40292         * hurd/hurdmalloc.c: Likewise.
40293         * hurd/xattr.c: Likewise.
40294         * include/shlib-compat.h: Likewise.
40295         * inet/ruserpass.c: Likewise.
40296         * libio/iofgets_u.c: Likewise.
40297         * libio/iofgetws_u.c: Likewise.
40298         * locale/programs/ld-identification.c: Likewise.
40299         * locale/programs/ld-time.c: Likewise.
40300         * mach/msg-destroy.c: Likewise.
40301         * nss/nss_files/files-netgrp.c: Likewise.
40302         * resolv/res_data.c: Likewise.
40303         * soft-fp/op-1.h: Likewise.
40304         * soft-fp/op-2.h: Likewise.
40305         * soft-fp/op-4.h: Likewise.
40306         * soft-fp/op-common.h: Likewise.
40307         * stdio-common/printf_fphex.c: Likewise.
40308         * stdlib/strtod_l.c: Likewise.
40309         * sunrpc/rpc/clnt.h: Likewise.
40310         * sysdeps/generic/framestate.c: Likewise.
40311         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40312         * sysdeps/i386/bsd-setjmp.S: Likewise.
40313         * sysdeps/i386/__longjmp.S: Likewise.
40314         * sysdeps/i386/setjmp.S: Likewise.
40315         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40316         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40317         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40318         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40319         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40320         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40321         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40322         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40323         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40324         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40325         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40326         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40327         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40328         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40329         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40330         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40331         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40332         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40333         * sysdeps/ieee754/support.c: Likewise.
40334         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40335         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40336         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40337         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40338         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40339         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40340         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40341         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40342         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40343         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40344         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40345         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40346         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40347         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40348         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40349         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40350         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40353 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40355         * posix/transbug.c: Remove executable mode.
40357 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40359         * crypt/speeds.c: Remove trailing whitespace.
40360         * dlfcn/default.c: Likewise.
40361         * elf/ifuncdep2.c: Likewise.
40362         * elf/ifuncmain1.c: Likewise.
40363         * elf/ifuncmain1vis.c: Likewise.
40364         * elf/testobj.h: Likewise.
40365         * elf/tst-stackguard1.c: Likewise.
40366         * gmon/sys/gmon.h: Likewise.
40367         * hurd/hurdmsg.c: Likewise.
40368         * hurd/new-fd.c: Likewise.
40369         * hurd/ports-get.c: Likewise.
40370         * iconvdata/ibm1008_420.c: Likewise.
40371         * inet/tst-getni1.c: Likewise.
40372         * inet/tst-getni2.c: Likewise.
40373         * libio/ioungetc.c: Likewise.
40374         * libio/wfiledoalloc.c: Likewise.
40375         * manual/libm-err-tab.pl: Likewise.
40376         * math/w_dremf.c: Likewise.
40377         * misc/ftruncate.c: Likewise.
40378         * posix/bug-glob2.c: Likewise.
40379         * posix/tst-pcre.c: Likewise.
40380         * posix/wait4.c: Likewise.
40381         * resolv/README: Likewise.
40382         * resolv/res_debug.h: Likewise.
40383         * resolv/tst-inet_ntop.c: Likewise.
40384         * setjmp/bug269-setjmp.c: Likewise.
40385         * soft-fp/extended.h: Likewise.
40386         * soft-fp/op-1.h: Likewise.
40387         * soft-fp/op-2.h: Likewise.
40388         * soft-fp/op-4.h: Likewise.
40389         * soft-fp/op-8.h: Likewise.
40390         * soft-fp/testit.c: Likewise.
40391         * stdio-common/bug16.c: Likewise.
40392         * stdlib/random.c: Likewise.
40393         * sunrpc/rpcsvc/rquota.x: Likewise.
40394         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40395         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40396         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40397         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40398         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40399         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40400         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40401         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40402         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40403         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40404         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40405         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40406         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40407         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40408         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40409         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40410         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40411         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40412         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40413         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40414         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40415         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40416         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40417         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40418         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40419         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40420         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40421         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40422         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40423         * sysdeps/ieee754/s_lib_version.c: Likewise.
40424         * sysdeps/mach/hurd/check_fds.c: Likewise.
40425         * sysdeps/mach/hurd/getsockname.c: Likewise.
40426         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40427         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40428         * sysdeps/powerpc/bits/link.h: Likewise.
40429         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40430         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40431         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40432         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40433         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40434         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40435         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40436         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40437         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40438         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40439         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40440         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40441         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40442         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40443         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40444         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40445         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40446         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40447         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40448         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40449         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40450         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40452         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40453         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40454         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40455         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40456         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40457         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40458         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40459         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40460         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40461         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40462         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40463         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40464         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40465         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40466         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40467         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40468         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40469         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40470         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40471         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40472         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40473         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40474         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40475         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40476         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40477         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40478         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40479         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40480         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40481         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40482         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40483         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40484         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40485         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40486         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40487         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40488         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40489         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40490         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40491         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40492         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40493         * sysdeps/powerpc/sysdep.h: Likewise.
40494         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40495         * sysdeps/s390/s390-64/sub_n.S: Likewise.
40496         * sysdeps/sh/dl-trampoline.S: Likewise.
40497         * sysdeps/sh/memset.S: Likewise.
40498         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40499         * sysdeps/sh/strlen.S: Likewise.
40500         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40501         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40502         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40503         * sysdeps/sparc/sparc32/rem.S: Likewise.
40504         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40505         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40506         * sysdeps/sparc/sparc32/strchr.S: Likewise.
40507         * sysdeps/sparc/sparc32/udiv.S: Likewise.
40508         * sysdeps/sparc/sparc32/urem.S: Likewise.
40509         * sysdeps/sparc/sparc64/add_n.S: Likewise.
40510         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40511         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40512         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40513         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40514         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40515         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40516         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40517         * sysdeps/unix/bsd/times.c: Likewise.
40518         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40519         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40523         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40524         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40525         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40526         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40527         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40528         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40529         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40530         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40531         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40532         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40533         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40534         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40535         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40536         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40537         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40538         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40539         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40540         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40541         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40542         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40543         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40544         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40545         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40546         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40547         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40548         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40549         * sysdeps/x86_64/strcspn.S: Likewise.
40551 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40553         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40554         generated file.  Regenerate properly from gen-translit.pl.
40555         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40556         locale/C-translit.h.
40558 2013-06-05  Andreas Schwab  <schwab@suse.de>
40560         [BZ #15100]
40561         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40562         week as 6 instead of -1.
40563         * time/tst-strptime.c (day_tests): Add test case.
40565 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40567         * sysdeps/generic/math_private.h
40568         (libc_feholdexcept_setround_53bit): Replace with
40569         libc_feholdsetround_53bit.
40570         (libc_feupdateenv_53bit): Replace with
40571         libc_feresetround_53bit.
40572         (SET_RESTORE_ROUND_53BIT): Adjust.
40574 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40576         * string/test-strchrnul.c: Add copyright header.
40578         * posix/tst-getaddrinfo4.c: Increase test timeout.
40580 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40582         [BZ #15536]
40583         * math/libm-test.inc (MAX_EXP): Remove
40584         (MIN_EXP): Define.
40585         (ulp): Use MIN_EXP - MANT_DIG.
40586         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40588 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40590         * po/be.po: Revert last change.
40591         * po/zh_CN.po: Likewise.
40592         * po/header.pot: Likewise.
40594 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40596         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40597         link-libc-deps to empty as target-specific variable.
40598         * Makerules (link-libc-args): New variable.
40599         (libc-for-link): Likewise.
40600         (link-libc-deps): Likewise.
40601         (lib%.so): Depend on $(link-libc-deps).  Link with
40602         $(link-libc-args).
40603         (build-module): Link with $(link-libc-args).
40604         (build-module-asneeded): Likewise.
40605         (build-module-helper-objlist): Filter out $(link-libc-deps) from
40606         list of objects.
40607         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40608         target-specific variable.
40609         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40610         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40611         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40612         libc.
40613         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40614         libc and ld.so.
40615         ($(objpfx)libpcprofile.so): Likewise.
40616         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40617         libc_nonshared.a.
40618         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40619         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40620         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40621         $(link-libc-deps).
40622         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40623         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40624         * login/Makefile ($(objpfx)libutil.so): Likewise.
40625         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40626         * math/Makefile ($(objpfx)libm.so): Likewise.
40627         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40628         $(objpfx)libnsl.so): Define libc-for-link as target-specific
40629         variable instead of depending directly on libc.
40630         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40631         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40632         $(link-libc-deps).
40633         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
40634         libc.
40635         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
40636         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
40637         ($(objpfx)libanl.so): Likewise.
40638         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
40639         ld.so.
40640         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
40641         $(link-libc-deps).
40642         * sysdeps/i386/fpu/Makefile: Remove file.
40643         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
40644         ($(objpfx)libm.so): Remove dependency on ld.so.
40646 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
40648         [BZ # 15553]
40649         * nis/yp_xdr.c (XDRMAXNAME): Define.
40650         (XDRMAXRECORD): Define.
40651         (xdr_domainname): Use XDRMAXNAME.
40652         (xdr_mapname): Likewise.
40653         (xdr_peername): Likewise.
40654         (xdr_keydat): Use XDRMAXRECORD.
40655         (xdr_valdat): Likewise.
40657 2013-05-30  Jeff Law  <law@redhat.com>
40659         [BZ #14256]
40660         * manual/errno.texi (ESTALE): Update to account for more than
40661         just NFS file systems.
40662         * sysdeps/gnu/errlist.c: Regenerated.
40664 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40666         [BZ #15465]
40667         * elf/Makefile (tests): Add tst-null-argv.
40668         (modules-names):  Add tst-null-argv-lib.
40669         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40670         (tst-null-argv-ENV): Set environment for tst-null-argv.
40671         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40672         (RTLD_PROGNAME): New macro.
40673         * elf/tst-null-argv.c: New test case.
40674         * elf/tst-null-argv-lib.c: Library for test case.
40675         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40676         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40677         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40678         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40679         * elf/dl-init.c (call_init): Likewise.
40680         (_dl_init): Likewise.
40681         * elf/dl-load.c (print_search_path): Likewise.
40682         (_dl_map_object): Likewise.
40683         * elf/dl-lookup.c (do_lookup_x): Likewise.
40684         (add_dependency): Likewise.
40685         (_dl_lookup_symbol_x): Likewise.
40686         (_dl_debug_bindings): Likewise.
40687         * elf/dl-open.c (_dl_show_scope): Likewise.
40688         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40689         * elf/dl-version.c (match_symbol): Likewise.
40690         (_dl_check_map_versions): Likewise.
40691         * elf/rtld.c (dl_main): Likewise.
40692         (print_unresolved): Use RTLD_PROGNAME.
40693         (print_missing_version): Likewise.
40694         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40695         (elf_machine_rela): Likewise.
40696         * sysdeps/powerpc/powerpc32/dl-machine.c
40697         (__process_machine_rela): Likewise.
40698         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40699         Likewise.
40700         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40701         Likewise.
40702         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40703         Likewise.
40704         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40705         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40706         Likewise.
40707         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40708         Likewise.
40709         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40711 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40713         * po/be.po: Add descriptive title.
40714         * po/zh_CN.po: Likewise.
40715         * po/header.pot: Likewise.
40717 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40719         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40720         error message.
40721         (enlarge_archive): Likewise.
40723 2013-05-28  Ben North  <ben@redfrontdoor.org>
40725         * manual/arith.texi (frexp): It is the magnitude of the return
40726         value which lies in [0.5, 1), not the return value itself.
40728 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40732 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40734         * stdio-common/bug26.c (main): Correct fscanf template.
40736         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40737         declare _dl_skip_args.
40739         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40740         Don't declare.
40742         * manual/platform.texi: Add missing @end deftypefun.
40744 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40746         [BZ #15529]
40747         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40748         bit of mantissa of 2^16382.
40749         * math/libm-test.inc (hypot_test_data): Add more tests.
40751         * math/libm-test.inc: Add drem and pow10 to list of tested
40752         functions.
40753         (pow10_test): New function.
40754         (drem_test): Likewise.
40755         (drem_test_tonearest): Likewise.
40756         (drem_test_towardzero): Likewise.
40757         (drem_test_downward): Likewise.
40758         (drem_test_upward): Likewise.
40759         (main): Call the new functions.
40761         * math/libm-test.inc (finite_test_data): Remove.
40762         (finite_test): Run tests from isfinite_test_data.
40763         (gamma_test_data): Remove.
40764         (gamma_test): Run tests from lgamma_test_data.
40765         * sysdeps/i386/fpu/libm-test-ulps: Update.
40766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40768 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40770         * manual/platform.texi: Add PowerPC PPR function set documentation.
40771         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40772         implementation.
40774 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40776         * math/libm-test.inc (MAX_EXP): Define.
40777         (ULPDIFF): Define.
40778         (ulp): New function.
40779         (check_float_internal): Use ULPDIFF.
40780         (cpow_test): Disable failing test.
40781         (check_ulp): Test ulp() implemetnation.
40782         (main): Call check_ulp before starting tests.
40784 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40786         * math/gen-libm-test.pl (generate_testfile): Do not handle
40787         START_DATA and END_DATA.
40788         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40789         END_DATA.
40790         (acos_tonearest_test_data): Likewise.
40791         (acos_towardzero_test_data): Likewise.
40792         (acos_downward_test_data): Likewise.
40793         (acos_upward_test_data): Likewise.
40794         (acosh_test_data): Likewise.
40795         (asin_test_data): Likewise.
40796         (asin_tonearest_test_data): Likewise.
40797         (asin_towardzero_test_data): Likewise.
40798         (asin_downward_test_data): Likewise.
40799         (asin_upward_test_data): Likewise.
40800         (asinh_test_data): Likewise.
40801         (atan_test_data): Likewise.
40802         (atanh_test_data): Likewise.
40803         (atan2_test_data): Likewise.
40804         (cabs_test_data): Likewise.
40805         (cacos_test_data): Likewise.
40806         (cacosh_test_data): Likewise.
40807         (carg_test_data): Likewise.
40808         (casin_test_data): Likewise.
40809         (casinh_test_data): Likewise.
40810         (catan_test_data): Likewise.
40811         (catanh_test_data): Likewise.
40812         (cbrt_test_data): Likewise.
40813         (ccos_test_data): Likewise.
40814         (ccosh_test_data): Likewise.
40815         (ceil_test_data): Likewise.
40816         (cexp_test_data): Likewise.
40817         (cimag_test_data): Likewise.
40818         (clog_test_data): Likewise.
40819         (clog10_test_data): Likewise.
40820         (conj_test_data): Likewise.
40821         (copysign_test_data): Likewise.
40822         (cos_test_data): Likewise.
40823         (cos_tonearest_test_data): Likewise.
40824         (cos_towardzero_test_data): Likewise.
40825         (cos_downward_test_data): Likewise.
40826         (cos_upward_test_data): Likewise.
40827         (cosh_test_data): Likewise.
40828         (cosh_tonearest_test_data): Likewise.
40829         (cosh_towardzero_test_data): Likewise.
40830         (cosh_downward_test_data): Likewise.
40831         (cosh_upward_test_data): Likewise.
40832         (cpow_test_data): Likewise.
40833         (cproj_test_data): Likewise.
40834         (creal_test_data): Likewise.
40835         (csin_test_data): Likewise.
40836         (csinh_test_data): Likewise.
40837         (csqrt_test_data): Likewise.
40838         (ctan_test_data): Likewise.
40839         (ctan_tonearest_test_data): Likewise.
40840         (ctan_towardzero_test_data): Likewise.
40841         (ctan_downward_test_data): Likewise.
40842         (ctan_upward_test_data): Likewise.
40843         (ctanh_test_data): Likewise.
40844         (ctanh_tonearest_test_data): Likewise.
40845         (ctanh_towardzero_test_data): Likewise.
40846         (ctanh_downward_test_data): Likewise.
40847         (ctanh_upward_test_data): Likewise.
40848         (erf_test_data): Likewise.
40849         (erfc_test_data): Likewise.
40850         (exp_test_data): Likewise.
40851         (exp_tonearest_test_data): Likewise.
40852         (exp_towardzero_test_data): Likewise.
40853         (exp_downward_test_data): Likewise.
40854         (exp_upward_test_data): Likewise.
40855         (exp10_test_data): Likewise.
40856         (exp2_test_data): Likewise.
40857         (expm1_test_data): Likewise.
40858         (fabs_test_data): Likewise.
40859         (fdim_test_data): Likewise.
40860         (finite_test_data): Likewise.
40861         (floor_test_data): Likewise.
40862         (fma_test_data): Likewise.
40863         (fma_towardzero_test_data): Likewise.
40864         (fma_downward_test_data): Likewise.
40865         (fma_upward_test_data): Likewise.
40866         (fmax_test_data): Likewise.
40867         (fmin_test_data): Likewise.
40868         (fmod_test_data): Likewise.
40869         (fpclassify_test_data): Likewise.
40870         (frexp_test_data): Likewise.
40871         (gamma_test_data): Likewise.
40872         (hypot_test_data): Likewise.
40873         (ilogb_test_data): Likewise.
40874         (isfinite_test_data): Likewise.
40875         (isgreater_test_data): Likewise.
40876         (isgreaterequal_test_data): Likewise.
40877         (isinf_test_data): Likewise.
40878         (isless_test_data): Likewise.
40879         (islessequal_test_data): Likewise.
40880         (islessgreater_test_data): Likewise.
40881         (isnan_test_data): Likewise.
40882         (isnormal_test_data): Likewise.
40883         (issignaling_test_data): Likewise.
40884         (isunordered_test_data): Likewise.
40885         (j0_test_data): Likewise.
40886         (j1_test_data): Likewise.
40887         (jn_test_data): Likewise.
40888         (ldexp_test_data): Likewise.
40889         (lgamma_test_data): Likewise.
40890         (lrint_test_data): Likewise.
40891         (lrint_tonearest_test_data): Likewise.
40892         (lrint_towardzero_test_data): Likewise.
40893         (lrint_downward_test_data): Likewise.
40894         (lrint_upward_test_data): Likewise.
40895         (llrint_test_data): Likewise.
40896         (llrint_tonearest_test_data): Likewise.
40897         (llrint_towardzero_test_data): Likewise.
40898         (llrint_downward_test_data): Likewise.
40899         (llrint_upward_test_data): Likewise.
40900         (log_test_data): Likewise.
40901         (log10_test_data): Likewise.
40902         (log1p_test_data): Likewise.
40903         (log2_test_data): Likewise.
40904         (logb_test_data): Likewise.
40905         (logb_downward_test_data): Likewise.
40906         (lround_test_data): Likewise.
40907         (llround_test_data): Likewise.
40908         (modf_test_data): Likewise.
40909         (nearbyint_test_data): Likewise.
40910         (nextafter_test_data): Likewise.
40911         (nexttoward_test_data): Likewise.
40912         (pow_test_data): Likewise.
40913         (pow_tonearest_test_data): Likewise.
40914         (pow_towardzero_test_data): Likewise.
40915         (pow_downward_test_data): Likewise.
40916         (pow_upward_test_data): Likewise.
40917         (remainder_test_data): Likewise.
40918         (remainder_tonearest_test_data): Likewise.
40919         (remainder_towardzero_test_data): Likewise.
40920         (remainder_downward_test_data): Likewise.
40921         (remainder_upward_test_data): Likewise.
40922         (remquo_test_data): Likewise.
40923         (rint_test_data): Likewise.
40924         (rint_tonearest_test_data): Likewise.
40925         (rint_towardzero_test_data): Likewise.
40926         (rint_downward_test_data): Likewise.
40927         (rint_upward_test_data): Likewise.
40928         (round_test_data): Likewise.
40929         (scalb_test_data): Likewise.
40930         (scalbn_test_data): Likewise.
40931         (scalbln_test_data): Likewise.
40932         (signbit_test_data): Likewise.
40933         (sin_test_data): Likewise.
40934         (sin_tonearest_test_data): Likewise.
40935         (sin_towardzero_test_data): Likewise.
40936         (sin_downward_test_data): Likewise.
40937         (sin_upward_test_data): Likewise.
40938         (sincos_test_data): Likewise.
40939         (sinh_test_data): Likewise.
40940         (sinh_tonearest_test_data): Likewise.
40941         (sinh_towardzero_test_data): Likewise.
40942         (sinh_downward_test_data): Likewise.
40943         (sinh_upward_test_data): Likewise.
40944         (sqrt_test_data): Likewise.
40945         (tan_test_data): Likewise.
40946         (tan_tonearest_test_data): Likewise.
40947         (tan_towardzero_test_data): Likewise.
40948         (tan_downward_test_data): Likewise.
40949         (tan_upward_test_data): Likewise.
40950         (tanh_test_data): Likewise.
40951         (tgamma_test_data): Likewise.
40952         (trunc_test_data): Likewise.
40953         (y0_test_data): Likewise.
40954         (y1_test_data): Likewise.
40955         (yn_test_data): Likewise.
40956         (significand_test_data): Likewise.
40958         * math/gen-libm-test.pl (@functions): Remove variable.
40959         (generate_testfile): Don't handle START and END lines.
40960         * math/libm-test.inc (START): New macro.
40961         (END): Likewise.
40962         (END_COMPLEX): Likewise.
40963         (acos_test): Use END macro without arguments.
40964         (acos_test_tonearest): Likewise.
40965         (acos_test_towardzero): Likewise.
40966         (acos_test_downward): Likewise.
40967         (acos_test_upward): Likewise.
40968         (acosh_test): Likewise.
40969         (asin_test): Likewise.
40970         (asin_test_tonearest): Likewise.
40971         (asin_test_towardzero): Likewise.
40972         (asin_test_downward): Likewise.
40973         (asin_test_upward): Likewise.
40974         (asinh_test): Likewise.
40975         (atan_test): Likewise.
40976         (atanh_test): Likewise.
40977         (atan2_test): Likewise.
40978         (cabs_test): Likewise.
40979         (cacos_test): Use END_COMPLEX macro without arguments.
40980         (cacosh_test): Likewise.
40981         (carg_test): Use END macro without arguments.
40982         (casin_test): Use END_COMPLEX macro without arguments.
40983         (casinh_test): Likewise.
40984         (catan_test): Likewise.
40985         (catanh_test): Likewise.
40986         (cbrt_test): Use END macro without arguments.
40987         (ccos_test): Use END_COMPLEX macro without arguments.
40988         (ccosh_test): Likewise.
40989         (ceil_test): Use END macro without arguments.
40990         (cexp_test): Use END_COMPLEX macro without arguments.
40991         (cimag_test): Use END macro without arguments.
40992         (clog_test): Use END_COMPLEX macro without arguments.
40993         (clog10_test): Likewise.
40994         (conj_test): Likewise.
40995         (copysign_test): Use END macro without arguments.
40996         (cos_test): Likewise.
40997         (cos_test_tonearest): Likewise.
40998         (cos_test_towardzero): Likewise.
40999         (cos_test_downward): Likewise.
41000         (cos_test_upward): Likewise.
41001         (cosh_test): Likewise.
41002         (cosh_test_tonearest): Likewise.
41003         (cosh_test_towardzero): Likewise.
41004         (cosh_test_downward): Likewise.
41005         (cosh_test_upward): Likewise.
41006         (cpow_test): Use END_COMPLEX macro without arguments.
41007         (cproj_test): Likewise.
41008         (creal_test): Use END macro without arguments.
41009         (csin_test): Use END_COMPLEX macro without arguments.
41010         (csinh_test): Likewise.
41011         (csqrt_test): Likewise.
41012         (ctan_test): Likewise.
41013         (ctan_test_tonearest): Likewise.
41014         (ctan_test_towardzero): Likewise.
41015         (ctan_test_downward): Likewise.
41016         (ctan_test_upward): Likewise.
41017         (ctanh_test): Likewise.
41018         (ctanh_test_tonearest): Likewise.
41019         (ctanh_test_towardzero): Likewise.
41020         (ctanh_test_downward): Likewise.
41021         (ctanh_test_upward): Likewise.
41022         (erf_test): Use END macro without arguments.
41023         (erfc_test): Likewise.
41024         (exp_test): Likewise.
41025         (exp_test_tonearest): Likewise.
41026         (exp_test_towardzero): Likewise.
41027         (exp_test_downward): Likewise.
41028         (exp_test_upward): Likewise.
41029         (exp10_test): Likewise.
41030         (exp2_test): Likewise.
41031         (expm1_test): Likewise.
41032         (fabs_test): Likewise.
41033         (fdim_test): Likewise.
41034         (finite_test): Likewise.
41035         (floor_test): Likewise.
41036         (fma_test): Likewise.
41037         (fma_test_towardzero): Likewise.
41038         (fma_test_downward): Likewise.
41039         (fma_test_upward): Likewise.
41040         (fmax_test): Likewise.
41041         (fmin_test): Likewise.
41042         (fmod_test): Likewise.
41043         (fpclassify_test): Likewise.
41044         (frexp_test): Likewise.
41045         (gamma_test): Likewise.
41046         (hypot_test): Likewise.
41047         (ilogb_test): Likewise.
41048         (isfinite_test): Likewise.
41049         (isgreater_test): Likewise.
41050         (isgreaterequal_test): Likewise.
41051         (isinf_test): Likewise.
41052         (isless_test): Likewise.
41053         (islessequal_test): Likewise.
41054         (islessgreater_test): Likewise.
41055         (isnan_test): Likewise.
41056         (isnormal_test): Likewise.
41057         (issignaling_test): Likewise.
41058         (isunordered_test): Likewise.
41059         (j0_test): Likewise.
41060         (j1_test): Likewise.
41061         (jn_test): Likewise.
41062         (ldexp_test): Likewise.
41063         (lgamma_test): Likewise.
41064         (lrint_test): Likewise.
41065         (lrint_test_tonearest): Likewise.
41066         (lrint_test_towardzero): Likewise.
41067         (lrint_test_downward): Likewise.
41068         (lrint_test_upward): Likewise.
41069         (llrint_test): Likewise.
41070         (llrint_test_tonearest): Likewise.
41071         (llrint_test_towardzero): Likewise.
41072         (llrint_test_downward): Likewise.
41073         (llrint_test_upward): Likewise.
41074         (log_test): Likewise.
41075         (log10_test): Likewise.
41076         (log1p_test): Likewise.
41077         (log2_test): Likewise.
41078         (logb_test): Likewise.
41079         (logb_test_downward): Likewise.
41080         (lround_test): Likewise.
41081         (llround_test): Likewise.
41082         (modf_test): Likewise.
41083         (nearbyint_test): Likewise.
41084         (nextafter_test): Likewise.
41085         (nexttoward_test): Likewise.
41086         (pow_test): Likewise.
41087         (pow_test_tonearest): Likewise.
41088         (pow_test_towardzero): Likewise.
41089         (pow_test_downward): Likewise.
41090         (pow_test_upward): Likewise.
41091         (remainder_test): Likewise.
41092         (remainder_test_tonearest): Likewise.
41093         (remainder_test_towardzero): Likewise.
41094         (remainder_test_downward): Likewise.
41095         (remainder_test_upward): Likewise.
41096         (remquo_test): Likewise.
41097         (rint_test): Likewise.
41098         (rint_test_tonearest): Likewise.
41099         (rint_test_towardzero): Likewise.
41100         (rint_test_downward): Likewise.
41101         (rint_test_upward): Likewise.
41102         (round_test): Likewise.
41103         (scalb_test): Likewise.
41104         (scalbn_test): Likewise.
41105         (scalbln_test): Likewise.
41106         (signbit_test): Likewise.
41107         (sin_test): Likewise.
41108         (sin_test_tonearest): Likewise.
41109         (sin_test_towardzero): Likewise.
41110         (sin_test_downward): Likewise.
41111         (sin_test_upward): Likewise.
41112         (sincos_test): Likewise.
41113         (sinh_test): Likewise.
41114         (sinh_test_tonearest): Likewise.
41115         (sinh_test_towardzero): Likewise.
41116         (sinh_test_downward): Likewise.
41117         (sinh_test_upward): Likewise.
41118         (sqrt_test): Likewise.
41119         (tan_test): Likewise.
41120         (tan_test_tonearest): Likewise.
41121         (tan_test_towardzero): Likewise.
41122         (tan_test_downward): Likewise.
41123         (tan_test_upward): Likewise.
41124         (tanh_test): Likewise.
41125         (tgamma_test): Likewise.
41126         (trunc_test): Likewise.
41127         (y0_test): Likewise.
41128         (y1_test): Likewise.
41129         (yn_test): Likewise.
41130         (significand_test): Likewise.
41132 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41134         [BZ #15381]
41135         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41137 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41139         [BZ #14894]
41140         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41141         __ppc_mdoio and __ppc_mdoom.
41142         * manual/platform.texi: Document new functions __ppc_yield,
41143         __ppc_mdoio and __ppc_mdoom.
41145 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41147         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41148         (main): Mention "tls" pseudo-hwcap is legacy.
41149         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41151 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41153         * math/gen-libm-test.pl (parse_args): Output only string of
41154         arguments as text for test name, not full call or descriptions of
41155         tests for extra outputs.
41156         (generate_testfile): Do not pass function name to parse_args.
41157         Generate this_func variable from START.
41158         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41159         field to arg_str.
41160         (struct test_ff_f_data): Likewise.
41161         (test_ff_f_data_nexttoward): Likewise.
41162         (struct test_fi_f_data): Likewise.
41163         (struct test_fl_f_data): Likewise.
41164         (struct test_if_f_data): Likewise.
41165         (struct test_fff_f_data): Likewise.
41166         (struct test_c_f_data): Likewise.
41167         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41168         (struct test_fF_f1_data): Likewise.
41169         (struct test_ffI_f1_data): Likewise.
41170         (struct test_c_c_data): Rename test_name field to arg_str.
41171         (struct test_cc_c_data): Likewise.
41172         (struct test_f_i_data): Likewise.
41173         (struct test_ff_i_data): Likewise.
41174         (struct test_f_l_data): Likewise.
41175         (struct test_f_L_data): Likewise.
41176         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41177         and extra2_name.
41178         (COMMON_TEST_SETUP): New macro.
41179         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41180         (COMMON_TEST_CLEANUP): Likewise.
41181         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41182         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41183         macros.
41184         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41185         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41186         macros.
41187         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41188         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41189         cleanup macros.
41190         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41191         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41192         macros.
41193         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41194         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41195         macros.
41196         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41197         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41198         cleanup macros.
41199         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41200         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41201         cleanup macros.
41202         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41203         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41204         cleanup macros.
41205         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41206         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41207         macros.
41208         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41209         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41210         macros.
41211         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41212         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41213         macros.
41214         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41215         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41216         cleanup macros.
41217         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41218         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41219         cleanup macros.
41220         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41221         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41222         macros.
41223         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41224         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41225         cleanup macros.
41226         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41227         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41228         macros.
41229         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41230         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41231         macros.
41232         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41233         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41234         cleanup macros.
41235         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41237 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41239         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41240         to _sifields.sigfault.
41241         (si_addr_lsb): Define new macro.
41242         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41243         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41244         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41246 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41248         [BZ #15441]
41249         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41250         returns -1.
41251         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41252         null return -1.
41253         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41254         loading the domain.
41256 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41258         * math/gen-libm-test.pl (parse_args): Do not include expected
41259         result in test name.
41260         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41261         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41262         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41263         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41264         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41267 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41269         * benchtests/Makefile: Sort function entries.
41271         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41272         tanh, asinh, acosh, atanh.
41273         * benchtests/acos-inputs: New file.
41274         * benchtests/acosh-inputs: New file.
41275         * benchtests/asin-inputs: New file.
41276         * benchtests/asinh-inputs: New file.
41277         * benchtests/atanh-inputs: New file.
41278         * benchtests/cosh-inputs: New file.
41279         * benchtests/log-inputs: New file.
41280         * benchtests/sinh-inputs: New file.
41281         * benchtests/tanh-inputs: New file.
41283 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41285         [BZ #15339]
41286         * posix/tst-getaddrinfo4.c: New test.
41287         * posix/Makefile (tests): Add it.
41289 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41291         [BZ #15339]
41292         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41293         when no services were used.
41294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41295         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41297 2013-05-21  Andreas Schwab  <schwab@suse.de>
41299         [BZ #15014]
41300         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41301         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41302         successful.
41303         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41304         redundant variable declarations and reallocation of buffer when
41305         parsing as IPv6 address.  Always set NSS status when called from
41306         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41307         buffer too small.  Correct computation of needed size.
41308         * nss/Makefile (tests): Add test-digits-dots.
41309         * nss/test-digits-dots.c: New test.
41311 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41313         * benchtests/Makefile: Remove instructions for adding
41314         benchmark tests.
41315         * benchtests/README: New file to explain how to execute and
41316         enhance the benchmark tests.
41318 2013-05-21  Andreas Schwab  <schwab@suse.de>
41320         [BZ #15493]
41321         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41322         * setjmp/tst-sigsetjmp.c: New test.
41324 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41326         * sysdeps/x86_64/memset.S (memset): New implementation.
41327         (__bzero): Likewise.
41328         (__memset_tail): New function.
41330 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41332         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41333         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41334         __memcpy_sse2_unaligned ifunc selection.
41335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41336         Add memcpy-sse2-unaligned.S.
41337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41338         Add: __memcpy_sse2_unaligned.
41340 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41342         [BZ #15490]
41343         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41344         math_force_eval before restoring floating-point envrionment.
41345         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41346         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41347         Likewise.
41348         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41349         <math_private.h>.
41350         (__nearbyintl): Use math_force_eval before restoring
41351         floating-point environment.
41352         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41354         * math/gen-libm-test.pl (special_functions): Remove.
41355         (parse_args): Don't handle TEST_extra.  Handle functions with no
41356         return value.
41357         * math/libm-test.inc (struct test_sincos_data): Replace with
41358         struct test_fFF_11_data.
41359         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41360         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41361         (sincos_test_data): Change element type to struct
41362         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41363         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41364         RUN_TEST_LOOP_sincos.
41365         * math/README.libm-test: Don't mention special handling of
41366         individual functions.
41367         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41368         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41369         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41370         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41371         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41374         * math/gen-libm-test.pl (get_variable): Remove function.
41375         (parse_args): Don't show pointer parameters to call in test
41376         names.  Use "extra output N" in test names for extra outputs
41377         rather than naming variables.
41379 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41381         [BZ #15488]
41382         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41383         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41384         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41385         double tests.
41386         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41387         disable.
41388         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41389         check_long_double.
41391         * math/gen-libm-test.pl (@tests): Remove variable.
41392         ($count): Likewise.
41393         (new_test): Remove function.
41394         (show_exceptions): New function.
41395         (special_functions): Use show_exceptions instead of new_test.
41396         (parse_args): Likewise.
41397         (generate_testfile): Pass only function name in generated call to
41398         print_max_error or print_complex_max_error.
41399         (get_ulps): Do not handle complex tests specially.
41400         (output_test): Rename to ...
41401         (get_all_ulps_for_test): ... this.  Return a string rather than
41402         printing to a file.  Require ulps to be present.
41403         (output_ulps): Generate arrays rather than #defines.
41404         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41405         (struct ulp_data): New type.
41406         (BUILD_COMPLEX_ULP): Remove macro.
41407         (compare_ulp_data): New function.
41408         (find_ulps): Likewise.
41409         (find_test_ulps): Likewise.
41410         (find_function_ulps): Likewise.
41411         (find_complex_function_ulps): Likewise.
41412         (print_max_error): Determine allowed ulps using
41413         find_function_ulps.
41414         (print_complex_max_error): Determine allowed ulps using
41415         find_complex_function_ulps.
41416         (check_float_internal): Determine max ulps using find_test_ulps.
41417         (check_float): Do not take max_ulp parameter.  Update call to
41418         check_float_internal.
41419         (check_complex): Likewise.
41420         (check_int): Do not take max_ulp parameter.
41421         (check_long): Likewise.
41422         (check_bool): Likewise.
41423         (check_longlong): Likewise.
41424         (struct test_f_f_data): Remove max_ulp field.
41425         (struct test_ff_f_data): Likewise.
41426         (struct test_ff_f_data_nexttoward): Likewise.
41427         (struct test_fi_f_data): Likewise.
41428         (struct test_fl_f_data): Likewise.
41429         (struct test_if_f_data): Likewise.
41430         (struct test_fff_f_data): Likewise.
41431         (struct test_c_f_data): Likewise.
41432         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41433         (struct test_fF_f1_data): Likewise.
41434         (struct test_ffI_f1_data): Likewise.
41435         (struct test_c_c_data): Remove max_ulp field.
41436         (struct test_cc_c_data): Likewise.
41437         (struct test_f_i_data): Likewise.
41438         (struct test_ff_i_data): Likewise.
41439         (struct test_f_l_data): Likewise.
41440         (struct test_f_L_data): Likewise.
41441         (struct test_sincos_data): Likewise.
41442         (RUN_TEST_f_f): Do not handle ulps.
41443         (RUN_TEST_LOOP_f_f): Likewise.
41444         (RUN_TEST_2_f): Likewise.
41445         (RUN_TEST_LOOP_2_f): Likewise.
41446         (RUN_TEST_fff_f): Likewise.
41447         (RUN_TEST_LOOP_fff_f): Likewise.
41448         (RUN_TEST_c_f): Likewise.
41449         (RUN_TEST_LOOP_c_f): Likewise.
41450         (RUN_TEST_f_f1): Likewise.
41451         (RUN_TEST_LOOP_f_f1): Likewise.
41452         (RUN_TEST_fF_f1): Likewise.
41453         (RUN_TEST_LOOP_fF_f1): Likewise.
41454         (RUN_TEST_fI_f1): Likewise.
41455         (RUN_TEST_LOOP_fI_f1): Likewise.
41456         (RUN_TEST_ffI_f1): Likewise.
41457         (RUN_TEST_LOOP_ffI_f1): Likewise.
41458         (RUN_TEST_c_c): Likewise.
41459         (RUN_TEST_LOOP_c_c): Likewise.
41460         (RUN_TEST_cc_c): Likewise.
41461         (RUN_TEST_LOOP_cc_c): Likewise.
41462         (RUN_TEST_f_i): Likewise.
41463         (RUN_TEST_LOOP_f_i): Likewise.
41464         (RUN_TEST_f_i_tg): Likewise.
41465         (RUN_TEST_LOOP_f_i_tg): Likewise.
41466         (RUN_TEST_ff_i_tg): Likewise.
41467         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41468         (RUN_TEST_f_b): Likewise.
41469         (RUN_TEST_LOOP_f_b): Likewise.
41470         (RUN_TEST_f_b_tg): Likewise.
41471         (RUN_TEST_LOOP_f_b_tg): Likewise.
41472         (RUN_TEST_f_l): Likewise.
41473         (RUN_TEST_LOOP_f_l): Likewise.
41474         (RUN_TEST_f_L): Likewise.
41475         (RUN_TEST_LOOP_f_L): Likewise.
41476         (RUN_TEST_sincos): Likewise.
41477         (RUN_TEST_LOOP_sincos): Likewise.
41479 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
41481         [BZ #15480]
41482         [BZ #15485]
41483         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41484         main case of finite arguments, set rounding mode to FE_TONEAREST
41485         and discard exceptions.
41486         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41487         exceptions.
41488         (remainder_tonearest_test_data): New variable.
41489         (remainder_test_tonearest): New function.
41490         (remainder_towardzero_test_data): New variable.
41491         (remainder_test_towardzero): New function.
41492         (remainder_downward_test_data): New variable.
41493         (remainder_test_downward): New function.
41494         (remainder_upward_test_data): New variable.
41495         (remainder_test_upward): New function.
41496         (main): Call the new test functions.
41498         * math/libm-test.inc (struct test_f_f1_data): Remove field
41499         extra_init.
41500         (struct test_fF_f1_data): Likewise.
41501         (struct test_ffI_f1_data): Likewise.
41502         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
41503         based on value of EXTRA_EXPECTED.
41504         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41505         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
41506         EXTRA_VAR based on value of EXTRA_EXPECTED.
41507         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41508         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
41509         EXTRA_VAR based on value of EXTRA_EXPECTED.
41510         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41511         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
41512         EXTRA_VAR based on value of EXTRA_EXPECTED.
41513         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41514         * math/gen-libm-test.pl (parse_args): Don't output initializers
41515         for extra output values.
41517         * math/libm-test.inc (check_int): Expect result to be exactly
41518         equal to expected value and do not handle ulps.
41519         (check_long): Likewise.
41520         (check_longlong): Likewise.
41522         * math/libm-test.inc (ceil_test_data): Test for "inexact"
41523         exceptions.
41524         (cimag_test_data): Likewise.
41525         (conj_test_data): Likewise.
41526         (copysign_test_data): Likewise.
41527         (cproj_test_data): Likewise.
41528         (creal_test_data): Likewise.
41529         (fabs_test_data): Likewise.
41530         (fdim_test_data): Likewise.
41531         (finite_test_data): Likewise.
41532         (floor_test_data): Likewise.
41533         (fmax_test_data): Likewise.
41534         (fmin_test_data): Likewise.
41535         (fmod_test_data): Likewise.
41536         (fpclassify_test_data): Likewise.
41537         (frexp_test_data): Likewise.
41538         (ilogb_test_data): Likewise.
41539         (isfinite_test_data): Likewise.
41540         (isgreater_test_data): Likewise.
41541         (isgreaterequal_test_data): Likewise.
41542         (isinf_test_data): Likewise.
41543         (isless_test_data): Likewise.
41544         (islessequal_test_data): Likewise.
41545         (islessgreater_test_data): Likewise.
41546         (isnan_test_data): Likewise.
41547         (isnormal_test_data): Likewise.
41548         (issignaling_test_data): Likewise.
41549         (isunordered_test_data): Likewise.
41550         (ldexp_test_data): Likewise.
41551         (lrint_test_data): Likewise.
41552         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41553         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41554         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41555         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41556         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41557         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41558         test input.
41559         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41560         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41561         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41562         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41563         that test input.
41564         (lrint_downward_test_data): Test for "inexact" exceptions.
41565         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41566         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41567         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41568         test input.
41569         (lrint_upward_test_data): Test for "inexact" exceptions.
41570         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41571         test input.
41572         (llrint_test_data): Test for "inexact" exceptions.
41573         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41574         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41575         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41576         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41577         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41578         (llrint_downward_test_data): Test for "inexact" exceptions.
41579         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41580         (llrint_upward_test_data): Test for "inexact" exceptions.
41581         (logb_test_data): Likewise.
41582         (logb_downward_test_data): Likewise.
41583         (nextafter_test_data): Likewise.
41584         (nexttoward_test_data): Likewise.
41585         (remainder_test_data): Likewise.
41586         (remquo_test_data): Likewise.
41587         (scalbn_test_data): Likewise.
41588         (scalbln_test_data): Likewise.
41589         (signbit_test_data): Likewise.
41590         (sqrt_test_data): Likewise.
41591         (significand_test_data): Likewise.
41593 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41595         [BZ #15424]
41596         * benchtests/bench-modf.c (struct args): Mark arg0 as
41597         volatile.
41598         * scripts/bench.pl: Mark members of struct args as volatile.
41600 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41602         [BZ # 15497]
41603         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41604         negative infinity on POWER6 or lower.
41605         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41607 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41609         [BZ #15442]
41610         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41611         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41612         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41613         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41614         (_FP_SETQNAN): New macro.
41615         (_FP_SETQNAN_SEMIRAW): Likewise.
41616         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41617         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41618         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41619         (FP_EXTEND): Use _FP_FRAC_SNANP.
41620         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41621         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41622         into account.
41623         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41624         New macro.
41625         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41626         Likewise.
41628 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41630         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41631         with DIVIDE_BY_ZERO_EXCEPTION.
41632         (gamma_test_data): Likewise.
41633         (lgamma_test_data): Likewise.
41634         (log_test_data): Likewise.
41635         (log10_test_data): Likewise.
41636         (log2_test_data): Likewise.
41637         (tgamma_test_data): Likewise.
41639         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
41640         (acos_test_tonearest): Likewise.
41641         (acos_test_towardzero): Likewise.
41642         (acos_test_downward): Likewise.
41643         (acos_test_upward): Likewise.
41644         (acosh_test): Likewise.
41645         (asin_test): Likewise.
41646         (asin_test_tonearest): Likewise.
41647         (asin_test_towardzero): Likewise.
41648         (asin_test_downward): Likewise.
41649         (asin_test_upward): Likewise.
41650         (asinh_test): Likewise.
41651         (atan_test): Likewise.
41652         (atanh_test): Likewise.
41653         (atan2_test): Likewise.
41654         (cabs_test): Likewise.
41655         (cacos_test): Likewise.
41656         (cacosh_test): Likewise.
41657         (casin_test): Likewise.
41658         (casinh_test): Likewise.
41659         (catan_test): Likewise.
41660         (catanh_test): Likewise.
41661         (cbrt_test): Likewise.
41662         (ccos_test): Likewise.
41663         (ccosh_test): Likewise.
41664         (cexp_test): Likewise.
41665         (clog_test): Likewise.
41666         (clog10_test): Likewise.
41667         (cos_test): Likewise.
41668         (cos_test_tonearest): Likewise.
41669         (cos_test_towardzero): Likewise.
41670         (cos_test_downward): Likewise.
41671         (cos_test_upward): Likewise.
41672         (cosh_test): Likewise.
41673         (cosh_test_tonearest): Likewise.
41674         (cosh_test_towardzero): Likewise.
41675         (cosh_test_downward): Likewise.
41676         (cosh_test_upward): Likewise.
41677         (cpow_test): Likewise.
41678         (csin_test): Likewise.
41679         (csinh_test): Likewise.
41680         (csqrt_test): Likewise.
41681         (ctan_test): Likewise.
41682         (ctan_test_tonearest): Likewise.
41683         (ctan_test_towardzero): Likewise.
41684         (ctan_test_downward): Likewise.
41685         (ctan_test_upward): Likewise.
41686         (ctanh_test): Likewise.
41687         (ctanh_test_tonearest): Likewise.
41688         (ctanh_test_towardzero): Likewise.
41689         (ctanh_test_downward): Likewise.
41690         (ctanh_test_upward): Likewise.
41691         (erf_test): Likewise.
41692         (erfc_test): Likewise.
41693         (exp_test): Likewise.
41694         (exp_test_tonearest): Likewise.
41695         (exp_test_towardzero): Likewise.
41696         (exp_test_downward): Likewise.
41697         (exp_test_upward): Likewise.
41698         (exp10_test): Likewise.
41699         (exp2_test): Likewise.
41700         (expm1_test): Likewise.
41701         (fmod_test): Likewise.
41702         (gamma_test): Likewise.
41703         (hypot_test): Likewise.
41704         (j0_test): Likewise.
41705         (j1_test): Likewise.
41706         (jn_test): Likewise.
41707         (lgamma_test): Likewise.
41708         (log_test): Likewise.
41709         (log10_test): Likewise.
41710         (log1p_test): Likewise.
41711         (log2_test): Likewise.
41712         (logb_test_downward): Likewise.
41713         (pow_test): Likewise.
41714         (pow_test_tonearest): Likewise.
41715         (pow_test_towardzero): Likewise.
41716         (pow_test_downward): Likewise.
41717         (pow_test_upward): Likewise.
41718         (remainder_test): Likewise.
41719         (remquo_test): Likewise.
41720         (sin_test): Likewise.
41721         (sin_test_tonearest): Likewise.
41722         (sin_test_towardzero): Likewise.
41723         (sin_test_downward): Likewise.
41724         (sin_test_upward): Likewise.
41725         (sincos_test): Likewise.
41726         (sinh_test): Likewise.
41727         (sinh_test_tonearest): Likewise.
41728         (sinh_test_towardzero): Likewise.
41729         (sinh_test_downward): Likewise.
41730         (sinh_test_upward): Likewise.
41731         (sqrt_test): Likewise.
41732         (tan_test): Likewise.
41733         (tan_test_tonearest): Likewise.
41734         (tan_test_towardzero): Likewise.
41735         (tan_test_downward): Likewise.
41736         (tan_test_upward): Likewise.
41737         (tanh_test): Likewise.
41738         (tgamma_test): Likewise.
41739         (y0_test): Likewise.
41740         (y1_test): Likewise.
41741         (yn_test): Likewise.
41743         * math/gen-libm-test.pl (adjust_arg): Remove function.
41744         (special_function): Remove argument $in_func.  Only handle
41745         generating output for tables of tests, not inside functions.
41746         (parse_args): Likewise.
41747         (generate_testfile): Remove variable $in_func.  Update call to
41748         parse_args.
41749         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41750         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41751         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41752         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41753         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41754         (MAX_VALUE_INIT): Rename macro to max_value.
41755         (MIN_VALUE_INIT): Rename macro to min_value.
41756         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41757         (plus_zero): Remove variable.
41758         (minus_zero): Likewise.
41759         (plus_infty): Likewise.
41760         (minus_infty): Likewise.
41761         (qnan_value): Likewise.
41762         (max_value): Likewise.
41763         (min_value): Likewise.
41764         (min_subnorm_value): Likewise.
41766 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41768         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41769         uint64_t or uint32_t usage.
41770         * crypt/sha256-block.c: Likewise.
41771         * crypt/sha256-crypt.c: Likewise.
41772         * crypt/sha256.c: Likewise.
41773         * crypt/sha512-block.c: Likewise.
41774         * crypt/sha512-crypt.c: Likewise.
41775         * crypt/sha512.c: Likewise.
41776         * debug/backtrace-tst.c: Likewise.
41777         * debug/pcprofiledump.c: Likewise.
41778         * elf/cache.c: Likewise.
41779         * elf/dl-cache.c: Likewise.
41780         * elf/dl-misc.c: Likewise.
41781         * elf/dl-profile.c: Likewise.
41782         * elf/dl-support.c: Likewise.
41783         * elf/ldconfig.c: Likewise.
41784         * elf/sprof.c: Likewise.
41785         * iconv/dummy-repertoire.c: Likewise.
41786         * iconv/iconv_charmap.c: Likewise.
41787         * iconv/skeleton.c: Likewise.
41788         * iconvdata/8bit-generic.c: Likewise.
41789         * iconvdata/cp737.h: Likewise.
41790         * iconvdata/cp775.h: Likewise.
41791         * iconvdata/ibm1008.h: Likewise.
41792         * iconvdata/ibm1025.h: Likewise.
41793         * iconvdata/ibm1046.h: Likewise.
41794         * iconvdata/ibm1097.h: Likewise.
41795         * iconvdata/ibm1112.h: Likewise.
41796         * iconvdata/ibm1122.h: Likewise.
41797         * iconvdata/ibm1123.h: Likewise.
41798         * iconvdata/ibm1124.h: Likewise.
41799         * iconvdata/ibm1129.h: Likewise.
41800         * iconvdata/ibm1130.h: Likewise.
41801         * iconvdata/ibm1132.h: Likewise.
41802         * iconvdata/ibm1133.h: Likewise.
41803         * iconvdata/ibm1137.h: Likewise.
41804         * iconvdata/ibm1140.h: Likewise.
41805         * iconvdata/ibm1141.h: Likewise.
41806         * iconvdata/ibm1142.h: Likewise.
41807         * iconvdata/ibm1143.h: Likewise.
41808         * iconvdata/ibm1144.h: Likewise.
41809         * iconvdata/ibm1145.h: Likewise.
41810         * iconvdata/ibm1146.h: Likewise.
41811         * iconvdata/ibm1147.h: Likewise.
41812         * iconvdata/ibm1148.h: Likewise.
41813         * iconvdata/ibm1149.h: Likewise.
41814         * iconvdata/ibm1153.h: Likewise.
41815         * iconvdata/ibm1154.h: Likewise.
41816         * iconvdata/ibm1155.h: Likewise.
41817         * iconvdata/ibm1156.h: Likewise.
41818         * iconvdata/ibm1157.h: Likewise.
41819         * iconvdata/ibm1158.h: Likewise.
41820         * iconvdata/ibm1160.h: Likewise.
41821         * iconvdata/ibm1161.h: Likewise.
41822         * iconvdata/ibm1162.h: Likewise.
41823         * iconvdata/ibm1163.h: Likewise.
41824         * iconvdata/ibm1164.h: Likewise.
41825         * iconvdata/ibm1166.h: Likewise.
41826         * iconvdata/ibm1167.h: Likewise.
41827         * iconvdata/ibm12712.h: Likewise.
41828         * iconvdata/ibm1390.h: Likewise.
41829         * iconvdata/ibm1399.h: Likewise.
41830         * iconvdata/ibm16804.h: Likewise.
41831         * iconvdata/ibm4517.h: Likewise.
41832         * iconvdata/ibm4899.h: Likewise.
41833         * iconvdata/ibm4909.h: Likewise.
41834         * iconvdata/ibm4971.h: Likewise.
41835         * iconvdata/ibm5347.h: Likewise.
41836         * iconvdata/ibm803.h: Likewise.
41837         * iconvdata/ibm856.h: Likewise.
41838         * iconvdata/ibm901.h: Likewise.
41839         * iconvdata/ibm902.h: Likewise.
41840         * iconvdata/ibm9030.h: Likewise.
41841         * iconvdata/ibm9066.h: Likewise.
41842         * iconvdata/ibm921.h: Likewise.
41843         * iconvdata/ibm922.h: Likewise.
41844         * iconvdata/ibm9448.h: Likewise.
41845         * iconvdata/isiri-3342.h: Likewise.
41846         * iconvdata/jis0201.h: Likewise.
41847         * include/link.h: Likewise.
41848         * include/netdb.h: Likewise.
41849         * inet/check_native.c: Likewise.
41850         * inet/check_pf.c: Likewise.
41851         * inet/getipv4sourcefilter.c: Likewise.
41852         * inet/getnameinfo.c: Likewise.
41853         * inet/getsourcefilter.c: Likewise.
41854         * inet/htonl.c: Likewise.
41855         * inet/setipv4sourcefilter.c: Likewise.
41856         * inet/setsourcefilter.c: Likewise.
41857         * inet/test-inet6_opt.c: Likewise.
41858         * inet/tst-network.c: Likewise.
41859         * locale/C-collate.c: Likewise.
41860         * locale/C-ctype.c: Likewise.
41861         * locale/C-time.c: Likewise.
41862         * locale/C-translit.h: Likewise.
41863         * locale/loadarchive.c: Likewise.
41864         * locale/programs/3level.h: Likewise.
41865         * locale/programs/charmap.c: Likewise.
41866         * locale/programs/charmap.h: Likewise.
41867         * locale/programs/ld-address.c: Likewise.
41868         * locale/programs/ld-collate.c: Likewise.
41869         * locale/programs/ld-ctype.c: Likewise.
41870         * locale/programs/ld-identification.c: Likewise.
41871         * locale/programs/ld-measurement.c: Likewise.
41872         * locale/programs/ld-messages.c: Likewise.
41873         * locale/programs/ld-monetary.c: Likewise.
41874         * locale/programs/ld-name.c: Likewise.
41875         * locale/programs/ld-numeric.c: Likewise.
41876         * locale/programs/ld-paper.c: Likewise.
41877         * locale/programs/ld-telephone.c: Likewise.
41878         * locale/programs/ld-time.c: Likewise.
41879         * locale/programs/linereader.c: Likewise.
41880         * locale/programs/locale.c: Likewise.
41881         * locale/programs/locarchive.c: Likewise.
41882         * locale/programs/locfile.h: Likewise.
41883         * locale/programs/repertoire.c: Likewise.
41884         * locale/programs/simple-hash.c: Likewise.
41885         * locale/programs/simple-hash.h: Likewise.
41886         * malloc/memusage.c: Likewise.
41887         * malloc/memusagestat.c: Likewise.
41888         * nis/nis_defaults.c: Likewise.
41889         * nis/nis_hash.c: Likewise.
41890         * nis/nis_print.c: Likewise.
41891         * nis/nis_xdr.c: Likewise.
41892         * nscd/connections.c: Likewise.
41893         * nscd/hstcache.c: Likewise.
41894         * nscd/nscd_gethst_r.c: Likewise.
41895         * nscd/nscd_getserv_r.c: Likewise.
41896         * nscd/nscd_helper.c: Likewise.
41897         * nscd/servicescache.c: Likewise.
41898         * nss/makedb.c: Likewise.
41899         * nss/nss_db/db-XXX.c: Likewise.
41900         * nss/nss_db/db-initgroups.c: Likewise.
41901         * nss/nss_db/db-netgrp.c: Likewise.
41902         * nss/nss_files/files-network.c: Likewise.
41903         * nss/nss_files/files-parse.c: Likewise.
41904         * posix/bug-regex5.c: Likewise.
41905         * posix/fnmatch_loop.c: Likewise.
41906         * posix/regcomp.c: Likewise.
41907         * posix/regexec.c: Likewise.
41908         * posix/tst-rfc3484-2.c: Likewise.
41909         * posix/tst-rfc3484-3.c: Likewise.
41910         * posix/tst-rfc3484.c: Likewise.
41911         * resolv/nss_dns/dns-canon.c: Likewise.
41912         * resolv/nss_dns/dns-network.c: Likewise.
41913         * resolv/res_init.c: Likewise.
41914         * resolv/res_mkquery.c: Likewise.
41915         * resolv/tst-aton.c: Likewise.
41916         * stdlib/cxa_atexit.c: Likewise.
41917         * stdlib/cxa_finalize.c: Likewise.
41918         * stdlib/gen-fpioconst.c: Likewise.
41919         * stdlib/strtol_l.c: Likewise.
41920         * string/tst-endian.c: Likewise.
41921         * sunrpc/auth_des.c: Likewise.
41922         * sunrpc/clnt_udp.c: Likewise.
41923         * sunrpc/rtime.c: Likewise.
41924         * sunrpc/svcauth_des.c: Likewise.
41925         * sunrpc/xdr.c: Likewise.
41926         * sunrpc/xdr_intXX_t.c: Likewise.
41927         * sunrpc/xdr_rec.c: Likewise.
41928         * sysdeps/generic/ldconfig.h: Likewise.
41929         * sysdeps/generic/ldsodefs.h: Likewise.
41930         * sysdeps/generic/memusage.h: Likewise.
41931         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41932         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41933         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41934         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41936         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41937         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41938         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41939         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41941         * sysdeps/posix/getaddrinfo.c: Likewise.
41942         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41943         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41944         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41945         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41946         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41947         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41948         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41949         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41950         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41951         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41952         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41953         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41954         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41955         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41956         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41957         * sysdeps/x86_64/dl-tls.h: Likewise.
41958         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41959         * time/alt_digit.c: Likewise.
41960         * time/era.c: Likewise.
41961         * wcsmbs/tst-c16c32-1.c: Likewise.
41963 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41965         * math/libm-test.inc (struct test_sincos_data): New type.
41966         (RUN_TEST_LOOP_sincos): New macro.
41967         (sincos_test_data): New variable.
41968         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41970 2013-05-16  Richard Henderson  <rth@redhat.com>
41972         * math/atest-exp2.c (LIMB64): New macro.
41973         (CONSTSZ): New macro.
41974         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41975         (hexdig): Move ...
41976         (print_mpn_fp): ... to function scope.
41977         (read_mpn_hex): Remove.
41978         (get_log2): Remove.
41979         (exp2_mpn): Use mp_log2.
41980         (main): Use mp_exp1.
41982 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41984         * math/libm-test.inc: Remove comment about not testing "inexact"
41985         exceptions.
41986         (INEXACT_EXCEPTION): New macro.
41987         (NO_INEXACT_EXCEPTION): Likewise.
41988         (INVALID_EXCEPTION_OK): Update value.
41989         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41990         (OVERFLOW_EXCEPTION_OK): Likewise.
41991         (UNDERFLOW_EXCEPTION_OK): Likewise.
41992         (IGNORE_ZERO_INF_SIGN): Likewise.
41993         (ERRNO_UNCHANGED): Likewise.
41994         (ERRNO_EDOM): Likewise.
41995         (ERRNO_ERANGE): Likewise.
41996         (test_exceptions): Handle testing "inexact" exceptions.
41997         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41998         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41999         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42000         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42001         INEXACT_EXCEPTION.
42002         (rint_towardzero_test_data): Likewise.
42003         (rint_downward_test_data): Likewise.
42004         (rint_upward_test_data): Likewise.
42006         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42007         with OVERFLOW_EXCEPTION.
42008         (exp10_test_data): Likewise.
42009         (exp2_test_data): Likewise.
42010         (expm1_test_data): Likewise.
42011         (lgamma_test_data): Likewise.
42012         (pow_test_data): Likewise.
42013         (tgamma_test_data): Likewise.
42014         (yn_test_data): Remove duplicate test of overflow.
42016         * math/libm-test.inc (struct test_cc_c_data): New type.
42017         (RUN_TEST_LOOP_cc_c): New macro.
42018         (cpow_test_data): New variable.
42019         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42021         * math/libm-test.inc (struct test_f_L_data): New type.
42022         (RUN_TEST_LOOP_f_L): New macro.
42023         (llrint_test_data): New variable.
42024         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42025         (llrint_tonearest_test_data): New variable.
42026         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42027         (llrint_towardzero_test_data): New variable.
42028         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42029         (llrint_downward_test_data): New variable.
42030         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42031         (llrint_upward_test_data): New variable.
42032         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42033         (llround_test_data): New variable.
42034         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42036 2013-05-13  Peter Collingbourne  <pcc@google.com>
42038         * math/atest-exp2.c (get_log2): Remove const attribute.
42040 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42042         * math/libm-test.inc (struct test_f_l_data): New type.
42043         (RUN_TEST_LOOP_f_l): New macro.
42044         (lrint_test_data): New variable.
42045         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42046         (lrint_tonearest_test_data): New variable.
42047         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42048         (lrint_towardzero_test_data): New variable.
42049         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42050         (lrint_downward_test_data): New variable.
42051         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42052         (lrint_upward_test_data): New variable.
42053         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42054         (lround_test_data): New variable.
42055         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42057 2013-05-15  Peter Collingbourne  <pcc@google.com>
42059         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42060         (EXTRACT_WORDS64) Use where appropriate.
42061         (INSERT_WORDS64) Likewise.
42063         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42064         constraints with x constraints.
42065         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42067         * malloc/obstack.c (_obstack_compat): Add initializer.
42069 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42071         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42072         si_trapno and add si_addr_lsb to _sifields.sigfault.
42073         (si_trapno): Remove macro.
42074         (si_addr_lsb): Define new macro.
42075         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42077 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42079         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42080         instead of TEST_f_l.
42081         (llrint_test_tonearest): Likewise.
42082         (llrint_test_towardzero): Likewise.
42083         (llrint_test_downward): Likewise.
42084         (llrint_test_upward): Likewise.
42085         (llround_test): Likewise.
42087         * math/libm-test.inc (struct test_f_i_data): Add comment.
42088         (RUN_TEST_LOOP_f_b): New macro.
42089         (RUN_TEST_LOOP_f_b_tg): Likewise.
42090         (finite_test_data): New variable.
42091         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42092         (isfinite_test_data): New variable.
42093         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42094         (isinf_test_data): New variable.
42095         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42096         (isnan_test_data): New variable.
42097         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42098         (isnormal_test_data): New variable.
42099         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42100         (issignaling_test_data): New variable.
42101         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42102         (signbit_test_data): New variable.
42103         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42105         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42106         with INVALID_EXCEPTION.
42107         (acosh_test_data): Likewise.
42108         (asin_test_data): Likewise.
42109         (atanh_test_data): Likewise.
42110         (fmod_test_data): Likewise.
42111         (log_test_data): Likewise.
42112         (log10_test_data): Likewise.
42113         (log2_test_data): Likewise.
42114         (pow_test_data): Likewise.
42115         (sqrt_test_data): Likewise.
42116         (y0_test_data): Likewise.
42117         (y1_test_data): Likewise.
42118         (yn_test_data): Likewise.
42120         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42121         function contents.
42123         * math/libm-test.inc (struct test_ff_i_data): New type.
42124         (RUN_TEST_LOOP_ff_i_tg): New macro.
42125         (isgreater_test_data): New variable.
42126         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42127         (isgreaterequal_test_data): New variable.
42128         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42129         (isless_test_data): New variable.
42130         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42131         (islessequal_test_data): New variable.
42132         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42133         (islessgreater_test_data): New variable.
42134         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42135         (isunordered_test_data): New variable.
42136         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42138 2013-05-14  David S. Miller  <davem@davemloft.net>
42140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42142 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42144         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42146         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42147         extra_test to int.
42148         (struct test_f_i_data): Change type of max_ulp to int.
42150         * math/libm-test.inc (test_ffI_f1_data): New type.
42151         (RUN_TEST_LOOP_ffI_f1): New macro.
42152         (remquo_test_data): New variable.
42153         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42155         * setjmp/tst-setjmp-fp.c: New file.
42156         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42157         (link-libm): New variable.
42158         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42160         * math/libm-test.inc (struct test_f_i_data): New type.
42161         (RUN_TEST_LOOP_f_i): New macro.
42162         (RUN_TEST_LOOP_f_i_tg): Likewise.
42163         (fpclassify_test_data): New variable.
42164         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42165         (ilogb_test_data): New variable.
42166         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42168         * math/libm-test.inc (scalbln_test): Correct function name in END
42169         call.
42171         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42172         (RUN_TEST_LOOP_fI_f1): New macro.
42173         (frexp_test_data): New variable.
42174         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42176         * math/libm-test.inc (struct test_fF_f1_data): New type.
42177         (RUN_TEST_LOOP_fF_f1): New macro.
42178         (modf_test_data): New variable.
42179         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42181         * math/libm-test.inc (struct test_f_f1_data): New type.
42182         (RUN_TEST_LOOP_f_f1): New macro.
42183         (gamma_test_data): New variable.
42184         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42185         (lgamma_test_data): New variable.
42186         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42188 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42190         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42191         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42192         (main): Comment "tls" pseudo-hwcap.
42194 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42196         * math/libm-test.inc (struct test_fl_f_data): New type.
42197         (RUN_TEST_LOOP_fl_f): New variable.
42198         (scalbln_test_data): New variable.
42199         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42201         * math/libm-test.inc (struct test_fi_f_data): New type.
42202         (RUN_TEST_LOOP_fi_f): New macro.
42203         (ldexp_test_data): New variable.
42204         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42205         (scalbn_test_data): New variable.
42206         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42208         * math/libm-test.inc (struct test_c_f_data): New type.
42209         (RUN_TEST_LOOP_c_f): New macro.
42210         (cabs_test_data): New variable.
42211         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42212         (carg_test_data): New variable.
42213         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42214         (cimag_test_data): New variable.
42215         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42216         (creal_test_data): New variable.
42217         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42219         * math/libm-test.inc (struct test_if_f_data): New type.
42220         (RUN_TEST_LOOP_if_f): New macro.
42221         (jn_test_data): New variable.
42222         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42223         (yn_test_data): New variable.
42224         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42226         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42228 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42230         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42231         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42233 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42235         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42236         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42237         (bench-deps): Add bench-timing.h.
42238         * benchtests-bench-skeleton.c: Include bench-timing.h.
42239         (main): Use TIMING_* macros instead of clock_gettime.
42240         * benchtests/bench-timing.h: New file.
42242         [BZ #14582]
42243         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42244         Renamed from _LIB_VERSION.
42245         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42247 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42249         * math/libm-test.inc (struct test_fff_f_data): New type.
42250         (RUN_TEST_LOOP_fff_f): New macro.
42251         (fma_test_data): New variable.
42252         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42253         (fma_towardzero_test_data): New variable.
42254         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42255         (fma_downward_test_data): New variable.
42256         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42257         (fma_upward_test_data): New variable.
42258         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42260         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42261         (struct test_c_c_data): New type.
42262         (RUN_TEST_LOOP_c_c): New macro.
42263         (cacos_test_data): New variable.
42264         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42265         (cacosh_test_data): New variable.
42266         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42267         (casin_test_data): New variable.
42268         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42269         (casinh_test_data): New variable.
42270         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42271         (catan_test_data): New variable.
42272         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42273         (catanh_test_data): New variable.
42274         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42275         (ccos_test_data): New variable.
42276         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42277         (ccosh_test_data): New variable.
42278         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42279         (cexp_test_data): New variable.
42280         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42281         (clog_test_data): New variable.
42282         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42283         (clog10_test_data): New variable.
42284         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42285         (conj_test_data): New variable.
42286         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42287         (cproj_test_data): New variable.
42288         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42289         (csin_test_data): New variable.
42290         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42291         (csinh_test_data): New variable.
42292         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42293         (csqrt_test_data): New variable.
42294         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42295         (ctan_test_data): New variable.
42296         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42297         (ctan_tonearest_test_data): New variable.
42298         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42299         (ctan_towardzero_test_data): New variable.
42300         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42301         (ctan_downward_test_data): New variable.
42302         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42303         (ctan_upward_test_data): New variable.
42304         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42305         (ctanh_test_data): New variable.
42306         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42307         (ctanh_tonearest_test_data): New variable.
42308         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42309         (ctanh_towardzero_test_data): New variable.
42310         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42311         (ctanh_downward_test_data): New variable.
42312         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42313         (ctanh_upward_test_data): New variable.
42314         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42315         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42316         of BUILD_COMPLEX.
42318         * math/libm-test.inc (struct test_ff_f_data): New type.
42319         (struct test_ff_f_data_nexttoward): Likewise.
42320         (RUN_TEST_LOOP_2_f): New macro.
42321         (RUN_TEST_LOOP_ff_f): Likewise.
42322         (atan2_test_data): New variable.
42323         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42324         (copysign_test_data): New variable.
42325         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42326         (fdim_test_data): New variable.
42327         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42328         (fmax_test_data): New variable.
42329         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42330         (fmin_test_data): New variable.
42331         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42332         (fmod_test_data): New variable.
42333         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42334         (hypot_test_data): New variable.
42335         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42336         (nextafter_test_data): New variable.
42337         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42338         (nexttoward_test_data): New variable.
42339         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42340         (pow_test_data): New variable.
42341         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42342         (pow_tonearest_test_data): New variable.
42343         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42344         (pow_towardzero_test_data): New variable.
42345         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42346         (pow_downward_test_data): New variable.
42347         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42348         (pow_upward_test_data): New variable.
42349         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42350         (remainder_test_data): New variable.
42351         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42352         (scalb_test_data): New variable.
42353         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42354         * sysdeps/i386/fpu/libm-test-ulps: Update.
42356 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42358         * math/libm-test.inc (fma_test): Use max_value instead of local
42359         variable fltmax.
42360         (nextafter_test): Likewise.
42362         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42363         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42364         (acos_downward_test_data): New variable.
42365         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42366         (acos_upward_test_data): New variable.
42367         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42368         (acosh_test_data): New variable.
42369         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42370         (asin_test_data): New variable.
42371         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42372         (asin_tonearest_test_data): New variable.
42373         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42374         (asin_towardzero_test_data): New variable.
42375         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42376         (asin_downward_test_data): New variable.
42377         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42378         (asin_upward_test_data): New variable.
42379         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42380         (asinh_test_data): New variable.
42381         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42382         (atan_test_data): New variable.
42383         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42384         (atanh_test_data): New variable.
42385         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42386         (cbrt_test_data): New variable.
42387         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42388         (ceil_test_data): New variable.
42389         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42390         (cos_test_data): New variable.
42391         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42392         (cos_tonearest_test_data): New variable.
42393         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42394         (cos_towardzero_test_data): New variable.
42395         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42396         (cos_downward_test_data): New variable.
42397         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42398         (cos_upward_test_data): New variable.
42399         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42400         (cosh_test_data): New variable.
42401         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42402         (cosh_tonearest_test_data): New variable.
42403         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42404         (cosh_towardzero_test_data): New variable.
42405         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42406         (cosh_downward_test_data): New variable.
42407         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42408         (cosh_upward_test_data): New variable.
42409         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42410         (erf_test_data): New variable.
42411         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42412         (erfc_test_data): New variable.
42413         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42414         (exp_test_data): New variable.
42415         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42416         (exp_tonearest_test_data): New variable.
42417         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42418         (exp_towardzero_test_data): New variable.
42419         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42420         (exp_downward_test_data): New variable.
42421         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42422         (exp_upward_test_data): New variable.
42423         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42424         (exp10_test_data): New variable.
42425         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42426         (exp2_test_data): New variable.
42427         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42428         (expm1_test_data): New variable.
42429         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42430         (fabs_test_data): New variable.
42431         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42432         (floor_test_data): New variable.
42433         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42434         (j0_test_data): New variable.
42435         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42436         (j1_test_data): New variable.
42437         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42438         (log_test_data): New variable.
42439         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42440         (log10_test_data): New variable.
42441         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42442         (log1p_test_data): New variable.
42443         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42444         (log2_test_data): New variable.
42445         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42446         (logb_test_data): New variable.
42447         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42448         (logb_downward_test_data): New variable.
42449         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42450         (nearbyint_test_data): New variable.
42451         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42452         (rint_test_data): New variable.
42453         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42454         (rint_tonearest_test_data): New variable.
42455         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42456         (rint_towardzero_test_data): New variable.
42457         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42458         (rint_downward_test_data): New variable.
42459         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42460         (rint_upward_test_data): New variable.
42461         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42462         (round_test_data): New variable.
42463         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42464         (sin_test_data): New variable.
42465         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42466         (sin_tonearest_test_data): New variable.
42467         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42468         (sin_towardzero_test_data): New variable.
42469         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42470         (sin_downward_test_data): New variable.
42471         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42472         (sin_upward_test_data): New variable.
42473         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42474         (sinh_test_data): New variable.
42475         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42476         (sinh_tonearest_test_data): New variable.
42477         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42478         (sinh_towardzero_test_data): New variable.
42479         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42480         (sinh_downward_test_data): New variable.
42481         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42482         (sinh_upward_test_data): New variable.
42483         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42484         (sqrt_test_data): New variable.
42485         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42486         (tan_test_data): New variable.
42487         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42488         (tan_tonearest_test_data): New variable.
42489         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42490         (tan_towardzero_test_data): New variable.
42491         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42492         (tan_downward_test_data): New variable.
42493         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42494         (tan_upward_test_data): New variable.
42495         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42496         (tanh_test_data): New variable.
42497         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42498         (tgamma_test_data): New variable.
42499         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42500         (trunc_test_data): New variable.
42501         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42502         (y0_test_data): New variable.
42503         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42504         (y1_test_data): New variable.
42505         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42506         (significand_test_data): New variable.
42507         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42509 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
42511         [BZ #12387]
42512         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42514 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42516         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42518 2013-05-10  Andreas Jaeger  <aj@suse.de>
42520         [BZ #15448]
42521         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42522         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42524 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42526         * math/gen-libm-test.pl (adjust_arg): New function.
42527         (special_functions): Handle generating output in both functions
42528         and arrays.
42529         (parse_args): Likewise.
42530         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
42531         $in_func argument to parse_args.
42532         * math/libm-test.inc (struct test_f_f_data): New type.
42533         (IF_ROUND_INIT_): New macro.
42534         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42535         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42536         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42537         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42538         (ROUND_RESTORE_): Likewise.
42539         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42540         (ROUND_RESTORE_FE_TONEAREST): Likewise.
42541         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42542         (ROUND_RESTORE_FE_UPWARD): Likewise.
42543         (RUN_TEST_LOOP_f_f): New macro.
42544         (acos_test_data): New variable.
42545         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42546         (acos_tonearest_test_data): New variable.
42547         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42549 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42551         * benchtests/bench-skeleton.c (startup): Fix coding style.
42553 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42555         [BZ #6809]
42556         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42557         negative infinity argument.
42558         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42559         negative infinity argument.
42560         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42561         negative infinity argument.
42562         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42563         domain errors.
42565 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42567         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42568         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42569         * iconv/iconv_prog.c (main): Likewise.
42570         * locale/programs/charmap-dir.c (charmap_readdir)
42571         (fopen_uncompressed): Likewise.
42572         * locale/programs/locfile.c (siblings_uncached)
42573         (write_locale_data): Use lstat64 instead of lstat.
42574         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42575         stat.
42577 2013-05-10  Andreas Jaeger  <aj@suse.de>
42579         [BZ #15395]
42580         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42581         localization.
42582         Include <locale.h>.
42584 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42586         * elf/dl-close.c (_dl_close_worker): Add comments.
42588 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42590         [BZ #15359]
42591         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42592         high part of pi/2.
42593         (__ieee754_rem_pio2l): Update comments.
42595         [BZ #15429]
42596         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42597         high part of pi/2.
42598         (__ieee754_rem_pio2l): Update comments.
42600         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42601         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42603         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42604         M_PI_4l.
42606         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42607         (M_PI_34_LOG10El): Likewise.
42608         (M_PI2_LOG10El): Likewise.
42609         (M_PI4_LOG10El): Likewise.
42610         (M_PI_LOG10El): Likewise.
42612 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42616 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
42618         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42619         (MINUS_ZERO_INIT): Likewise.
42620         (PLUS_INFTY_INIT): Likewise.
42621         (MINUS_INFTY_INIT): Likewise.
42622         (QNAN_VALUE_INIT): Likewise.
42623         (MAX_VALUE_INIT): Likewise.
42624         (MIN_VALUE_INIT): Likewise.
42625         (MIN_SUBNORM_VALUE_INIT): Likewise.
42626         (plus_zero): Initialize with PLUS_ZERO_INIT.
42627         (minus_zero): Initialize with MINUS_ZERO_INIT.
42628         (plus_infty): Initialize with PLUS_INFTY_INIT.
42629         (minus_infty): Initialize with MINUS_INFTY_INIT.
42630         (qnan_value): Initialize with QNAN_VALUE_INIT.
42631         (max_value): Initialize with MAX_VALUE_INIT.
42632         (min_value): Initialize with MIN_VALUE_INIT.
42633         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
42635         * math/libm-test.inc (RUN_TEST_if_f): New macro.
42636         (jn_test): Use TEST_if_f instead of TEST_ff_f.
42637         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
42638         (yn_test): Use TEST_if_f instead of TEST_ff_f.
42640         * math/libm-test.inc (RUN_TEST_f_f): New macro.
42641         (RUN_TEST_2_f): Likewise.
42642         (RUN_TEST_ff_f): Likewise.
42643         (RUN_TEST_fi_f): Likewise.
42644         (RUN_TEST_fl_f): Likewise.
42645         (RUN_TEST_fff_f): Likewise.
42646         (RUN_TEST_c_f): Likewise.
42647         (RUN_TEST_f_f1): Likewise.
42648         (RUN_TEST_fF_f1): Likewise.
42649         (RUN_TEST_fI_f1): Likewise.
42650         (RUN_TEST_ffI_f1): Likewise.
42651         (RUN_TEST_c_c): Likewise.
42652         (RUN_TEST_cc_c): Likewise.
42653         (RUN_TEST_f_i): Likewise.
42654         (RUN_TEST_f_i_tg): Likewise.
42655         (RUN_TEST_ff_i_tg): Likewise.
42656         (RUN_TEST_f_b): Likewise.
42657         (RUN_TEST_f_b_tg): Likewise.
42658         (RUN_TEST_f_l): Likewise.
42659         (RUN_TEST_f_L): Likewise.
42660         (RUN_TEST_sincos): Likewise.
42661         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42662         whether to show exceptions.  Do not include ");\n" in return
42663         value.
42664         (special_functions): Output call to RUN_TEST_sincos instead of
42665         check_float calls.  Update calls to new_test.
42666         (parse_args): Output call to single RUN_TEST_* macro instead of
42667         check_* calls and other assignments.  Update calls to new_test.
42669         [BZ #2546]
42670         [BZ #2560]
42671         [BZ #5159]
42672         [BZ #15426]
42673         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42674         input to result for tgamma overflow.
42675         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42676         (gamma_coeff): New variable.
42677         (NCOEFF): New macro.
42678         (gamma_positive): New function.
42679         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42680         underflow here.  Use gamma_positive instead of exp (lgamma) for
42681         other arguments.
42682         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42683         (gamma_coeff): New variable.
42684         (NCOEFF): New macro.
42685         (gammaf_positive): New function.
42686         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42687         underflow here.  Use gamma_positive instead of exp (lgamma) for
42688         other arguments.
42689         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42690         (gamma_coeff): New variable.
42691         (NCOEFF): New macro.
42692         (gammal_positive): New function.
42693         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42694         underflow here.  Use gamma_positive instead of exp (lgamma) for
42695         other arguments.
42696         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42697         (gamma_coeff): New variable.
42698         (NCOEFF): New macro.
42699         (gammal_positive): New function.
42700         (__ieee754_gammal_r): Handle positive infinity, overflow and
42701         underflow here.  Handle NaN the same as positive infinity.  Remove
42702         check x < 0xffffffff for negative integers.  Use gamma_positive
42703         instead of exp (lgamma) for other arguments.
42704         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42705         (gamma_coeff): New variable.
42706         (NCOEFF): New macro.
42707         (gammal_positive): New function.
42708         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42709         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42710         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42711         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42712         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42713         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42714         * sysdeps/generic/math_private.h (__gamma_productf): New
42715         prototype.
42716         (__gamma_product): Likewise.
42717         (__gamma_productl): Likewise.
42718         * math/Makefile (libm-calls): Add gamma_product.
42719         * math/libm-test.inc (tgamma_test): Add more tests.
42720         * sysdeps/i386/fpu/libm-test-ulps: Update.
42721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42723 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42725         * benchtests/bench-skeleton.c (main): Preheat CPU.
42727 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42729         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42731 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42733         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42734         and _dl_skip_args_internal.
42736 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42738         * manual/message.texi (Message Translation): Talk about users.
42739         Message to key mapping impacts design.
42741 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42743         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42745         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42747         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42748         * sysdeps/wordsize-64/glob64.c: ... here.
42750         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42751         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42752         New macros.
42754         * debug/getlogin_r_chk.c: Moved to ...
42755         * login/getlogin_r_chk.c: ... here.
42756         * debug/Makefile (routines): Move getlogin_r_chk to ...
42757         * login/Makefile (routines): ... here.
42758         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42759         * login/Versions (libc: GLIBC_2.4): ... here.
42761         * io/poll.c (__poll): Renamed from poll.
42762         Add libc_hidden_def.
42763         (poll): Define as weak alias.
42765         * debug/ptsname_r_chk.c: Moved to ...
42766         * login/ptsname_r_chk.c: ... here.
42767         * debug/Makefile (routines): Move ptsname_r_chk to ...
42768         * login/Makefile (routines): ... here.
42769         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42770         * login/Versions (libc: GLIBC_2.4): ... here.
42772         * posix/getlogin.c: Moved to ...
42773         * login/getlogin.c: ... here.
42774         * posix/getlogin_r.c: Moved to ...
42775         * login/getlogin_r.c: ... here.
42776         * posix/getlogin_r.c: Moved to ...
42777         * login/getlogin_r.c: ... here.
42778         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42779         * login/Makefile (routines): ... here.
42780         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42781         * login/Versions (libc: GLIBC_2.0): ... here.
42783         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42784         (setrlimit): Define as weak alias.
42786         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42787         Call __ names for open, ftruncate, and close.
42788         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42789         (truncate): Define as weak alias.
42791 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42793         * math/gen-libm-test.pl (parse_args): Initialize x before each
42794         test of frexp, modf and remquo.
42796         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42797         test signgam value.
42799 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42801         [BZ #15418]
42802         [BZ #15419]
42803         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42804         internal tests.
42805         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42807 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42809         * elf/dl-writev.h: New file.
42810         * elf/dl-misc.c: Include it.
42811         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42812         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42814 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42816         * math/libm-test.inc (noXFails): Remove variable.
42817         (noXPasses): Likewise.
42818         (BUILD_COMPLEX_INT): Remove macro.
42819         (print_screen): Remove xfail argument.
42820         (print_screen_max_error): Likewise.
42821         (update_stats): Likewise.
42822         (print_max_error): Likewise.  Update calls to other affected
42823         functions.
42824         (print_complex_max_error): Likewise.
42825         (test_single_exception): Update calls to print_screen.
42826         (test_single_errno): Likewise.
42827         (check_float_internal): Remove xfail argument.  Update calls to
42828         other affected functions.
42829         (check_float): Likewise.
42830         (check_complex): Likewise.
42831         (check_int): Likewise.
42832         (check_long): Likewise.
42833         (check_bool): Likewise.
42834         (check_longlong): Likewise.
42835         (main): Don't print noXFails and noXPasses.
42836         * math/gen-libm-test.pl (top level): Don't mention expected
42837         failure handling in comment.
42838         (new_test): Don't handle expected failures.
42839         (parse_args): Don't mention expected failure handling in comment.
42840         (generate_testfile): Don't handle expected failures.
42841         (parse_ulps): Likewise.
42842         (print_ulps_file): Likewise.
42843         (get_failure): Remove function.
42844         (output_test): Don't handle expected failures.
42845         * make/README.libm-test: Don't mention expected failure handling.
42847         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42848         (minus_zero): Likewise.
42849         (plus_infty): Likewise.
42850         (minus_infty): Likewise.
42851         (qnan_value): Likewise.
42852         (max_value): Likewise.
42853         (min_value): Likewise.
42854         (min_subnorm_value): Likewise.
42855         (initialize): Do not initialize those variables dynamically.
42857 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42859         * io/open.c (__open_2): Moved to ...
42860         * io/open_2.c: ... this new file.
42861         * io/open64.c (__open64_2): Moved to ...
42862         * io/open64_2.c: ... this new file.
42863         * io/openat.c (__openat_2): Moved to ...
42864         * io/openat_2.c: ... this new file.
42865         * io/openat64.c (__openat64_2): Moved to ...
42866         * io/openat64_2.c: ... this new file.
42867         * io/Makefile (routines): Add them.
42868         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42869         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42870         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42871         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42872         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42873         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42874         (__openat64): Add hidden_ver.
42875         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42876         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42878         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42879         Separately conditionalize setting of GLRO(dl_sysinfo) so
42880         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42881         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42883 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42885         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42886         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42887         definition.
42888         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42889         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42890         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42891         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42892         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42894 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42896         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42897         test signgam value.
42899         * math/libm-test.inc (hypot_test): Do not use
42900         IGNORE_ZERO_INF_SIGN.
42902 2013-05-03  Andreas Jaeger  <aj@suse.de>
42904         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42905         Linux 3.9.
42906         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42907         (PF_MAX): Adjust for VSOCK change.
42909 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42913 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42915         [BZ #15264]
42916         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42917         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42918         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42920 2013-05-02  David S. Miller  <davem@davemloft.net>
42922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42924 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42926         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42928 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42930         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42932 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42934         [BZ #14952]
42935         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42936         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42937         Use __attribute__ ((__gnu_inline__)).
42938         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42939         Don't use __attribute__ ((__gnu_inline__)).
42941 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42943         [BZ #15423]
42944         * math/s_catan.c (__catan): Handle small real or imaginary part of
42945         input specially to avoid spurious underflow.
42946         * math/s_catanf.c (__catanf): Likewise.
42947         * math/s_catanh.c (__catanh): Likewise.
42948         * math/s_catanhf.c (__catanhf): Likewise.
42949         * math/s_catanhl.c (__catanhl): Likewise.
42950         * math/s_catanl.c (__catanl): Likewise.
42951         * math/libm-test.inc (catan_test): Add more tests.
42952         (catanh_test): Likewise.
42953         * sysdeps/i386/fpu/libm-test-ulps: Update.
42954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42956 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42960 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42962         [BZ #15416]
42963         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42964         accurately for denominator in atan2.
42965         * math/s_catanf.c (__catanf): Likewise.
42966         * math/s_catanh.c (__catanh): Likewise.
42967         * math/s_catanhf.c (__catanhf): Likewise.
42968         * math/s_catanhl.c (__catanhl): Likewise.
42969         * math/s_catanl.c (__catanl): Likewise.
42970         * math/libm-test.inc (catan_test): Add more tests.
42971         (catanh_test): Likewise.
42972         * sysdeps/i386/fpu/libm-test-ulps: Update.
42973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42975 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42977         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42979         * benchtests/Makefile (bench): Remove slow benchmarks.
42980         * benchtests/atan-inputs: Add slow benchmark inputs.
42981         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42982         (BENCH_FUNC): Accept variant offset.
42983         (VARIANT): Define.
42984         * benchtests/bench-skeleton.c (main): Run benchmark for each
42985         variant.
42986         * benchtests/cos-inputs: Add slow benchmark inputs.
42987         * benchtests/exp-inputs: Likewise.
42988         * benchtests/pow-inputs: Likewise.
42989         * benchtests/sin-inputs: Likewise.
42990         * benchtests/slowatan-inputs: Remove.
42991         * benchtests/slowatan.c: Remove.
42992         * benchtests/slowcos-inputs: Remove.
42993         * benchtests/slowcos.c: Remove.
42994         * benchtests/slowexp-inputs: Remove.
42995         * benchtests/slowexp.c: Remove.
42996         * benchtests/slowpow-inputs: Remove.
42997         * benchtests/slowpow.c: Remove.
42998         * benchtests/slowsin-inputs: Remove.
42999         * benchtests/slowsin.c: Remove.
43000         * benchtests/slowtan-inputs: Remove.
43001         * benchtests/slowtan.c: Remove.
43002         * benchtests/tan-inputs: Add slow benchmark inputs.
43003         * scripts/bench.pl: Parse comments and directives.
43005         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43006         in CPPFLAGS.
43007         ($(objpfx)bench-%.c): Remove *-ITER.
43008         * benchtests/bench-modf.c: Remove definition of ITER.
43009         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43010         (main): Loop for DURATION seconds instead of fixed number of
43011         iterations.
43012         * scripts/bench.pl: Don't expect iterations in parameters.
43014 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43016         * io/fchdir.c (__fchdir): Renamed from fchdir.
43017         (fchdir): Define as weak alias.
43019 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43021         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43022         (ERRNO_EDOM): Likewise.
43023         (ERRNO_ERANGE): Likewise.
43024         (noErrnoTests): New variable.
43025         (init_max_error): Set errno to 0.
43026         (test_single_errno): New function.
43027         (test_errno): Likewise.
43028         (check_float_internal): Call test_errno.  Set errno to 0.
43029         (check_complex): Refer to errno tests in comment.
43030         (check_int): Call test_errno.  Set errno to 0.
43031         (check_long): Likewise.
43032         (check_bool): Likewise.
43033         (check_longlong): Likewise.
43034         (cos_test): Use ERRNO_* flags for errno tests instead of
43035         check_int.
43036         (expm1_test): Likewise.
43037         (fmod_test): Likewise.
43038         (ilogb_test): Likewise.
43039         (lgamma_test): Likewise.
43040         (pow_test): Likewise.
43041         (remainder_test): Likewise.
43042         (sin_test): Likewise.
43043         (tan_test): Likewise.
43044         (yn_test): Likewise.
43045         (initialize): Set errno to 0.
43046         (main): Print number of errno tests.
43047         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43049 2013-04-29  Andreas Jaeger  <aj@suse.de>
43051         [BZ #15084]
43052         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43053         and RES_USEVC.
43055         [BZ #15085]
43056         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43057         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43058         unimplemented.
43060         [BZ #15380]
43061         * stdlib/random.c (__initstate): Return NULL if
43062         __initstate fails.
43064         [BZ #15086]
43065         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43066         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43067         RES_SNGLKUPREOP.
43069 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43073 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43075         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43076         of individual tests.
43077         (casin_test): Likewise.
43078         (casinh_test): Likewise.
43080 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43082         [BZ #15409]
43083         * math/s_catan.c (__catan): Handle arguments with large real or
43084         imaginary part separately without squaring.
43085         * math/s_catanf.c (__catanf): Likewise.
43086         * math/s_catanh.c (__catanh): Likewise.
43087         * math/s_catanhf.c (__catanhf): Likewise.
43088         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43089         and redefine.
43090         (__catanhl): Handle arguments with large real or imaginary part
43091         separately without squaring.
43092         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43093         and redefine.
43094         (__catanl): Handle arguments with large real or imaginary part
43095         separately without squaring.
43096         * math/libm-test.inc (catan_test): Add more tests.
43097         (catanh_test): Likewise.
43098         * sysdeps/i386/fpu/libm-test-ulps: Update.
43099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43101 2013-04-27  Andreas Jaeger  <aj@suse.de>
43103         [BZ #15007]
43104         * stdlib/stdlib.h: Update guards for qecvt.
43105         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43106         <stdlib.h>.
43108 2013-04-27  Allan McRae  <allan@archlinux.org>
43110         * sysdeps/i386/fpu/libm-test-ulps: Update.
43112 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43114         [BZ #15406]
43115         * math/s_catan.c: Include <float.h>.
43116         (__catan): Ensure underflow exception occurs for underflowed
43117         result.
43118         * math/s_catanf.c: Include <float.h>.
43119         (__catanf): Ensure underflow exception occurs for underflowed
43120         result.
43121         * math/s_catanh.c: Include <float.h>.
43122         (__catanh): Ensure underflow exception occurs for underflowed
43123         result.
43124         * math/s_catanhf.c: Include <float.h>.
43125         (__catanhf): Ensure underflow exception occurs for underflowed
43126         result.
43127         * math/s_catanhl.c: Include <float.h>.
43128         (__catanhl): Ensure underflow exception occurs for underflowed
43129         result.
43130         * math/s_catanl.c: Include <float.h>.
43131         (__catanl): Ensure underflow exception occurs for underflowed
43132         result.
43133         * math/libm-test.inc (catan_test): Add more tests.
43134         (catanh_test): Likewise.
43136         [BZ #15405]
43137         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43138         underflowed result.
43139         * math/s_ccoshf.c (__ccoshf): Likewise.
43140         * math/s_ccoshl.c (__ccoshl): Likewise.
43141         * math/s_csin.c (__csin): Likewise.
43142         * math/s_csinf.c (__csinf): Likewise.
43143         * math/s_csinh.c (__csinh): Likewise.
43144         * math/s_csinhf.c (__csinhf): Likewise.
43145         * math/s_csinhl.c (__csinhl): Likewise.
43146         * math/s_csinl.c (__csinl): Likewise.
43147         * math/libm-test.inc (ccos_test): Add more tests.
43148         (ccosh_test): Likewise.
43149         (csin_test): Likewise.
43150         (csinh_test): Likewise.
43152 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43154         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43155         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43156         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43157         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43158         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43159         powerpc/power5+/fpu folders.
43160         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43163 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43167 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43169         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43170         additions to variable.
43171         [$(config-machine) = x86_64] (modules-names): Likewise.
43172         ($(objpfx)tst-audit3): Remove dependency.
43173         ($(objpfx)tst-audit3.out): Likewise.
43174         ($(objpfx)tst-audit4): Likewise.
43175         ($(objpfx)tst-audit4.out): Likewise.
43176         ($(objpfx)tst-audit5): Likewise.
43177         ($(objpfx)tst-audit5.out): Likewise.
43178         ($(objpfx)tst-audit6): Likewise.
43179         ($(objpfx)tst-audit6.out): Likewise.
43180         ($(objpfx)tst-audit7): Likewise.
43181         ($(objpfx)tst-audit7.out): Likewise.
43182         (tst-audit3-ENV): Remove variable.
43183         (tst-audit4-ENV): Likewise.
43184         (tst-audit5-ENV): Likewise.
43185         (tst-audit6-ENV): Likewise.
43186         (tst-audit7-ENV): Likewise.
43187         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43188         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43189         addition to variable.
43190         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43191         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43192         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43193         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43194         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43195         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43196         tst-audit3, tst-audit4 and tst-audit5.
43197         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43198         tst-audit6 and tst-audit7.
43199         [$(subdir) = elf] (modules-names): Add audit modules for those
43200         tests.
43201         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43202         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43203         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43204         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43205         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43206         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43207         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43208         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43209         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43210         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43211         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43212         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43213         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43214         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43215         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43216         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43217         Likewise.
43218         [$(subdir) = elf && $(config-cflags-avx) = yes]
43219         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43220         [$(subdir) = elf && $(config-cflags-avx) = yes]
43221         (CFLAGS-tst-auditmod4a.c): Likewise.
43222         [$(subdir) = elf && $(config-cflags-avx) = yes]
43223         (CFLAGS-tst-auditmod4b.c): Likewise.
43224         [$(subdir) = elf && $(config-cflags-avx) = yes]
43225         (CFLAGS-tst-auditmod6b.c): Likewise.
43226         [$(subdir) = elf && $(config-cflags-avx) = yes]
43227         (CFLAGS-tst-auditmod6c.c): Likewise.
43228         [$(subdir) = elf && $(config-cflags-avx) = yes]
43229         (CFLAGS-tst-auditmod7b.c): Likewise.
43230         * elf/tst-audit3.c: Move to ...
43231         * sysdeps/x86_64/tst-audit3.c: ... here.
43232         * elf/tst-audit4.c: Move to ...
43233         * sysdeps/x86_64/tst-audit4.c: ... here.
43234         * elf/tst-audit5.c: Move to ...
43235         * sysdeps/x86_64/tst-audit5.c: ... here.
43236         * elf/tst-audit6.c: Move to ...
43237         * sysdeps/x86_64/tst-audit6.c: ... here.
43238         * elf/tst-audit7.c: Move to ...
43239         * sysdeps/x86_64/tst-audit7.c: ... here.
43240         * elf/tst-auditmod3a.c: Move to ...
43241         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43242         * elf/tst-auditmod3b.c: Move to ...
43243         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43244         * elf/tst-auditmod4a.c: Move to ...
43245         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43246         * elf/tst-auditmod4b.c: Move to ...
43247         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43248         * elf/tst-auditmod5a.c: Move to ...
43249         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43250         * elf/tst-auditmod5b.c: Move to ...
43251         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43252         * elf/tst-auditmod6a.c: Move to ...
43253         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43254         * elf/tst-auditmod6b.c: Move to ...
43255         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43256         * elf/tst-auditmod6c.c: Move to ...
43257         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43258         * elf/tst-auditmod7a.c: Move to ...
43259         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43260         * elf/tst-auditmod7b.c: Move to ...
43261         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43263 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43265         [BZ #15366]
43266         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43267         define unconditionally.
43268         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43269         define unconditionally.
43270         (INT8_C, INT16_C, etc.): Likewise.
43272 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43274         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43275         __ehdr_start with hidden visibility.
43277         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43279 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43281         * math/libm-test.inc (cos_test): Use accurate hex constants.
43282         (sincost_test): Likewise.
43284 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43286         * math/libm-test.inc (catan_test): Add more tests.
43287         (catanh_test): Likewise.
43289         * math/s_catanf.c (__catanf): Use suffixed floating-point
43290         constants.
43291         * math/s_catanhf.c (__catanhf): Likewise.
43292         * math/s_catanhl.c (__catanhl): Likewise.
43293         * math/s_catanl.c (__catanl): Likewise.
43295         [BZ #15394]
43296         * math/s_catan.c (__catan): Calculate imaginary part of result
43297         with log1p not log unless computing log of number close to 0.
43298         * math/s_catanf.c (__catanf): Likewise.
43299         * math/s_catanl.c (__catanl): Likewise.
43300         * math/s_catanh.c (__catanh): Calculate real part of result with
43301         log1p not log unless computing log of number close to 0.
43302         * math/s_catanhf.c (__catanhf): Likewise.
43303         * math/s_catanhl.c (__catanhl): Likewise.
43304         * math/libm-test.inc (catan_test): Add more tests.
43305         (catanh_test): Likewise.
43306         * sysdeps/i386/fpu/libm-test-ulps: Update.
43307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43309 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43311         * benchtests/Makefile: Mention files in which fast and slow
43312         paths of math functions are implemented.
43314 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43316         * sysdeps/posix/timespec_get.c: New file.
43318 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43320         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43321         POWER.
43322         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43323         for POWER.
43324         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43325         powerpc/power5/fpu folders.
43326         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43327         * benchtests/Makefile: Add modf testcase.
43328         * benchtests/bench-modf.c: New file: Benchmark test for mo
43330 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43332         [BZ #14888]
43333         * time/Makefile (tests): Add tst-strptime-whitespace.
43334         * time/strptime_l.c (get_number): Use ISSPACE.
43335         (__strptime_internal): Likewise.
43336         * time/tst-strptime-whitespace.c: New test case.
43338 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43340         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43341         member.
43342         (_nss_files_init): Set it here.
43344 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43346         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43347         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43348         unsigned.
43350 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43352         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43354 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43356         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43357         size just once.
43359 2013-04-21  David S. Miller  <davem@davemloft.net>
43361         * po/ru.po: Update Russion translation from translation project.
43363 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43365         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43366         and setfsgid.
43368 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43370         * configure.in: Remove i386 configure warning. Remove i386 case.
43371         * configure: Regenerate.
43372         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43373         Add example to error message.
43374         * sysdeps/i386/configure: Regenerate.
43376 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43378         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43379         slowtan.
43380         * benchtests/cos-inputs: New file.
43381         * benchtests/slowcos-inputs: New file.
43382         * benchtests/slowcos.c: New file.
43383         * benchtests/slowtan-inputs: New file.
43384         * benchtests/slowtan.c: New file.
43385         * benchtests/tan-inputs: New file.
43387 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43389         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43390         considered kosher.
43392 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43394         * benchtests/Makefile: Include cppflags-iterator.mk to add
43395         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43397         * Makefile.in (bench-clean): New target.
43398         * benchtests/Makefile (bench-clean): Likewise.
43400 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43402         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43404 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43406         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43408 2013-04-15  Andreas Schwab  <schwab@suse.de>
43410         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43411         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43412         * nscd/pwdcache.c (cache_addpw): Likewise.
43413         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43414         more than recsize.
43416 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43418         * benchtests/Makefile (bench): Write all output to
43419         bench-out.tmp together.
43421 2013-04-15  Andreas Schwab  <schwab@suse.de>
43423         * nscd/nscd.c (main): Don't fork again after closing files.
43425 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43427         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43429         * benchtests/Rules (bench-deps): Collect dependencies into a
43430         single variable.  Add Makefile to dependencies.
43431         ($(objpfx)bench-%.c): Depend on bench-deps.
43433 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43434             Xavier Roche  <roche+kml2@exalead.com>
43436         [BZ #15361]
43437         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43438         just that it's a file descriptor.
43439         * manual/llio.texi (Synchronizing AIO Operations): Update description
43440         for EBADF error from aio_fsync.
43442 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43444         * Rules (bench): Move target definition...
43445         * benchtests/Makefile: ... here.
43447 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43449         * math/libm-test.inc (cos_test): Fix PI/2 test.
43450         (sincos_test): Likewise.
43451         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43452         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43454 2013-04-11  Andreas Schwab  <schwab@suse.de>
43456         [BZ #13988]
43457         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43458         accept exponent character only when digits were seen.
43459         * stdio-common/Makefile (tests): Add bug26.
43460         * stdio-common/bug26.c: New file.
43462         [BZ #14293]
43463         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43464         non-freeable.
43466 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43468         * Makeconfig (rtld-prefix): Define built linker prefix.
43469         * Rules (run-bench): Use it.
43470         * math/Makefile (run-regen-ulps): Likewise.
43472         * Rules (bench): Remove eval.
43474 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43475             Roland McGrath  <roland@hack.frob.com>
43476             Ondrej Bilka  <neleai@seznam.cz>
43478         [BZ #15346]
43479         * time/getdate.c: Include ctype.h and alloca.h.
43480         (__getdate_r): Trim leading and trailing spaces of input.
43481         * time/tst-getdate.c (tests): Add tests with leading and
43482         trailing spaces.
43484 2013-04-08  Roland McGrath  <roland@hack.frob.com>
43486         [BZ #14280]
43487         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43488         when computing value.
43490 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43492         * math/README.libm-test (How can I generate "libm-test-ulps"?):
43493         Use testrun.sh to run libm tests.
43495         [BZ #15309]
43496         * elf/dl-open.c (dl_open_worker): memset all of seen array.
43498 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
43500         [BZ #15264]
43501         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43503 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43505         * Makefile.in (regen-ulps): New target.
43506         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43507         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43508         [ifneq (no,$(PERL)] (regen-ulps): New target.
43509         [ifeq (no,$(PERL)] (regen-ulps): New target.
43510         * math/libm-test.inc (ulps_file_name): Define.
43511         (output_dir): New variable.
43512         (options): Add "output-dir" option.
43513         (parse_opt): Handle 'o' case.
43514         (main): If output_dir is non-NULL use it as a prefix
43515         otherwise use "".
43516         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43518 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43520         [BZ #10060, #10062]
43521         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43522         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43523         fail configure if __sync_val_compare_and_swap is not inlined.
43524         * sysdeps/i386/configure: Regenerate.
43525         * configure.in: Build for i686 when configured for i386.
43526         * configure: Regenerate.
43527         * README: Remove i386 reference.
43529 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43531         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43532         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43534 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43536         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43537         (lmsnanval): New variables.
43538         (F): Add conversion tests.
43539         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43540         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43542         * stdio-common/tstdiomisc.c (F): Properly collect individual
43543         tests' results.
43545         [BZ #14686, #15336]
43546         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43547         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43548         Instead, use input NaN values or generate a qNaN by arithmetic
43549         operation.  Also fix bugs to comply with the standard.
43550         * math/libm-test.inc (remainder_test): Add more tests.
43552         [BZ #15335, #15342]
43553         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43555         input NaN values or generate a qNaN by arithmetic operation.
43557         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43558         unreachable code.
43560         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43561         definitions.
43563 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43565         [BZ #14478]
43566         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43567         underflowed result.
43568         * math/s_cexpf.c (__cexpf): Likewise.
43569         * math/s_cexpl.c (__cexpl): Likewise.
43570         * math/libm-test.inc (cexp_test): Add more tests.
43572 2013-04-03  Andreas Schwab  <schwab@suse.de>
43574         [BZ #15330]
43575         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43576         order arrays from heap if bigger than alloca cutoff.
43578 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43580         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43581         (SNAN_TESTS_double): Refer to GCC PR56831.
43582         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43583         GCC PR56828.
43585 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43587         * Rules (bench): Move bench.out after the run is complete.
43589         * Rules (bench): Echo currently running benchmark.
43591         * benchtests/Makefile (bench): Add atan and slowatan.
43592         * benchtests/atan-inputs: New file.
43593         * benchtests/slowatan-inputs: New file.
43594         * benchtests/slowatan.c: New file.
43596         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43597         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43598         its value.
43600         [BZ #15305]
43601         * sysdeps/unix/sysv/linux/kernel-features.h
43602         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43603         __ASSUME_XFS_RESTRICTED_CHOWN.
43604         * sysdeps/unix/sysv/linux/pathconf.c
43605         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43606         Save and restore errno.
43608 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
43610         [BZ #15327]
43611         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43612         arguments using __kernel_casinh.
43613         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43614         arguments using __kernel_casinhf.
43615         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43616         arguments using __kernel_casinhl.
43617         * math/libm-test.inc (cacosh_test): Add more tests.
43618         * sysdeps/i386/fpu/libm-test-ulps: Update.
43619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43621 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43623         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43626         * bench/Makefile (bench): Add sin and slowsin.
43627         * benchtests/sin-inputs: New file.
43628         * benchtests/slowsin-inputs: New file.
43629         * benchtests/slowsin.c: New file.
43631         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43632         (bench): Add slowexp and slowpow.
43633         (exp-ITER): Increase iterations.
43634         (pow-ITER): Likewise.
43635         * benchtests/exp-inputs: Change input.
43636         * benchtests/pow-inputs: Likewise.
43637         * benchtests/slowexp-inputs: New file.
43638         * benchtests/slowexp.c: New file.
43639         * benchtests/slowpow-inputs: New file.
43640         * benchtests/slowpow.c: New file.
43642 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43644         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
43645         instructions.
43646         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43647         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
43648         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43649         * benchtests/Makefile: Add rint benchtest.
43650         * benchtests/rint-inputs: Input for rint benchtest.
43652 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43654         * Versions.def (libm): Add GLIBC_2.18.
43655         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43656         hidden libm prototypes.
43657         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43658         * math/Makefile (libm-calls): Add s_issignaling.
43659         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43660         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43661         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43662         declaration.
43663         * math/math.h [__USE_GNU] (issignaling): New macro.
43664         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43665         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43666         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43667         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43668         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43669         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43670         * manual/arith.texi (issignaling): New section.
43671         * manual/libm-err-tab.pl (@all_functions): Update comment.
43672         * math/gen-libm-test.pl (parse_args): Apply special handling for
43673         issignaling.
43674         * math/libm-test.inc (print_float, issignaling_test): New
43675         functions.
43676         (check_float_internal): Add issignaling checks.
43677         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43678         default definition.
43679         * sysdeps/powerpc/math-tests.h: New file.
43680         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43681         tests.
43682         * math/test-snan.c (TEST_FUNC): Likewise.
43684 2013-03-30  David S. Miller  <davem@davemloft.net>
43686         * po/de.po: Update from translation team.
43688 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43690         [BZ #10357]
43691         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43692         imaginary part less than 1.0 and real part less than 0.5
43693         specially.
43694         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43695         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43696         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43697         (cacos_test): Add more tests.
43698         (casin_test): Likewise.
43699         (casinh_test): Likewise.
43700         * sysdeps/i386/fpu/libm-test-ulps: Update.
43701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43703 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43705         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43706         ONE with its value.
43708         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43709         (__pow_mp): Replace ONE and MONE with their values.
43710         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43711         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43712         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43713         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43714         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43715         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43717         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43719         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43720         (__pow_mp): Replace ZERO and MZERO with their values.
43721         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43722         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43723         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43725         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43726         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43727         (__sqr): Likewise.
43729         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43731         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43733 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43735         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43736         Declare with __attribute__ ((weak)).
43737         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43738         Call __call_tls_dtors only if it's not NULL.
43740 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43742         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43743         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43744         magic __ehdr_start linker symbol if it's defined.
43745         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43746         them up here if it was already done.
43748         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43749         (_dl_aux_init): Use const in cast when setting it.
43750         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43751         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43752         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43754         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43755         Declare them here.
43756         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43757         * csu/libc-tls.c: Nor here.
43758         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43760         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43761         (__libc_message): Never call vsyslog.
43763 2013-03-28  Alan Modra  <amodra@gmail.com>
43765         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43766         Define as empty.
43767         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43768         Likewise.
43770 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43772         [BZ #15214]
43773         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43774         underflow.
43775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43777 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43779         [BZ #15304]
43780         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43781         Don't add gid passed as argument.
43783         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43785 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43787         [BZ #15307]
43788         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43789         imaginary part between 1.0 and 1.5 and real part less than 0.5
43790         specially.
43791         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43792         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43793         * math/libm-test.inc (cacos_test): Add more tests.
43794         (casin_test): Likewise.
43795         (casinh_test): Likewise.
43796         * sysdeps/i386/fpu/libm-test-ulps: Update.
43797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43799 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43801         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43802         constants.
43803         (norm): Likewise.
43804         (denorm): Likewise.
43805         (__dbl_mp): Likewise.
43806         (add_magnitudes): Likewise.
43807         (sub_magnitudes): Likewise.
43808         (__add): Likewise.
43809         (__sub): Likewise.
43810         (__mul): Likewise.
43811         (__sqr): Likewise.
43812         (__inv): Likewise.
43813         (__dvd): Likewise.
43815         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43816         commented code.
43817         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43818         (__dubcos): Likewise.
43819         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43820         (__ieee754_acos): Likewise.
43821         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43822         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43823         (__exp1): Likewise.
43824         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43826         (log1): Likewise.
43827         (my_log2): Likewise.
43828         (checkint): Likewise.
43829         * sysdeps/ieee754/dbl-64/e_remainder.c
43830         (__ieee754_remainder): Likewise.
43831         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43832         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43833         (bsloww): Likewise.
43834         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43836         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43837         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43838         MANTISSA_STORE_T to store computations on mantissa.  Use
43839         macros for rounding and division.
43840         (denorm): Likewise.
43841         (__dbl_mp): Likewise.
43842         (add_magnitudes): Likewise.
43843         (sub_magnitudes): Likewise.
43844         (__mul): Likewise.
43845         (__sqr): Likewise.
43846         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43847         powers of two in terms of TWOPOW macro.
43848         (mp_no): Make type of mantissa as MANTISSA_T.
43849         [!RADIXI]: Define RADIXI.
43850         [!TWO52]: Define TWO52.
43851         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43853 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43855         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43856         llroundl symbol when building for PPC32.
43858 2013-03-24  Mark H Weaver  <mhw@netris.org>
43860         * manual/arith.texi (Normalization Functions): Fix prototypes for
43861         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43863 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43865         [BZ #13889]
43866         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43867         high value to check if expl overflow.
43868         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43869         to check for underflow and overflow.
43870         * math/libm-test.inc: Add exp test.
43872 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43874         [BZ #11120]
43875         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43876         with NOT_IN_libc.
43878 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43880         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43881         symbol.
43883 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43885         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43886         wrap blocks consisting of several statements.
43888         * sysdeps/generic/math-tests.h: New file.
43889         * sysdeps/i386/fpu/math-tests.h: Likewise.
43890         * math/test-snan.c: Include it.
43891         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43893 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43895         [BZ #15285]
43896         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43897         (__ieee754_j0l): Do not improve calculations using cos of twice
43898         input for inputs above LDBL_MAX / 2.0L.
43899         (__ieee754_y0l): Likewise.
43900         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43901         (__ieee754_j1l): Do not improve calculations using cos of twice
43902         input for inputs above LDBL_MAX / 2.0L.
43903         (__ieee754_y1l): Likewise.
43904         * math/libm-test.inc (j0_test): Add another test.
43905         (j1_test): Likewise.
43906         (y0_test): Likewise.
43907         (y1_test): Likewise.
43908         * sysdeps/i386/fpu/libm-test-ulps: Update.
43910 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43912         * Rules ($(objpfx)bench-%.c): Include code from a C source
43913         file.
43915 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43917         [BZ #15287]
43918         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43919         imaginary part 1.0 and real part less than 0.5 specially.
43920         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43921         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43922         * math/libm-test.inc (cacos_test): Add more tests.
43923         (casin_test): Likewise.
43924         (casinh_test): Likewise.
43925         * sysdeps/i386/fpu/libm-test-ulps: Update.
43926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43928 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43930         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43931         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43933 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43935         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43936         * config.make.in (config-cflags-sse4): Remove variable.
43937         (config-cflags-avx): Likewise.
43938         (config-cflags-sse2avx): Likewise.
43939         (config-cflags-novzeroupper): Likewise.
43940         (config-asflags-i686): Likewise.
43941         (have-mfma4): Likewise.
43942         (have-as-vis3): Likewise.
43943         (MIG): Likewise.
43944         * configure.in (MIG): Do not AC_SUBST.
43945         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43946         (libc_cv_cc_sse4): Do not AC_SUBST.
43947         (libc_cv_cc_avx): Likewise.
43948         (libc_cv_cc_sse2avx): Likewise.
43949         (libc_cv_cc_novzeroupper): Likewise.
43950         (libc_cv_cc_fma4): Likewise.
43951         (libc_cv_as_i686): Likewise.
43952         (libc_cv_sparc_as_vis3): Likewise.
43953         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43954         LIBC_CONFIG_VAR.
43955         (config-asflags-i686): Likewise.
43956         (config-cflags-avx): Likewise.
43957         (config-cflags-sse2avx): Likewise.
43958         (have-mfma4): Likewise.
43959         (config-cflags-novzeroupper): Likewise.
43960         * sysdeps/mach/configure.in (MIG): Likewise.
43961         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43962         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43963         LIBC_CONFIG_VAR.
43964         (config-cflags-avx): Likewise.
43965         (config-cflags-sse2avx): Likewise.
43966         (have-mfma4): Likewise.
43967         (config-cflags-novzeroupper): Likewise.
43968         * configure: Regenerated.
43969         * sysdeps/i386/configure: Likewise.
43970         * sysdeps/mach/configure: Likewise.
43971         * sysdeps/sparc/configure: Likewise.
43972         * sysdeps/x86_64/configure: Likewise.
43974 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43976         [BZ #14812]
43977         * locale/programs/localedef.c (options): Put N_ translation marker
43978         on argument names, not just descriptions.
43980 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43982         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43984 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43986         [BZ #14176]
43987         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43989 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43991         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43992         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43993         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43994         [!BEFORE_ABORT] (before_abort): New function.
43995         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43996         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43997         (writev_for_fatal): New function.
43998         (WRITEV_FOR_FATAL): New macro; call that.
43999         (backtrace_and_maps): New function.
44000         (BEFORE_ABORT): New macro; call that.
44001         (struct str_list): Type removed.
44002         (__libc_message, __libc_fatal): Functions removed.
44003         Include <sysdeps/posix/libc_fatal.c> instead.
44005 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44007         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44008         constants.
44009         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44010         double constants.
44012 2013-03-19  Andreas Schwab  <schwab@suse.de>
44014         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44015         * sysdeps/gnu/configure: Regenerate.
44017         * configure.in: Substitute libc_cv_rtlddir.
44018         * configure: Regenerate.
44019         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44020         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44021         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44022         * elf/Makefile (install-others, CFLAGS-interp.c)
44023         (ldso_install, common-ldd-rewrite): Likewise.
44024         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44025         $(inst_slibdir)/$(rtld-installed-name).
44026         * scripts/rellns-sh: Add -p option.
44027         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44028         for source.
44030 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44032         * manual/nptl.texi: Renamed to ...
44033         * manual/threads.texi: ... this.
44034         * manual/Makefile (chapters): Update.
44036 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44038         [BZ #14812]
44039         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44040         on argument names, not just descriptions.
44041         * malloc/memusagestat.c (options): Likewise.
44042         * nss/getent.c (options): Likewise.
44044 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44046         [BZ #14812]
44047         * iconv/iconv_prog.c (options): Put N_ translation marker
44048         on argument names, not just descriptions.
44049         * iconv/iconvconfig.c (options): Likewise.
44051 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44053         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44054         implementation which is faster on all x86_64 architectures.
44055         Tested on AMD, Intel Nehalem, SNB, IVB.
44056         * sysdeps/x86_64/strnlen.S: Likewise.
44058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44059         Remove all multiarch strlen and strnlen versions.
44060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44061         Remove strlen and strnlen related parts.
44063         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44064         Inline strlen part.
44065         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44067         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44068         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44069         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44070         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44071         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44072         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44074 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44076         * manual/memory.texi (Malloc Tunable Parameters):
44077         Sort parameters alphabetically. Add comments for missing entries.
44079 2013-03-17  David S. Miller  <davem@davemloft.net>
44081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44083 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44085         [BZ #15283]
44086         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44087         for arguments at most half maximum finite value.
44088         * math/libm-test.inc (j0_test): Add more tests.
44089         (j1_test): Likewise.
44090         (y0_test): Likewise.
44091         (y1_test): Likewise.
44092         * sysdeps/i386/fpu/libm-test-ulps: Update.
44093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44095         [BZ #14155]
44096         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44097         1 / x and functions P and Q for arguments above 0x1p256L.
44098         (__ieee754_y0l): Likewise.
44099         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44100         (__ieee754_y1l): Likewise.
44101         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44102         (j1_test): Likewise.
44103         (y0_test): Likewise.
44104         (y1_test): Likewise.
44106 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44108         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44109         variable.
44111 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44113         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44114         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44115         zero since it's initialized to EXEC_PAGESIZE.
44117         * sysdeps/unix/sysv/linux/ldsodefs.h
44118         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44119         * sysdeps/generic/ldsodefs.h: ... here.
44121 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44123         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44125         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44126         math/test-snan.c.
44127         * math/test-snan.c: Renamed from
44128         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44129         * math/Makefile (tests): Add test-snan.
44130         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44131         test-powerpc-snan.
44133         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44134         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44135         functions.
44136         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44137         __builtin_nan family of functions.
44138         * math/libm-test.inc (initialize): Initialize qnan_value with
44139         __builtin_nan family of functions.
44140         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44141         Remove variables.
44142         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44143         Remove functions.
44144         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44145         storage class.  Initialize qNaN_var and sNaN_var with
44146         __builtin_nan and __builtin_nans families of functions,
44147         respectively.
44149         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44150         (sqrt_test): Remove duplicate test with qNaN input.
44151         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44152         (round_test, signbit_test, significand_test): Note missing +/-Inf
44153         as well as qNaN tests.
44155         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44156         qNaN_var.  Fix a few strings, too.
44157         * math/libm-test.inc (nan_value): Rename to qnan_value.
44158         * math/gen-libm-test.pl (%beautify): Adjust to that.
44159         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44160         * math/test-misc.c (main): Likewise.
44161         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44162         to __qnan_bytes, and __qnan_union, respectively.
44163         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44164         Likewise.
44165         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44166         and lqnanval, respectively.
44167         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44168         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44169         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44170         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44172         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44173         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44174         doubles.
44176         * math/test-misc.c (main): Fix copy'n'pastos.
44177         * misc/tst-efgcvt.c (special): Likewise.
44179         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44180         Remove declarations.
44182 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44184         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44185         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44186         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44187         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44189 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44191         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44192         macro to return vdso values correctly in IFUNC implementations.
44193         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44194         Optimization by using IFUNC.
44196 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44197             Richard Henderson  <rth@redhat.com>
44198             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44200         * Makefile.in (bench): New target.
44201         * NEWS: Mention the benchmark framework.
44202         * Rules (bench): Likewise.
44203         (binaries-bench): Generate binaries for functions to
44204         benchmark.
44205         * benchtests/Makefile: New makefile for benchmark tests.
44206         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44207         programs.
44208         * benchtests/exp-inputs: New input file for EXP function.
44209         * benchtests/pow-inputs: New input file for POW function.
44210         * scripts/bench.pl: New script to generate source files for
44211         benchmark programs.
44213 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44215         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44216         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44217         computations on mantissa.  Use macros for rounding and
44218         division.
44219         (denorm): Likewise.
44220         (__dbl_mp): Likewise.
44221         (add_magnitudes): Likewise.
44222         (sub_magnitudes): Likewise.
44223         (__mul): Likewise.
44224         (__sqr): Likewise.
44225         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44226         powers of two in terms of TWOPOW macro.
44227         (mp_no): Make type of mantissa as MANTISSA_T.
44228         [!RADIXI]: Define RADIXI.
44229         [!TWO52]: Define TWO52.
44230         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44232         * manual/nptl.texi (cindex): Modify threads to pthreads.
44234 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44236         * sysdeps/x86_64/preconfigure: Regenerated.
44238 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44240         [BZ #14155]
44241         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44242         0x1p28 and above.
44243         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44244         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44245         0x1p28 and above.
44246         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44247         * math/libm-test.inc (j0_test): Do not allow one spurious
44248         underflow exception.
44249         (y1_test): Likewise.
44251 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44253         * manual/Makefile (chapters): Add nptl.
44254         * manual/debug.texi (Debugging Support): Add link to Threads
44255         chapter.
44256         * manual/nptl.texi: New file.
44258         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44260 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44262         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44263         for non-NULL pointer before the memory validity test. Pointed
44264         out by Holger Brunck <holger.brunck@keymile.com>.
44266 2013-03-13  Andreas Schwab  <schwab@suse.de>
44268         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44269         instead of .os.
44271 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44273         * timezone/zic.c: Update from tzcode 2013b.
44275 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44277         * manual/install.texi (Configuring and compiling):
44278         Mention i686 and i586.
44279         * INSTALL: Regenerate.
44281 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44283         * sysdeps/init_array/elf-init.c: New file.
44284         * csu/elf-init.c
44285         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44286         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44288         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44289         __gmon_start__ as global, but as static with a .preinit_array pointer.
44290         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44291         * sysdeps/init_array/crti.S: New file, empty except for comments.
44292         * sysdeps/init_array/crtn.S: Likewise.
44294 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44296         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44297         definining bcopy.
44298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44299         Remove Prefer_SSE_for_memop.
44300         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44301         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44302         HAS_PREFER_SSE_FOR_MEMOP.
44303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44304         memset-x86-64.
44305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44306         Remove bzero, memset ifunc support.
44307         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44308         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44309         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44310         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44312 2013-03-11  Andreas Schwab  <schwab@suse.de>
44314         [BZ #15234]
44315         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44316         by SHLIB_COMPAT.
44317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44318         (GLIBC_2.16): Remove pthread_atfork.
44320 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44322         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44323         (ptestcases.h): Likewise.
44325 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44327         * Makeconfig ($(common-objpfx)config.status): Depend on
44328         sysdeps/*/preconfigure{,.in} too.
44330 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44332         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44333         (__free_hook): Use void * instead of __malloc_ptr_t.
44334         (__malloc_hook): Likewise.
44335         (__realloc_hook): Likewise.
44336         (__memalign_hook): Likewise.
44337         (__after_morecore_hook): Likewise.
44338         * malloc/arena.c (save_malloc_hook): Likewise.
44339         (save_free_hook): Likewise.
44340         * malloc/hooks.c (malloc_hook_ini): Likewise.
44341         (realloc_hook_ini): Likewise.
44342         (memalign_hook_ini): Likewise.
44343         * malloc/malloc.c (malloc_hook_ini): Likewise.
44344         (realloc_hook_ini): Likewise.
44345         (memalign_hook_ini): Likewise.
44346         (__free_hook): Likewise.
44347         (__malloc_hook): Likewise.
44348         (__realloc_hook): Likewise.
44349         (__memalign_hook): Likewise.
44350         (__libc_malloc): Likewise.
44351         (__libc_free): Likewise.
44352         (__libc_realloc): Likewise.
44353         (__libc_memalign): Likewise.
44354         (__libc_valloc): Likewise.
44355         (__libc_pvalloc): Likewise.
44356         (__libc_calloc): Likewise.
44357         (__posix_memalign): Likewise.
44358         * malloc/morecore.c (__sbrk): Likewise.
44359         (__default_morecore): Likewise.
44361         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44363         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44364         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44365         __malloc_ptrdiff_t.
44367         * malloc/malloc.h (__malloc_size_t): Remove macro.
44368         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44369         __malloc_size_t.
44370         (old_memalign_hook): Likewise.
44371         (old_realloc_hook): Likewise.
44372         (struct hdr): Likewise.
44373         (flood): Likewise.
44374         (mallochook): Likewise.
44375         (memalignhook): Likewise.
44376         (reallochook): Likewise.
44377         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44378         (tr_old_realloc_hook): Likewise.
44379         (tr_old_memalign_hook): Likewise.
44380         (tr_mallochook): Likewise.
44381         (tr_reallochook): Likewise.
44382         (tr_memalignhook): Likewise.
44384 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44386         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44387         default_ldbl_pack and using as default implementation.
44388         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44389         implementation.
44390         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44391         redundant definition.
44392         (ldbl_insert_mantissa): Likewise.
44393         (ldbl_canonicalize): Likewise.
44394         (ldbl_nearbyint): Likewise.
44395         (ldbl_pack): Rename to ldbl_pack_ppc.
44396         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44397         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44398         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44400 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44402         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44403         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44404         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44405         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44407         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44408         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44409         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44411 2013-03-07  Andreas Jaeger  <aj@suse.de>
44413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44414         bits/mman-linux.h.
44416 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44418         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44419         Include mpa.h and declare __MPEXP.
44420         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44421         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44422         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44423         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44424         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44425         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44426         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44428         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44429         (__slowpow): Use long double EXPL and LOGL functions to
44430         compute POW.
44431         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44432         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44433         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44434         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44435         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44436         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44439         intermediate variable to calculate exponent.
44440         (__sqr): Likewise.
44441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44442         Likewise.
44443         (__sqr): Likewise.
44445         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44446         [!NO__SQR]: Define __sqr.
44447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44448         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44449         sysdeps/ieee754/dbl-64/mpa.c.
44450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44452         [BZ #12723]
44453         * posix/Makefile (tests): Add tst-pathconf.
44454         * posix/tst-pathconf.c: New test case.
44455         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44456         _PC_PIPE_BUF.
44457         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44459 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44461         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44463 2013-03-06  Andreas Jaeger  <aj@suse.de>
44465         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44466         definition via __MAP_ANONYMOUS.
44468         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44469         it's not part of Linux headers.
44471         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44472         (MAP_HUGE_MASK): Define.
44474         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44475         Define.
44476         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44477         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44478         Define.
44479         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44480         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44481         Define.
44482         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44483         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44484         Define.
44485         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44487         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44488         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44489         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44490         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44491         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44492         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44494         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44495         Handle f2fs.
44497         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44498         Handle f2fs and efivarfs.
44500         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44501         f2fs.
44503         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44504         (EFIVARFS_MAGIC): Add.
44505         (F2FS_LINK_MAX): Add.
44507 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44509         * stdio-common/vfprintf.c: Replace __builtin_expect with
44510         __glibc_unlikely.
44512 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
44514         [BZ #13550]
44515         * sysdeps/generic/bp-sym.h: Remove file.
44516         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44517         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44518         <bp-sym.h> and <bp-asm.h>.
44519         (__longjmp): Don't use BP_SYM.
44520         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44521         and <bp-asm.h>.
44522         (memcpy): Don't use BP_SYM.
44523         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44524         <bp-sym.h> and <bp-asm.h>.
44525         (memcpy): Don't use BP_SYM.
44526         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44527         <bp-asm.h>.
44528         (memcpy): Don't use BP_SYM.
44529         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44530         <bp-asm.h>.
44531         (memset): Don't use BP_SYM.
44532         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44533         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44534         (__bzero): Don't use BP_SYM.
44535         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44536         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44537         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44538         <bp-sym.h> and <bp-asm.h>.
44539         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44540         pointers.
44541         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44542         <bp-sym.h> and <bp-asm.h>.
44543         (memcpy): Don't use BP_SYM.
44544         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44545         <bp-sym.h> and <bp-asm.h>.
44546         (memset): Don't use BP_SYM.
44547         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44548         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44549         (__bzero): Don't use BP_SYM.
44550         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44551         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44552         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44553         <bp-sym.h> and <bp-asm.h>.
44554         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44555         pointers.
44556         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44557         <bp-sym.h> and <bp-asm.h>.
44558         (memcpy): Don't use BP_SYM.
44559         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44560         <bp-sym.h> and <bp-asm.h>.
44561         (memset): Don't use BP_SYM.
44562         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44563         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44564         (__bzero): Don't use BP_SYM.
44565         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44566         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44567         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44568         <bp-sym.h> and <bp-asm.h>.
44569         (__memchr): Don't use BP_SYM.
44570         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44571         <bp-sym.h> and <bp-asm.h>.
44572         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44573         pointers.
44574         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44575         <bp-sym.h> and <bp-asm.h>.
44576         (memcpy): Don't use BP_SYM.
44577         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44578         <bp-sym.h> and <bp-asm.h>.
44579         (__mempcpy): Don't use BP_SYM.
44580         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44581         <bp-sym.h> and <bp-asm.h>.
44582         (__memrchr): Don't use BP_SYM.
44583         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44584         <bp-sym.h> and <bp-asm.h>.
44585         (memset): Don't use BP_SYM.
44586         (__bzero): Likewise.
44587         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44588         <bp-sym.h> and <bp-asm.h>.
44589         (__rawmemchr): Don't use BP_SYM.
44590         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44591         <bp-sym.h> and <bp-asm.h>.
44592         (__STRCMP): Don't use BP_SYM.
44593         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44594         <bp-sym.h> and <bp-asm.h>.
44595         (strchr): Don't use BP_SYM.
44596         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44597         <bp-sym.h> and <bp-asm.h>.
44598         (__strchrnul): Don't use BP_SYM.
44599         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44600         <bp-sym.h> and <bp-asm.h>.
44601         (strlen): Don't use BP_SYM.
44602         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44603         <bp-sym.h> and <bp-asm.h>.
44604         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44605         pointers.
44606         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44607         <bp-sym.h> and <bp-asm.h>.
44608         (__strnlen): Don't use BP_SYM.
44609         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44610         <bp-sym.h> and <bp-asm.h>.
44611         (__GI__setjmp): Don't use BP_SYM.
44612         (_setjmp): Likewise.
44613         (__sigsetjmp): Likewise.
44614         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44615         (L(start_addresses)): Don't use BP_SYM.
44616         (_start): Likewise.
44617         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44618         <bp-asm.h>.
44619         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44620         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44621         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44622         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44623         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44624         <bp-asm.h>.
44625         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44626         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
44627         about bounded pointers.
44628         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44629         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44630         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44631         <bp-asm.h>.
44632         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44633         about bounded pointers.  Remove GKM FIXME comments.
44634         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44635         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
44636         <bp-asm.h>.
44637         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
44638         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
44639         Remove GKM FIXME comments.
44640         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44641         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44642         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
44643         <bp-asm.h>.
44644         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44645         about bounded pointers.  Remove GKM FIXME comment.
44646         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
44647         and <bp-asm.h>.
44648         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44649         pointers.
44650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44651         <bp-sym.h> and <bp-asm.h>.
44652         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44654         <bp-sym.h> and <bp-asm.h>.
44655         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44656         comment.
44658 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44660         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44661         call free(NULL).
44663 2013-03-05  David S. Miller  <davem@davemloft.net>
44665         * po/es.po: Update from translation team.
44667 2013-03-05  Andreas Jaeger  <aj@suse.de>
44669         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44670         <bits/mman-linux.h>.
44671         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44672         is fine.
44673         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44674         <bits/mman-linux.h> to end of file.
44675         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44676         is fine.
44677         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44678         <bits/mman-linux.h> to end of file.
44679         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44680         is fine.
44681         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44682         <bits/mman-linux.h> to end of file.
44684         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44685         (MCL_CURRENT, MCL_FUTURE): Define here.
44687 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44689         [BZ #15232]
44690         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44691         attribute_hidden.
44692         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44694 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44696         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44697         fourth parameter needed for rt_sigprocmask syscall.
44698         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44699         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44700         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44701         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44702         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44703         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44705 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44707         [BZ #13550]
44708         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44709         comment about bounded pointers.
44710         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44711         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44713 2013-03-04  Andreas Jaeger  <aj@suse.de>
44715         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44716         common definitions.
44718         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44719         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44720         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44721         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44722         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44723         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44725 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44727         [BZ #15055]
44728         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44729         __ieee754_sqrl instead of __sqrl.
44731 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44733         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44734         * sysdeps/powerpc/fpu_control.h: ... here.
44735         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44736         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44737         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44738         * sysdeps/powerpc/bits/mathinline.h: ... here.
44740 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44742         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44743         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44744         to just [NEED_DL_SYSINFO_DSO].
44745         * elf/dl-support.c: Likewise.
44746         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44747         * elf/rtld.c (dl_main): Likewise.
44748         * elf/setup-vdso.h (setup_vdso): Likewise.
44749         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44750         * sysdeps/unix/sysv/linux/dl-sysdep.c
44751         (_dl_discover_osversion): Likewise.
44753 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44755         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44756         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44758 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44760         * NEWS: Mention libm performance improvements and non-x86 PI
44761         futex support.
44763         * csu/libc-start.c (__pthread_initialize_minimal): Change
44764         function arguments.
44765         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44767 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44769         [BZ #13550]
44770         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44771         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44772         <bp-sym.h> and <bp-asm.h>.
44773         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44774         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44775         and <bp-asm.h>.
44776         (memcpy): Don't use BP_SYM.
44777         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44778         <bp-asm.h>.
44779         (__mpn_add_n): Don't use BP_SYM.
44780         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44781         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44782         and <bp-asm.h>.
44783         (__mpn_addmul_1): Don't use BP_SYM.
44784         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44785         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44786         <bp-sym.h>.
44787         (_setjmp): Don't use BP_SYM.
44788         (__novmx_setjmp): Likewise.
44789         (__GI__setjmp): Likewise.
44790         (__vmx_setjmp): Likewise.
44791         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44792         <bp-sym.h>.
44793         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44794         (__bzero): Don't use BP_SYM.
44795         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44796         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44797         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44798         <bp-sym.h> and <bp-asm.h>.
44799         (memcpy): Don't use BP_SYM.
44800         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44801         <bp-sym.h> and <bp-asm.h>.
44802         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44803         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44804         <bp-sym.h> and <bp-asm.h>.
44805         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44806         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44807         <bp-asm.h>.
44808         (__mpn_lshift): Don't use BP_SYM.
44809         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44810         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44811         <bp-asm.h>.
44812         (memset): Don't use BP_SYM.
44813         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44814         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44815         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44816         <bp-asm.h>.
44817         (__mpn_mul_1): Don't use BP_SYM.
44818         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44819         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44820         <bp-sym.h> and <bp-asm.h>.
44821         (memcmp): Don't use BP_SYM.
44822         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44823         <bp-sym.h> and <bp-asm.h>.
44824         (memcpy): Don't use BP_SYM.
44825         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44826         <bp-sym.h> and <bp-asm.h>.
44827         (memset): Don't use BP_SYM.
44828         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44829         <bp-sym.h> and <bp-asm.h>.
44830         (strncmp): Don't use BP_SYM.
44831         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44832         <bp-sym.h> and <bp-asm.h>.
44833         (memcpy): Don't use BP_SYM.
44834         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44835         <bp-sym.h> and <bp-asm.h>.
44836         (memset): Don't use BP_SYM.
44837         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44838         <bp-sym.h> and <bp-asm.h>.
44839         (__memchr): Don't use BP_SYM.
44840         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44841         <bp-sym.h> and <bp-asm.h>.
44842         (memcmp): Don't use BP_SYM.
44843         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44844         <bp-sym.h> and <bp-asm.h>.
44845         (memcpy): Don't use BP_SYM.
44846         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44847         <bp-sym.h> and <bp-asm.h>.
44848         (__mempcpy): Don't use BP_SYM.
44849         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44850         <bp-sym.h> and <bp-asm.h>.
44851         (__memrchr): Don't use BP_SYM.
44852         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44853         <bp-sym.h> and <bp-asm.h>.
44854         (memset): Don't use BP_SYM.
44855         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44856         <bp-sym.h> and <bp-asm.h>.
44857         (__rawmemchr): Don't use BP_SYM.
44858         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44859         <bp-sym.h> and <bp-asm.h>.
44860         (__STRCMP): Don't use BP_SYM.
44861         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44862         <bp-sym.h> and <bp-asm.h>.
44863         (strchr): Don't use BP_SYM.
44864         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44865         <bp-sym.h> and <bp-asm.h>.
44866         (__strchrnul): Don't use BP_SYM.
44867         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44868         <bp-sym.h> and <bp-asm.h>.
44869         (strlen): Don't use BP_SYM.
44870         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44871         <bp-sym.h> and <bp-asm.h>.
44872         (strncmp): Don't use BP_SYM.
44873         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44874         <bp-sym.h> and <bp-asm.h>.
44875         (__strnlen): Don't use BP_SYM.
44876         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44877         <bp-asm.h>.
44878         (__mpn_rshift): Don't use BP_SYM.
44879         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44880         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44881         <bp-sym.h> and <bp-asm.h>.
44882         (__sigsetjmp): Don't use BP_SYM.
44883         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44884         (L(start_addresses)): Don't use BP_SYM.
44885         (_start): Likewise.
44886         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44887         <bp-asm.h>.
44888         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44889         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44890         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44891         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44892         <bp-asm.h>.
44893         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44894         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44895         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44896         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44897         <bp-asm.h>.
44898         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44899         comments.
44900         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44901         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44902         <bp-asm.h>.
44903         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44904         FIXME comments.
44905         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44906         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44907         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44908         <bp-asm.h>.
44909         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44910         comment.
44911         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44912         and <bp-asm.h>.
44913         (strncmp): Don't use BP_SYM,
44914         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44915         <bp-asm.h>.
44916         (__mpn_sub_n): Don't use BP_SYM.
44917         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44918         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44919         and <bp-asm.h>.
44920         (__mpn_submul_1): Don't use BP_SYM.
44921         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44923         <bp-sym.h> and <bp-asm.h>.
44924         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44926         <bp-sym.h> and <bp-asm.h>.
44927         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44928         comment.
44930 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44933         Use ZK to minimize writes to Z.
44934         (sub_magnitudes): Simplify code a bit.
44935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44936         Use ZK to minimize writes to Z.
44937         (sub_magnitudes): Simplify code a bit.
44939 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44941         * csu/gmon-start.c: Add special exception to license text.
44943 2013-02-27  Richard Henderson  <rth@redhat.com>
44945         * scripts/config.guess: Update from config.git.
44946         * scripts/config.sub: Likewise.
44948 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44950         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44952         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44954         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44956         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44958         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44960 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44962         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44963         [$(build-shared = yes].
44965 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44967         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44968         (__mul): Reduce iterations for calculating mantissa.
44970         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44971         MPTWO.
44972         (__mpranred): Likewise.
44974         [BZ #15160]
44975         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44976         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44978 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44980         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44981         Define __attribute__.
44983 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44985         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44986         unused.
44987         * posix/regex_internal.h (__attribute): Remove.
44988         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44989         (re_string_context_at): Likewise.
44990         (bitset_not): Use __attribute__ and mark function as possibly
44991         unused.
44992         (bitset_merge): Likewise.
44993         (bitset_mask): Likewise.
44994         (re_string_char_size_at): Likewise.
44995         (re_string_wchar_at): Likewise.
44996         (re_string_elem_size_at): Likewise.
44998 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45000         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45001         code.
45002         (cc32): Likewise.
45004         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45005         (__acr): Likewise.
45006         (__cpy): Likewise.
45007         (norm): Likewise.
45008         (denorm): Likewise.
45009         (__dbl_mp): Likewise.
45010         (add_magnitudes): Likewise.
45011         (sub_magnitudes): Likewise.
45012         (__mul): Likewise.
45013         (__inv): Likewise.
45015         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45016         style.
45018         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45019         style.
45021         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45022         code.
45024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45025         up changes with default code.
45026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45027         Likewise.
45029 2013-02-24  Allan McRae  <allan@archlinux.org>
45031         * manual/socket.texi (The Internet Namespace): Order menu items
45032         to match that in the file.
45034         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45035         node listing of the info page menu.
45037 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45039         [BZ #13550]
45040         * sysdeps/i386/bp-asm.h: Remove file.
45041         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45042         (PARMS): Do not use macros from bp-asm.h.
45043         (S1): Likewise.
45044         (S2): Likewise.
45045         (SIZE): Likewise.
45046         (__mpn_add_n): Do not use BP_SYM
45047         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45048         "bp-asm.h".
45049         (PARMS): Do not use macros from bp-asm.h.
45050         (S1): Likewise.
45051         (SIZE): Likewise.
45052         (__mpn_addmul_1): Do not use BP_SYM
45053         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45054         "bp-asm.h".
45055         (PARMS): Do not use macros from bp-asm.h.
45056         (SIGMSK): Likewise.
45057         (_setjmp): Likewise.  Do not use BP_SYM.
45058         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45059         "bp-asm.h".
45060         (PARMS): Do not use macros from bp-asm.h.
45061         (SIGMSK): Likewise.
45062         (setjmp): Likewise.  Do not use BP_SYM.
45063         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45064         "bp-asm.h".
45065         (PARMS): Do not use macros from bp-asm.h.
45066         (__frexp): Do not use BP_SYM.
45067         (frexp): Likewise.
45068         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45069         "bp-asm.h".
45070         (PARMS): Do not use macros from bp-asm.h.
45071         (__frexpf): Do not use BP_SYM.
45072         (frexpf): Likewise.
45073         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45074         "bp-asm.h".
45075         (PARMS): Do not use macros from bp-asm.h.
45076         (__frexpl): Do not use BP_SYM.
45077         (frexpl): Likewise.
45078         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45079         "bp-asm.h".
45080         (PARMS): Do not use macros from bp-asm.h.
45081         (__remquo): Do not use BP_SYM.
45082         (remquo): Likewise.
45083         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45084         "bp-asm.h".
45085         (PARMS): Do not use macros from bp-asm.h.
45086         (__remquof): Do not use BP_SYM.
45087         (remquof): Likewise.
45088         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45089         "bp-asm.h".
45090         (PARMS): Do not use macros from bp-asm.h.
45091         (__remquol): Do not use BP_SYM.
45092         (remquol): Likewise.
45093         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45094         "bp-asm.h".
45095         (PARMS): Do not use macros from bp-asm.h.
45096         (DEST): Likewise.
45097         (SRC): Likewise.
45098         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45099         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45100         "bp-asm.h".
45101         (PARMS): Do not use macros from bp-asm.h.
45102         (strlen): Do not use BP_SYM.
45103         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45104         "bp-asm.h".
45105         (PARMS): Do not use macros from bp-asm.h.
45106         (S1): Likewise.
45107         (S2): Likewise.
45108         (SIZE): Likewise.
45109         (__mpn_add_n): Do not use BP_SYM.
45110         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45111         "bp-asm.h".
45112         (PARMS): Do not use macros from bp-asm.h.
45113         (S1): Likewise.
45114         (SIZE): Likewise.
45115         (__mpn_addmul_1): Do not use BP_SYM.
45116         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45117         weak_alias.
45118         (bzero): Likewise.
45119         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45120         "bp-asm.h".
45121         (PARMS): Do not use macros from bp-asm.h.
45122         (S): Likewise.
45123         (SIZE): Likewise.
45124         (__mpn_lshift): Do not use BP_SYM.
45125         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45126         "bp-asm.h".
45127         (PARMS): Do not use macros from bp-asm.h.
45128         (DEST): Likewise.
45129         (SRC): Likewise.
45130         (LEN): Likewise.
45131         (memcpy): Likewise.  Do not use BP_SYM.
45132         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45133         libc_hidden_def and weak_alias.
45134         (mempcpy): Do not use BP_SYM in weak_alias.
45135         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
45140         [!BZERO_P] (CHR): Likewise.
45141         (memset): Likewise.  Do not use BP_SYM.
45142         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45143         "bp-asm.h".
45144         (PARMS): Do not use macros from bp-asm.h.
45145         (S1): Likewise.
45146         (SIZE): Likewise.
45147         (__mpn_mul_1): Do not use BP_SYM.
45148         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45149         "bp-asm.h".
45150         (PARMS): Do not use macros from bp-asm.h.
45151         (S): Likewise.
45152         (SIZE): Likewise.
45153         (__mpn_rshift): Do not use BP_SYM.
45154         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45155         "bp-asm.h".
45156         (PARMS): Do not use macros from bp-asm.h.
45157         (STR): Likewise.
45158         (CHR): Likewise.
45159         (strchr): Likewise.  Do not use BP_SYM.
45160         (index): Do not use BP_SYM in weak_alias.
45161         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45162         "bp-asm.h".
45163         (PARMS): Do not use macros from bp-asm.h.
45164         (DEST): Likewise.
45165         (SRC): Likewise.
45166         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45167         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45168         "bp-asm.h".
45169         (PARMS): Do not use macros from bp-asm.h.
45170         (strlen): Do not use BP_SYM.
45171         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45172         "bp-asm.h".
45173         (PARMS): Do not use macros from bp-asm.h.
45174         (S1): Likewise.
45175         (S2): Likewise.
45176         (SIZE): Likewise.
45177         (__mpn_sub_n): Do not use BP_SYM.
45178         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45179         "bp-asm.h".
45180         (PARMS): Do not use macros from bp-asm.h.
45181         (S1): Likewise.
45182         (SIZE): Likewise.
45183         (__mpn_submul_1): Do not use BP_SYM.
45184         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
45189         (SIZE): Likewise.
45190         (__mpn_add_n): Do not use BP_SYM.
45191         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45192         weak_alias.
45193         (bzero): Likewise.
45194         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45195         "bp-asm.h".
45196         (PARMS): Do not use macros from bp-asm.h.
45197         (BLK2): Likewise.
45198         (LEN): Likewise.
45199         (memcmp): Do not use BP_SYM.
45200         (bcmp): Do not use BP_SYM in weak_alias.
45201         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45202         "bp-asm.h".
45203         (PARMS): Do not use macros from bp-asm.h.
45204         (DEST): Likewise.
45205         (SRC): Likewise.
45206         (LEN): Likewise.
45207         (memcpy): Likewise.  Do not use BP_SYM.
45208         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45209         "bp-asm.h".
45210         (PARMS): Do not use macros from bp-asm.h.
45211         (DEST): Likewise.
45212         (SRC): Likewise.
45213         (LEN): Likewise.
45214         (memmove): Likewise.  Do not use BP_SYM.
45215         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45216         "bp-asm.h".
45217         (PARMS): Do not use macros from bp-asm.h.
45218         (DEST): Likewise.
45219         (SRC): Likewise.
45220         (LEN): Likewise.
45221         (__mempcpy): Likewise.  Do not use BP_SYM.
45222         (mempcpy): Do not use BP_SYM in weak_alias.
45223         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45224         "bp-asm.h".
45225         (PARMS): Do not use macros from bp-asm.h.
45226         (DEST): Likewise.
45227         (LEN): Likewise.
45228         [!BZERO_P] (CHR): Likewise.
45229         (memset): Likewise.  Do not use BP_SYM.
45230         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45231         "bp-asm.h".
45232         (PARMS): Do not use macros from bp-asm.h.
45233         (STR2): Likewise.
45234         (strcmp): Do not use BP_SYM.
45235         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45236         "bp-asm.h".
45237         (PARMS): Do not use macros from bp-asm.h.
45238         (STR): Likewise.
45239         (DELIM): Likewise.
45240         [USE_AS_STRTOK_R] (SAVE): Likewise.
45241         (FUNCTION): Likewise.  Do not use BP_SYM.
45242         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45243         aliases.
45244         (strtok_r): Likewise.
45245         (__GI___strtok_r): Likewise.
45246         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45247         (PARMS): Do not use macros from bp-asm.h.
45248         (S): Likewise.
45249         (SIZE): Likewise.
45250         (__mpn_lshift): Do not use BP_SYM.
45251         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45252         (PARMS): Do not use macros from bp-asm.h.
45253         (STR): Likewise.
45254         (CHR): Likewise.
45255         (__memchr): Do not use BP_SYM.
45256         (memchr): Do not use BP_SYM in weak_alias.
45257         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45258         (PARMS): Do not use macros from bp-asm.h.
45259         (BLK2): Likewise.
45260         (LEN): Likewise.
45261         (memcmp): Do not use BP_SYM.
45262         (bcmp): Do not use BP_SYM in weak_alias.
45263         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45264         (PARMS): Do not use macros from bp-asm.h.
45265         (S1): Likewise.
45266         (SIZE): Likewise.
45267         (__mpn_mul_1): Do not use BP_SYM.
45268         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45269         "bp-asm.h".
45270         (PARMS): Do not use macros from bp-asm.h.
45271         (STR): Likewise.
45272         (CHR): Likewise.
45273         (__rawmemchr): Do not use BP_SYM.
45274         (rawmemchr): Do not use BP_SYM in weak_alias.
45275         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45276         (PARMS): Do not use macros from bp-asm.h.
45277         (S): Likewise.
45278         (SIZE): Likewise.
45279         (__mpn_rshift): Do not use BP_SYM.
45280         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45281         (PARMS): Do not use macros from bp-asm.h.
45282         (SIGMSK): Likewise.
45283         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45284         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45285         (_start): Do not use BP_SYM.
45286         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45287         (PARMS): Do not use macros from bp-asm.h.
45288         (DEST): Likewise.
45289         (SRC): Likewise.
45290         (__stpcpy): Likewise.  Do not use BP_SYM.
45291         (stpcpy): Do not use BP_SYM in weak_alias.
45292         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45293         "bp-asm.h".
45294         (PARMS): Do not use macros from bp-asm.h.
45295         (DEST): Likewise.
45296         (SRC): Likewise.
45297         (LEN): Likewise.
45298         (__stpncpy): Likewise.  Do not use BP_SYM.
45299         (stpncpy): Do not use BP_SYM in weak_alias.
45300         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45301         (PARMS): Do not use macros from bp-asm.h.
45302         (STR): Likewise.
45303         (CHR): Likewise.
45304         (strchr): Likewise.  Do not use BP_SYM.
45305         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45306         "bp-asm.h".
45307         (PARMS): Do not use macros from bp-asm.h.
45308         (STR): Likewise.
45309         (CHR): Likewise.
45310         (__strchrnul): Likewise.  Do not use BP_SYM.
45311         (strchrnul): Do not use BP_SYM in weak_alias.
45312         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45313         "bp-asm.h".
45314         (PARMS): Do not use macros from bp-asm.h.
45315         (STOP): Likewise.
45316         (strcspn): Do not use BP_SYM.
45317         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45318         "bp-asm.h".
45319         (PARMS): Do not use macros from bp-asm.h.
45320         (STR): Likewise.
45321         (STOP): Likewise.
45322         (strpbrk): Likewise.  Do not use BP_SYM.
45323         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45324         "bp-asm.h".
45325         (PARMS): Do not use macros from bp-asm.h.
45326         (STR): Likewise.
45327         (CHR): Likewise.
45328         (strrchr): Likewise.  Do not use BP_SYM.
45329         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45330         (PARMS): Do not use macros from bp-asm.h.
45331         (SKIP): Likewise.
45332         (strspn): Do not use BP_SYM.
45333         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45334         (PARMS): Do not use macros from bp-asm.h.
45335         (STR): Likewise.
45336         (DELIM): Likewise.
45337         (SAVE): Likewise.
45338         (FUNCTION): Likewise.  Do not use BP_SYM.
45339         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45340         aliases.
45341         (strtok_r): Likewise.
45342         (__GI___strtok_r): Likewise.
45343         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45344         (PARMS): Do not use macros from bp-asm.h.
45345         (S1): Likewise.
45346         (S2): Likewise.
45347         (SIZE): Likewise.
45348         (__mpn_sub_n): Do not use BP_SYM.
45349         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45350         "bp-asm.h".
45351         (PARMS): Do not use macros from bp-asm.h.
45352         (S1): Likewise.
45353         (SIZE): Likewise.
45354         (__mpn_submul_1): Do not use BP_SYM.
45355         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45356         <bp-sym.h>.
45357         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45358         and <bp-asm.h>.
45359         (PARMS): Do not use macros from bp-asm.h.
45360         (FLAGS): Likewise.
45361         (PTID): Likewise.
45362         (TLS): Likewise.
45363         (CTID): Likewise.
45364         (__clone): Do not use BP_SYM.
45365         (clone): Do not use BP_SYM in weak_alias.
45366         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45367         and <bp-asm.h>.
45368         (PARMS): Do not use macros from bp-asm.h.
45369         (LEN): Likewise.
45370         (__mmap64): Do not use BP_SYM.
45371         (mmap64): Do not use BP_SYM in weak_alias.
45372         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45373         <bp-sym.h> and <bp-asm.h>.
45374         (PARMS): Do not use macros from bp-asm.h.
45375         (__posix_fadvise64_l64): Do not use BP_SYM.
45376         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45377         (PARMS): Do not use macros from bp-asm.h.
45378         (NSOPS): Likewise.
45379         (semtimedop): Do not use BP_SYM.
45380         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45381         and <bp-asm.h>.
45383 2013-02-21  Allan McRae  <allan@archlinux.org>
45385         * manual/message.texi (Charset conversion in gettext):
45386         Move @end statement to beginning of line.
45388 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45391         static.
45392         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45393         Likewise.
45395         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45396         (denorm): Likewise.
45397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45400 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45402         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45403         tail-call to the resolved function if pltexit isn't needed.
45405 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45408         or Y being zero as being unlikely.
45409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45410         Likewise.
45412 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45414         * manual/nss.texi (System Databases and Name Service Switch):
45415         Remove frobnicate @pxref.
45417 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45419         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45420         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45422 2013-02-20  Petr Machata  <pmachata@redhat.com>
45424         * elf/elf.h (R_ARM_TARGET1): New macro.
45425         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45426         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45427         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45428         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45429         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45430         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45431         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45432         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45433         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45434         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45435         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45436         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45437         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45438         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45439         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45440         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45441         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45442         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45443         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45444         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45445         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45446         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45447         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45448         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45449         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45450         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45451         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45452         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45453         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45454         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45455         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45456         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45457         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45458         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45459         (R_ARM_THM_GOT_BREL12): Likewise.
45460         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45461         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45462         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45463         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45464         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45465         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45466         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45467         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45468         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45470 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45472         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45473         __attribute_used__ to __attribute__ ((unused)).
45475 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45477         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45478         powerpc mpa.c.
45479         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45480         comment formatting.
45481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45483 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
45485         [BZ #13550]
45486         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45487         Remove macro.
45488         (ENTER): Remove both macro definitions.
45489         (LEAVE): Likewise.
45490         (CHECK_BOUNDS_LOW): Likewise.
45491         (CHECK_BOUNDS_HIGH): Likewise.
45492         (CHECK_BOUNDS_BOTH): Likewise.
45493         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45494         (RETURN_BOUNDED_POINTER): Likewise.
45495         (RETURN_NULL_BOUNDED_POINTER): Likewise.
45496         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45497         (POP_ERRNO_LOCATION_RETURN): Likewise.
45498         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45499         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45500         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45501         macros.
45502         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45503         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45504         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45505         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45506         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45507         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45508         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45509         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45510         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45511         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45512         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45513         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45514         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45515         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45516         removed macros.
45517         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45518         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45519         macros.
45520         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45521         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45522         * sysdeps/i386/i586/memset.S (memset): Likewise.
45523         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45524         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45525         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45526         macros.
45527         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45528         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45529         Change uses of L(2) to L(out).
45530         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45531         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45532         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45533         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45534         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45535         removed macros.
45536         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45537         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45538         macros.
45539         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45540         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45541         (RETURN): Do not use macro LEAVE.
45542         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45543         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45544         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45545         * sysdeps/i386/i686/memset.S (memset): Likewise.
45546         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45547         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45548         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45549         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45550         Likewise.
45551         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45552         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45553         L(1_2) and L(1_3) into L(1).
45554         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45555         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45556         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45557         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45558         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45559         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45560         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45561         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45562         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45563         macros.
45564         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45565         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45566         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45567         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45568         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45569         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45570         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45571         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45572         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45573         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45574         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45575         * sysdeps/i386/strspn.S (strspn): Likewise.
45576         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45577         conditional code.
45578         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45579         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45580         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45581         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45582         L(1_3) into L(1_1).
45583         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45584         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45585         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45586         macros.
45587         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45589 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45591         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45592         macro.
45594 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45596         * math/atest-exp.c (exp_mpn): Remove ROUND.
45597         * math/atest-exp2.c (exp_mpn): Likewise.
45598         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45600         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45601         * stdlib/tst-tls-atexit-lib.c: Likewise.
45602         * stdlib/tst-tls-atexit.c: Likewise.
45604 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45606         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45607         and __attribute_alloc_size__.
45609 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45611         * include/programs/xmalloc.h: Change __attribute_alloc_size to
45612         __attribute_alloc_size__.
45613         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45614         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45616 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45618         * include/programs/xmalloc.h: New file.
45619         * catgets/gencat.c: Include it.
45620         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45621         * elf/pldd.c: Likewise.
45622         * iconv/iconv_charmap.c: Likewise.
45623         * iconv/iconvconfig.c: Likewise.
45624         * iconv/strtab.c: Likewise.
45625         * locale/programs/locale.c: Likewise.
45626         * locale/programs/localedef.h: Likewise.
45627         * locale/programs/simple-hash.c: Likewise.
45628         * nscd/nscd.h: Likewise.
45629         * nss/makedb.c: Likewise.
45630         * sysdeps/generic/ldconfig.h: Likewise.
45632 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45634         * Versions.def: Add GLIBC_2.18.
45635         * include/link.h (struct link_map): New member l_tls_dtor_count.
45636         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45637         (__call_tls_dtors): Likewise.
45638         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
45639         __cxa_thread_atexit_impl.
45640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45641         Likewise.
45642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45643         Likewise.
45644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45645         Likewise.
45646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45647         Likewise.
45648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
45650         Likewise.
45651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45652         Likewise.
45653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45655         Likewise.
45656         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45657         (tests): Add test case tst-tls-atexit.
45658         (modules-names): Add shared library for tst-tls-atexit.
45659         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45660         (GLIBC_PRIVATE): Add __call_tls_dtors.
45661         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45662         for libstdc++.
45663         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45664         * stdlib/tst-tls-atexit.c: New test case.
45665         * stdlib/tst-tls-atexit-lib.c: New test case.
45667         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45669         * elf/Versions (ld): Add _dl_find_dso_for_object.
45670         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45671         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45672         (dl_open_worker): Use _dl_find_dso_for_object.
45673         * elf/dl-sym.c (do_sym): Likewise.
45674         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45676 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45678         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45679         Syntactic changes only.
45680         (_dl_runtime_profile): Do a tail-call to the resolved function.
45682 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45684         [BZ #13550]
45685         * sysdeps/x86_64/bp-asm.h: Remove file.
45686         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45687         <bp-sym.h> and <bp-asm.h>.
45688         (__clone): Do not use BP_SYM.
45689         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45690         <bp-sym.h> and <bp-asm.h>.
45691         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45692         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45693         "bp-asm.h".
45694         (_setjmp): Do not use BP_SYM.
45695         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45696         "bp-asm.h".
45697         (setjmp): Do not use BP_SYM.
45698         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45699         libc_hidden_def.
45700         (mempcpy): Do not use BP_SYM in weak_alias.
45701         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45702         "bp-asm.h".
45703         (strchr): Do not use BP_SYM.
45704         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45705         "bp-asm.h".
45706         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45707         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45708         (_start): Do not use BP_SYM.
45709         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45710         "bp-asm.h".
45711         (strcat): Do not use BP_SYM.
45712         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45713         "bp-asm.h".
45714         (STRCMP): Do not use BP_SYM.
45715         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45716         "bp-asm.h".
45717         (STRCPY): Do not use BP_SYM.
45718         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45719         "bp-asm.h".
45720         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45721         "bp-asm.h".
45722         (FUNCTION): Do not use BP_SYM.
45723         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45724         weak_alias.
45725         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45727 2013-02-17  Andreas Jaeger  <aj@suse.de>
45729         * time/Versions: Sort entries.
45730         * string/Versions: Likewise.
45731         * resolv/Versions: Likewise.
45732         * posix/Versions: Likewise.
45733         * iconv/Versions: Likewise.
45734         * elf/Versions: Likewise.
45735         * wcsmbs/Versions: Likewise.
45737 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45739         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45740         loop termination condition.
45742         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45743         variable to calculate EZ.
45744         (__sqr): Likewise.
45746         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45747         the lower precision input.
45749 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45751         [BZ #13550]
45752         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45753         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45754         (run-via-rtld-prefix): Do not handle %-bp tests.
45755         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45756         (all-object-suffixes): Remove .ob.
45757         (bppfx): Remove variable.
45758         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45759         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45760         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45761         [$(build-bounded) = yes] (libtype.ob): Likewise.
45762         * Makerules (elide-routines.ob): Remove variable.
45763         (do-tests-clean): Do not handle *-bp.out.
45764         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45765         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45766         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45767         (tests): Do not include $(tests-bp.out).
45768         (xtests): Do not include $(xtests-bp.out).
45769         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45770         [$(build-bounded) = yes] ($(addprefix
45771         $(objpfx),$(binaries-bounded))): Remove rule.
45772         ($(objpfx)%-bp.out): Remove rule.
45773         * config.make.in (build-bounded): Remove variable.
45774         * crypt/Makefile [$(build-bounded) = yes]
45775         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45776         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45777         append to variable.
45778         [$(build-bounded) = yes] (install-lib): Likewise.
45779         [$(build-bounded) = yes] (generated): Likewise.
45780         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45781         Remove rule.
45782         * intl/Makefile [$(build-bounded) = yes]
45783         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45784         * math/Makefile [$(build-bounded) = yes]
45785         ($(tests:%=$(objpfx)%-bp): Likewise.
45786         * misc/Makefile [$(build-bounded) = yes]
45787         ($(objpfx)tst-tsearch-bp): Likewise.
45788         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45789         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45790         Remove dependency.
45791         * string/Makefile (o-objects.ob): Remove variable.
45792         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45793         (CFLAGS-.ob): Remove variable.
45794         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45795         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45796         both definitions of variable.
45797         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45798         (ASFLAGS-.ob): Remove variable.
45800 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45802         [BZ #13550]
45803         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45804         Remove __BOUNDED_POINTERS__ from condition.
45805         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45806         * string/bits/string2.h [!__NO_STRING_INLINES &&
45807         !__BOUNDED_POINTERS__]: Likewise.
45808         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45809         Likewise.
45810         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45811         Remove conditional code.
45812         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45813         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45814         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45815         condition.
45817         [BZ #13550]
45818         * csu/libc-start.c: Do not include <bp-sym.h>.
45819         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45820         * elf/dl-open.c: Do not include <bp-sym.h>.
45821         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45822         * math/fegetenv.c: Do not include <bp-sym.h>.
45823         (fegetenv): Do not use BP_SYM in versioned symbols.
45824         * nptl/sysdeps/pthread/bits/libc-lockP.h
45825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45826         <bp-sym.h>.
45827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45828         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45830         (__pthread_mutex_destroy): Likewise.
45831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45832         (__pthread_mutex_lock): Likewise.
45833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45834         (__pthread_mutex_trylock): Likewise.
45835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45836         (__pthread_mutex_unlock): Likewise.
45837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45838         (__pthread_mutexattr_init): Likewise.
45839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45840         (__pthread_mutexattr_destroy): Likewise.
45841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45842         (__pthread_mutexattr_settype): Likewise.
45843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45844         (__pthread_rwlock_init): Likewise.
45845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45846         (__pthread_rwlock_destroy): Likewise.
45847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45848         (__pthread_rwlock_rdlock): Likewise.
45849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45850         (__pthread_rwlock_tryrdlock): Likewise.
45851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45852         (__pthread_rwlock_wrlock): Likewise.
45853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45854         (__pthread_rwlock_trywrlock): Likewise.
45855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45856         (__pthread_rwlock_unlock): Likewise.
45857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45858         (__pthread_key_create): Likewise.
45859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45860         (__pthread_setspecific): Likewise.
45861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45862         (__pthread_getspecific): Likewise.
45863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45864         Likewise.
45865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45866         (_pthread_cleanup_push_defer): Likewise.
45867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45868         (_pthread_cleanup_pop_restore): Likewise.
45869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45870         (pthread_setcancelstate): Likewise.
45871         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45872         <bp-sym.h>.
45873         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45874         (memchr): Do not use BP_SYM in weak_alias.
45875         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45876         (fegetenv): Do not use BP_SYM in versioned symbols.
45877         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45878         (fesetenv): Do not use BP_SYM in versioned symbols.
45879         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45880         (feupdateenv): Do not use BP_SYM in versioned symbols.
45881         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45882         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45883         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45884         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45885         (open64): Do not use BP_SYM in weak_alias.
45886         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45887         (fegetenv): Do not use BP_SYM in versioned symbols.
45888         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45889         (fesetenv): Do not use BP_SYM in versioned symbols.
45890         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45891         (feupdateenv): Do not use BP_SYM in versioned symbols.
45892         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45893         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45894         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45895         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45896         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45897         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45898         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45899         <bp-sym.h>.
45900         (__libc_start_main): Do not use BP_SYM.
45902 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45905         redundant return line.
45906         (norm): Likewise.
45907         (denorm): Likewise.
45908         (dbl_mp): Likewise.
45909         (sub_magnitudes): Likewise.
45910         (__add): Likewise.
45911         (__sub): Likewise.
45912         (__mul): Likewise.
45913         (__inv): Likewise.
45914         (__dvd): Likewise.
45915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45916         (norm): Likewise.
45917         (denorm): Likewise.
45918         (dbl_mp): Likewise.
45919         (sub_magnitudes): Likewise.
45920         (__add): Likewise.
45921         (__sub): Likewise.
45922         (__mul): Likewise.
45923         (__inv): Likewise.
45924         (__dvd): Likewise.
45926         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45927         instead of __mul.
45928         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45929         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45930         (cc32): Likewise.
45932         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45933         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45934         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45935         of __mul for squares.
45936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45937         function
45938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45939         Likewise.
45940         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45941         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45943 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45945         [BZ #13550]
45946         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45947         code.
45948         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45949         prototype or function definition.  Rename ubp_* variables and
45950         parameters.  Remove argv definitions conditional on
45951         [__BOUNDED_POINTERS__].
45952         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45953         * elf/dl-runtime.c (_dl_fixup): Likewise.
45954         * include/set-hooks.h (RUN_HOOK): Likewise.
45955         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45956         definition.
45957         * string/strcpy.c (strcpy): Do not use __unbounded.
45958         * sysdeps/generic/frame.h (struct layout): Likewise.
45959         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45960         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45961         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45962         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45963         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45964         (__backtrace): Likewise.
45965         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45966         use __ptrvalue.
45967         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45968         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45969         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45970         Likewise.
45971         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45972         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45973         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45974         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45975         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45976         Do not use __unbounded.
45977         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45978         Rename __unboundedrlimits parameter to rlimits in prototype.
45979         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45980         Do not use __unbounded.
45981         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45982         not use __ptrvalue.
45983         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45984         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45985         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45986         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45987         __ptrvalue or __unbounded.
45988         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45989         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45990         use __unbounded.
45991         (__new_msgctl): Do not use __ptrvalue.
45992         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45993         __unbounded.
45994         (__libc_msgrcv): Do not use __ptrvalue.
45995         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45996         startup_info): Do not use __unbounded.
45997         (__libc_start_main): Likewise.  Rename ubp_* variables and
45998         parameters.  Remove argv definitions conditional on
45999         [__BOUNDED_POINTERS__].
46000         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46001         __ptrvalue.
46002         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46003         use __unbounded.
46004         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46005         or __ptrvalue.
46006         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46007         use __unbounded.
46008         (__new_shmctl): Do not use __ptrvalue.
46009         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46010         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46011         Likewise.
46012         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46013         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46014         (__libc_sigaction): Likewise.
46015         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46016         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46017         Likewise.
46018         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46020 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46022         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46024         * string/mempcpy.c: Implement by calling memcpy.
46026 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46031         evaluation.
46033         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46034         values in the mantissa.
46036         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46037         minimize writes to Z.
46038         (sub_magnitudes): Simplify code a bit.
46040 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46042         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46043         from the message.  The linker prefixes all warnings with that already.
46045 2013-02-12  Andreas Schwab  <schwab@suse.de>
46047         [BZ #15078]
46048         * posix/regexec.c (extend_buffers): Add parameter min_len.
46049         (check_matching): Pass minimum needed length.
46050         (clean_state_log_if_needed): Likewise.
46051         (get_subexp): Likewise.
46052         * posix/Makefile (tests): Add bug-regex34.
46053         (bug-regex34-ENV): Define.
46054         * posix/bug-regex34.c: New file.
46056         [BZ #11561]
46057         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46058         elements compare against the byte sequence of it, not its name.
46059         * posix/Makefile (tests): Add bug-regex35.
46060         (bug-regex35-ENV): Define.
46061         * posix/bug-regex35.c: New file.
46063 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46065         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46066         comment.
46067         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46068         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46069         (CHECK_EOL): Add undef.
46071 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46073         * bits/stdlib-bsearch.h: New file.
46074         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46075         * stdlib/stdlib.h: Likewise.
46077 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46079         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46080         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46081         declaration.
46082         * manual/search.texi (Array Search Function): Add missing const in
46083         lfind prototype.
46084         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46085         declaration to use rlim_t.
46086         (Basic Scheduling Functions): Remove erroneous const from
46087         sched_getparam prototype.  Remove erroneous * from
46088         sched_get_priority_max and sched_get_priority_min prototypes.
46089         (Resource Usage): Fix summary @comment on vtimes to refer to
46090         sys/vtimes.h rather than vtimes.h.
46091         Add missing *s in vtimes prototype.
46092         (Limits on Resources): Fix ulimit prototype to return long int.
46093         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46094         prototypes to use long int rather than double.
46095         (BSD Random): Fix initstate and setstate to use char *, not void *.
46096         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46097         prototype to make second argument 'struct aiocb64 *const[]'.
46098         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46099         (Status of AIO Operations): Remove erroneous const in aio_return and
46100         aio_return64 prototypes.
46101         (Synchronizing I/O): Fix sync prototype to return void.
46102         * manual/startup.texi (Suboptions): Remove an erroneous const in
46103         getsubopt prototype.
46104         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46105         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46106         use size_t rather than int.
46107         (Scanning All Users): Likewise for getpwent_r.
46108         (Setting Groups): Add missing const to setgroups prototype.
46109         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46110         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46111         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46112         'const void *' rather than 'const char *'.
46113         (Host Address Functions): Likewise for inet_ntop.
46114         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46115         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46116         ssize_t for return value.
46117         (Sending Data): Likewise for send, sendto, sendmsg.
46118         (Socket Option Functions): Add a missing const in setsockopt prototype.
46119         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46120         use wchar_t for the argument.
46121         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46122         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46123         take no arguments.
46124         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46125         double/float/long double for second argument.
46126         Fix return types of significand, significandf, significandl.
46127         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46128         argument in fchmod prototype.
46129         (File Owner): Use uid_t and gid_t in fchown prototype.
46130         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46131         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46132         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46133         use 'const struct dirent **' as argument types to CMP function pointer
46134         argument.
46135         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46136         (File Times): Fix summary magic @comment for struct utimbuf and utime
46137         to refer to utime.h, not time.h.
46138         * manual/string.texi (Argz Functions): Add missing const in
46139         argz_extract and argz_next prototypes.
46140         (Finding Tokens in a String): Likewise for basename.
46141         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46142         (Copying and Concatenation): Fix typo in wmemmove prototype.
46143         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46144         (Signal Stack): Remove erroneous const in sigstack prototype.
46145         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46146         prototype.
46147         (Simple Calendar Time): Likewise for stime.
46148         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46149         prototype.
46150         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46151         say sys/sysctl.h instead.
46152         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46153         and vsyslog prototypes.
46155 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46157         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46158         Remove.
46160 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46162         * misc/sys/mman.h: Fix typo in mremap comment.
46164 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46166         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46167         the '\0' terminator.
46169 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46171         [BZ #13550]
46172         * debug/segfault.c: Don't include <bp-checks.h>.
46173         * sysdeps/generic/bp-checks.h: Remove file.
46174         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46175         (__GETDENTS): Don't use CHECK_N.
46176         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46177         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46178         (__getgroups): Don't use CHECK_N.
46179         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46180         (setgroups): Don't use CHECK_N.
46181         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46182         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46183         (__libc_msgrcv): Don't use CHECK_N.
46184         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46185         (__libc_msgsnd): Don't use CHECK_N.
46186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46187         <bp-checks.h>.
46188         (__libc_pread): Don't use CHECK_N.
46189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46190         include <bp-checks.h>.
46191         (__libc_pread64): Don't use CHECK_N.
46192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46193         include <bp-checks.h>.
46194         (__libc_pwrite): Don't use CHECK_N.
46195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46196         include <bp-checks.h>.
46197         (__libc_pwrite64): Don't use CHECK_N.
46198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46199         <bp-checks.h>.
46200         (__libc_pread): Don't use CHECK_N.
46201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46202         include <bp-checks.h>.
46203         (__libc_pread64): Don't use CHECK_N.
46204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46205         include <bp-checks.h>.
46206         (__libc_pwrite): Don't use CHECK_N.
46207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46208         include <bp-checks.h>.
46209         (__libc_pwrite64): Don't use CHECK_N.
46210         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46211         (do_pread): Don't use CHECK_N.
46212         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46213         (do_pread64): Don't use CHECK_N.
46214         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46215         (do_pwrite): Don't use CHECK_N.
46216         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46217         (do_pwrite64): Don't use CHECK_N.
46218         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46219         (__libc_readv): Don't use CHECK_N.
46220         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46221         (semop): Don't use CHECK_N.
46222         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46223         <bp-checks.h>.
46224         (semtimedop): Don't use CHECK_N.
46225         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46226         (__libc_pread): Don't use CHECK_N.
46227         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46228         <bp-checks.h>.
46229         (__libc_pread64): Don't use CHECK_N.
46230         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46231         <bp-checks.h>.
46232         (__libc_pwrite): Don't use CHECK_N.
46233         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46234         <bp-checks.h>.
46235         (__libc_pwrite64): Don't use CHECK_N.
46236         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46237         <bp-checks.h>.
46238         (__libc_msgrcv): Don't use CHECK_N.
46239         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46240         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46241         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46242         (__libc_writev): Don't use CHECK_N.
46244 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46246         * string/strcpy.c: Removed unused variable.
46248         * Makeconfig (+sysdep-includes): Define with := rather than =.
46249         Use an existing include/ subdir of each sysdeps dir before it.
46251 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46253         * nscd/connection.c (register_traced_file): Comment function.
46254         [HAVE_INOTIFY] (union __inev): Define.
46255         [HAVE_INOTIFY] (inotify_check_files): New function.
46256         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46257         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46258         clear_db_cache.
46259         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46261 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46263         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46264         loaded if not already and that a failure is permanent.
46266 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46268         [BZ #15006]
46269         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46270         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46272 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46274         [BZ #13550]
46275         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46276         (CHECK_1_NULL_OK): Likewise.
46277         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46278         (__fxstat): Do not use CHECK_1.
46279         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46280         <bp-checks.h>.
46281         (___fxstat64): Do not use CHECK_1.
46282         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46283         <bp-checks.h>.
46284         (__fxstatat): Do not use CHECK_1.
46285         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46286         <bp-checks.h>.
46287         (__fxstatat64): Do not use CHECK_1.
46288         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46289         <bp-checks.h>.
46290         (__fxstat): Do not use CHECK_1.
46291         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46292         <bp-checks.h>.
46293         (__fxstatat): Do not use CHECK_1.
46294         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46295         <bp-checks.h>.
46296         (__getresgid): Do not use CHECK_1.
46297         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46298         <bp-checks.h>.
46299         (__getresuid): Do not use CHECK_1.
46300         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46301         <bp-checks.h>.
46302         (__lxstat): Do not use CHECK_1.
46303         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46304         <bp-checks.h>.
46305         (__old_msgctl): Do not use CHECK_1.
46306         (__new_msgctl): Likewise.
46307         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46308         <bp-checks.h>.
46309         (__new_setrlimit): Do not use CHECK_1.
46310         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46311         <bp-checks.h>.
46312         (__old_shmctl): Do not use CHECK_1.
46313         (__new_shmctl): Likewise.
46314         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46315         <bp-checks.h>.
46316         (__xstat): Do not use CHECK_1.
46317         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46318         (__lxstat): Do not use CHECK_1.
46319         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46320         <bp-checks.h>.
46321         (___lxstat64): Do not use CHECK_1.
46322         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46323         (__old_msgctl): Do not use CHECK_1.
46324         (__new_msgctl): Likewise.
46325         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46326         <bp-checks.h>.
46327         (__gettimeofday): Do not use CHECK_1.
46328         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46329         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46330         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46331         <bp-checks.h>.
46332         (__gettimeofday): Do not use CHECK_1.
46333         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46334         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46335         (__new_shmctl): Do not use CHECK_1.
46336         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46337         <bp-checks.h>.
46338         (do_sigtimedwait): Do not use CHECK_1.
46339         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46340         <bp-checks.h>.
46341         (do_sigwaitinfo): Do not use CHECK_1.
46342         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46343         <bp-checks.h>.
46344         (msgctl): Do not use CHECK_1.
46345         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46346         <bp-checks.h>.
46347         (shmctl): Do not use CHECK_1.
46348         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46349         (ustat): Do not use CHECK_1.
46350         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46351         <bp-checks.h>.
46352         (__fxstat): Do not use CHECK_1.
46353         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46354         <bp-checks.h>.
46355         (__fxstatat): Do not use CHECK_1.
46356         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46357         <bp-checks.h>.
46358         (__lxstat): Do not use CHECK_1.
46359         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46360         <bp-checks.h>.
46361         (__xstat): Do not use CHECK_1.
46362         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46363         (__xstat): Do not use CHECK_1.
46364         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46365         (___xstat64): Do not use CHECK_1.
46367         [BZ #13550]
46368         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46369         definitions.
46370         (CHECK_BOUNDS_HIGH): Likewise.
46371         * string/strcpy.c: Do not include <bp-checks.h>.
46372         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46374 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46376         * nscd/nscd-client.h (__nscd_drop_map_ref):
46377         Add __attribute__ ((unused)).
46378         * nis/nss-nisplus.h (niserr2nss): Likewise.
46380         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46381         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46383         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46384         Remove inline keyword.
46385         * include/rounding-mode.h (round_away): Likewise.
46386         * libio/wfileops.c (adjust_wide_data): Likewise.
46387         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46388         (__m128i_strloadu_tolower): Likewise.
46389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46390         (__m128i_strloadu_tolower): Likewise.
46391         * time/mktime.c (ydhms_diff): Likewise.
46392         * locale/elem-hash.h (elem_hash): Likewise.
46393         * locale/setlocale.c (setdata): Likewise.
46394         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46395         (re_string_wchar_at): Likewise.
46396         (bitset_not, bitset_merge, bitset_mask): Likewise.
46397         [!(__GNUC__ > 3)] (inline): Remove macro.
46398         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46399         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46400         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46401         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46402         * string/memcmp.c (memcmp_bytes): Likewise.
46403         * locale/programs/locarchive.c (compute_hashval): Likewise.
46404         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46405         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46406         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46407         * nss/getent.c (print_rpc, print_protocols): Likewise.
46408         (print_passwd, print_group, print_aliases): Likewise.
46409         * nis/nss-nisplus.h (niserr2nss): Likewise.
46410         * nscd/connections.c (restart_p): Likewise.
46411         Change return type to bool.
46413 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46415         * Makeconfig (all-Depend-files): Add existing
46416         $(sorted-subdirs:=/Depend) files.
46417         (all-subdirs): Remove nss.
46418         * sysdeps/unix/inet/Subdirs: Add it here instead.
46419         * hesiod/Depend: New file.
46421         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46422         instead of calling alloca.
46424         * io/lseek.c (__lseek): Rename to __libc_lseek.
46425         Define __lseek as an alias.
46427         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46429 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46431         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46432         else clause and remove check for non-standard endianness.
46434 2013-02-04  David S. Miller  <davem@davemloft.net>
46436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46438 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46440         [BZ #13550]
46441         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46442         (__ubp_memchr): Remove prototype.
46443         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46444         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46445         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46446         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46447         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46448         Remove alias.
46449         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46450         (__ubp_memchr): Likewise.
46451         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46452         (__ubp_memchr): Likewise.
46453         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46454         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46455         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46456         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46457         CHECK_STRING.
46458         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46459         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46460         (__getcwd): Do not use CHECK_STRING.
46461         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46462         <bp-checks.h>.
46463         (__real_chown): Do not use CHECK_STRING.
46464         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46465         <bp-checks.h>.
46466         (fchownat): Do not use CHECK_STRING.
46467         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46468         CHECK_STRING.
46469         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46470         <bp-checks.h>.
46471         (__lchown): Do not use CHECK_STRING.
46472         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46473         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46474         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46475         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46477         include <bp-checks.h>.
46478         (truncate64): Do not use CHECK_STRING.
46479         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46480         <bp-checks.h>.
46481         (__real_chown): Do not use CHECK_STRING.
46482         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46483         <bp-checks.h>.
46484         (__lchown): Do not use CHECK_STRING.
46485         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46486         <bp-checks.h>.
46487         (__chown): Do not use CHECK_STRING.
46488         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46489         <bp-checks.h>.
46490         (truncate64): Do not use CHECK_STRING.
46491         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46492         Likewise.
46493         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46494         (__xmknod): Do not use CHECK_STRING.
46495         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46496         <bp-checks.h>.
46497         (__xmknodat): Do not use CHECK_STRING.
46498         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46499         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46501 2013-02-04  Andreas Schwab  <schwab@suse.de>
46503         [BZ #14142]
46504         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46505         * include/netdb.h: Likewise for h_errno.
46506         * elf/tst-stackguard1.c: Include <tls.h>.
46508 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
46510         * elf/link.h (struct link_map): Extend the l_addr comment.
46511         * include/link.h (struct link_map): Likewise.
46513 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
46515         [BZ #13550]
46516         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46517         (BOUNDED_1): Remove macro.
46518         * debug/backtrace.c: Don't include <bp-checks.h>.
46519         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46520         (__backtrace): Likewise.
46521         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46522         <bp-checks.h>.
46523         (__backtrace): Don't use BOUNDED_1.
46524         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46525         <bp-checks.h>.
46526         (__backtrace): Don't use BOUNDED_1.
46527         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46528         (__backtrace): Don't use BOUNDED_1.
46529         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46530         (shmat): Don't use BOUNDED_N.
46532 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
46534         [BZ #13550]
46535         * sysdeps/generic/bp-start.h: Remove file.
46536         * csu/libc-start.c: Don't include <bp-start.h>.
46537         (LIBC_START_MAIN): Set up __environ directly instead of using
46538         INIT_ARGV_and_ENVIRON.
46539         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46540         <bp-start.h>.
46542         [BZ #13550]
46543         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46544         definitions.
46545         (CHECK_FCNTL): Likewise.
46546         (CHECK_N_PAGES): Likewise.
46548         [BZ #13550]
46549         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46550         definitions.
46551         (CHECK_SIGSET_NULL_OK): Likewise.
46552         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46553         <bp-checks.h>.
46554         (sigpending): Don't use CHECK_SIGSET.
46555         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46556         <bp-checks.h>.
46557         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46558         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46559         <bp-checks.h>.
46560         (do_sigsuspend): Don't use CHECK_SIGSET.
46561         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46562         use CHECK_SIGSET.
46563         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46564         (do_sigwait): Don't use CHECK_SIGSET.
46565         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46566         use CHECK_SIGSET.
46567         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46568         include <bp-checks.h>.
46569         (sigpending): Don't use CHECK_SIGSET.
46570         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46571         include <bp-checks.h>.
46572         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46573         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46574         <bp-checks.h>.
46575         (sigpending): Don't use CHECK_SIGSET.
46576         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46577         <bp-checks.h>.
46578         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46580         [BZ #13550]
46581         * sysdeps/generic/bp-semctl.h: Remove file.
46582         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46583         <bp-checks.h> and <bp-semctl.h>.
46584         (__old_semctl): Don't use CHECK_SEMCTL.
46585         (__new_semctl): Likewise.
46586         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46587         and <bp-semctl.h>.
46588         (__old_semctl): Don't use CHECK_SEMCTL.
46589         (__new_semctl): Likewise.
46590         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46591         <bp-checks.h> and <bp-semctl.h>.
46592         (__old_semctl): Don't use CHECK_SEMCTL.
46593         (__new_semctl): Likewise.
46594         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46595         <bp-checks.h> and <bp-semctl.h>.
46596         (semctl): Don't use CHECK_SEMCTL.
46598         [BZ #13550]
46599         * Makerules (elide-bp-thunks): Remove variable.
46600         (elide-routines.oS): Don't use $(elide-bp-thunks).
46601         (elide-routines.os): Likewise.
46602         (elide-routines.o): Likewise.
46603         (elide-routines.op): Likewise.
46604         (elide-routines.og): Likewise.
46605         (objects): Don't use $(bp-thunks).
46606         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46607         include.
46608         (common-generated): Do not add s-proto-bp.d.
46609         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46610         (int): Likewise.
46611         (typ): Likewise.
46612         Do not generate makefile rules for bounded-pointer thunks.
46613         * sysdeps/generic/bp-thunks.h: Remove file.
46614         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46615         * sysdeps/unix/s-proto-bp.S: Likewise.
46617         [BZ #15062]
46618         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46619         parts of result separately when argument is not close to line from
46620         -i to i and one part of argument is small.
46621         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46622         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46623         * math/libm-test.inc (cacos_test): Add more tests.
46624         (casin_test): Likewise.
46625         (casinh_test): Likewise.
46626         * sysdeps/i386/fpu/libm-test-ulps: Update.
46627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46629 2013-01-31  David S. Miller  <davem@davemloft.net>
46631         * po/de.po: Update from translation team.
46633 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
46635         * time/tzfile.c: Include stdint.h for SIZE_MAX.
46637 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
46639         * configure.in (_AC_PROG_CC_C89): New definition.
46640         * configure: Regenerate.
46642         * configure.in (AC_PROG_CPP): New definition.
46643         * configure: Regenerate.
46645 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46647         * debug/tst-backtrace.h: New file.
46648         * debug/tst-backtrace2.c: Include tst-backtrace.h.
46649         (ret): Remove variable.
46650         (x): Likewise.
46651         (FAIL): Remove macro.
46652         (NO_INLINE): Likewise.
46653         (fn1): Use match function instead of strstr.
46654         * debug/tst-backtrace3.c: Include tst-backtrace.h.
46655         (ret): Remove variable.
46656         (x): Likewise.
46657         (FAIL): Remove macro.
46658         (NO_INLINE): Likewise.
46659         (fn): Use match function instead of strstr.
46660         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46661         (ret): Remove variable.
46662         (x): Likewise.
46663         (FAIL): Remove macro.
46664         (NO_INLINE): Likewise.
46665         (handle_signal): Use match function instead of strstr.
46666         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46667         (ret): Remove variable.
46668         (x): Likewise.
46669         (FAIL): Remove macro.
46670         (NO_INLINE): Likewise.
46671         (handle_signal): Use match function instead of strstr.
46673 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46675         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46677 2013-01-23  David S. Miller  <davem@davemloft.net>
46679         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46680         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46681         argument of CAS if possible.
46682         * sysdeps/sparc/sparc64/bits/atomic.h
46683         (__arch_compare_and_exchange_val_32_acq): Likewise.
46684         (__arch_compare_and_exchange_val_64_acq): Likewise.
46686 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46688         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46689         * sysdeps/posix/ulimit.c: ... this.
46690         Include <limits.h>.
46691         * sysdeps/unix/bsd/ulimit.c: Remove file.
46693 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46695         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46696         (LDFLAGS-tst-array5): Likewise.
46698 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46700         [BZ #15036]
46701         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46702         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46703         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46704         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46706 2013-01-21  David S. Miller  <davem@davemloft.net>
46708         * sysdeps/sparc/backtrace.c: New file.
46709         * sysdeps/sparc/sparc32/backtrace.h: New file.
46710         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46711         * sysdeps/sparc/sparc64/backtrace.h: New file.
46712         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46713         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46714         -funwind-tables.
46716 2013-01-21  Andreas Schwab  <schwab@suse.de>
46718         [BZ #15020]
46719         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46720         closed its stdout.
46722 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46725         "mpa2.h".
46726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46728 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46729             Mark Mitchell  <mark@codesourcery.com>
46730             Tom de Vries  <tom@codesourcery.com>
46731             Paul Pluzhnikov  <ppluzhnikov@google.com>
46733         * debug/tst-backtrace2.c: New file.
46734         * debug/tst-backtrace3.c: Likewise.
46735         * debug/tst-backtrace4.c: Likewise.
46736         * debug/tst-backtrace5.c: Likewise.
46737         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46738         (CFLAGS-tst-backtrace3.c): Likewise.
46739         (CFLAGS-tst-backtrace4.c): Likewise.
46740         (CFLAGS-tst-backtrace5.c): Likewise.
46741         (LDFLAGS-tst-backtrace2): Likewise.
46742         (LDFLAGS-tst-backtrace3): Likewise.
46743         (LDFLAGS-tst-backtrace4): Likewise.
46744         (LDFLAGS-tst-backtrace5): Likewise.
46745         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46746         tst-backtrace4 and tst-backtrace5.
46748 2013-01-18  Anton Blanchard  <anton@samba.org>
46749             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46751         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46752         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46753         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46754         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46756         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46757         "+r" and remove output regs list as redundant.  Add explicit inline
46758         asm to specify register of return val to work around compiler codegen
46759         bug.  Remove (int) cast on return value.  Add return type parameter to
46760         use in macro so that this macro does not truncate return value for
46761         64-bit values.
46762         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46763         pass to INTERNAL_VSYSCALL_NCS.
46764         (INLINE_VSYSCALL): Add 'long int' as return type to
46765         INTERNAL_VSYSCALL_NCS macro invocation.
46766         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46767         INTERNAL_VSYSCALL_NCS macro invocation.
46768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46770 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46772         [BZ #14496]
46773         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46774         Fix application of SIMD FP exception mask.
46776         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46777         mp_no from a power of two.
46778         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46779         __mpexp_twomm1.  Use __pow_mp.
46781         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46782         multiplication.
46784 2013-01-17  David S. Miller  <davem@davemloft.net>
46786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46788 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46790         [BZ #15023]
46791         * include/complex.h: Condition contents on [!_COMPLEX_H].
46792         (__kernel_casinhf): New prototype.
46793         (__kernel_casinh): Likewise.
46794         (__kernel_casinhl): Likewise.
46795         * math/Makefile (libm_calls): Add k_casinh.
46796         * math/k_casinh.c: New file.
46797         * math/k_casinhf.c: Likewise.
46798         * math/k_casinhl.c: Likewise.
46799         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46800         finite nonzero arguments.
46801         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46802         finite nonzero arguments.
46803         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46804         finite nonzero arguments.
46805         * math/s_casinh.c: Do not include <float.h>.
46806         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46807         * math/s_casinhf.c: Do not include <float.h>.
46808         (__casinhf): Move code for finite nonzero arguments to
46809         k_casinhf.c.
46810         * math/s_casinhl.c: Do not include <float.h>.
46811         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46812         redefine.
46813         (__casinhl): Move code for finite nonzero arguments to
46814         k_casinhl.c.
46815         * math/libm-test.inc (cacos_test): Add more tests.
46816         * sysdeps/i386/fpu/libm-test-ulps: Update.
46817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46819 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46821         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46822         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46823         [!HAVE_MREMAP]: Remove [defined linux] case.
46824         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46826 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46828         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46830 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46832         * elf/elf.h (R_386_SIZE32): New relocation.
46833         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46834         R_386_SIZE32.
46835         (elf_machine_rela): Likewise.
46836         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46837         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46839 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46841         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46842         (FP_FAST_FMA): Do not define.
46843         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46844         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46845         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46846         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46847         !_SOFT_FLOAT]: Likewise.
46848         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46849         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46850         value.
46851         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46852         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46853         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46854         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46855         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46856         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46857         file.
46859 2013-01-16  Andreas Schwab  <schwab@suse.de>
46861         [BZ #14327]
46862         * include/stdlib.h (__mktemp): Add declaration.
46863         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46864         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46866 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46868         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46869         definitions.
46870         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46871         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46872         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46873         definitions here.
46874         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46875         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46876         definitions.
46877         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46878         and ONE.
46879         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46880         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46881         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46882         definitions.
46883         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46884         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46885         definitions.
46886         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46888         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46890 2013-01-15  David S. Miller  <davem@davemloft.net>
46892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46893         trunc{,f} to libm-sysdep_routes.
46894         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46896         file.
46897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46899         file.
46900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46901         file.
46902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46904         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46905         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46906         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46907         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46908         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46909         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46912         nearbyint{,f} to libm-sysdep_routes.
46913         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46915         New file.
46916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46917         file.
46918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46919         New file.
46920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46921         file.
46922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46924         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46925         file.
46926         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46927         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46928         file.
46929         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46930         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46931         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46933         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46934         libc_feholdexcept and libc_fesetenv.
46936 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46938         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46940 2013-01-14  David S. Miller  <davem@davemloft.net>
46942         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46943         (SPARC_ASM_VIS2_IFUNC): Likewise.
46944         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46946         use of 'siam' instruction.
46947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46948         Likewise.
46949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46950         Likewise.
46951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46952         Likewise.
46953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46958         file.
46959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46960         file.
46961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46962         file.
46963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46964         file.
46965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46970         new VIS2 routines.
46971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46974         Likewise.
46975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46980         routines to libm-sysdep_routines.
46981         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46984         fdim/fdimf to libm-sysdep_routines.
46985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46986         file.
46987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46989         file.
46990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46993         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46994         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46995         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46996         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46998 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47000         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47001         to optimize copies.
47003         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47008         local variable MPTWO.
47009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47010         Likewise.
47012 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47014         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47015         GLOB_NOESCAPE.
47017 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47019         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47021 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47023         * manual/pattern.texi (glob_t): Document gl_flags.
47024         (glob64_t): Likewise.
47026 2013-01-11  David S. Miller  <davem@davemloft.net>
47028         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47029         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47030         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47031         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47032         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47033         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47034         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47035         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47036         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47037         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47038         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47039         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47040         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47042         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47043         sparc V9 rather than using V8 code.
47044         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47045         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47047         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47048         Move to...
47049         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47050         Here.
47052 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47054         [BZ #14941]
47055         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47056         not in the main loop.
47057         * configure: Regenerated.
47059 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47061         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47062         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47063         to just #else.
47064         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47065         [!__GLIBC_HAVE_LONG_LONG] case.
47066         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47067         condition to just #else.
47068         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47069         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47070         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47071         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47072         unconditional.
47073         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47074         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47075         #elif condition to just #else.
47076         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47077         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47078         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47079         #elif condition to just #else.
47081 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47083         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47084         (EF_MIPS_ARCH_64): Fix value.
47085         (EF_MIPS_ARCH_32R2): New.
47086         (EF_MIPS_ARCH_64R2): New.
47088 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47090         * Makeconfig (+link-pie-before-libc): New.
47091         (+link-pie-after-libc): Likewise.
47092         (+link-pie-tests): Likewise.
47093         (+link-pie): Rewritten.
47094         (link-before-libc): Remove $(config-LDFLAGS).
47095         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47096         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47097         (config-LDFLAGS): Renamed to ...
47098         (rtld-LDFLAGS): This.
47099         (rtld-tests-LDFLAGS): New macro.
47100         (link-libc-rpath-link): Likewise.
47101         (link-libc-tests-rpath-link): Likewise.
47102         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47103         (link-libc): Prepand $(link-libc-rpath-link).
47104         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47105         (test-program-prefix): New macro.
47106         (test-via-rtld-prefix): Likewise.
47107         (test-program-cmd): Likewise.
47108         (host-test-program-cmd): Likewise.
47109         * Makefile ($(common-objpfx)testrun.sh): Replace
47110         $(run-program-prefix) with $(test-program-prefix).
47111         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47112         $(rtld-LDFLAGS).
47113         ($(common-objpfx)shlib.lds): Likewise.
47114         (build-module-helper): Likewise.
47115         ($(common-objpfx)format.lds): Likewise.
47116         * Rules (binaries-pie-tests): New.
47117         (binaries-pie-notests): Likewise.
47118         (binaries-pie): Rewritten.
47119         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47120         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47121         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47122         (make-test-out): Replace $(host-built-program-cmd) with
47123         $(host-test-program-cmd).
47124         * config.make.in (build-hardcoded-path-in-tests): New variable.
47125         * configure.in (--enable-hardcoded-path-in-tests): New configure
47126         option.
47127         (hardcoded_path_in_tests): New AC_SUBST.
47128         * configure: Regenerated.
47129         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47130         $(built-program-cmd) with $(test-program-cmd).
47131         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47132         (test_program_cmd): This.
47133         * elf/Makefile ($(objpfx)order.out): Run test with
47134         $(test-program-prefix).
47135         ($(objpfx)order2.out): Likewise.
47136         ($(objpfx)tst-initorder.out): Likewise.
47137         ($(objpfx)tst-initorder2.out): Likewise.
47138         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47139         $(test-program-cmd).
47140         ($(objpfx)tst-array1-static.out): Likewise.
47141         ($(objpfx)tst-array2.out): Likewise.
47142         ($(objpfx)tst-array3.out): Likewise.
47143         ($(objpfx)tst-array4.out): Likewise.
47144         ($(objpfx)tst-array5.out): Likewise.
47145         ($(objpfx)tst-array5-static.out): Likewise.
47146         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47147         $(test-program-cmd).
47148         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47149         $(run-program-prefix) with $(test-program-prefix).
47150         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47151         (test_program_prefix): This.
47152         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47153         $(run-program-prefix) with $(test-program-prefix).
47154         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47155         (test_program_prefix): This.
47156         * iconvdata/tst-tables.sh: Likewise.
47157         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47158         $(run-program-prefix) with $(test-program-prefix).
47159         ($(objpfx)tst-translit.out): Likewise.
47160         ($(objpfx)tst-gettext2.out): Likewise.
47161         ($(objpfx)tst-gettext4.out): Likewise.
47162         ($(objpfx)tst-gettext6.out): Likewise.
47163         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47164         (test_program_prefix): This.
47165         * intl/tst-gettext2.sh: Likewise.
47166         * intl/tst-gettext4.sh  Likewise.
47167         * intl/tst-gettext6.sh: Likewise.
47168         * intl/tst-translit.sh: Likewise.
47169         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47170         with $(test-program-cmd).
47171         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47172         $(run-program-prefix) with $(test-program-prefix).
47173         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47174         (test_program_prefix): This.
47175         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47176         $(run-program-prefix) with $(test-program-prefix).
47177         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47178         (test_program_prefix): This.
47179         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47180         * posix/Makefile ($(objpfx)globtest.out): Replace
47181         $(run-via-rtld-prefix) and $(test-wrapper) with
47182         $(test-program-prefix) and $(test-via-rtld-prefix).
47183         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47184         $(test-program-prefix).
47185         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47186         $(host-test-program-cmd).
47187         (tst-spawn-ARGS): Likewise.
47188         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47189         $(test-program-prefix).
47190         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47191         (test_via_rtld_prefix): This.
47192         (test_wrapper): Renamed to ...
47193         (test_program_prefix): This.
47194         (run_program_prefix): Replaced by test_program_prefix.
47195         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47196         (test_program_prefix): This.
47197         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47198         with $(host-test-program-cmd).
47199         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47200         $(run-program-prefix) with $(test-program-prefix).
47201         ($(objpfx)tst-printf.out): Likewise.
47202         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47203         $(test-program-cmd).
47204         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47205         (test_program_prefix): This.
47206         * stdio-common/tst-unbputc.sh: Likewise.
47207         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47208         $(run-program-prefix) with $(test-program-prefix).
47209         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47210         (test_program_prefix): This.
47211         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47212         $(built-program-cmd) with $(test-program-cmd).
47214 2013-01-11  Andreas Jaeger  <aj@suse.de>
47216         [BZ #15003]
47217         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47218         value. Sync with Linux 3.7.
47220 2013-01-10  David S. Miller  <davem@davemloft.net>
47222         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47223         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47224         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47226 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47228         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47229         never set.
47230         * configure: Regenerated.
47232 2013-01-10  David S. Miller  <davem@davemloft.net>
47234         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47235         sparc V9 rather than using V8 code.
47236         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47237         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47239 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47241         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47242         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47243         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47244         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47245         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47246         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47247         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47248         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47249         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47250         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47251         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47252         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47253         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47254         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47255         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47256         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47257         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47258         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47259         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47260         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47261         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47262         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47263         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47264         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47265         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47266         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47267         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47269 2013-01-10  David S. Miller  <davem@davemloft.net>
47271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47273 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47275         * posix/Makefile (tests-static): New variable.
47276         (tests): Add $(tests-static).
47277         (tst-exec-static-ARGS): New variable.
47278         (tst-spawn-static-ARGS): Likewise.
47279         * posix/tst-exec-static.c: New file.
47280         * posix/tst-spawn-static.c: Likewise.
47281         * posix/tst-exec.c: Support run directly.
47282         * posix/tst-spawn.c: Likewise.
47284 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47286         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47287         long.
47288         * math/bits/mathcalls.h (llrint): Likewise.
47289         (llround): Likewise.
47290         * stdlib/stdlib.h (struct drand48_data): Likewise.
47291         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47292         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47293         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47294         Likewise.
47295         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47296         Likewise.
47297         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47298         (elf_greg_t): Likewise.
47299         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47300         (__jmp_buf): Likewise.
47301         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47302         definitions.
47303         (llrint): Likewise, for all definitions.
47304         (llrintl): Likewise.
47306         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47307         Remove [__GNUC__] condition.
47308         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47309         condition to just [__USE_ISOC99].
47310         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47312 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47314         [BZ #14200]
47315         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47316         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47317         defined.
47318         (_POSIX_V6_ILP32_OFF32): Likewise.
47319         (_XBS5_ILP32_OFF32): Likewise.
47320         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47321         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47323 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47325         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47328         doubles __mpexp_twomm1.  Adjust usage.
47329         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47330         Remove.
47332 2013-01-10  Andreas Schwab  <schwab@suse.de>
47334         [BZ #14964]
47335         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47336         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47338 2013-01-09  David S. Miller  <davem@davemloft.net>
47340         [BZ #15003]
47341         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47342         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47343         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47344         (TCP_FASTOPEN): Define.
47345         (tcp_repair_opt): New structure.
47346         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47347         enum values.
47348         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47349         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47350         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47351         (tcp_cookie_transactions): New structure.
47353 2013-01-09  Anton Blanchard  <anton@samba.org>
47355         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47356         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47357         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47358         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47360 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47362         * include/features.h (__USE_ANSI): Remove.
47364 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47366         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47368         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47370 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47372         * sysdeps/s390/fpu/libm-test-ulps: Update.
47374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47376         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47377         (__acr): Likewise.
47378         (__cpy): Likewise.
47379         (norm): Likewise.
47380         (denorm): Likewise.
47381         (__mp_dbl): Likewise.
47382         (__dbl_mp): Likewise.
47383         (add_magnitudes): Likewise.
47384         (sub_magnitudes): Likewise.
47385         (__add): Likewise.
47386         (__sub): Likewise.
47387         (__mul): Likewise.
47388         (__inv): Likewise.
47389         (__dvd): Likewise.
47390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47391         (__acr): Likewise.
47392         (__cpy): Likewise.
47393         (norm): Likewise.
47394         (denorm): Likewise.
47395         (__mp_dbl): Likewise.
47396         (__dbl_mp): Likewise.
47397         (add_magnitudes): Likewise.
47398         (sub_magnitudes): Likewise.
47399         (__add): Likewise.
47400         (__sub): Likewise.
47401         (__mul): Likewise.
47402         (__inv): Likewise.
47403         (__dvd): Likewise.
47404         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47405         (__acr): Likewise.
47406         (__cpy): Likewise.
47407         (norm): Likewise.
47408         (denorm): Likewise.
47409         (__mp_dbl): Likewise.
47410         (__dbl_mp): Likewise.
47411         (add_magnitudes): Likewise.
47412         (sub_magnitudes): Likewise.
47413         (__add): Likewise.
47414         (__sub): Likewise.
47415         (__mul): Likewise.
47416         (__inv): Likewise.
47417         (__dvd): Likewise.
47419 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47421         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47422         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47423         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47424         2 && __USE_EXTERN_INLINES]: Likewise.
47426 2013-01-08  Andreas Jaeger  <aj@suse.de>
47428         [BZ# 14985]
47429         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47430         Remove.
47431         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47432         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47434 2013-01-07  Anton Blanchard  <anton@samba.org>
47436         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47437         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47438         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47439         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47440         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47441         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47442         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47443         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47445         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47446         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47447         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47448         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47449         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47450         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47451         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47452         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47453         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47454         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47455         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47456         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47457         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47458         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47459         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47460         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47461         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47462         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47463         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47464         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47465         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47466         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47468         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47469         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47470         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47471         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47472         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47473         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47474         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47475         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47476         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47477         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47478         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47480 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
47482         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47483         (__MALLOC_PMT): Likewise.
47484         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47485         [__GNUC__], only on [_LIBC].
47486         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47487         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47488         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47489         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47490         forward declaration.
47491         (realloc_hook_ini): Likewise.
47492         (memalign_hook_ini): Likewise.
47493         (__libc_memalign): Do not use __MALLOC_PMT in variable
47494         declaration.
47495         (__libc_valloc): Likewise.
47496         (__libc_pvalloc): Likewise.
47497         (__libc_calloc): Likewise.
47498         (__posix_memalign): Likewise.
47500         [BZ #14996]
47501         * math/s_casinh.c: Include <float.h>.
47502         (__casinh): Do not do computation with squaring and square root
47503         for large arguments.
47504         * math/s_casinhf.c: Include <float.h>.
47505         (__casinhf): Do not do computation with squaring and square root
47506         for large arguments.
47507         * math/s_casinhl.c: Include <float.h>.
47508         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47509         (__casinhl): Do not do computation with squaring and square root
47510         for large arguments.
47511         * math/libm-test.inc (casin_test): Add more tests.
47512         (casinh_test): Likewise.
47513         * sysdeps/i386/fpu/libm-test-ulps: Update.
47514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47516 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
47518         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47519         (__x86_64_raw_data_cache_size): Likewise.
47520         (__x86_64_data_cache_size_half): Likewise.
47521         (__x86_64_raw_data_cache_size_half): Likewise.
47522         (__x86_64_shared_cache_size): Likewise.
47523         (__x86_64_raw_shared_cache_size): Likewise.
47524         (__x86_64_shared_cache_size_half): Likewise.
47525         (__x86_64_raw_shared_cache_size_half): Likewise.
47526         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47527         to ...
47528         (__x86_data_cache_size): This.
47529         (__x86_64_raw_data_cache_size): Renamed to ...
47530         (__x86_raw_data_cache_size): This.
47531         (__x86_64_data_cache_size_half): Renamed to ...
47532         (__x86_data_cache_size_half): This.
47533         (__x86_64_raw_data_cache_size_half): Renamed to ...
47534         (__x86_raw_data_cache_size_half): This.
47535         (__x86_64_shared_cache_size): Renamed to ...
47536         (__x86_shared_cache_size): This.
47537         (__x86_64_raw_shared_cache_size): Renamed to ...
47538         (__x86_raw_shared_cache_size): This.
47539         (__x86_64_shared_cache_size_half): Renamed to ...
47540         (__x86_shared_cache_size_half): This.
47541         (__x86_64_raw_shared_cache_size_half): Renamed to ...
47542         (__x86_raw_shared_cache_size_half): This.
47543         * sysdeps/x86_64/memcpy.S: Updated.
47544         * sysdeps/x86_64/memset.S: Likewise.
47545         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47546         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47547         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47549 2013-01-04  David S. Miller  <davem@davemloft.net>
47551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47553 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47555         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47556         1 to avoid redefinition warning.
47557         (__USE_GNU): Don't define.
47558         (init_signaling_nan): Protoize.
47560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47562 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47564         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47566         (__cpymn): Likewise.
47567         (norm): Remove commented code.
47568         (denorm): Likewise.
47569         (__mp_dbl): Likewise.
47570         (__inv): Likewise.
47571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47572         (__cpymn): Likewise.
47573         (norm): Remove commented code.
47574         (denorm): Likewise.
47575         (__mp_dbl): Likewise.
47576         (__inv): Likewise.
47578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47579         mp_no value for 1.0 and 2.0.
47580         (norm): Use RADIXI instead of radixi.d.
47581         (denorm): Likewise.
47582         (__mul): Use 0.0 instead of zero.d.
47583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47584         mp_no value for 1.0 and 2.0.
47585         (norm): Use RADIXI instead of radixi.d.
47586         (denorm): Likewise.
47587         (__mul): Use 0.0 instead of zero.d.
47589 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47591         [BZ #14994]
47592         * math/s_casinh.c (__casinh): Reduce finite argument to first
47593         quadrant then set signs of results at the end.
47594         * math/s_casinhf.c (__casinhf): Likewise.
47595         * math/s_casinhl.c (__casinhl): Likewise.
47596         * math/libm-test.inc (casin_test): Add more tests.
47597         (casinh_test): Likewise.
47598         * sysdeps/i386/fpu/libm-test-ulps: Update.
47599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47601 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47603         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47605         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47607         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47608         declarations.
47609         (denorm): Likewise.
47610         (__mp_dbl): Likewise.
47611         (__inv): Likewise.
47613         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47614         and adjust the header comment.
47616         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47617         variable name from declaration.
47619 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
47621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47622         Initialize COMMON_CPUID_INDEX_7 element.
47623         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47624         (CPUID_RTM): Likewise.
47625         (HAS_RTM): Likewise.
47626         (COMMON_CPUID_INDEX_7): New enum.
47628 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
47630         [BZ #14981]
47631         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47632         size is zero, record memory as freed.
47634 2013-01-03  Andreas Jaeger  <aj@suse.de>
47636         * po/ia.po: Add new Interlingua translation.
47638 2012-01-03  Allan McRae  <allan@archlinux.org>
47640         * locale/programs/localedef.c: Fix description of '--posix' flag.
47642 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
47644         * NEWS: Update dates in second copyright notice.
47645         * README: Update copyright dates in example.
47646         * manual/libc.texinfo: Update copyright dates.
47647         * scripts/test-installation.pl: Update copyright date in --version
47648         output.
47650         * hurd/ctty-input.c: Fix copyright notice formatting.
47651         * hurd/ctty-output.c: Likewise.
47652         * hurd/dtable.c: Likewise.
47653         * hurd/hurd-raise.c: Likewise.
47654         * hurd/hurdprio.c: Likewise.
47655         * hurd/msgportdemux.c: Likewise.
47656         * misc/sys/file.h: Likewise.
47657         * misc/sys/ioctl.h: Likewise.
47658         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47659         * sysdeps/mach/hurd/chdir.c: Likewise.
47660         * sysdeps/mach/hurd/fchdir.c: Likewise.
47661         * sysdeps/mach/hurd/rename.c: Likewise.
47662         * sysdeps/mach/hurd/rmdir.c: Likewise.
47663         * sysdeps/mach/hurd/seekdir.c: Likewise.
47664         * sysdeps/mach/hurd/setsid.c: Likewise.
47665         * sysdeps/posix/wait3.c: Likewise.
47667         * All files with FSF copyright notices: Update copyright dates
47668         using scripts/update-copyrights.
47669         * intl/plural.c: Regenerated.
47670         * locale/programs/charmap-kw.h: Likewise.
47671         * locale/programs/locfile-kw.h: Likewise.
47673 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47675         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47676         four values.
47678         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47679         calculation loop and add branch prediction.
47681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47682         check access beyond bounds of m1np.
47684         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47685         MPTWO.
47686         (__inv): Remove local variable MPTWO to use the global
47687         constant.
47688         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47690         variable MPTWO.
47691         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47692         MP3HALFS static const.
47694 2013-01-01  David S. Miller  <davem@davemloft.net>
47696         * po/ca.po: Update from translation team.
47698 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47700         * scripts/update-copyrights: New file.
47701         * Makeconfig: Reformat copyright notice.
47702         * ctype/ctype.h: Likewise.
47703         * debug/swprintf_chk.c: Likewise.
47704         * elf/dl-cache.c: Likewise.
47705         * elf/dl-debug.c: Likewise.
47706         * elf/dl-object.c: Likewise.
47707         * grp/initgroups.c: Likewise.
47708         * hurd/Makefile: Likewise.
47709         * hurd/hurd/signal.h: Likewise.
47710         * hurd/hurdfault.c: Likewise.
47711         * hurd/hurdioctl.c: Likewise.
47712         * hurd/hurdlookup.c: Likewise.
47713         * hurd/intr-msg.c: Likewise.
47714         * iconv/gconv_open.c: Likewise.
47715         * libio/swprintf.c: Likewise.
47716         * locale/lc-ctype.c: Likewise.
47717         * locale/nl_langinfo.c: Likewise.
47718         * mach/Machrules: Likewise.
47719         * mach/Makefile: Likewise.
47720         * malloc/obstack.h: Likewise.
47721         * manual/Makefile: Likewise.
47722         * manual/tsort.awk: Likewise.
47723         * misc/bits/stab.def: Likewise.
47724         * nis/nis_print_group_entry.c: Likewise.
47725         * nis/nis_table.c: Likewise.
47726         * nis/nss_compat/compat-pwd.c: Likewise.
47727         * nis/nss_compat/compat-spwd.c: Likewise.
47728         * po/Makefile: Likewise.
47729         * posix/fnmatch.c: Likewise.
47730         * posix/regex.h: Likewise.
47731         * resolv/Makefile: Likewise.
47732         * resolv/nss_dns/dns-network.c: Likewise.
47733         * resolv/res_hconf.c: Likewise.
47734         * scripts/gen-sorted.awk: Likewise.
47735         * soft-fp/soft-fp.h: Likewise.
47736         * stdio-common/printf.h: Likewise.
47737         * stdlib/monetary.h: Likewise.
47738         * stdlib/random.c: Likewise.
47739         * stdlib/random_r.c: Likewise.
47740         * sysdeps/generic/Makefile: Likewise.
47741         * sysdeps/gnu/Makefile: Likewise.
47742         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47743         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47744         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47745         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47746         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47747         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47748         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47749         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47750         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47751         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47752         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47753         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47754         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47755         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47756         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47757         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47758         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47759         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47760         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47762         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47763         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47764         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47765         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47766         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47767         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47768         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47769         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47770         * sysdeps/mach/hurd/errnos.awk: Likewise.
47771         * sysdeps/mach/hurd/fork.c: Likewise.
47772         * sysdeps/mach/hurd/getcwd.c: Likewise.
47773         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47774         * sysdeps/mach/hurd/mmap.c: Likewise.
47775         * sysdeps/mach/hurd/utimes.c: Likewise.
47776         * sysdeps/mach/hurd/xmknod.c: Likewise.
47777         * sysdeps/posix/profil.c: Likewise.
47778         * sysdeps/posix/readdir_r.c: Likewise.
47779         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47780         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47781         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47782         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47784         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47785         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47786         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47788         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47789         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47790         * sysdeps/pthread/lio_listio.c: Likewise.
47791         * sysdeps/sparc/dl-procinfo.h: Likewise.
47792         * sysdeps/unix/i386/sysdep.S: Likewise.
47793         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47794         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47795         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47796         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47798         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47799         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47800         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47801         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47802         * sysdeps/wordsize-32/divdi3.c: Likewise.
47803         * time/sys/time.h: Likewise.
47804         * wcsmbs/Makefile: Likewise.
47806 2013-01-01  David S. Miller  <davem@davemloft.net>
47808         * po/fr.po: Update from translation team.
47810         * catgets/gencat.c: Update copyright year.
47811         * csu/version.c: Likewise.
47812         * debug/catchsegv.sh: Likewise.
47813         * debug/pcprofiledump.c: Likewise.
47814         * debug/xtrace.sh: Likewise.
47815         * elf/ldconfig.c: Likewise.
47816         * elf/ldd.bash.in: Likewise.
47817         * elf/pldd.c: Likewise.
47818         * elf/sotruss.ksh: Likewise.
47819         * elf/sprof.c: Likewise.
47820         * iconv/iconv_prog.c: Likewise.
47821         * iconv/iconvconfig.c: Likewise.
47822         * locale/programs/locale.c: Likewise.
47823         * locale/programs/localedef.c: Likewise.
47824         * login/programs/pt_chown.c: Likewise.
47825         * malloc/memusage.sh: Likewise.
47826         * malloc/memusagestat.c: Likewise.
47827         * malloc/mtrace.pl: Likewise.
47828         * nscd/nscd.c: Likewise.
47829         * nss/getent.c: Likewise.
47830         * nss/makedb.c: Likewise.
47831         * posix/getconf.c: Likewise.
47833 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47835         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47836         numbers.
47838 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47840         * math/bits/mathcalls.h (modf): Use __nonnull.
47842 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47844         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47845         (split): Use macro CN instead of the bare value.
47846         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47847         could be used.
47848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47849         instead of the bare value.
47850         (power1): Likewise.
47852 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47854         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47855         __ATAN_TWOM.
47856         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47858         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47859         their values.
47860         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47861         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47862         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47863         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47865 2012-12-28  Andreas Jaeger  <aj@suse.de>
47867         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47868         values are from Linux 3.7.
47870         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47871         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47873 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47875         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47876         TRUE case.
47878         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47879         (norm): Likewise.
47880         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47881         variables with preprocessor constants.
47882         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47883         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47884         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47886 2012-12-27  Bruno Haible  <bruno@clisp.org>
47888         [BZ #14317]
47889         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47890         only if needed.
47892 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47894         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47895         and use variable directly.
47896         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47898         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47899         MPONE.
47900         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47901         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47902         variable MPONE.
47903         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47904         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47905         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47906         include directive.  Remove local variable MPONE.
47907         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47908         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47909         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47911 2012-12-25  David S. Miller  <davem@davemloft.net>
47913         * version.h (RELEASE): Set to "development".
47914         (VERSION): Set to "2.17.90".
47915         * NEWS: Add 2.18 section.
47917 2012-12-21  David S. Miller  <davem@davemloft.net>
47919         * po/hr.po: Update from translation team.
47921 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47923         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47925 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47927         * NEWS:  Mention new memcpy for MIPS.
47929 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47931         * manual/contrib.texi (Contributors): Spelling correction.
47933 2012-12-15  David S. Miller  <davem@davemloft.net>
47935         * po/ru.po: Update from translation team.
47937 2012-12-13  David S. Miller  <davem@davemloft.net>
47939         * NEWS: Mention IFUNC testsuite enhancements.
47941         * po/pl.po: Update from translation team.
47942         * po/bg.po: Likewise.
47944         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47945         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47947 2012-12-11  David S. Miller  <davem@davemloft.net>
47949         * po/sv.po: Update from translation team.
47951         * po/vi.po: Update from translation team.
47953         * po/cs.po: Update from translation team.
47955         * po/de.po: Update from translation team.
47956         * po/eo.po: Likewise.
47957         * po/nl.po: Likewise.
47959 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47961         [BZ #14246]
47962         * manual/argp.texi (Argp Helper Functions): Move node to follow
47963         Argp Parsing State.
47965         [BZ #14872]
47966         * manual/conf.texi (Limits on File System Capacity): Mention if
47967         terminating null is included in the max size.
47969 2012-12-10  Andreas Jaeger  <aj@suse.de>
47971         * po/cs.po: Update from translation team.
47973 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47975         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47976         void pointer and cast to uintptr_t.
47977         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47978         path.
47979         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47980         * sysdeps/s390/s390-64/memset.S: Likewise.
47982 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47984         [BZ #14833]
47985         * menual/message.texi (Message Translation): Fix typos.
47986         (Helper programs for gettext): Likewise.
47988 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47990         [BZ #14898]
47991         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47992         Change to -1.
47994 2012-12-07  David S. Miller  <davem@davemloft.net>
47996         * po/libc.pot: Update.
47998 2012-12-07  Richard Henderson  <rth@redhat.com>
48000         [BZ #10114]
48001         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48002         normal/normal case to before the switch.
48003         (_FP_DIV): Likewise.
48005 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48006             Mike Frysinger  <vapier@gentoo.org>
48008         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48009         check for __NR_fadvise64_64.
48011 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48013         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48014         0, not just to plain "0" as a statement.
48015         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48016         with cw.
48018 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48020         * NEWS: Use sourceware.org in Bugzilla URL.
48022 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48025         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48027         * stdio-common/tst-put-error.c (do_test): Add newline to the
48028         padded test to ensure flush.
48030 2012-12-05  Jeff Law  <law@redhat.com>
48032         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48034 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48036         * README: Don't refer to ports add-on as distributed separately.
48037         Mention AArch64 in list of systems supported in the ports add-on.
48039         * LICENSES: Add more non-FSF copyright and license notices.
48041         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48042         ((unused)).
48044         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48046         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48047         10000 as width of padded output.
48049 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48051         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48053         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48054         variable LX with __attribute__ ((unused)).
48055         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48056         Likewise.
48057         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48058         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48059         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48060         with __attribute__ ((unused)).
48062 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48064         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48066 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48068         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48069         (CFLAGS-nldbl-acos.c): New variable.
48070         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48071         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48072         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48073         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48074         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48075         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48076         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48077         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48078         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48079         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48080         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48081         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48082         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48083         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48084         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48085         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48086         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48087         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48088         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48089         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48090         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48091         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48092         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48093         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48094         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48095         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48096         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48097         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48098         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48099         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48100         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48101         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48102         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48103         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48104         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48105         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48106         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48107         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48108         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48109         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48110         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48111         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48112         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48113         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48114         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48115         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48116         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48117         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48118         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48119         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48120         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48121         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48122         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48123         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48124         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48125         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48126         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48127         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48128         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48129         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48130         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48131         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48132         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48133         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48134         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48135         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48136         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48137         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48138         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48139         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48140         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48141         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48142         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48143         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48144         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48145         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48146         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48147         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48148         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48149         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48150         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48151         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48152         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48153         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48154         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48155         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48156         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48157         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48158         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48159         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48160         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48161         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48162         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48163         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48164         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48165         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48166         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48169         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48171         [BZ #14914]
48172         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48173         whole low double instead of just low 47 bits when splitting values
48174         into two parts.
48176 2012-12-03  Allan McRae  <allan@archlinux.org>
48178         * manual/stdio.texi (Predefined Printf Handlers): Remove
48179         @hsep and @vsep usage.
48181 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48183         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48184         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48186 2012-12-03  Jeff Law  <law@redhat.com>
48188         * time/sys/time.h (settimeofday): Do not mark TV argument
48189         as __nonnull.
48191 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48193         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48194         when currently writing and seek to current position when not.
48195         * libio/Makefile (tests): Remove bug-fclose1.
48196         * libio/bug-fclose1.c: Delete.
48198 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48200         * manual/arith.texi (feenableexcept): Fix typo.
48201         (fedisableexcept): Likewise.
48203 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48205         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48206         second, differently-typed declaration, rather than a cast.
48208 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48210         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48211         * include/rpc/svc.h: ... here.
48213 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48215         [BZ #13013]
48216         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48217         depending n and resplen2 to catch cases where answer
48218         equals answerp2.
48220 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48222         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48223         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48225 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48227         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48229 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48231         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48233 2012-11-28  Jeff Law  <law@redhat.com>
48235         [BZ #13761]
48236         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48237         dataset_temporary.  Track alloca usage into alloca_used.
48238         If dataset is large allocate and release it via malloc/free.
48240 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48242         [BZ #14197]
48243         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48245 2012-11-28  David S. Miller  <davem@davemloft.net>
48247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48249 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48251         [BZ #14803]
48252         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48253         of pi/2 rounded to nearest to 64 bits.
48254         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48255         nearest to 64 bits.
48256         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48257         bits.
48259 2012-11-28  Jeff Law <law@redhat.com>
48260             Martin Osvald <mosvald@redhat.com>
48262         [BZ #14889]
48263         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48264         * sunrpc/svc.c: Include time.h.
48265         (__svc_accept_failed): New function.
48266         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48267         any reason other than EINTR, call __svc_accept_failed.
48268         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48269         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48271 2012-11-28  Andreas Schwab  <schwab@suse.de>
48273         * scripts/abilist.awk: Also handle indirect functions in .opd
48274         section.
48276 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48278         [BZ #13881]
48279         * sysdeps/x86/fpu/powl_helper.c: New file.
48280         * sysdeps/x86/fpu/Makefile: Likewise.
48281         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48282         (p3): New object.
48283         (__ieee754_powl): Use __powl_helper for finite arguments except
48284         integer exponents below 8.
48285         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48286         (p3): New object.
48287         (__ieee754_powl): Use __powl_helper for finite arguments except
48288         integer exponents below 8.
48289         * math/libm-test.inc (pow_test): Add more tests and enable some
48290         previously disabled tests.
48291         * sysdeps/i386/fpu/libm-test-ulps: Update.
48292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48294 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48295             Carlos O'Donell  <carlos_odonell@mentor.com>
48297         * nss/makedb.c (is_prime): Assert that input is odd and greater
48298         than 4.  Note that fact in a comment too.
48299         (next_prime): Add 4 to input.
48301 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48303         [BZ #11741]
48304         * libio/Makefile (tests): Add test case tst-fwrite-error.
48305         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48306         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48307         * libio/tst-fwrite-error.c: New test case.
48309 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48311         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48312         before casting to void *.
48313         * include/libc-internal.h (__pointer_type): New macro.
48314         (__integer_if_pointer_type_sub): Likewise.
48315         (__integer_if_pointer_type): Likewise.
48316         (cast_to_integer): Likewise.
48317         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48318         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48319         before casting to atomic64_t.
48320         (atomic_exchange_acq): Likewise.
48321         (__arch_exchange_and_add_body): Likewise.
48322         (__arch_add_body): Likewise.
48323         (atomic_add_negative): Likewise.
48324         (atomic_add_zero): Likewise.
48326 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48328         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48329         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48330         (add_fdes): Likewise.
48331         (linear_search_fdes): Likewise.
48332         (binary_search_unencoded_fdes): Likewise.
48334 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48336         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48338 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48340         * configure.in: Autodetect C++ header directories.
48341         * configure: Regenerated.
48343 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48345         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48347 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48351 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48353         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48354         LDBL_MANT_DIG == 106]: Disable some tests.
48355         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48356         Likewise.
48357         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48358         Likewise.
48360         [BZ #14871]
48361         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48362         input for small inputs.  Return +/- pi/2 for large inputs.
48363         * math/libm-test.inc (atan_test): Add more tests.
48365         * sysdeps/generic/unwind-dw2-fde-glibc.c
48366         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48367         __attribute__ ((unused)).
48369         [BZ #14645]
48370         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48371         x * y if x and y are nonzero and z is zero.
48373         [BZ #14811]
48374         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48375         nonzero exponents with absolute value below 0x1p-117 to +/-
48376         0x1p-117.
48378         [BZ #14869]
48379         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48380         up arguments below 2**-450, not just those below 2**-500.
48381         * math/libm-test.inc (hypot_test): Add another test.
48383         [BZ #14868]
48384         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48385         Return a+b for ratio over 2**120, not 2**60.
48386         * math/libm-test.inc (hypot_test): Add another test.
48388         * math/libm-test.inc (clog_test): Use
48389         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48390         (clog10_test): Likewise.
48392         [BZ #6778]
48393         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48395 2012-11-22  Andreas Schwab  <schwab@suse.de>
48397         * sysdeps/i386/fpu/libm-test-ulps: Update.
48399 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48401         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48402         printf output with newline.
48404 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48406         [BZ #14865]
48407         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48408         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48409         -z nodlopen, -z initfirst and -z execstack support.
48410         * configure: Regenerated.
48412         * elf/elf.h (DF_1_NODIRECT): New macro.
48413         (DF_1_IGNMULDEF): Likewise.
48414         (DF_1_NOKSYMS): Likewise.
48415         (DF_1_NOHDR): Likewise.
48416         (DF_1_EDITED): Likewise.
48417         (DF_1_NORELOC): Likewise.
48418         (DF_1_SYMINTPOSE): Likewise.
48419         (DF_1_GLOBAUDIT): Likewise.
48420         (DF_1_SINGLETON): Likewise.
48421         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48422         DT_1_SUPPORTED_MASK bits.
48423         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48425 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48427         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48429 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48431         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48432         macro.
48434         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48435         (sendmmsg): Move declarations...
48436         * socket/sys/socket.h: ... here.
48437         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48438         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48439         include it from...
48440         * socket/recvmmsg.c: ... this new file.
48441         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48442         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48443         definition of __sendmmsg hidden.
48444         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48445         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48446         Move ENOSYS stub into and include it from...
48447         * socket/sendmmsg.c: ... this new file.
48448         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48449         (sysdep_routines): Move recvmmsg and sendmmsg...
48450         * socket/Makefile (routines): ... here.
48451         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48452         (GLIBC_PRIVATE): Add __sendmmsg.
48453         * include/sys/socket.h (__sendmmsg): Add declarations.
48454         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48455         sendmmsg.
48457 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48459         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48460         variable I1 with __attribute__ ((unused)).
48461         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48463 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48465         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48466         DUMMY variables with __attribute__ ((unused)).
48468         * bits/byteswap.h: Include <bits/types.h>.
48469         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48471 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48473         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48474         string_t.  Do not manually set errno.
48475         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48476         length with __strnlen.  Make sure to both set errno and return it on
48477         failure.
48479 2012-11-19  David S. Miller  <davem@davemloft.net>
48481         With help from Joseph Myers.
48482         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48483         very large arguments properly.
48484         * math/libm-test.inc (atan_test): New tests.
48485         (atan2_test): New tests.
48486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48489 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48491         [BZ #14856]
48492         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48493         Define to 3.
48495         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48496         [POSIX] (EADDRNOTAVAIL): Likewise.
48497         [POSIX] (EAFNOSUPPORT): Likewise.
48498         [POSIX] (EALREADY): Likewise.
48499         [POSIX] (ECONNABORTED): Likewise.
48500         [POSIX] (ECONNREFUSED): Likewise.
48501         [POSIX] (ECONNRESET): Likewise.
48502         [POSIX] (EDESTADDRREQ): Likewise.
48503         [POSIX] (EDQUOT): Likewise.
48504         [POSIX] (EHOSTUNREACH): Likewise.
48505         [POSIX] (EIDRM): Likewise.
48506         [POSIX] (EISCONN): Likewise.
48507         [POSIX] (ELOOP): Likewise.
48508         [POSIX] (EMULTIHOP): Likewise.
48509         [POSIX] (ENETDOWN): Likewise.
48510         [POSIX] (ENETUNREACH): Likewise.
48511         [POSIX] (ENOBUFS): Likewise.
48512         [POSIX] (ENODATA): Likewise.
48513         [POSIX] (ENOLINK): Likewise.
48514         [POSIX] (ENOMSG): Likewise.
48515         [POSIX] (ENOPROTOOPT): Likewise.
48516         [POSIX] (ENOSR): Likewise.
48517         [POSIX] (ENOSTR): Likewise.
48518         [POSIX] (ENOTCONN): Likewise.
48519         [POSIX] (ENOTSOCK): Likewise.
48520         [POSIX] (EOPNOTSUPP): Likewise.
48521         [POSIX] (EOVERFLOW): Likewise.
48522         [POSIX] (EPROTO): Likewise.
48523         [POSIX] (EPROTONOSUPPORT): Likewise.
48524         [POSIX] (EPROTOTYPE): Likewise.
48525         [POSIX] (ESTALE): Likewise.
48526         [POSIX] (ETIME): Likewise.
48527         [POSIX] (ETXTBSY): Likewise.
48528         [POSIX] (EWOULDBLOCK): Likewise.
48529         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48530         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48531         [POSIX] (SEEK_CUR): Likewise.
48532         [POSIX] (SEEK_END): Likewise.
48533         [POSIX || UNIX98] (mode_t): Do not require.
48534         [POSIX] (off_t): Likewise.
48535         [POSIX] (pid_t): Likewise.
48536         [POSIX] (sys/stat.h): Do not allow header.
48537         [POSIX] (unistd.h): Likewise.
48538         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48539         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48540         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48541         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48542         require.
48543         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48544         sigevent): Specify elements.
48545         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48546         entry.
48547         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48548         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48550         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48551         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48552         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48553         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48554         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48555         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48556         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48557         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48558         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48559         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48560         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48561         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48562         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48563         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48564         Likewise.
48565         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48566         Likewise.
48567         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48568         Likewise.
48569         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48570         Likewise.
48571         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48572         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48573         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48574         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48575         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48576         Specify lower bound on value.
48577         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48578         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48579         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48580         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48581         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48582         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48583         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48584         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48585         value.
48586         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48587         as optional.
48588         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48589         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48590         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48591         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48592         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48593         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48594         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48595         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48596         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48597         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48598         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48599         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48600         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48601         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48602         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48603         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48604         entry.
48605         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48606         optional.
48607         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48608         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48609         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48610         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48611         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48612         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48613         Likewise.
48614         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48615         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48616         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48617         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48618         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
48619         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48620         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48621         as optional.
48622         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48623         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48624         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48625         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48626         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48627         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48628         specify as optional.
48629         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48630         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48631         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48632         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
48633         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
48634         [XPG3] (NL_LANGMAX): Likewise.
48635         [POSIX || XPG3] (NL_MSGMAX): Likewise.
48636         [POSIX || XPG3] (NL_NMAX): Likewise.
48637         [POSIX || XPG3] (NL_SETMAX): Likewise.
48638         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
48639         [XPG3] (NZERO): Likewise.
48640         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
48641         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
48642         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
48643         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
48644         (REG_ERANGE): Expect.
48645         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
48646         optional-constant.
48647         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
48648         Use (void) in prototype.
48649         [POSIX] (*_t): Allow.
48650         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48651         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48652         (WRDE_BADVAL): Expect.
48654         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48655         expect.
48656         [XPG3 || XPG4] (O_RSYNC): Likewise.
48657         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48658         Likewise.
48659         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48660         [XPG3 || XPG4] (sigqueue): Likewise.
48661         [XPG3 || XPG4] (sigtimedwait): Likewise.
48662         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48663         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48664         [XPG3 || XPG4] (vsnprintf): Likewise.
48665         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48666         Likewise.
48667         [XPG3 || XPG4] (blksize_t): Likewise.
48668         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48669         Likewise.
48670         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48671         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48672         [XPG3 || XPG4] (struct itimerspec): Likewise.
48673         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48674         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48675         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48676         [XPG3 || XPG4] (clockid_t): Likewise.
48677         [XPG3 || XPG4] (timer_t): Likewise.
48678         [XPG3 || XPG4] (clock_getres): Likewise.
48679         [XPG3 || XPG4] (clock_gettime): Likewise.
48680         [XPG3 || XPG4] (clock_settime): Likewise.
48681         [XPG3 || XPG4] (nanosleep): Likewise.
48682         [XPG3 || XPG4] (timer_create): Likewise.
48683         [XPG3 || XPG4] (timer_delete): Likewise.
48684         [XPG3 || XPG4] (timer_gettime): Likewise.
48685         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48686         [XPG3 || XPG4] (timer_settime): Likewise.
48687         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48688         [XPG3 || XPG4] (getlogin_r): Likewise.
48689         [XPG3 || XPG4] (pread): Likewise.
48690         [XPG3 || XPG4] (pthread_atfork): Likewise.
48691         [XPG3 || XPG4] (pwrite): Likewise.
48693         [BZ #14835]
48694         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48695         <bits/siginfo.h>.
48697 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48699         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48700         finalizing MALLSTREAM.
48702         * sysdeps/mach/hurd/syncfs.c: New file.
48704 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48706         [BZ #14719]
48707         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48708         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48709         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48710         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48711         (_nss_dns_gethostbyname4_r): Likewise.
48712         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48713         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48715 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48717         [BZ #13763]
48718         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48720 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48722         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48723         * elf/cache.c (print_entry): Print ",AArch64" for
48724         FLAG_AARCH64_LIB64
48726         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48727         * elf/cache.c (print_entry): Print ",hard-float" for
48728         FLAG_ARM_LIBHF.
48730 2012-11-18  David S. Miller  <davem@davemloft.net>
48732         With help from Joseph Myers.
48733         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48734         cutoff to 2**-13.
48735         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48736         cutoff to 2**-25.
48737         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48738         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48739         small.
48740         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48741         * math/libm-test.inc (y0_test): New tests.
48742         (y1_test): New tests.
48743         * sysdeps/i386/fpu/libm-test-ulps: Update.
48744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48747 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48749         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48750         64-bit targets.
48751         * configure: Regenerated.
48753 2012-11-17  David S. Miller  <davem@davemloft.net>
48755         [BZ #14811]
48756         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48757         nonzero exponents with absolute value below 0x1p-128 to +/-
48758         0x1p-128.
48760 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48762         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48764         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48766         * posix/getconf-speclist.c: New file.
48767         * posix/posix-envs.def: Likewise.
48768         * posix/confstr.c (START_ENV_GROUP): New macro.
48769         (END_ENV_GROUP): Likewise.
48770         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48771         (KNOWN_PRESENT_ENV_STRING): Likewise.
48772         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48773         (UNKNOWN_ENVIRONMENT): Likewise.
48774         (confstr): Include posix-envs.def instead of handling
48775         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48776         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48777         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48778         (END_ENV_GROUP): Likewise.
48779         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48780         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48781         (UNKNOWN_ENVIRONMENT): Likewise.
48782         (__sysconf): Include posix-envs.def instead of handling associated
48783         cases directly here.
48784         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48785         preprocessing getconf-speclist.c rather than running getconf or
48786         generating empty file.
48788 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48790         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48792 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48794         [BZ #14672]
48795         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48797 2012-11-16  David S. Miller  <davem@davemloft.net>
48799         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48800         smaller than LDBL_EPSILON/2.0L, just return xm1.
48802 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48804         * elf/tst-array1.c (init): Set constructor priority to 1000.
48805         (fini): Set destructor priority to 1000.
48806         * elf/tst-array2dep.c: Likewise.
48808 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48810         [BZ #11741]
48811         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48812         (_IO_new_file_xsputn): Also return EOF if none of the input
48813         data was written when overflow failed.
48814         * libio/iopadn.c (_IO_padn): Likewise.
48815         * libio/iowpadn.c (_IO_wpadn): Likewise.
48816         * stdio-common/tst-put-error.c: Add copyright notice.
48817         (do_test): Add case for printing padded string.
48818         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48819         _IO_padn returned error.
48820         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48821         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48822         return EOF.
48824 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48826         * libio/libioP.h: Add comment note that the references to C++
48827         bits are now obsolete.
48829 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48831         * math/libm-test.inc (check_complex): Use asprintf.
48833 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48835         * debug/pcprofiledump.c (print_version): Update copyright year.
48836         * malloc/memusagestat.c (print_version): Likewise.
48838 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48840         [BZ #14831]
48841         * elf/Makefile (tests): Add tst-audit8.
48842         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48843         ($(objpfx)tst-audit8.out): New target.
48844         (tst-audit8-ENV): New variable.
48845         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48846         audit if l_reloc_result is NULL.
48847         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48848         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48849         * elf/tst-audit8.c: New file.
48851 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48853         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48854         * misc/Makefile (CFLAGS-select.c): Define.
48855         * posix/Makefile (CFLAGS-pause.c): Define.
48857 2012-11-13  David S. Miller  <davem@davemloft.net>
48859         * crypt/Makefile: Move test targets after toplevel Rules
48860         inclusion.  Grab any necessary sysdep routines when linking.
48861         * crypt/md5.c (md5_process_block): Remove define, we will always
48862         name it __md5_process_block.
48863         (md5_finish_ctx): Update md5_process_block call.
48864         (md5_stream): Likewise.
48865         (md5_process_bytes): Likewise.
48866         (md5_process_block): Rename to __md5_process_block and move to ...
48867         * crypt/md5-block.c: ... here.
48868         * crypt/sha256.c (sha256_process_block): Move to ...
48869         * crypt/sha256-block.c: ... here.
48870         * crypt/sha512.c (sha512_process_block): Move to ...
48871         * crypt/sha512-block.c: ... here.
48872         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48873         path.
48874         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48875         * sysdeps/sparc/sparc64/multiarch/Makefile
48876         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48877         crypt subdir.
48878         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48879         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48880         multiarch changes.
48881         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48882         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48883         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48884         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48885         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48886         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48887         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48888         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48889         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48890         file.
48891         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48892         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48893         file.
48894         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48896 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48898         * timezone/tzselect.ksh: Update from tzcode git revision
48899         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48900         * timezone/zdump.c: Likewise.
48901         * timezone/zic.c: Likewise.
48902         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48903         in TZVERSION setting, not $(PKGVERSION).
48904         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48905         REPORT_BUGS_TO settings.
48907         [BZ #14838]
48908         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48909         macro.
48911 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48913         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48914         detection to immediately after _FP_ROUND().
48915         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48916         bits are 0.
48918 2012-11-11  David S. Miller  <davem@davemloft.net>
48920         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48921         inttypes.h
48922         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48923         __close rather than their public counterparts.
48925 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48927         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48928         file.
48929         [UNIX98] (sem_timedwait): Do not expect.
48930         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48931         [XPG4 || UNIX98] (sockatmark): Do not expect.
48932         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48933         (clock_getcpuclockid): Do not expect.
48934         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48935         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48936         Do not expect.
48937         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48938         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48939         [UNIX98] (vwscanf): Likewise.
48940         [UNIX98] (vswscanf): Likewise.
48942 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48944         * timezone/version.h: Remove file.
48945         * timezone/README: Do not refer to version.h.
48946         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48947         $(objpfx)version.h.
48948         ($(objpfx)zdump.o): Likewise.
48949         ($(objpfx)version.h): New target.
48951         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48952         2012i.
48953         * timezone/README: Don't mention modification to tzselect.ksh.
48954         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48955         work on unmodified tzselect.ksh.  Substitute version numbers in
48956         tzselect.ksh.
48958         * Makefile (format-me): Remove.
48959         (INSTALL): Adjust indentation.  Use commands directly instead of
48960         using $(format-me).
48962         * aclocal.m4 (ACX_PKGVERSION): New macro.
48963         (ACX_BUGURL): Likewise.
48964         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48965         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48966         (REPORT_BUGS_TO): Likewise.
48967         * configure: Regenerated.
48968         * config.h.in (PKGVERSION): New macro.
48969         (REPORT_BUGS_TO): Likewise.
48970         * config.make.in (PKGVERSION): New variable.
48971         (PKGVERSION_TEXI): Likewise.
48972         (REPORT_BUGS_TO): Likewise.
48973         (REPORT_BUGS_TEXI): Likewise.
48974         * Makefile (format-me): Use -I$(common-objpfx)manual.
48975         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48976         ($(common-objpfx)manual/%): New target.
48977         (manual/%): Remove target.
48978         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48979         (print_version): Use PKGVERSION.
48980         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48981         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48982         and REPORT_BUGS_TO.
48983         ($(objpfx)xtrace): Likewise.
48984         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48985         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48986         (print_version): Use PKGVERSION.
48987         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48988         (do_version): Use PKGVERSION.
48989         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48990         REPORT_BUGS_TO.
48991         (common-ldd-rewrite): Likewise.
48992         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48993         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48994         (print_version): Use PKGVERSION.
48995         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48996         * elf/pldd.c (argp_program_bug_address): Remove variable.
48997         (more_help): New function.
48998         (argp): Use more_help.
48999         (print_version): Use PKGVERSION.
49000         * elf/sln.c (main): Use PKGVERSION.
49001         (usage): Use REPORT_BUGS_TO.
49002         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49003         (top level): Use PKGVERSION.
49004         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49005         (print_version): Use PKGVERSION.
49006         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49007         (print_version): Use PKGVERSION.
49008         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49009         (print_version): Use PKGVERSION.
49010         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49011         (print_version): Use PKGVERSION.
49012         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49013         (print_version): Use PKGVERSION.
49014         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49015         (print_version): Use PKGVERSION.
49016         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49017         and BUGURL.
49018         ($(objpfx)memusage): Likewise.
49019         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49020         (do_version): Use PKGVERSION.
49021         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49022         (print_version): Use PKGVERSION.
49023         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49024         ($PKGVERSION): New variable.
49025         ($REPORT_BUGS_TO): Likewise.
49026         (usage): Use $REPORT_BUGS_TO.
49027         (top level): Use $PKGVERSION.
49028         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49029         ($(objpfx)pkgvers.texi): New rule.
49030         ($(objpfx)stamp-pkgvers): Likewise.
49031         * manual/install.texi: Include pkgvers.texi.
49032         (--with-pkgversion): Document new configure option.
49033         (--with-bugurl): Likewise.
49034         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49035         than necessarily for this particular distribution.  Use
49036         REPORT_BUGS_TO for where to report bugs.
49037         * INSTALL: Regenerated.
49038         * manual/libc.texinfo: Include pkgvers.texi.
49039         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49040         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49041         (print_version): Use PKGVERSION.
49042         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49043         (print_version): Use PKGVERSION.
49044         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49045         (print_version): Use PKGVERSION.
49046         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49047         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49048         macro.
49049         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49050         (print_version): Use PKGVERSION.
49051         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49052         (print_version): Use PKGVERSION.
49053         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49054         and PKGVERSION.
49056         * timezone/checktab.awk: Update from tzcode 2012i.
49057         * timezone/ialloc.c: Likewise.
49058         * timezone/private.h: Likewise.
49059         * timezone/scheck.c: Likewise.
49060         * timezone/tzfile.h: Likewise.
49061         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49062         (TZVERSION): Hardcode tzcode version number.
49063         * timezone/zdump.c: Update from tzcode 2012i.
49064         * timezone/zic.c: Likewise.
49065         * timezone/version.h: New file.
49066         * timezone/README: Describe version.h.  Update upstream location.
49068         [BZ #14824]
49069         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49070         (mktemp): Enable declaration.
49071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49072         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49074         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49075         Likewise.
49076         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49077         Likewise.
49078         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49079         Likewise.
49080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49081         Likewise.
49082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49083         Likewise.
49084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49085         Likewise.
49087         [BZ #14821]
49088         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49089         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49090         for copies of such integer values.
49091         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49092         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49094 2012-11-09  Andreas Jaeger  <aj@suse.de>
49096         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49097         definitions and declarations that are provided by
49098         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49100 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49102         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49103         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49104         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49105         definition.
49107 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49109         * elf/elf.h: Update comment before AArch64 relocations.
49111 2012-11-07  David S. Miller  <davem@davemloft.net>
49113         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49114         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49115         (__start_context): Declare.
49116         (__makecontext_ret): Delete.
49117         (__makecontext): Hook up __start_context instead of
49118         __makecontext_ret.
49119         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49120         (sysdep_routines): Add __start_context when in stdlib.
49122 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49124         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49125         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49126         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49127         hardcoded "nm".
49128         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49129         (READELF): New variable.  Use it instead of hardcoded "readelf".
49131 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49133         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49134         * sysdeps/x86/Makefile: Here.
49135         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49136         * sysdeps/x86/tst-xmmymm.sh: This.
49138 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49140         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49141         expectations.
49142         [UNIX98] (pthread_barrier_t): Do not expect.
49143         [UNIX98] (pthread_barrierattr_t): Likewise.
49144         [UNIX98] (pthread_spinlock_t): Likewise.
49145         [UNIX98] (pthread_barrier_destroy): Likewise.
49146         [UNIX98] (pthread_barrier_init): Likewise.
49147         [UNIX98] (pthread_barrier_wait): Likewise.
49148         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49149         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49150         [UNIX98] (pthread_barrierattr_init): Likewise.
49151         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49152         [UNIX98] (pthread_getcpuclockid): Likewise.
49153         [UNIX98] (pthread_mutex_timedlock): Likewise.
49154         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49155         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49156         [UNIX98] (pthread_sigmask): Likewise.
49157         [UNIX98] (pthread_spin_destroy): Likewise.
49158         [UNIX98] (pthread_spin_init): Likewise.
49159         [UNIX98] (pthread_spin_lock): Likewise.
49160         [UNIX98] (pthread_spin_trylock): Likewise.
49161         [UNIX98] (pthread_spin_unlock): Likewise.
49162         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49163         Do not expect.
49164         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49165         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49166         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49167         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49168         [XPG3 || XPG4] (pthread_key_t): Likewise.
49169         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49170         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49171         [XPG3 || XPG4] (pthread_once_t): Likewise.
49172         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49173         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49174         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49175         [XPG3 || XPG4] (pthread_t): Likewise.
49177         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49178         not expect.
49179         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49181         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49182         Change function return type to int.
49184         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49185         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49186         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49187         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49188         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49189         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49190         [!POSIX] (posix_madvise): Likewise.
49191         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49192         && !UNIX98].
49193         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49194         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49195         (mode_t): Likewise.
49196         (posix_mem_offset): Likewise.
49197         (posix_typed_mem_get_info): Likewise.
49198         (posix_typed_mem_open): Likewise.
49200         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49201         Change condition to [XOPEN2K8].
49203         * conform/conformtest.pl: Preprocess allow-header data with -x c
49204         instead of from stdin.
49205         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49206         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49207         [C99-based standards] (cerfc): Likewise.
49208         [C99-based standards] (cexp2): Likewise.
49209         [C99-based standards] (cexpm1): Likewise.
49210         [C99-based standards] (clog10): Likewise.
49211         [C99-based standards] (clog1p): Likewise.
49212         [C99-based standards] (clog2): Likewise.
49213         [C99-based standards] (clgamma): Likewise.
49214         [C99-based standards] (ctgamma): Likewise.
49215         [C99-based standards] (cerff): Likewise.
49216         [C99-based standards] (cerfcf): Likewise.
49217         [C99-based standards] (cexp2f): Likewise.
49218         [C99-based standards] (cexpm1f): Likewise.
49219         [C99-based standards] (clog10f): Likewise.
49220         [C99-based standards] (clog1pf): Likewise.
49221         [C99-based standards] (clog2f): Likewise.
49222         [C99-based standards] (clgammaf): Likewise.
49223         [C99-based standards] (ctgammaf): Likewise.
49224         [C99-based standards] (cerfl): Likewise.
49225         [C99-based standards] (cerfcl): Likewise.
49226         [C99-based standards] (cexp2l): Likewise.
49227         [C99-based standards] (cexpm1l): Likewise.
49228         [C99-based standards] (clog10l): Likewise.
49229         [C99-based standards] (clog1pl): Likewise.
49230         [C99-based standards] (clog2l): Likewise.
49231         [C99-based standards] (clgammal): Likewise.
49232         [C99-based standards] (ctgammal): Likewise.
49233         * conform/data/inttypes.h-data [C99-based standards]: Include
49234         stdint.h-data.  Remove all expectations for stdint.h contents.
49235         [C99-based standards] (PRI*): Do not allow.
49236         [C99-based standards] (SCN*): Likewise.
49237         [C99-based standards] (*_t): Likewise.
49238         [C99-based-standards] (PRId8): Expect macro.
49239         [C99-based-standards] (PRIi8): Likewise.
49240         [C99-based-standards] (PRIo8): Likewise.
49241         [C99-based-standards] (PRIu8): Likewise.
49242         [C99-based-standards] (PRIx8): Likewise.
49243         [C99-based-standards] (PRIX8): Likewise.
49244         [C99-based-standards] (SCNd8): Likewise.
49245         [C99-based-standards] (SCNi8): Likewise.
49246         [C99-based-standards] (SCNo8): Likewise.
49247         [C99-based-standards] (SCNu8): Likewise.
49248         [C99-based-standards] (SCNx8): Likewise.
49249         [C99-based-standards] (PRIdLEAST8): Likewise.
49250         [C99-based-standards] (PRIiLEAST8): Likewise.
49251         [C99-based-standards] (PRIoLEAST8): Likewise.
49252         [C99-based-standards] (PRIuLEAST8): Likewise.
49253         [C99-based-standards] (PRIxLEAST8): Likewise.
49254         [C99-based-standards] (PRIXLEAST8): Likewise.
49255         [C99-based-standards] (SCNdLEAST8): Likewise.
49256         [C99-based-standards] (SCNiLEAST8): Likewise.
49257         [C99-based-standards] (SCNoLEAST8): Likewise.
49258         [C99-based-standards] (SCNuLEAST8): Likewise.
49259         [C99-based-standards] (SCNxLEAST8): Likewise.
49260         [C99-based-standards] (PRIdFAST8): Likewise.
49261         [C99-based-standards] (PRIiFAST8): Likewise.
49262         [C99-based-standards] (PRIoFAST8): Likewise.
49263         [C99-based-standards] (PRIuFAST8): Likewise.
49264         [C99-based-standards] (PRIxFAST8): Likewise.
49265         [C99-based-standards] (PRIXFAST8): Likewise.
49266         [C99-based-standards] (SCNdFAST8): Likewise.
49267         [C99-based-standards] (SCNiFAST8): Likewise.
49268         [C99-based-standards] (SCNoFAST8): Likewise.
49269         [C99-based-standards] (SCNuFAST8): Likewise.
49270         [C99-based-standards] (SCNxFAST8): Likewise.
49271         [C99-based-standards] (PRId16): Likewise.
49272         [C99-based-standards] (PRIi16): Likewise.
49273         [C99-based-standards] (PRIo16): Likewise.
49274         [C99-based-standards] (PRIu16): Likewise.
49275         [C99-based-standards] (PRIx16): Likewise.
49276         [C99-based-standards] (PRIX16): Likewise.
49277         [C99-based-standards] (SCNd16): Likewise.
49278         [C99-based-standards] (SCNi16): Likewise.
49279         [C99-based-standards] (SCNo16): Likewise.
49280         [C99-based-standards] (SCNu16): Likewise.
49281         [C99-based-standards] (SCNx16): Likewise.
49282         [C99-based-standards] (PRIdLEAST16): Likewise.
49283         [C99-based-standards] (PRIiLEAST16): Likewise.
49284         [C99-based-standards] (PRIoLEAST16): Likewise.
49285         [C99-based-standards] (PRIuLEAST16): Likewise.
49286         [C99-based-standards] (PRIxLEAST16): Likewise.
49287         [C99-based-standards] (PRIXLEAST16): Likewise.
49288         [C99-based-standards] (SCNdLEAST16): Likewise.
49289         [C99-based-standards] (SCNiLEAST16): Likewise.
49290         [C99-based-standards] (SCNoLEAST16): Likewise.
49291         [C99-based-standards] (SCNuLEAST16): Likewise.
49292         [C99-based-standards] (SCNxLEAST16): Likewise.
49293         [C99-based-standards] (PRIdFAST16): Likewise.
49294         [C99-based-standards] (PRIiFAST16): Likewise.
49295         [C99-based-standards] (PRIoFAST16): Likewise.
49296         [C99-based-standards] (PRIuFAST16): Likewise.
49297         [C99-based-standards] (PRIxFAST16): Likewise.
49298         [C99-based-standards] (PRIXFAST16): Likewise.
49299         [C99-based-standards] (SCNdFAST16): Likewise.
49300         [C99-based-standards] (SCNiFAST16): Likewise.
49301         [C99-based-standards] (SCNoFAST16): Likewise.
49302         [C99-based-standards] (SCNuFAST16): Likewise.
49303         [C99-based-standards] (SCNxFAST16): Likewise.
49304         [C99-based-standards] (PRId32): Likewise.
49305         [C99-based-standards] (PRIi32): Likewise.
49306         [C99-based-standards] (PRIo32): Likewise.
49307         [C99-based-standards] (PRIu32): Likewise.
49308         [C99-based-standards] (PRIx32): Likewise.
49309         [C99-based-standards] (PRIX32): Likewise.
49310         [C99-based-standards] (SCNd32): Likewise.
49311         [C99-based-standards] (SCNi32): Likewise.
49312         [C99-based-standards] (SCNo32): Likewise.
49313         [C99-based-standards] (SCNu32): Likewise.
49314         [C99-based-standards] (SCNx32): Likewise.
49315         [C99-based-standards] (PRIdLEAST32): Likewise.
49316         [C99-based-standards] (PRIiLEAST32): Likewise.
49317         [C99-based-standards] (PRIoLEAST32): Likewise.
49318         [C99-based-standards] (PRIuLEAST32): Likewise.
49319         [C99-based-standards] (PRIxLEAST32): Likewise.
49320         [C99-based-standards] (PRIXLEAST32): Likewise.
49321         [C99-based-standards] (SCNdLEAST32): Likewise.
49322         [C99-based-standards] (SCNiLEAST32): Likewise.
49323         [C99-based-standards] (SCNoLEAST32): Likewise.
49324         [C99-based-standards] (SCNuLEAST32): Likewise.
49325         [C99-based-standards] (SCNxLEAST32): Likewise.
49326         [C99-based-standards] (PRIdFAST32): Likewise.
49327         [C99-based-standards] (PRIiFAST32): Likewise.
49328         [C99-based-standards] (PRIoFAST32): Likewise.
49329         [C99-based-standards] (PRIuFAST32): Likewise.
49330         [C99-based-standards] (PRIxFAST32): Likewise.
49331         [C99-based-standards] (PRIXFAST32): Likewise.
49332         [C99-based-standards] (SCNdFAST32): Likewise.
49333         [C99-based-standards] (SCNiFAST32): Likewise.
49334         [C99-based-standards] (SCNoFAST32): Likewise.
49335         [C99-based-standards] (SCNuFAST32): Likewise.
49336         [C99-based-standards] (SCNxFAST32): Likewise.
49337         [C99-based-standards] (PRId64): Likewise.
49338         [C99-based-standards] (PRIi64): Likewise.
49339         [C99-based-standards] (PRIo64): Likewise.
49340         [C99-based-standards] (PRIu64): Likewise.
49341         [C99-based-standards] (PRIx64): Likewise.
49342         [C99-based-standards] (PRIX64): Likewise.
49343         [C99-based-standards] (SCNd64): Likewise.
49344         [C99-based-standards] (SCNi64): Likewise.
49345         [C99-based-standards] (SCNo64): Likewise.
49346         [C99-based-standards] (SCNu64): Likewise.
49347         [C99-based-standards] (SCNx64): Likewise.
49348         [C99-based-standards] (PRIdLEAST64): Likewise.
49349         [C99-based-standards] (PRIiLEAST64): Likewise.
49350         [C99-based-standards] (PRIoLEAST64): Likewise.
49351         [C99-based-standards] (PRIuLEAST64): Likewise.
49352         [C99-based-standards] (PRIxLEAST64): Likewise.
49353         [C99-based-standards] (PRIXLEAST64): Likewise.
49354         [C99-based-standards] (SCNdLEAST64): Likewise.
49355         [C99-based-standards] (SCNiLEAST64): Likewise.
49356         [C99-based-standards] (SCNoLEAST64): Likewise.
49357         [C99-based-standards] (SCNuLEAST64): Likewise.
49358         [C99-based-standards] (SCNxLEAST64): Likewise.
49359         [C99-based-standards] (PRIdFAST64): Likewise.
49360         [C99-based-standards] (PRIiFAST64): Likewise.
49361         [C99-based-standards] (PRIoFAST64): Likewise.
49362         [C99-based-standards] (PRIuFAST64): Likewise.
49363         [C99-based-standards] (PRIxFAST64): Likewise.
49364         [C99-based-standards] (PRIXFAST64): Likewise.
49365         [C99-based-standards] (SCNdFAST64): Likewise.
49366         [C99-based-standards] (SCNiFAST64): Likewise.
49367         [C99-based-standards] (SCNoFAST64): Likewise.
49368         [C99-based-standards] (SCNuFAST64): Likewise.
49369         [C99-based-standards] (SCNxFAST64): Likewise.
49370         [C99-based-standards] (PRIdMAX): Likewise.
49371         [C99-based-standards] (PRIiMAX): Likewise.
49372         [C99-based-standards] (PRIoMAX): Likewise.
49373         [C99-based-standards] (PRIuMAX): Likewise.
49374         [C99-based-standards] (PRIxMAX): Likewise.
49375         [C99-based-standards] (PRIXMAX): Likewise.
49376         [C99-based-standards] (SCNdMAX): Likewise.
49377         [C99-based-standards] (SCNiMAX): Likewise.
49378         [C99-based-standards] (SCNoMAX): Likewise.
49379         [C99-based-standards] (SCNuMAX): Likewise.
49380         [C99-based-standards] (SCNxMAX): Likewise.
49381         [C99-based-standards] (PRIdPTR): Likewise.
49382         [C99-based-standards] (PRIiPTR): Likewise.
49383         [C99-based-standards] (PRIoPTR): Likewise.
49384         [C99-based-standards] (PRIuPTR): Likewise.
49385         [C99-based-standards] (PRIxPTR): Likewise.
49386         [C99-based-standards] (PRIXPTR): Likewise.
49387         [C99-based-standards] (SCNdPTR): Likewise.
49388         [C99-based-standards] (SCNiPTR): Likewise.
49389         [C99-based-standards] (SCNoPTR): Likewise.
49390         [C99-based-standards] (SCNuPTR): Likewise.
49391         [C99-based-standards] (SCNxPTR): Likewise.
49392         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49393         allow.
49394         * conform/data/stdint.h-data: Update comments to clarify
49395         requirements.
49396         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49397         type.
49398         [C99-based standards] (INT8_MAX): Likewise.
49399         [C99-based standards] (INT16_MIN): Likewise.
49400         [C99-based standards] (INT16_MAX): Likewise.
49401         [C99-based standards] (INT32_MIN): Likewise.
49402         [C99-based standards] (INT32_MAX): Likewise.
49403         [C99-based standards] (INT64_MIN): Likewise.
49404         [C99-based standards] (INT64_MAX): Likewise.
49405         [C99-based standards] (UINT8_MAX): Likewise.
49406         [C99-based standards] (UINT16_MAX): Likewise.
49407         [C99-based standards] (UINT32_MAX): Likewise.
49408         [C99-based standards] (UINT64_MAX): Likewise.
49409         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49410         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49411         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49412         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49413         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49414         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49415         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49416         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49417         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49418         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49419         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49420         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49421         [C99-based standards] (INT_FAST8_MIN): Likewise.
49422         [C99-based standards] (INT_FAST8_MAX): Likewise.
49423         [C99-based standards] (INT_FAST16_MIN): Likewise.
49424         [C99-based standards] (INT_FAST16_MAX): Likewise.
49425         [C99-based standards] (INT_FAST32_MIN): Likewise.
49426         [C99-based standards] (INT_FAST32_MAX): Likewise.
49427         [C99-based standards] (INT_FAST64_MIN): Likewise.
49428         [C99-based standards] (INT_FAST64_MAX): Likewise.
49429         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49430         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49431         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49432         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49433         [C99-based standards] (INTPTR_MIN): Likewise.
49434         [C99-based standards] (INTPTR_MAX): Likewise.
49435         [C99-based standards] (UINTPTR_MAX): Likewise.
49436         [C99-based standards] (INTMAX_MIN): Likewise.
49437         [C99-based standards] (INTMAX_MAX): Likewise.
49438         [C99-based standards] (UINTMAX_MAX): Likewise.
49439         [C99-based standards] (PTRDIFF_MIN): Likewise.
49440         [C99-based standards] (PTRDIFF_MAX): Likewise.
49441         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49442         [C99-based standards] (SIZE_MAX): Likewise.
49443         [C99-based standards] (WCHAR_MAX): Likewise.
49444         [C99-based standards] (WINT_MAX): Likewise.
49445         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49446         constraint on value.
49447         [C99-based standards] (WCHAR_MIN): Likewise.
49448         [C99-based standards] (WINT_MIN): Likewise.
49449         [C99-based standards] (*_t): Allow.
49450         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49451         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49452         Include math.h-data and complex.h-data.  Remove all expectations
49453         of math.h and complex.h contents.
49454         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49455         at end of line.
49456         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49457         (struct tm): Expect tag.
49458         [C99-based-standards] (wcstof): Expect function.
49459         [C99-based-standards] (wcstold): Likewise.
49460         [C99-based-standards] (wcstoll): Likewise.
49461         [C99-based-standards] (wcstoull): Likewise.
49462         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49463         macro-int-constant.  Specify type.
49464         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49465         constraint on value.
49466         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49467         Specify type.
49468         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49469         Specify value.
49470         [ISO C standards]: Do not allow headers.
49471         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49472         wcs[abcdefghijklmnopqrstuvwxyz]*.
49473         [ISO C standards] (*_t): Do not allow.
49474         * conform/data/wctype.h-data [C99-based standards] (iswblank):
49475         Expect function.
49476         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49477         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49478         Specify type.
49479         [ISO C standards]: Do not allow headers.
49480         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49481         is[abcdefghijklmnopqrstuvwxyz]*.
49482         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49483         to[abcdefghijklmnopqrstuvwxyz]*.
49484         [ISO C standards] (*_t): Do not allow.
49485         * conform/data/stdalign.h-data: New file.
49486         * conform/data/stdbool.h-data: Likewise.
49487         * conform/data/stdnoreturn.h-data: Likewise.
49489 2012-11-07  Roland McGrath  <roland@hack.frob.com>
49491         [BZ #14815]
49492         * manual/filesys.texi (Directory Entries): Typo fix.
49493         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49495 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49497         * elf/elf.h (EM_AARCH64): New macro.
49498         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49499         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49500         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49501         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49502         (R_AARCH64_TLSDESC): Likewise.
49503         (NT_ARM_TLS): Likewise.
49504         (NT_ARM_HW_BREAK): Likewise.
49505         (NT_ARM_HW_WATCH): Likewise.
49507 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49509         [BZ #14811]
49510         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49511         (__ieee754_powl): Saturate nonzero exponents with absolute value
49512         below 0x1p-79 to +/- 0x1p-79.
49513         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49514         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49515         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49516         nonzero exponents with absolute value below 0x1p-32 to +/-
49517         0x1p-32.
49518         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49519         (__ieee754_powl): Saturate nonzero exponents with absolute value
49520         below 0x1p-79 to +/- 0x1p-79.
49521         * math/libm-test.inc (pow_test): Add more tests.
49523 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49525         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49526         _dl_s390_cap_flags with kernel. Increase string length.
49527         (_dl_s390_platforms): Add z196 and zEC12.
49529 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49531         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49532         Change XOPEN21K to XOPEN2K.
49534 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
49536         * string/memmove.c: Use memcpy when possible.
49538 2012-11-06  Andreas Jaeger  <aj@suse.de>
49540         * po/eo.po: Update from translation team.
49542 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49544         [BZ #14793]
49545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49546         exponent and small x and y exponents, scale x or y up.  Increase
49547         by 2 the exponent used in scaling up.
49548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49550         * math/libm-test.inc (fma_test): Add more tests.
49551         (fma_test_towardzero): Likewise.
49552         (fma_test_downward): Likewise.
49553         (fma_test_upward): Likewise.
49555 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49557         [BZ #14805]
49558         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49559         fenv_t *.
49561         [BZ #14801]
49562         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49563         namespace for names of struct fields.
49564         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49565         fenv_t fields.
49566         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49567         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49569 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49571         [BZ #3665]
49572         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49574 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49576         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49577         PTR_DEMANGLE.
49579         [BZ #5246]
49580         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49581         PTR_DEMANGLE.
49583 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49585         [BZ #14797]
49586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49587         definitely overflow as x * y not x * y + z.
49588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49590         * math/libm-test.inc (fma_test): Add more tests.
49591         (fma_test_towardzero): Likewise.
49592         (fma_test_downward): Likewise.
49593         (fma_test_upward): Likewise.
49595 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49597         [BZ #157]
49599         * include/stub-tag.h: Remove file.
49600         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49601         '#include' of it.
49602         * manual/maint.texi (Porting): Don't reference it.
49603         * Makerules ($(objpfx)stubs): Likewise.
49604         * dirent/closedir.c: Don't include <stub-tag.h>.
49605         * dirent/dirfd.c: Likewise.
49606         * dirent/fdopendir.c: Likewise.
49607         * dirent/getdents.c: Likewise.
49608         * dirent/getdents64.c: Likewise.
49609         * dirent/opendir.c: Likewise.
49610         * dirent/readdir.c: Likewise.
49611         * dirent/readdir64.c: Likewise.
49612         * dirent/readdir64_r.c: Likewise.
49613         * dirent/readdir_r.c: Likewise.
49614         * dirent/rewinddir.c: Likewise.
49615         * dirent/seekdir.c: Likewise.
49616         * dirent/telldir.c: Likewise.
49617         * gmon/profil.c: Likewise.
49618         * grp/setgroups.c: Likewise.
49619         * inet/if_index.c: Likewise.
49620         * io/access.c: Likewise.
49621         * io/chdir.c: Likewise.
49622         * io/chmod.c: Likewise.
49623         * io/chown.c: Likewise.
49624         * io/close.c: Likewise.
49625         * io/dup.c: Likewise.
49626         * io/dup2.c: Likewise.
49627         * io/dup3.c: Likewise.
49628         * io/euidaccess.c: Likewise.
49629         * io/faccessat.c: Likewise.
49630         * io/fchdir.c: Likewise.
49631         * io/fchmod.c: Likewise.
49632         * io/fchmodat.c: Likewise.
49633         * io/fchown.c: Likewise.
49634         * io/fchownat.c: Likewise.
49635         * io/fcntl.c: Likewise.
49636         * io/flock.c: Likewise.
49637         * io/fstatfs.c: Likewise.
49638         * io/fstatfs64.c: Likewise.
49639         * io/fstatvfs.c: Likewise.
49640         * io/fstatvfs64.c: Likewise.
49641         * io/futimens.c: Likewise.
49642         * io/fxstat.c: Likewise.
49643         * io/fxstat64.c: Likewise.
49644         * io/fxstatat.c: Likewise.
49645         * io/fxstatat64.c: Likewise.
49646         * io/getcwd.c: Likewise.
49647         * io/isatty.c: Likewise.
49648         * io/lchmod.c: Likewise.
49649         * io/lchown.c: Likewise.
49650         * io/link.c: Likewise.
49651         * io/linkat.c: Likewise.
49652         * io/lseek.c: Likewise.
49653         * io/lseek64.c: Likewise.
49654         * io/lxstat64.c: Likewise.
49655         * io/mkdir.c: Likewise.
49656         * io/mkdirat.c: Likewise.
49657         * io/mkfifo.c: Likewise.
49658         * io/mkfifoat.c: Likewise.
49659         * io/open.c: Likewise.
49660         * io/open64.c: Likewise.
49661         * io/openat.c: Likewise.
49662         * io/openat64.c: Likewise.
49663         * io/pipe.c: Likewise.
49664         * io/pipe2.c: Likewise.
49665         * io/poll.c: Likewise.
49666         * io/posix_fadvise.c: Likewise.
49667         * io/posix_fadvise64.c: Likewise.
49668         * io/posix_fallocate.c: Likewise.
49669         * io/posix_fallocate64.c: Likewise.
49670         * io/read.c: Likewise.
49671         * io/readlink.c: Likewise.
49672         * io/readlinkat.c: Likewise.
49673         * io/rmdir.c: Likewise.
49674         * io/sendfile.c: Likewise.
49675         * io/sendfile64.c: Likewise.
49676         * io/statfs.c: Likewise.
49677         * io/statfs64.c: Likewise.
49678         * io/statvfs.c: Likewise.
49679         * io/statvfs64.c: Likewise.
49680         * io/symlink.c: Likewise.
49681         * io/symlinkat.c: Likewise.
49682         * io/ttyname.c: Likewise.
49683         * io/ttyname_r.c: Likewise.
49684         * io/umask.c: Likewise.
49685         * io/unlink.c: Likewise.
49686         * io/unlinkat.c: Likewise.
49687         * io/utime.c: Likewise.
49688         * io/utimensat.c: Likewise.
49689         * io/write.c: Likewise.
49690         * io/xmknod.c: Likewise.
49691         * io/xmknodat.c: Likewise.
49692         * io/xstat.c: Likewise.
49693         * io/xstat64.c: Likewise.
49694         * login/getpt.c: Likewise.
49695         * login/grantpt.c: Likewise.
49696         * login/unlockpt.c: Likewise.
49697         * math/e_acoshl.c: Likewise.
49698         * math/e_acosl.c: Likewise.
49699         * math/e_asinl.c: Likewise.
49700         * math/e_atan2l.c: Likewise.
49701         * math/e_atanhl.c: Likewise.
49702         * math/e_coshl.c: Likewise.
49703         * math/e_expl.c: Likewise.
49704         * math/e_fmodl.c: Likewise.
49705         * math/e_gammal_r.c: Likewise.
49706         * math/e_hypotl.c: Likewise.
49707         * math/e_j0l.c: Likewise.
49708         * math/e_j1l.c: Likewise.
49709         * math/e_jnl.c: Likewise.
49710         * math/e_lgammal_r.c: Likewise.
49711         * math/e_log10l.c: Likewise.
49712         * math/e_log2l.c: Likewise.
49713         * math/e_logl.c: Likewise.
49714         * math/e_powl.c: Likewise.
49715         * math/e_rem_pio2l.c: Likewise.
49716         * math/e_sinhl.c: Likewise.
49717         * math/e_sqrtl.c: Likewise.
49718         * math/fclrexcpt.c: Likewise.
49719         * math/fedisblxcpt.c: Likewise.
49720         * math/feenablxcpt.c: Likewise.
49721         * math/fegetenv.c: Likewise.
49722         * math/fegetexcept.c: Likewise.
49723         * math/fegetround.c: Likewise.
49724         * math/feholdexcpt.c: Likewise.
49725         * math/fesetenv.c: Likewise.
49726         * math/fesetround.c: Likewise.
49727         * math/feupdateenv.c: Likewise.
49728         * math/fgetexcptflg.c: Likewise.
49729         * math/fraiseexcpt.c: Likewise.
49730         * math/fsetexcptflg.c: Likewise.
49731         * math/ftestexcept.c: Likewise.
49732         * math/k_cosl.c: Likewise.
49733         * math/k_rem_pio2l.c: Likewise.
49734         * math/k_sinl.c: Likewise.
49735         * math/k_tanl.c: Likewise.
49736         * math/s_asinhl.c: Likewise.
49737         * math/s_atanl.c: Likewise.
49738         * math/s_cbrtl.c: Likewise.
49739         * math/s_erfl.c: Likewise.
49740         * math/s_expm1l.c: Likewise.
49741         * math/s_log1pl.c: Likewise.
49742         * math/s_tanhl.c: Likewise.
49743         * misc/acct.c: Likewise.
49744         * misc/brk.c: Likewise.
49745         * misc/chflags.c: Likewise.
49746         * misc/chroot.c: Likewise.
49747         * misc/fchflags.c: Likewise.
49748         * misc/fgetxattr.c: Likewise.
49749         * misc/flistxattr.c: Likewise.
49750         * misc/fremovexattr.c: Likewise.
49751         * misc/fsetxattr.c: Likewise.
49752         * misc/fsync.c: Likewise.
49753         * misc/ftruncate.c: Likewise.
49754         * misc/futimes.c: Likewise.
49755         * misc/futimesat.c: Likewise.
49756         * misc/getdomain.c: Likewise.
49757         * misc/getdtsz.c: Likewise.
49758         * misc/gethostid.c: Likewise.
49759         * misc/gethostname.c: Likewise.
49760         * misc/getloadavg.c: Likewise.
49761         * misc/getpagesize.c: Likewise.
49762         * misc/getsysstats.c: Likewise.
49763         * misc/getxattr.c: Likewise.
49764         * misc/gtty.c: Likewise.
49765         * misc/ioctl.c: Likewise.
49766         * misc/lgetxattr.c: Likewise.
49767         * misc/listxattr.c: Likewise.
49768         * misc/llistxattr.c: Likewise.
49769         * misc/lremovexattr.c: Likewise.
49770         * misc/lsetxattr.c: Likewise.
49771         * misc/lutimes.c: Likewise.
49772         * misc/madvise.c: Likewise.
49773         * misc/mincore.c: Likewise.
49774         * misc/mlock.c: Likewise.
49775         * misc/mlockall.c: Likewise.
49776         * misc/mmap.c: Likewise.
49777         * misc/mprotect.c: Likewise.
49778         * misc/msync.c: Likewise.
49779         * misc/munlock.c: Likewise.
49780         * misc/munlockall.c: Likewise.
49781         * misc/munmap.c: Likewise.
49782         * misc/preadv.c: Likewise.
49783         * misc/preadv64.c: Likewise.
49784         * misc/ptrace.c: Likewise.
49785         * misc/pwritev.c: Likewise.
49786         * misc/pwritev64.c: Likewise.
49787         * misc/readv.c: Likewise.
49788         * misc/reboot.c: Likewise.
49789         * misc/remap_file_pages.c: Likewise.
49790         * misc/removexattr.c: Likewise.
49791         * misc/revoke.c: Likewise.
49792         * misc/select.c: Likewise.
49793         * misc/setdomain.c: Likewise.
49794         * misc/setegid.c: Likewise.
49795         * misc/seteuid.c: Likewise.
49796         * misc/sethostid.c: Likewise.
49797         * misc/sethostname.c: Likewise.
49798         * misc/setregid.c: Likewise.
49799         * misc/setreuid.c: Likewise.
49800         * misc/setxattr.c: Likewise.
49801         * misc/sstk.c: Likewise.
49802         * misc/stty.c: Likewise.
49803         * misc/swapoff.c: Likewise.
49804         * misc/swapon.c: Likewise.
49805         * misc/sync.c: Likewise.
49806         * misc/syncfs.c: Likewise.
49807         * misc/syscall.c: Likewise.
49808         * misc/truncate.c: Likewise.
49809         * misc/ualarm.c: Likewise.
49810         * misc/usleep.c: Likewise.
49811         * misc/ustat.c: Likewise.
49812         * misc/utimes.c: Likewise.
49813         * misc/vhangup.c: Likewise.
49814         * misc/writev.c: Likewise.
49815         * posix/_exit.c: Likewise.
49816         * posix/alarm.c: Likewise.
49817         * posix/execve.c: Likewise.
49818         * posix/fexecve.c: Likewise.
49819         * posix/fork.c: Likewise.
49820         * posix/fpathconf.c: Likewise.
49821         * posix/getaddrinfo.c: Likewise.
49822         * posix/getegid.c: Likewise.
49823         * posix/geteuid.c: Likewise.
49824         * posix/getgid.c: Likewise.
49825         * posix/getgroups.c: Likewise.
49826         * posix/getlogin.c: Likewise.
49827         * posix/getlogin_r.c: Likewise.
49828         * posix/getpgid.c: Likewise.
49829         * posix/getpid.c: Likewise.
49830         * posix/getppid.c: Likewise.
49831         * posix/getresgid.c: Likewise.
49832         * posix/getresuid.c: Likewise.
49833         * posix/getsid.c: Likewise.
49834         * posix/getuid.c: Likewise.
49835         * posix/glob64.c: Likewise.
49836         * posix/nanosleep.c: Likewise.
49837         * posix/pathconf.c: Likewise.
49838         * posix/pause.c: Likewise.
49839         * posix/posix_madvise.c: Likewise.
49840         * posix/pread.c: Likewise.
49841         * posix/pread64.c: Likewise.
49842         * posix/pwrite.c: Likewise.
49843         * posix/pwrite64.c: Likewise.
49844         * posix/sched_getaffinity.c: Likewise.
49845         * posix/sched_getp.c: Likewise.
49846         * posix/sched_gets.c: Likewise.
49847         * posix/sched_primax.c: Likewise.
49848         * posix/sched_primin.c: Likewise.
49849         * posix/sched_rr_gi.c: Likewise.
49850         * posix/sched_setaffinity.c: Likewise.
49851         * posix/sched_setp.c: Likewise.
49852         * posix/sched_sets.c: Likewise.
49853         * posix/sched_yield.c: Likewise.
49854         * posix/setgid.c: Likewise.
49855         * posix/setlogin.c: Likewise.
49856         * posix/setpgid.c: Likewise.
49857         * posix/setresgid.c: Likewise.
49858         * posix/setresuid.c: Likewise.
49859         * posix/setsid.c: Likewise.
49860         * posix/setuid.c: Likewise.
49861         * posix/sleep.c: Likewise.
49862         * posix/spawni.c: Likewise.
49863         * posix/sysconf.c: Likewise.
49864         * posix/times.c: Likewise.
49865         * posix/wait.c: Likewise.
49866         * posix/wait3.c: Likewise.
49867         * posix/wait4.c: Likewise.
49868         * posix/waitpid.c: Likewise.
49869         * resolv/gai_sigqueue.c: Likewise.
49870         * resource/getpriority.c: Likewise.
49871         * resource/getrlimit.c: Likewise.
49872         * resource/getrusage.c: Likewise.
49873         * resource/nice.c: Likewise.
49874         * resource/setpriority.c: Likewise.
49875         * resource/setrlimit.c: Likewise.
49876         * resource/ulimit.c: Likewise.
49877         * rt/aio_cancel.c: Likewise.
49878         * rt/aio_fsync.c: Likewise.
49879         * rt/aio_read.c: Likewise.
49880         * rt/aio_sigqueue.c: Likewise.
49881         * rt/aio_suspend.c: Likewise.
49882         * rt/aio_write.c: Likewise.
49883         * rt/clock_getres.c: Likewise.
49884         * rt/clock_gettime.c: Likewise.
49885         * rt/clock_nanosleep.c: Likewise.
49886         * rt/clock_settime.c: Likewise.
49887         * rt/lio_listio.c: Likewise.
49888         * rt/mq_close.c: Likewise.
49889         * rt/mq_getattr.c: Likewise.
49890         * rt/mq_notify.c: Likewise.
49891         * rt/mq_open.c: Likewise.
49892         * rt/mq_receive.c: Likewise.
49893         * rt/mq_send.c: Likewise.
49894         * rt/mq_setattr.c: Likewise.
49895         * rt/mq_timedreceive.c: Likewise.
49896         * rt/mq_timedsend.c: Likewise.
49897         * rt/mq_unlink.c: Likewise.
49898         * rt/shm_open.c: Likewise.
49899         * rt/shm_unlink.c: Likewise.
49900         * rt/timer_create.c: Likewise.
49901         * rt/timer_delete.c: Likewise.
49902         * rt/timer_getoverr.c: Likewise.
49903         * rt/timer_gettime.c: Likewise.
49904         * rt/timer_settime.c: Likewise.
49905         * setjmp/__longjmp.c: Likewise.
49906         * setjmp/setjmp.c: Likewise.
49907         * signal/kill.c: Likewise.
49908         * signal/killpg.c: Likewise.
49909         * signal/raise.c: Likewise.
49910         * signal/sigaction.c: Likewise.
49911         * signal/sigaltstack.c: Likewise.
49912         * signal/sigblock.c: Likewise.
49913         * signal/sigignore.c: Likewise.
49914         * signal/sigintr.c: Likewise.
49915         * signal/signal.c: Likewise.
49916         * signal/sigpause.c: Likewise.
49917         * signal/sigpending.c: Likewise.
49918         * signal/sigqueue.c: Likewise.
49919         * signal/sigreturn.c: Likewise.
49920         * signal/sigset.c: Likewise.
49921         * signal/sigsetmask.c: Likewise.
49922         * signal/sigstack.c: Likewise.
49923         * signal/sigsuspend.c: Likewise.
49924         * signal/sigtimedwait.c: Likewise.
49925         * signal/sigvec.c: Likewise.
49926         * signal/sigwait.c: Likewise.
49927         * signal/sigwaitinfo.c: Likewise.
49928         * signal/sysv_signal.c: Likewise.
49929         * socket/accept.c: Likewise.
49930         * socket/accept4.c: Likewise.
49931         * socket/bind.c: Likewise.
49932         * socket/connect.c: Likewise.
49933         * socket/getpeername.c: Likewise.
49934         * socket/getsockname.c: Likewise.
49935         * socket/getsockopt.c: Likewise.
49936         * socket/isfdtype.c: Likewise.
49937         * socket/listen.c: Likewise.
49938         * socket/recv.c: Likewise.
49939         * socket/recvfrom.c: Likewise.
49940         * socket/recvmsg.c: Likewise.
49941         * socket/send.c: Likewise.
49942         * socket/sendmsg.c: Likewise.
49943         * socket/sendto.c: Likewise.
49944         * socket/setsockopt.c: Likewise.
49945         * socket/shutdown.c: Likewise.
49946         * socket/sockatmark.c: Likewise.
49947         * socket/socket.c: Likewise.
49948         * socket/socketpair.c: Likewise.
49949         * stdio-common/ctermid.c: Likewise.
49950         * stdio-common/cuserid.c: Likewise.
49951         * stdio-common/remove.c: Likewise.
49952         * stdio-common/rename.c: Likewise.
49953         * stdio-common/renameat.c: Likewise.
49954         * stdio-common/tempname.c: Likewise.
49955         * stdlib/getcontext.c: Likewise.
49956         * stdlib/makecontext.c: Likewise.
49957         * stdlib/setcontext.c: Likewise.
49958         * stdlib/swapcontext.c: Likewise.
49959         * stdlib/system.c: Likewise.
49960         * streams/fattach.c: Likewise.
49961         * streams/fdetach.c: Likewise.
49962         * streams/getmsg.c: Likewise.
49963         * streams/getpmsg.c: Likewise.
49964         * streams/putmsg.c: Likewise.
49965         * streams/putpmsg.c: Likewise.
49966         * sysdeps/unix/bsd/getpt.c: Likewise.
49967         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49968         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49969         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49971         Likewise.
49972         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49973         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49974         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49975         * sysvipc/msgctl.c: Likewise.
49976         * sysvipc/msgget.c: Likewise.
49977         * sysvipc/msgrcv.c: Likewise.
49978         * sysvipc/msgsnd.c: Likewise.
49979         * sysvipc/semctl.c: Likewise.
49980         * sysvipc/semget.c: Likewise.
49981         * sysvipc/semop.c: Likewise.
49982         * sysvipc/semtimedop.c: Likewise.
49983         * sysvipc/shmat.c: Likewise.
49984         * sysvipc/shmctl.c: Likewise.
49985         * sysvipc/shmdt.c: Likewise.
49986         * sysvipc/shmget.c: Likewise.
49987         * termios/tcdrain.c: Likewise.
49988         * termios/tcflow.c: Likewise.
49989         * termios/tcflush.c: Likewise.
49990         * termios/tcgetattr.c: Likewise.
49991         * termios/tcgetpgrp.c: Likewise.
49992         * termios/tcsendbrk.c: Likewise.
49993         * termios/tcsetattr.c: Likewise.
49994         * termios/tcsetpgrp.c: Likewise.
49995         * time/adjtime.c: Likewise.
49996         * time/clock.c: Likewise.
49997         * time/getitimer.c: Likewise.
49998         * time/gettimeofday.c: Likewise.
49999         * time/setitimer.c: Likewise.
50000         * time/settimeofday.c: Likewise.
50001         * time/stime.c: Likewise.
50002         * time/time.c: Likewise.
50004 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50006         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50007         /usr/old/bin.
50009         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50010         instead of spaces.
50011         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50013 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50015         [BZ #14796]
50016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50017         FE_TONEAREST before applying Dekker multiplication and Knuth
50018         addition.  Clear inexact exceptions and check for exact zero
50019         results afterwards.
50020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50021         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50022         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50023         * math/libm-test.inc (fma_test): Add more tests.
50024         (fma_test_towardzero): Likewise.
50025         (fma_test_downward): Likewise.
50026         (fma_test_upward): Likewise.
50027         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50028         function.
50029         (libc_fesetround): New macro.
50030         (libc_fesetroundf): Likewise.
50031         (libc_fesetroundl): Likewise.
50032         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50033         function.
50034         (libc_fesetround_387): Likewise.
50035         (libc_fesetroundf): New macro.
50036         (libc_fesetround): Likewise.
50037         (libc_fesetroundl): Likewise.
50038         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50039         function.
50040         (libc_fesetroundf): New macro.
50041         (libc_fesetround): Likewise.
50042         (libc_fesetroundl): Likewise.
50043         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50044         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50045         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50046         libm_hidden_ver.
50047         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50048         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50049         libm_hidden_def.
50050         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50051         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50052         libm_hidden_ver.
50053         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50054         libm_hidden_def.
50056         [BZ #3439]
50057         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50058         integer constant usable in #if and use that to give value to enum
50059         constant.
50060         (FE_DIVBYZERO): Likewise.
50061         (FE_UNDERFLOW): Likewise.
50062         (FE_OVERFLOW): Likewise.
50063         (FE_INVALID): Likewise.
50064         (FE_INVALID_SNAN): Likewise.
50065         (FE_INVALID_ISI): Likewise.
50066         (FE_INVALID_IDI): Likewise.
50067         (FE_INVALID_ZDZ): Likewise.
50068         (FE_INVALID_IMZ): Likewise.
50069         (FE_INVALID_COMPARE): Likewise.
50070         (FE_INVALID_SOFTWARE): Likewise.
50071         (FE_INVALID_SQRT): Likewise.
50072         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50073         (FE_TONEAREST): Likewise.
50074         (FE_TOWARDZERO): Likewise.
50075         (FE_UPWARD): Likewise.
50076         (FE_DOWNWARD): Likewise.
50077         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50078         (FE_DIVBYZERO): Likewise.
50079         (FE_OVERFLOW): Likewise.
50080         (FE_UNDERFLOW): Likewise.
50081         (FE_INEXACT): Likewise.
50082         (FE_TONEAREST): Likewise.
50083         (FE_DOWNWARD): Likewise.
50084         (FE_UPWARD): Likewise.
50085         (FE_TOWARDZERO): Likewise.
50086         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50087         (FE_UNDERFLOW): Likewise.
50088         (FE_OVERFLOW): Likewise.
50089         (FE_DIVBYZERO): Likewise.
50090         (FE_INVALID): Likewise.
50091         (FE_TONEAREST): Likewise.
50092         (FE_TOWARDZERO): Likewise.
50093         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50094         (FE_OVERFLOW): Likewise.
50095         (FE_UNDERFLOW): Likewise.
50096         (FE_DIVBYZERO): Likewise.
50097         (FE_INEXACT): Likewise.
50098         (FE_TONEAREST): Likewise.
50099         (FE_TOWARDZERO): Likewise.
50100         (FE_UPWARD): Likewise.
50101         (FE_DOWNWARD): Likewise.
50102         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50103         (FE_DIVBYZERO): Likewise.
50104         (FE_OVERFLOW): Likewise.
50105         (FE_UNDERFLOW): Likewise.
50106         (FE_INEXACT): Likewise.
50107         (FE_TONEAREST): Likewise.
50108         (FE_DOWNWARD): Likewise.
50109         (FE_UPWARD): Likewise.
50110         (FE_TOWARDZERO): Likewise.
50112 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50114         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50116 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50118         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50119         commands.  Quote $PWD.
50120         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50121         -x" by "export".
50122         (remove_newlines): Remove.
50124 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50126         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50127         * stdlib/stdlib.h (atof): Moved to ...
50128         * include/bits/stdlib-float.h: Here.  New file.
50129         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50130         * stdlib/bits/stdlib-float.h: New file.
50131         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50132         -mno-sse -mno-mmx.
50133         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50134         <xmmintrin.h>.
50136 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50138         * conform/conformtest.pl (@headers): Add fenv.h.
50139         * conform/data/fenv.h-data: New file.
50140         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50141         include of <math/fenv.h>.
50143         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50144         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50145         && !UNIX98].  Enables tests for XOPEN2K8.
50146         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50147         POSIX2008]: Likewise.
50149         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50150         (struct rusage): Do not expect type or its members.
50152         [BZ #3439]
50153         * math/math.h (FP_NAN): Define macro to integer constant usable in
50154         #if and use that to give value to enum constant.
50155         (FP_INFINITE): Likewise.
50156         (FP_ZERO): Likewise.
50157         (FP_SUBNORMAL): Likewise.
50158         (FP_NORMAL): Likewise.
50160 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50162         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50163         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50164         arguments.
50166 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50168         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50169         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50170         autoconf-time if not.
50171         * configure.in: Remove AC_PREREQ.
50173 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50175         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50176         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50177         of the internal implementation.
50179 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50181         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50182         except include of <misc/sys/syslog.h>.
50184 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50187         function returns with a NULL context exit with zero.
50189 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50191         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50193 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50195         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50196         (run_program_cmd): This.
50197         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50198         (tst_langinfo): New variable.  Use it.
50200 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50202         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50203         floating point opcodes.
50205 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50207         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50208         variable.
50210         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50212         * sysdeps/mach/hurd/powerpc: Remove directory.
50213         * sysdeps/mach/powerpc: Likewise.
50215 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50217         * scripts/check-local-headers.sh: Ignore c++ headers.
50219 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50221         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50222         __libc_cleanup_region_start argument.
50224 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50226         [BZ #14784]
50227         [BZ #14785]
50228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50229         x * y using scaling, not as x * y + z.
50230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50231         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50232         * math/libm-test.inc (fma_test): Add more tests.
50233         (fma_test_towardzero): Likewise.
50234         (fma_test_downward): Likewise.
50235         (fma_test_upward): Likewise.
50237 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50239         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50241 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50243         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50244         New variable.
50246 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50248         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50250 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50253         Fix sort order.
50254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50255         Likewise.
50257 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50260         Fix the order of the list for glibc 2.17.
50261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50262         Likewise.
50264 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50268 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50270         [BZ #14610]
50271         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50272         for low part of x being zero before using __atanl (y).
50273         * math/libm-test.inc (atan2_test): Add another test.
50275         * manual/install.texi (Configuring and compiling): Document
50276         general use of test-wrapper and test-wrapper-env.
50277         * INSTALL: Regenerated.
50279         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50280         (__fma): Do not extract and scale down low bits on after-rounding
50281         systems when result rounded to normal precision would have normal
50282         exponent.
50283         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50284         (__fmal): Do not extract and scale down low bits on after-rounding
50285         systems when result rounded to normal precision would have normal
50286         exponent.
50287         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50288         (__fmal): Do not extract and scale down low bits on after-rounding
50289         systems when result rounded to normal precision would have normal
50290         exponent.
50291         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50292         macro.
50293         (fma_test): Add more tests.
50294         (fma_test_towardzero): Likewise.
50295         (fma_test_downward): Likewise.
50296         (fma_test_upward): Likewise.
50298 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50300         * sysdeps/i386/tininess.h: Renamed to ...
50301         * sysdeps/x86/tininess.h: This.
50302         * sysdeps/x86_64/tininess.h: Removed.
50304 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50306         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50307         input.  Use $(build-program-cmd).
50308         ($(objpfx)tst-array1-static.out): Likewise.
50309         ($(objpfx)tst-array2.out): Likewise.
50310         ($(objpfx)tst-array3.out): Likewise.
50311         ($(objpfx)tst-array4.out): Likewise.
50312         ($(objpfx)tst-array5.out): Likewise.
50313         ($(objpfx)tst-array5-static.out): Likewise.
50315 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50317         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50318         if defined.
50320         * nss/nsswitch.h (nss_interface_function): Provide new
50321         macro for use with NSS functions.
50322         * grp/initgroups.c: Use new macro.
50323         * nss/getXXbyYY.c: Likewise.
50324         * nss/getXXbyYY_r.c: Likewise.
50325         * nss/getXXent.c: Likewise.
50326         * nss/getXXent_r.c: Likewise.
50327         * sysdeps/posix/getaddrinfo.c: Likewise.
50329 2012-10-30  Andreas Jaeger  <aj@suse.de>
50331         * po/ru.po: Update Russion translation from translation project.
50333 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50335         [BZ #14152]
50336         [BZ #14783]
50337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50338         result and shift together with sticky bit instead of replicating
50339         round-to-nearest rounding.
50340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50342         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50343         missing underflow exceptions.
50344         (fma_test_towardzero): Add more tests.
50345         (fma_test_downward): Likewise.
50346         (fma_test_upward): Likewise.
50348         [BZ #14047]
50349         * sysdeps/generic/tininess.h: New file.
50350         * sysdeps/i386/tininess.h: Likewise.
50351         * sysdeps/sh/tininess.h: Likewise.
50352         * sysdeps/x86_64/tininess.h: Likewise.
50353         * stdlib/tst-strtod-underflow.c: Likewise.
50354         * stdlib/tst-tininess.c: Likewise.
50355         * stdlib/strtod_l.c: Include <tininess.h>.
50356         (round_and_return): Do not set errno for exact underflow cases.
50357         Force an underflow exception when setting errno for underflow.
50358         Determine underflow based on rounding to normal precision if
50359         TININESS_AFTER_ROUNDING.
50360         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50361         ERANGE for exact underflow cases.
50362         * stdlib/Makefile (tests): Add tst-tininess and
50363         tst-strtod-underflow.
50364         ($(objpfx)tst-tininess): Use $(link-libm).
50365         ($(objpfx)tst-strtod-underflow): Likewise.
50367 2012-10-30  Andreas Jaeger  <aj@suse.de>
50369         [BZ#14767]
50370         * elf/Makefile (tests): Remove conditional for have-initfini-array
50371         since this is now always required and the variable does not exist
50372         anymore.
50373         (tests-static): Likewise.
50374         (modules-names): Likewise.
50376         * po/eo.po: Add Esperanto translation from translation project.
50378         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50379         merged with constructor/destructor.
50380         (init_array): Likewise.
50381         * elf/tst-array2dep.c (fini_array): Likewise.
50382         (init_array): Likewise.
50384 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50386         * manual/message.texi: Delete @cartouche tags.
50388 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50390         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50391         EOPNOTSUPP.
50392         * sysdeps/mach/hurd/fsync.c: Likewise.
50394         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50395         [_POSIX_REALTIME_SIGNALS]: Change condition to
50396         [_POSIX_REALTIME_SIGNALS > 0].
50398 2012-10-27  Andreas Jaeger  <aj@suse.de>
50400         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50401         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50402         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50403         [__WORDSIZE != 64]: Likewise.
50405 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50407         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50408         *  iconvdata/tst-tables.sh: Likewise.
50410 2012-10-25  David S. Miller  <davem@davemloft.net>
50412         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50413         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50414         of strtoull.
50416         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50417         ifunc-impl-list.c
50418         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50419         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50420         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50421         file.
50423 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50425         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50426         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50427         __getdirentries.
50429 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50430             Jim Blandy  <jimb@codesourcery.com>
50432         * scripts/cross-test-ssh.sh: New file.
50433         * manual/install.texi (Configuring and compiling): Document use of
50434         cross-test-ssh.sh.
50435         * INSTALL: Regenerated.
50437 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50439         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50440         EOPNOTSUPP.
50442 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50444         * Makeconfig (run-program-prefix): Fix comment.
50446 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50447             Jim Blandy  <jimb@codesourcery.com>
50449         * Makeconfig (test-wrapper): New variable,
50450         (test-wrapper-env): Likewise.
50451         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50452         (run-built-tests): Define to yes.
50453         (run-program-prefix): Use $(test-wrapper).
50454         (built-program-cmd): Likewise.
50455         * Rules (make-test-out): Use $(test-wrapper-env) and
50456         $(host-built-program-cmd).
50457         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50458         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50459         tst-pathopt.sh.
50460         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50461         $(test-wrapper-env) to tst-rtld-load-self.sh.
50462         ($(objpfx)order2.out): Use $(test-wrapper).
50463         ($(objpfx)tst-initorder.out): Likewise.
50464         ($(objpfx)tst-initorder2.out): Likewise.
50465         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50466         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50467         (test_wrapper_env): New variable.  Use it to run ld.so.
50468         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50469         Use it to run ld.so.
50470         (test_wrapper_env): Likewise.
50471         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50472         $(test-wrapper) to run-iconv-test.sh.
50473         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50474         (ICONV): Use $test_wrapper.
50475         * posix/Makefile ($(objpfx)globtest.out): Pass
50476         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50477         globtest.sh, not $(run-program-prefix).
50478         * posix/globtest.sh (run_via_rtld_prefix): New variable.
50479         (test_wrapper): Likewise.
50480         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
50481         set together with run_via_rtld_prefix.
50482         (run_program_prefix): Define in terms of test_wrapper and
50483         run_via_rtld_prefix.
50485 2012-10-24  Roland McGrath  <roland@hack.frob.com>
50487         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50488         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50489         Targets removed.
50491         [BZ #14743]
50492         * include/time.h: Remove librt_hidden_proto (clock_gettime).
50493         Declare __clock_getres, __clock_gettime, __clock_settime,
50494         __clock_nanosleep, and __clock_getcpuclockid.
50495         * rt/clock_gettime.c: Define __clock_gettime as an alias.
50496         Remove librt_hidden_def (clock_gettime).
50497         * sysdeps/unix/clock_gettime.c: Likewise.
50498         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50499         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50500         * rt/clock_getres.c: Define __clock_getres as an alias.
50501         * sysdeps/posix/clock_getres.c: Likewise.
50502         * rt/clock_settime.c: Define __clock_settime as an alias.
50503         * sysdeps/unix/clock_settime.c: Likewise.
50504         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50505         * sysdeps/unix/clock_nanosleep.c: Likewise.
50506         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50507         * rt/clock-compat.c: New file.
50508         * rt/Makefile (librt-routines): Add clock-compat and move
50509         $(clock-routines) to ...
50510         (routines): ... here, new variable.
50511         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50512         Don't add get_clockfreq here.
50513         * rt/Versions (libc: GLIBC_2.17): New version set.
50514         Add clock_* symbols here.
50515         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
50516         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50517         (GLIBC_2.17): Add clock_* symbols.
50518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50520         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50522         Likewise.
50523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50524         Likewise.
50525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50529         * NEWS: Mention the move.
50531         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50532         Use __open, __read, __close rather than their public counterparts.
50533         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50534         (__get_clockfreq_via_cpuinfo): Likewise.
50535         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50536         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50538         * config.h.in (HAVE_IFUNC): New #undef.
50539         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50540         was successful.
50541         * configure: Regenerated.
50543 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50545         * configure.in: Move READELF check to start of file.
50546         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50547         libc_cv_asm_gnu_indirect_function in the process.
50548         * configure: Regenerated.
50550 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50552         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50553         send the output to /dev/null.
50554         (libc_cv_cc_with_libunwind): Likewise.
50555         (libc_cv_as_noexecstack): Likewise.
50556         * configure: Regenerate.
50558 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50560         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50562         * posix/globtest.sh (TMPDIR): Do not set.
50563         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50564         (testout): Likewise.
50566 2012-10-24  Andreas Jaeger  <aj@suse.de>
50568         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50569         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50570         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50571         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50572         posix_fadvise64, posix_fallocate64.
50574         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50575         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50576         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50577         Likewise.
50578         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50579         Likewise.
50580         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50583         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50584         <bits/fcntl-linux.h>.
50585         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50587         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50588         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50589         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50590         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50591         [__WORDSIZE != 64]: Likewise.
50593 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50595         * Makeconfig (run-built-tests): New variable.
50596         * Rules [$(cross-compiling) = yes]: Change condition to
50597         [$(run-built-tests) = no].
50598         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50599         to [$(run-built-tests) = yes].
50600         * elf/Makefile [$(cross-compiling) = no]: Likewise
50601         * grp/Makefile [$(cross-compiling) = no]: Likewise.
50602         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50603         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50604         * intl/Makefile [$(cross-compiling) = no]: Likewise.
50605         * io/Makefile [$(cross-compiling) = no]: Likewise.
50606         * libio/Makefile [$(cross-compiling) = no]: Likewise.
50607         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50608         * misc/Makefile [$(cross-compiling) = no]: Likewise.
50609         * posix/Makefile [$(cross-compiling) = no]: Likewise.
50610         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50611         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50612         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50613         * string/Makefile [$(cross-compiling) = no]: Likewise.
50615         * posix/Makefile ($(objpfx)globtest.out): Pass
50616         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50617         $(rtld-installed-name).
50618         * posix/globtest.sh (elf_objpfx): Remove variable.
50619         (rtld_installed_name): Likewise.
50620         (library_path): Likewise.
50621         (run_program_prefix): New variable.  Use for running globtest
50622         binary.
50624 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
50625             Joseph Myers  <joseph@codesourcery.com>
50627         * Makeconfig (host-built-program-cmd): New variable.
50628         * elf/Makefile (tst-stackguard1-ARGS): Use
50629         $(host-built-program-cmd).
50630         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50631         (tst-spawn-ARGS): Likewise.
50632         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
50634 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50635             Jim Blandy  <jimb@codesourcery.com>
50637         * Makeconfig (run-via-rtld-prefix): New variable.
50638         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
50639         (built-program-cmd): Likewise.
50641 2012-10-22  Andreas Jaeger  <aj@suse.de>
50643         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
50644         __O_RSYNC if it exists, otherwise to O_SYNC.
50646 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
50647             Joseph Myers  <joseph@codesourcery.com>
50649         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
50650         /dev/null.
50651         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50652         from /dev/null
50653         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50654         /dev/null.
50656 2012-10-22  Andreas Jaeger  <aj@suse.de>
50658         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50659         Define always.
50660         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50663         bits/fcntl-linux.h.
50665         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50666         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50669         to __O_LARGEFILE.
50670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50671         to __O_LARGEFILE.
50673 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50674             Joseph Myers  <joseph@codesourcery.com>
50676         * config.make.in (NM): New variable.
50678 2012-10-21  Andreas Jaeger  <aj@suse.de>
50680         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50681         definitions and declarations that are provided by
50682         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50684 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50686         [BZ #14683]
50687         * elf/Makefile (tests-static): Add tst-leaks1-static.
50688         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50689         ($(objpfx)tst-leaks1-static): New rule.
50690         ($(objpfx)tst-leaks1-static-mem): Likewise.
50691         (tst-leaks1-static-ENV): New macro.
50692         * elf/dl-open.c (dl_open_worker): Check the main application
50693         only if SHARED is defined.
50694         * elf/tst-leaks1-static.c: New file.
50696 2012-10-20  Andreas Jaeger  <aj@suse.de>
50698         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50699         generic values for Linux.
50700         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50701         and declarations that are provided by <bits/fcntl-linux.h> and
50702         include <bits/fcntl-linux.h>.
50703         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50704         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50706 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50708         * io/fcntl.h: Move include of <bits/types.h> to the top and
50709         include it unconditionally.
50711 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50713         * wcsmbs/Makefile (tests-ifunc): New variable.
50714         (tests): Add $(tests-ifunc).
50715         * wcsmbs/test-wcschr-ifunc.c: New file.
50716         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50717         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50718         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50719         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50720         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50722         * string/Makefile (tests-ifunc): New variable.
50723         (tests): Add $(tests-ifunc).
50724         * string/test-memccpy.c (TEST_NAME): New macro.
50725         * string/test-memchr.c (TEST_NAME): Likewise.
50726         * string/test-memcmp.c (TEST_NAME): Likewise.
50727         * string/test-memcpy.c (TEST_NAME): Likewise.
50728         * string/test-memmem.c (TEST_NAME): Likewise.
50729         * string/test-memmove.c (TEST_NAME): Likewise.
50730         * string/test-memset.c (TEST_NAME): Likewise.
50731         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50732         * string/test-stpcpy.c (TEST_NAME): Likewise.
50733         * string/test-stpncpy.c (TEST_NAME): Likewise.
50734         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50735         * string/test-strcasestr.c (TEST_NAME): Likewise.
50736         * string/test-strcat.c (TEST_NAME): Likewise.
50737         * string/test-strchr.c (TEST_NAME): Likewise.
50738         * string/test-strcmp.c(TEST_NAME): Likewise.
50739         * string/test-strcpy.c (TEST_NAME): Likewise.
50740         * string/test-strcspn.c (TEST_NAME): Likewise.
50741         * string/test-strlen.c (TEST_NAME): Likewise.
50742         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50743         * string/test-strncmp.c (TEST_NAME): Likewise.
50744         * string/test-strncpy.c (TEST_NAME): Likewise.
50745         * string/test-strnlen.c (TEST_NAME): Likewise.
50746         * string/test-strpbrk.c (TEST_NAME): Likewise.
50747         * string/test-strrchr.c (TEST_NAME): Likewise.
50748         * string/test-strspn.c (TEST_NAME): Likewise.
50749         * string/test-strstr.c (TEST_NAME): Likewise.
50750         * string/test-bcopy-ifunc.c: New file.
50751         * string/test-bzero-ifunc.c: Likewise.
50752         * string/test-memccpy-ifunc.c: Likewise.
50753         * string/test-memchr-ifunc.c: Likewise.
50754         * string/test-memcmp-ifunc.c: Likewise.
50755         * string/test-memcpy-ifunc.c: Likewise.
50756         * string/test-memmem-ifunc.c: Likewise.
50757         * string/test-memmove-ifunc.c: Likewise.
50758         * string/test-mempcpy-ifunc.c: Likewise.
50759         * string/test-memset-ifunc.c: Likewise.
50760         * string/test-rawmemchr-ifunc.c: Likewise.
50761         * string/test-stpcpy-ifunc.c: Likewise.
50762         * string/test-stpncpy-ifunc.c: Likewise.
50763         * string/test-strcasecmp-ifunc.c: Likewise.
50764         * string/test-strcasestr-ifunc.c: Likewise.
50765         * string/test-strcat-ifunc.c: Likewise.
50766         * string/test-strchr-ifunc.c: Likewise.
50767         * string/test-strchrnul-ifunc.c: Likewise.
50768         * string/test-strcmp-ifunc.c: Likewise.
50769         * string/test-strcpy-ifunc.c: Likewise.
50770         * string/test-strcspn-ifunc.c: Likewise.
50771         * string/test-strlen-ifunc.c: Likewise.
50772         * string/test-strncasecmp-ifunc.c: Likewise.
50773         * string/test-strncat-ifunc.c: Likewise.
50774         * string/test-strncmp-ifunc.c: Likewise.
50775         * string/test-strncpy-ifunc.c: Likewise.
50776         * string/test-strnlen-ifunc.c: Likewise.
50777         * string/test-strpbrk-ifunc.c: Likewise.
50778         * string/test-strrchr-ifunc.c: Likewise.
50779         * string/test-strspn-ifunc.c: Likewise.
50780         * string/test-strstr-ifunc.c: Likewise.
50782         * debug/Makefile (tests-ifunc): New variable.
50783         (tests): Add $(tests-ifunc).
50784         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50785         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50786         * debug/test-stpcpy_chk-ifunc.c: New file.
50787         * debug/test-strcpy_chk-ifunc.c: Likewise.
50789 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50791         [BZ #13601]
50792         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50793         header is not read in.
50795 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50797         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50798         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50799         directly.  Pass built executable to script as
50800         $(built-program-cmd).
50801         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50802         $testprogram without using LD_LIBRARY_PATH and $ldso.
50804         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50805         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50806         $(rtld-installed-name).
50807         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50808         (rtld_installed_name): Likewise.
50809         (library_path): Likewise.
50810         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50811         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50812         $(run-program-prefix) to tst-tables.sh.
50813         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50814         it to run tst-table-from and tst-table-to.
50815         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50816         Pass it to tst-table.sh.
50817         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50818         $(run-program-prefix) to tst-gettext.sh.
50819         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50820         tst-translit.sh.
50821         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50822         tst-gettext2.sh.
50823         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50824         to run tst-gettext.
50825         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50826         to run tst-gettext2.
50827         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50828         to run tst-translit.
50829         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50830         $(run-program-prefix) to tst-mtrace.sh.
50831         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50832         to run tst-mtrace.
50833         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50834         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50835         $(rtld-installed-name).
50836         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50837         (rtld_installed_name): Likewise.
50838         (run_program_prefix): New variable.  Use it to run wordexp-test.
50840         * Makeconfig (ARCH): Remove all definitions.
50841         (machine): Likewise.
50842         [ARCH]: Remove conditional code.
50843         [!objdir]: Give error.
50844         [!objdir] (objpfx): Remove.
50845         [!objdir] (common-objpfx): Likewise.
50846         [!objdir] (common-objdir): Likewise.
50847         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50848         AC_CONFIG_FILES call.
50849         * configure: Regenerated.
50851         [BZ #13888]
50852         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50853         or TMPDIR.
50854         (testout): Likewise.
50856         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50857         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50858         $(rtld-installed-name).
50859         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50860         (rtld_installed_name): Likwise.
50861         (runit): Remove function.
50862         (run_getconf): New variable,  Use it for running getconf binary.
50864 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50866         [BZ #14716]
50867         * string/test-memmem.c (check_result): New function.
50868         (do_one_test): Use it.
50869         (check1): New function.
50870         (test_main): Use it.
50872 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50874         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50876 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50878         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50879         (_G_LSEEK64): Likewise.
50880         (_G_MMAP64): Likewise.
50881         (_G_FSTAT64): Likewise.
50882         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50883         (_G_LSEEK64): Likewise.
50884         (_G_MMAP64): Likewise.
50885         (_G_FSTAT64): Likewise.
50886         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50887         unconditional.  Call __mmap64 directly.
50888         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50889         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50890         __lseek64 directly.
50891         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50892         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50893         __mmap64 directly.
50894         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50895         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50896         __lseek64 directly.
50897         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50898         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50899         __lseek64 directly.
50900         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50901         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50902         __lseek64 directly.
50903         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50904         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50905         __fxstat64 directly.
50906         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50907         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50908         unconditional.
50909         (freopen64) [!_G_OPEN64]: Remove conditional code.
50910         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50911         unconditional.
50912         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50913         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50914         unconditional.
50915         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50916         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50917         unconditional.
50918         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50919         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50920         unconditional.
50921         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50922         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50923         unconditional.
50924         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50925         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50926         unconditional.
50927         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50928         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50929         unconditional.
50930         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50932 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50934         [BZ #12140]
50935         * manual/memory.texi (Malloc Tunable Parameters): Add note
50936         about free list pointers overwriting some perturb bytes.
50937         Wording suggested by Roland McGrath.
50939 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50941         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50942         (lgamma_test): Likewise.
50943         (tgamma_test): Likewise.
50945 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50947         [BZ #14700]
50948         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50949         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50951 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50953         * NEWS: Mention BZ #14716.
50954         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50955         when removing AVAILABLE1_USES_J macro.
50957 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50959         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50960         (__bswap_64): __uint64_t for unsigned 64-bit int.
50962 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50964         * include/string.h (memmem): Declare libc hidden alias.
50965         * string/memmem.c (memmem): Define libc hidden alias.
50966         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50967         __read, __close instead of open, read, close.
50969 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50972         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50973         global and hidden.
50974         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50975         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50976         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50977         Likewise.
50978         (__rawmemchr_sse2): Likewise.
50979         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50980         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50981         (__strchr_sse2): Likewise.
50982         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50983         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50984         (__strcasecmp_sse2): Likewise.
50985         (__strncasecmp_sse2): Likewise.
50986         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50987         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50988         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50989         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50990         (__strrchr_sse2): Likewise.
50991         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50992         ifunc-impl-list.c.
50993         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50994         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50995         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50996         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50997         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50998         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50999         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51000         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51001         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51002         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51003         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51004         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51005         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51006         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51007         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51008         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51009         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51010         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51011         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51012         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51013         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51014         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51015         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51016         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51017         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51018         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51019         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51020         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51021         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51022         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51024         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51025         global and hidden.
51026         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51027         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51028         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51029         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51030         Likewise.
51031         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51032         Likewise.
51033         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51034         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51035         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51036         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51037         ifunc-impl-list.c.
51038         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51039         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51040         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51041         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51042         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51043         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51044         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51045         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51046         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51047         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51048         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51049         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51050         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51051         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51052         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51053         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51054         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51055         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51056         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51057         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51058         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51059         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51060         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51061         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51063         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51064         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51065         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51066         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51067         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51068         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51069         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51070         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51071         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51072         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51073         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51074         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51075         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51076         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51077         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51078         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51080         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51081         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51082         * include/ifunc-impl-list.h: New file.
51083         * misc/ifunc-impl-list.c: Likewise.
51084         * misc/Makefile (routines): Add ifunc-impl-list.
51085         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51086         * string/test-string.h: Include <ifunc-impl-list.h>.
51087         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51088         TEST_NAME]: New variables.
51089         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51090         are defined.
51091         (test_init): Call __libc_ifunc_impl_list to initialize
51092         func_list if TEST_IFUNC and TEST_NAME are defined.
51094         * string/Makefile (strop-tests): Add bcopy and bzero.
51095         * string/test-bcopy.c: New file.
51096         * string/test-bzero.c: Likewise.
51097         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51098         defined.
51099         * string/test-memset.c: Support bzero test if TEST_BZERO is
51100         defined.
51101         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51102         __libc_memmove.
51103         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51104         __libc_memset.
51105         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51106         of memset.
51108 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51110         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51111         * configure: Regenerated.
51113         * Makeconfig (+link-static-before-libc): Don't include
51114         $(link-static-libc).
51116         * libio/libio.h (_IO_pos_t): Remove.
51118 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51120         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51121         McGrath.
51123 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51125         * crypt/crypt-entry.c: Include fips-private.h.
51126         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51127         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51128         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51129         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51131 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51133         * crypt/crypt-private.h: Include stdbool.h.
51134         (_ufc_setup_salt_r): Return bool.
51135         * crypt/crypt-entry.c: Include errno.h.
51136         (__crypt_r): Return NULL with EINVAL for bad salt.
51137         * crypt/crypt_util.c (bad_for_salt): New.
51138         (_ufc_setup_salt_r): Check that salt is long enough and within
51139         the specified alphabet.
51140         * crypt/badsalttest.c: New file.
51141         * crypt/Makefile (tests): Add it.
51142         ($(objpfx)badsalttest): New.
51144 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51146         * NEWS: Add entry for BZ #14602.
51148 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51150         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51151         type-generic.
51152         * math/libm-test.inc: Update comment listing what functions and
51153         macros are tested.
51154         (isgreater_test): New function.
51155         (isgreaterequal_test): Likewise.
51156         (isless_test): Likewise.
51157         (islessequal_test): Likewise.
51158         (islessgreater_test): Likewise.
51159         (isunordered_test): Likewise.
51160         (main): Call the new functions.
51162 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51164         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51165         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51166         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51167         * sysdeps/i386/configure: Regenerated.
51168         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51169         * sysdeps/mach/configure: Regenerated.
51170         * sysdeps/mach/hurd/configure: Regenerated.
51171         * sysdeps/powerpc/configure: Regenerated.
51172         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51173         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51174         * sysdeps/s390/s390-32/configure: Regenerated.
51175         * sysdeps/s390/s390-64/configure: Regenerated.
51176         * sysdeps/sh/configure: Regenerated.
51177         * sysdeps/sparc/configure: Regenerated.
51178         * sysdeps/unix/sysv/linux/configure: Regenerated.
51179         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51180         * sysdeps/x86_64/configure: Regenerated.
51182         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51183         defined.  Don't check if MAP is NULL.
51185 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51187         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51188         (_G_stat64): Likewise.
51189         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51190         (_G_stat64): Likewise.
51191         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51192         instead of struct _G_stat64.
51193         * libio/fileops.c (mmap_remap_check): Likewise.
51194         (decide_maybe_mmap): Likewise.
51195         (_IO_new_file_seekoff): Likewise.
51196         (_IO_file_stat): Likewise.
51197         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51198         _G_off64_t.
51199         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51200         instead of struct _G_stat64.
51201         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51203 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51205         [BZ #14602]
51206         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51207         Replace with ...
51208         (CHECK_EOL): New macro.
51209         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51210         CHECK_EOL.
51211         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51212         Replace with CHECK_EOL.
51213         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51214         Replace with CHECK_EOL.
51216 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51218         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51219         type-generic.
51220         * math/libm-test.inc: Update comment listing what functions and
51221         macros are tested.
51222         (finite_test): New function.
51223         (isinf_test): Likewise.
51224         (isnan_test): Likewise.
51225         (fpclassify_test): Test subnormal input.
51226         (isfinite_test): Likewise.
51227         (isnormal_test): Likewise.
51228         (main): Call the new functions.
51230 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51232         [BZ #14660]
51233         * Makerules (%.dynsym): Force C locale when running
51234         $(OBJDUMP) --dynamic-syms.
51236 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51238         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51239         <stdint.h>.
51241 2012-10-06  David S. Miller  <davem@davemloft.net>
51243         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51244         upper 32-bits of the length value in %o2 since we use branch-on-register
51245         tests which consider the entire 64-bit register.
51247 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51249         * string/test-strstr.c (check2): Add a test for page boundary.
51251 2012-10-05  David S. Miller  <davem@davemloft.net>
51253         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51254         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51255         file.
51256         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51257         sysdep_routines.
51258         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51259         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51260         and bzero when HWCAP_SPARC_CRYPTO is present.
51262 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51264         [BZ #14602]
51265         * string/test-strstr.c (check2): New function.
51266         (test_main): Call check2.
51268         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51269         and bug-strchr1.
51270         * string/bug-strcasestr1.c (do_test): Moved to ...
51271         * string/test-strcasestr.c (check1): Here.  New function.
51272         (do_one_test): Break out result checking code into ...
51273         (check_result): This.  New function.
51274         (do_one_test): Call check_result.
51275         (test_main): Call check1.
51276         * string/bug-strchr1.c (do_test): Moved to ...
51277         * string/test-strchr.c (check1): Here.  New function.
51278         (do_one_test): Break out result checking code into ...
51279         (check_result): This.  New function.
51280         (do_one_test): Call check_result.
51281         (test_main): Call check1.
51282         * string/bug-strstr1.c (main): Moved to ...
51283         * string/test-strstr.c (check1): Here.  New function.
51284         (do_one_test): Break out result checking code into ...
51285         (check_result): This.  New function.
51286         (do_one_test): Call check_result.
51287         (test_main): Call check1.
51288         * string/bug-strcasestr1.c: Removed.
51289         * string/bug-strchr1.c: Likewise.
51290         * string/bug-strstr1.c: Likewise.
51292         * elf/Makefile (dl-routines): Add hwcaps.
51293         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51294         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51295         (_dl_important_hwcaps): Moved to ...
51296         * elf/dl-hwcaps.c: Here.  New file.
51297         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51299         [BZ #14557]
51300         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51301         if IS_IN_rtld isn't defined.
51303         * elf/dl-support.c (_dl_sysinfo_map): New.
51304         Include "get-dynamic-info.h" and "setup-vdso.h".
51305         (_dl_non_dynamic_init): Call setup_vdso.
51306         * elf/dynamic-link.h: Don't include <assert.h>.
51307         (elf_get_dynamic_info): Moved to ...
51308         * elf/get-dynamic-info.h: Here.  New file.
51309         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51310         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51311         * elf/setup-vdso.h: Here.  New file.
51312         * elf/rtld.c: Include "setup-vdso.h".
51313         (dl_main): Call setup_vdso.
51315 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51317         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51318         creal in comment listing functions tested.  List finite, isinf,
51319         isnan, isless, islessequal, isgreater, isgreaterequal,
51320         islessgreater, isunordered, lgamma_r and pow10 as functions and
51321         macros not tested.  Mention which functions not tested are aliases
51322         for other functions.  Fix typo.  Note that signs of NaNs are not
51323         tested.
51325         * scripts/config.guess: Update from config.git.
51326         * scripts/config.sub: Likewise.
51328 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51330         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51331         * misc/madvise.c (madvise): Renamed to __madvise.
51332         Make madvise a weak alias.
51333         * include/sys/mman.h: Declare __madvise.
51334         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51335         * sysdeps/unix/syscalls.list
51336         (madvise): Make __madvise the strong name, and madvise a weak alias.
51337         * sysdeps/unix/sysv/linux/syscalls.list
51338         (madvise, mmap): Remove redundant entries.
51339         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51340         * malloc/malloc.c (mtrim): Likewise.
51341         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51343 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51345         * sysdeps/mach/hurd/dl-cache.c: File removed.
51346         * config.h.in (USE_LDCONFIG): New #undef.
51347         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51348         * configure: Regenerated.
51349         * elf/Makefile (dl-routines): Add dl-cache only under
51350         [$(use-ldconfig) = yes].
51351         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51352         cache on [USE_LDCONFIG].
51353         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51354         [USE_LDCONFIG].
51355         * elf/rtld.c (dl_main): Likewise.
51357 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51359         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51360         _SC_LEVEL4_CACHE_LINESIZE.
51362 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51364         * sysdeps/unix/bsd/confstr.h: File removed.
51366 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51368         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51369         sys/sdt-config.h.
51371 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51373         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51374         Make 'mapoff' field ElfW(Off) rather than off_t.
51376 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51378         * nscd/Makefile: Remove nscd-cflags and all its users.
51379         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51380         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51382         [BZ #10631]
51383         * malloc.c (malloc_printerr): Clarify error message.
51385 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51387         [BZ #14648]
51388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51389         Set bit_FMA_Usable if FMA is supported.
51390         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51391         macro.
51392         (bit_FMA4_Usable): Updated.
51393         (index_FMA_Usable): New macro.
51394         (CPUID_FMA): Likewise
51395         (HAS_FMA): Defined with bit_FMA_Usable.
51397 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51399         * bits/types.h (__swblk_t): Type removed.
51400         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51401         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51402         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51403         (__SWBLK_T_TYPE): Likewise.
51404         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51405         (__SWBLK_T_TYPE): Likewise.
51406         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51407         (__SWBLK_T_TYPE): Likewise.
51408         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51409         (__SWBLK_T_TYPE): Likewise.
51411 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51412             Honza Horak <hhorak@redhat.com>
51414         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51415         (xdr_mapname): Use YPMAXMAP as maxsize.
51416         (xdr_peername): Use YPMAXPEER as maxsize.
51417         (xdr_keydat): Use YPAXRECORD as maxsize.
51418         (xdr_valdat): Use YPMAXRECORD as maxsize.
51420 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51422         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51424         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51425         * csu/init-first.c: ... here.
51426         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51427         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51428         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51429         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51430         * sysdeps/i386/init-first.c: File removed.
51431         * sysdeps/sh/init-first.c: File removed.
51433 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51435         [BZ #14645]
51436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51437         if x * y might underflow to zero and z is zero.
51438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51440         * math/libm-test.inc (min_subnorm_value): New variable.
51441         (fma_test): Add more tests.
51442         (fma_test_towardzero): Likewise.
51443         (fma_test_downward): Likewise
51444         (fma_test_upward): Likewise.
51445         (initialize): Set min_subnorm_value.
51447 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51449         [BZ #14638]
51450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51451         0 + 0.
51452         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51453         mode for addition resulting in exact zero.
51454         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51456         exact 0 + 0.
51457         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51459         * math/libm-test.inc (fma_test): Add more tests.
51460         (fma_test_towardzero): New function.
51461         (fma_test_downward): Likewise.
51462         (fma_test_upward): Likewise.
51463         (main): Call the new functions.
51465 2012-09-28  David S. Miller  <davem@davemloft.net>
51467         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51469 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51471         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51472         instead of SIGALRM.
51474         * sysdeps/gnu/_G_config.h: Moved to ...
51475         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51476         * sysdeps/mach/hurd/_G_config.h: Moved to ...
51477         * sysdeps/generic/_G_config.h: ... here.
51479         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
51481         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51483         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51484         Conditionalize target on [libnss_test1.so-version].
51486         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51488         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51489         (elfobjdir): Move out of conditionals.
51491         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51492         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51493         (__nss_lookup_function): Conditionalize label remove_from_tree on
51494         [!DO_STATIC_NSS || SHARED], matching its only use.
51496 2012-09-28  David S. Miller  <davem@davemloft.net>
51498         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51499         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51500         file.
51501         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51502         sysdep_routines.
51503         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51504         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51505         when HWCAP_SPARC_CRYPTO is present.
51507 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51509         * io/tst-mknodat.c: Create a FIFO instead of a socket.
51511 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
51513         [BZ #6530]
51514         * stdio-common/vfprintf.c (process_string_arg): Revert
51515         2000-07-22 change.
51517 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
51519         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51520         for testcase.
51521         * stdio-common/tst-sprintf.c: Include <locale.h>
51522         (main): Test sprintf's handling of incomplete multibyte
51523         characters.
51525 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
51527         * elf/dl-runtime.c (VERSYMIDX): Removed.
51528         * elf/dl-version.c (VERSYMIDX): Likewise.
51529         * elf/do-rel.h (VERSYMIDX): Likewise.
51530         (VALIDX): Likewise.
51531         * elf/dynamic-link.h (VERSYMIDX): Likewise.
51532         * elf/rtld.c (VALIDX): Likewise.
51533         (ADDRIDX): Likewise.
51534         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51535         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51536         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51537         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51538         (VALIDX): Likewise.
51539         (ADDRIDX): Likewise.
51541 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51543         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51545 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51547         [BZ #11438]
51548         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51549         to global scope.
51550         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51551         addresses are in the same scope as 192.0.2/24.
51552         * posix/gai.conf: Document new scope table defaults.
51554 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51556         [BZ #5298]
51557         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51558         for ftell.  Compute offsets from write pointers instead.
51559         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51561 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51563         [BZ #14543]
51564         * libio/Makefile (tests): New test case tst-fseek.
51565         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51566         combination works in wide mode.
51567         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51568         state when the external buffer state changes.
51570 2012-09-27  David S. Miller  <davem@davemloft.net>
51572         [BZ #14376]
51573         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51574         pass reloc->r_addend in as the 'high' argument to
51575         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51579 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51581         * rt/tst-aio2.c: Include <pthread.h>.
51582         * rt/tst-aio3.c: Likewise.
51584 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51586         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51588 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51590         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51591         contents on [SHARED].
51593 2012-09-26  Marek Polacek  <polacek@redhat.com>
51595         [BZ #14530]
51596         [BZ #13741]
51597         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51598         for C++ and GCC <4.3 as well as for non GCC compilers.
51600 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51604 2012-09-25  Roland McGrath  <roland@hack.frob.com>
51606         * Makefile.in (all, install): Declare with .PHONY.
51607         Reported by Michael Hope <michael.hope@linaro.org>.
51609 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51611         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51612         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51613         system header.
51614         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51615         Likewise.
51616         (sydep_routines): Add the new and the internal functions.
51617         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51618         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51620         (GLIBC_2.17): Add the new function.
51621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51622         (GLIBC_2.17): Likewise.
51623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51624         (GLIBC_2.17): Likewise.
51625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51626         (GLIBC_2.17): Likewise.
51627         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51629 2012-09-25  Alan Modra  <amodra@gmail.com>
51631         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51632         Add release barrier before setting once_control to say
51633         initialisation is done.  Add hints on lwarx.  Use macro in
51634         place of isync.
51635         (clear_once_control): Add release barrier.
51637 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51639         [BZ #13629]
51640         * math/s_clog.c (__clog): Handle more values close to |z| = 1
51641         specially.
51642         * math/s_clog10.c (__clog10): Likewise.
51643         * math/s_clog10f.c (__clog10f): Likewise.
51644         * math/s_clog10l.c (__clog10l): Likewise.
51645         * math/s_clogf.c (__clogf): Likewise.
51646         * math/s_clogl.c (__clogl): Likewise.
51647         * math/Makefile (libm-calls): Add x2y2m1.
51648         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
51649         (__x2y2m1): Likewise.
51650         (__x2y2m1l): Likewise.
51651         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51652         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51653         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51654         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51655         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51656         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51657         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51658         * sysdeps/i386/fpu/libm-test-ulps: Update.
51659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51661         [BZ #14621]
51662         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51663         int as type of variable DEPTH.
51664         (glob): Use size_t instead of int as type of variables NEWCOUNT
51665         and OLD_PATHC.
51667 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51669         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51670         Add s_sincosf-sse2.
51671         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51672         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51673         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51674         macros for using routine as __sincosf_ia32.
51675         Use macro for function declaration and weak_alias.
51676         * sysdeps/i386/fpu/libm-test-ulps: Update.
51678         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51681         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51682         subnormal argument.
51683         * math/s_cexpf.c (__cexpf): Likewise.
51684         * math/s_csinf.c (__csinf): Likewise.
51685         * math/s_csinhf.c (__csinhf): Likewise.
51686         * math/s_ctanf.c (__ctanf): Likewise.
51687         * math/s_ctanhf.c (__ctanhf): Likewise.
51688         * math/s_ccosh.c (__ccoshf): Likewise.
51689         * math/s_cexp.c (__cexpl): Likewise.
51690         * math/s_csin.c (__csin): Likewise.
51691         * math/s_csinh.c (__csinh): Likewise.
51692         * math/s_ctan.c (__ctan): Likewise.
51693         * math/s_ctanh.c (ctanh): Likewise.
51694         * math/s_ccoshl.c (__ccoshl): Likewise.
51695         * math/s_cexpl.c (__cexpl): Likewise.
51696         * math/s_csinl.c (__csinl): Likewise.
51697         * math/s_csinhl.c (__csinhl): Likewise.
51698         * math/s_ctanl.c (__ctanl): Likewise.
51699         * math/s_ctanhl.c (__ctanhl): Likewise.
51701 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51703         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51704         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51705         (_IO_off_t): Define to __off_t, not _G_off_t.
51706         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51707         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51708         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51709         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51710         type of __dummy and __dummy2 fields.
51711         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51712         (_G_ssize_t): Likewise.
51713         (_G_off_t): Likewise.
51714         (_G_pid_t): Likewise.
51715         (_G_uid_t): Likewise.
51716         (_G_wchar_t): Likewise.
51717         (_G_wint_t): Likewise.
51718         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51719         (_G_ssize_t): Likewise.
51720         (_G_off_t): Likewise.
51721         (_G_pid_t): Likewise.
51722         (_G_uid_t): Likewise.
51723         (_G_wchar_t): Likewise.
51724         (_G_wint_t): Likewise.
51725         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51726         (_G_ssize_t): Likewise.
51727         (_G_off_t): Likewise.
51728         (_G_pid_t): Likewise.
51729         (_G_uid_t): Likewise.
51730         (_G_wchar_t): Likewise.
51731         (_G_wint_t): Likewise.
51733 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51735         * malloc/arena.c: Include malloc-sysdep.h.
51736         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51737         is sufficient to shrink the heap or an unmap is needed.
51738         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51739         new function check_may_shrink_heap.
51740         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51741         new function check_may_shrink_heap.
51743 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51745         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51746         comments.
51748 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51750         * catgets/test-gencat.sh: Add "set -e".
51751         * elf/tst-pathopt.sh: Likewise.
51752         * grp/tst_fgetgrent.sh: Likewise.
51753         * iconvdata/run-iconv-test.sh: Likewise.
51754         * intl/tst-gettext.sh: Likewise.
51755         * intl/tst-gettext2.sh: Likewise.
51756         * intl/tst-gettext4.sh: Likewise.
51757         * intl/tst-gettext6.sh: Likewise.
51758         * intl/tst-translit.sh: Likewise.
51759         * io/ftwtest-sh: Likewise.
51760         * libio/test-freopen.sh: Likewise.
51761         * malloc/tst-mtrace.sh: Likewise.
51762         * posix/globtest.sh: Likewise.
51763         * posix/tst-getconf.sh: Likewise.
51764         * posix/wordexp-tst.sh: Likewise.
51765         * stdio-common/tst-printf.sh: Likewise.
51766         * stdio-common/tst-unbputc.sh: Likewise.
51767         * stdlib/tst-fmtmsg.sh: Likewise.
51768         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51769         * catgets/Makefile: Do not specify -e option when running
51770         testsuite shell scripts.
51771         * elf/Makefile: Likewise.
51772         * grp/Makefile: Likewise.
51773         * iconvdata/Makefile: Likewise.
51774         * intl/Makefile: Likewise.
51775         * io/Makefile: Likewise.
51776         * libio/Makefile: Likewise.
51777         * malloc/Makefile: Likewise.
51778         * posix/Makefile: Likewise.
51779         * stdio-common/Makefile: Likewise.
51780         * stdlib/Makefile: Likewise.
51781         * sysdeps/x86_64/Makefile: Likewise.
51783         * io/ftwtest-sh: Add copyright header.
51784         * posix/globtest.sh: Likewise.
51785         * posix/tst-getconf.sh: Likewise.
51786         * posix/wordexp-tst.sh: Likewise.
51787         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51789 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51791         [BZ #13679]
51792         * Makeconfig (+link): Defined as $(+link-static) if
51793         $(build-shared) isn't yes.
51794         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51795         isn't yes.
51796         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51798         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51800         [BZ #14562]
51801         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51802         new chunk size with MALLOC_ALIGN_MASK.
51804 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51806         [BZ #5044]
51807         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51808         <rounding-mode.h>.
51809         (__printf_fphex): Determine rounding using get_rounding_mode and
51810         round_away.
51811         * stdio-common/tst-printf-round.c (struct hex_test): New
51812         structure.
51813         (hex_tests): New variable.
51814         (test_hex_in_one_mode): New function.
51815         (do_test): Also run tests for hex float output.
51817 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51819         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51820         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51821         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51822         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51823         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51824         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51825         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51826         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51828 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51830         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51831         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51832         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51833         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51835 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51837         [BZ #14579]
51838         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51839         mode only.
51840         * elf/tst-rtld-load-self.sh: New test.
51841         * elf/Makefile: Run it.
51843 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51845         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51846         (tst-writev-ENV): Remove.
51847         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51849 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51851         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51853 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51855         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51856         unconditional.
51857         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51858         Likewise.
51859         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51860         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51861         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51862         Likewise.
51864 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51866         [BZ #14587]
51867         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51868         * config.make.in (have-cpp-asm-debuginfo): Removed.
51869         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51870         * configure: Regenerated.
51872 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51874         [BZ #5044]
51875         * stdio-common/printf_fp.c: Include <stdbool.h> and
51876         <rounding-mode.h>.
51877         (___printf_fp): Determine rounding using get_rounding_mode and
51878         round_away.
51879         * stdio-common/tst-printf-round.c: New file.
51880         * stdio-common/Makefile (tests): Add tst-printf-round.
51881         (link-libm): New variable.
51882         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51884 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51886         [BZ #14576]
51887         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51888         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51889         Likewise.
51890         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51891         Likewise.
51893 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51895         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51896         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51897         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51898         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51900 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51902         [BZ #14518]
51903         * include/rounding-mode.h: New file.
51904         * sysdeps/generic/get-rounding-mode.h: Likewise.
51905         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51906         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51907         (MAX_VALUE): New macro.
51908         (MIN_VALUE): Likewise.
51909         (overflow_value): New function.
51910         (underflow_value): Likewise.
51911         (round_and_return): Use overflow_value and underflow_value to
51912         determine return values in overflow and underflow cases.  Use
51913         round_away to determine rounding depending on rounding mode.
51914         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51915         determine return values in overflow and underflow cases.
51916         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51917         (struct test_results): New structure.
51918         (struct test): Use struct test_results to store expected results
51919         for all rounding modes.
51920         (TEST): Include expected results for all rounding modes.
51921         (test_in_one_mode): New function.
51922         (do_test): Use test_in_one_mode to compute and check results.
51923         Check results for all rounding modes.
51924         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51925         $(link-libm).
51927 2012-12-09  Allan McRae  <allan@archlinux.org>
51929         * sysdeps/i386/fpu/libm-test-ulps: Update
51931 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51933         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51934         (_G_int32_t): Likewise.
51935         (_G_uint16_t): Likewise.
51936         (_G_uint32_t): Likewise.
51937         (_G_HAVE_BOOL): Likewise.
51938         (_G_HAVE_ATEXIT): Likewise.
51939         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51940         (_G_HAVE_IO_FILE_OPEN): Likewise.
51941         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51942         (_G_int32_t): Likewise.
51943         (_G_uint16_t): Likewise.
51944         (_G_uint32_t): Likewise.
51945         (_G_HAVE_BOOL): Likewise.
51946         (_G_HAVE_ATEXIT): Likewise.
51947         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51948         (_G_HAVE_IO_FILE_OPEN): Likewise.
51949         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51950         (_G_int32_t): Likewise.
51951         (_G_uint16_t): Likewise.
51952         (_G_uint32_t): Likewise.
51953         (_G_HAVE_BOOL): Likewise.
51954         (_G_HAVE_ATEXIT): Likewise.
51955         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51956         (_G_HAVE_IO_FILE_OPEN): Likewise.
51958 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51960         * csu/libc-tls.c: Update copyright years.
51962 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51964         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51965         [!_G_USING_THUNKS]: Remove conditional code.
51966         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51967         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51969         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51970         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51971         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51972         (_G_VTABLE_LABEL_PREFIX): Likewise.
51973         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51974         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51975         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51976         (_G_VTABLE_LABEL_PREFIX): Likewise.
51977         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51978         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51979         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51980         (_G_VTABLE_LABEL_PREFIX): Likewise.
51981         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51983 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51985         * libio/Makefile: Include ../Makeconfig before tests.
51986         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51987         only if $(build-shared) is yes.
51989         * iconv/gconv_db.c: Update copyright years.
51991 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51993         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51994         unwind info if defined PIC. Fix special cases description.
51995         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51997         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51998         DP_HI_MASK entry.
51999         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52001 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52003         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52005         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52006         is NULL.
52008         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52009         (LDLIBS-tst-chk4): This.
52010         (LDFLAGS-tst-chk5): Renamed to ...
52011         (LDLIBS-tst-chk5): This.
52012         (LDFLAGS-tst-chk6): Renamed to ...
52013         (LDLIBS-tst-chk6): This.
52014         (LDFLAGS-tst-lfschk4): Renamed to ...
52015         (LDLIBS-tst-lfschk4): This.
52016         (LDFLAGS-tst-lfschk5): Renamed to ...
52017         (LDLIBS-tst-lfschk5): This.
52018         (LDFLAGS-tst-lfschk6): Renamed to ...
52019         (LDLIBS-tst-lfschk6): This.
52021         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52022         on $(common-objpfx)soversions.mk.
52024 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52026         [BZ #10014]
52027         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52028         example host name.
52030 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52032         * malloc/arena.c (arena_get_retry): New function that gets
52033         another arena for the caller to try its request on.
52034         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52035         current arena cannot fulfill the request.
52036         (__libc_memalign): Likewise.
52037         (__libc_memalign): Likewise.
52038         (__libc_pvalloc): Likewise.
52039         (__libc_calloc): Likewise.
52041 2012-09-05  John Tobey  <john.tobey@gmail.com>
52043         [BZ #13542]
52044         * manual/arith.texi (Operations on Complex): Fix description
52045         of carg branch cut.
52047 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52049         [BZ #10014]
52050         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52051         host name.
52053         [BZ #10038]
52054         * manual/memory.texi (Memory): Make order of menu items match
52055         order of sections.
52057 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52059         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52060         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52061         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52063 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52065         * csu/libc-tls.c (static_dtv): Renamed to ...
52066         (_dl_static_dtv): This.  Make it global.
52067         (_dl_initial_dtv): Removed.
52068         (__libc_setup_tls): Updated.
52069         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52070         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52071         DL_INITIAL_DTV.
52073 2012-09-06  Petr Machata  <pmachata@redhat.com>
52075         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52076         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52077         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52078         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52082         [BZ #14545]
52083         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52084         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52085         freeing dtv[-1].
52087 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52089         [BZ #14544]
52090         * Makeconfig (link-static-before-libc): Replace $(+prector)
52091         with $(+prectorT).
52092         (link-static-after-libc): Replace $(+postctor) with
52093         $(+postctorT).
52094         (link-bounded): Replace $(+prector)/$(+postctor) with
52095         $(+prectorT)/$(+postctorT).
52096         (+prectorT): New macro.
52097         (+postctorT): Likewise.
52099 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52101         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52102         (round_str): Handle values above the maximum for IBM long double
52103         as inexact.
52104         * stdlib/tst-strtod-round.c (tests): Regenerated.
52106 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52108         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52109         assembler flag.
52110         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52111         zarch_nohighgprs around the zarch optimized routines.
52112         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52113         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52114         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52115         for zarch.
52117 2012-09-05  David S. Miller  <davem@davemloft.net>
52119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52121         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52122         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52123         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52124         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52125         entries.
52127 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52129         * malloc/arena.c: Fold copyright years.
52130         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52132 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52134         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52136 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52138         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52140 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52142         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52143         change internal state upon failure.
52145 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52147         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52148         * malloc/memusage.c (mmap): Likewise.
52149         (mmap64, mremap): Likewise.  Adjust name in comment.
52151 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52153         * libio/fileops.c: Fix typos in comments.
52154         * libio/oldfileops.c: Likewise.
52155         * libio/wfileops.c: Likewise.
52157 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52159         [BZ #1349]
52160         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52161         (tst-malloc-usable-ENV): Set environment for test case.
52162         * malloc/hooks.c (malloc_check_get_size): New function to get
52163         requested size.
52164         * malloc/malloc.c (musable): Use malloc_check_get_size.
52165         * malloc/tst-malloc-usable.c: New test case.
52167 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52169         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52171 2012-09-05  Allan McRae  <allan@archlinux.org>
52173         [BZ #13966]
52174         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52175         determine header location.
52176         * configure: Regenerated.
52178 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52180         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52181         float format.
52182         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52183         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52184         format.
52185         (test): Regenerate.
52187 2012-09-04  David S. Miller  <davem@davemloft.net>
52189         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52190         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52191         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52193 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52195         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52196         failures.
52198         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52200 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52202         [BZ #9914]
52203         * libio/iogetdelim.c: Include <limits.h>.
52204         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52205         + len + 1 would overflow.
52207 2012-09-03  Andreas Jaeger  <aj@suse.de>
52209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52210         * sysdeps/i386/fpu/libm-test-ulps: Update.
52212 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52214         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52215         Add s_sinf-sse2, s_conf-sse2.
52217         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52218         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52219         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52220         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52222         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52223         for using routine as __sinf_ia32.
52224         Use macro for function declaration and weak_alias.
52225         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52226         for using routine as __cosf_ia32.
52227         Use macro for function declaration and weak_alias.
52229         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52230         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52232         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52233         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52236         * math/libm-test.inc (cos_test): Add more test cases.
52237         (sin_test): Likewise.
52238         (sincos_test): Likewise.
52240 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52242         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52243         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52244         hidden.
52245         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52247 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52249         [BZ #14538]
52250         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52251         first element of the GOT.
52252         (elf_machine_load_address): Return the difference between
52253         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52255 2012-09-01  Allan McRae  <allan@archlinux.org>
52257         [BZ #13412]
52258         * configure.in (AWK): Require gawk version 3.0 or later.
52259         * configure: Regenerated.
52261 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52263         * sysdeps/unix/sysv/linux/kernel-features.h
52264         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52265         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52266         [__NR_clock_getres]: Make code unconditional.
52267         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52268         (clock_getcpuclockid): Remove code left unreachable by removal of
52269         conditionals.
52270         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52271         code unconditional.
52272         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52273         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52274         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52275         Make code unconditional.
52276         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52277         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52278         * sysdeps/unix/sysv/linux/clock_settime.c
52279         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52280         conditional code.
52281         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52282         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52284 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52286         [BZ #14476]
52287         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52288         scripts/test-installation.pl.
52290         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52291         and $ld_so_version if it is set.
52293 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52295         [BZ #14516]
52296         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52297         failure if reading from procfs failed.
52298         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52300 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52302         * sysdeps/unix/sysv/linux/kernel-features.h
52303         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52304         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52305         Remove conditional code.
52306         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52307         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52308         Remove conditional code.
52309         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52310         * sysdeps/unix/sysv/linux/i386/fxstat.c
52311         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52312         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52313         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52314         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52316         * sysdeps/unix/sysv/linux/i386/lxstat.c
52317         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52318         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52319         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52320         Remove conditional code.
52321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52322         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52323         Remove conditional code.
52324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52325         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52326         <kernel-features.h>.
52327         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52328         Remove.
52329         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52330         Remove conditional code.
52331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52332         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52333         Remove conditional.
52335 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52337         [BZ #5400]
52338         * NEWS: Add fixed bug number.
52340 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52342         [BZ #14519]
52343         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52344         underflowing exponent in case of negative sign.
52345         * stdlib/tst-strtod-round-data: Add more tests.
52346         * stdlib/tst-strtod-round.c (tests): Regenerated.
52348         [BZ #3479]
52349         * stdlib/strtod_l.c (NDIG): Remove.
52350         (HEXNDIG): Likewise.
52351         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52352         smallest representable value.
52353         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52354         lie within an exact representation of 1/2 ulp of the result.
52355         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52356         unconditionally.
52357         (TENS_P9_IDX): Define unconditionally.
52358         (TENS_P9_SIZE): Likewise.
52359         (TENS_P10_IDX): Likewise.
52360         (TENS_P10_SIZE): Likewise.
52361         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52362         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52363         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52364         entries for 10^2^13 and 10^2^14.
52365         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52366         (TENS_P13_IDX): Define.
52367         (TENS_P13_SIZE): Likewise.
52368         (TENS_P14_IDX): Likewise.
52369         (TENS_P14_SIZE): Likewise.
52370         (_fpioconst_pow10): Change array size to
52371         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52372         unconditional.
52373         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52374         1024]: Add entries for 10^2^13 and 10^2^14.
52375         [LAST_POW10 > _LAST_POW10]: Remove #error.
52376         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52377         (_fpioconst_pow10): Change array size to
52378         FPIOCONST_POW10_ARRAY_SIZE.
52379         * stdlib/gen-fpioconst.c: New file.
52380         * stdlib/gen-tst-strtod-round.c: Likewise.
52381         * stdlib/tst-strtod-round-data: Likewise.
52382         * stdlib/tst-strtod-round.c: Likewise.
52383         * stdlib/Makefile (tests): Add tst-strtod-round.
52385         [BZ #14459]
52386         * stdlib/strtod_l.c: Include <stdint.h>.
52387         (NDEBUG): Do not define.
52388         (round_and_return): Change EXPONENT parameter to type intmax_t.
52389         Rearrange calculations to avoid internal overflow possibilities.
52390         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52391         Rearrange calculations to avoid internal overflow possibilities.
52392         Assert that number fits inside MPNSIZE limbs.
52393         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52394         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52395         calculations and add assertions to avoid internal overflow
52396         possibilities.  Add casts to avoid signed/unsigned operations.
52397         * stdlib/tst-strtod-overflow.c: New file.
52398         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52400 2012-08-25  Marek Polacek  <polacek@redhat.com>
52402         * time/time.h: Fix some typos in comments.
52404 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52406         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52407         * posix/tst-rfc3484-2.c: Likewise.
52408         * posix/tst-rfc3484-3.c: Likewise.
52410 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52412         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52413         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52415 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52417         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52418         #include of fxstatat64.c.
52420 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52422         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52423         * shadow/getspent_r.c: Likewise.
52424         * shadow/getspnam.c: Likewise.
52425         * shadow/getspnam_r.c: Likewise.
52426         * gshadow/getsgent.c: Likewise.
52427         * gshadow/getsgent_r.c: Likewise.
52428         * gshadow/getsgnam.c: Likewise.
52429         * gshadow/getsgnam_r.c: Likewise.
52430         * inet/getnetbyad.c: Likewise.
52431         * inet/getnetbyad_r.c: Likewise.
52432         * inet/getnetbynm.c: Likewise.
52433         * inet/getnetbynm_r.c: Likewise.
52434         * inet/getnetent.c: Likewise.
52435         * inet/getnetent_r.c: Likewise.
52436         * inet/getproto.c: Likewise.
52437         * inet/getproto_r.c: Likewise.
52438         * inet/getprtent.c: Likewise.
52439         * inet/getprtent_r.c: Likewise.
52440         * inet/getprtname.c: Likewise.
52441         * inet/getprtname_r.c: Likewise.
52442         * inet/getrpcbyname.c: Likewise.
52443         * inet/getrpcbyname_r.c: Likewise.
52444         * inet/getrpcbynumber.c: Likewise.
52445         * inet/getrpcbynumber_r.c: Likewise.
52446         * inet/getrpcent.c: Likewise.
52447         * inet/getrpcent_r.c: Likewise.
52448         * inet/getaliasent.c: Likewise.
52449         * inet/getaliasent_r.c: Likewise.
52450         * inet/getaliasname.c: Likewise.
52451         * inet/getaliasname_r.c: Likewise.
52452         * nscd/getgrgid_r.c: Likewise.
52453         * nscd/getgrnam_r.c: Likewise.
52454         * nscd/gethstbyad_r.c: Likewise.
52455         * nscd/gethstbynm3_r.c: Likewise.
52456         * nscd/getpwnam_r.c: Likewise.
52457         * nscd/getpwuid_r.c: Likewise.
52458         * nscd/getsrvbynm_r.c: Likewise.
52459         * nscd/getsrvbypt_r.c: Likewise.
52460         * nscd/gai.c: Likewise.
52462         * configure.in (build_nscd): New substituted variable, set
52463         by --disable-build-nscd and defaults to $use_nscd.
52464         * configure: Regenerated.
52465         * config.make.in (build-nscd): New substituted variable.
52466         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52467         Change conditional to require [$(build-nscd) = yes] as well.
52468         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52470         [BZ# 13696]
52471         * configure.in (use_nscd): New substituted variable, set by
52472         --disable-nscd.  If enabled, define USE_NSCD.
52473         * configure: Regenerated.
52474         * config.h.in: Add USE_NSCD.
52475         * config.make.in (use-nscd): New substituted variable.
52476         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52477         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52478         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52479         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52480         (CFLAGS-getgrnam_r.c): Likewise.
52481         (CFLAGS-initgroups.c): Likewise.
52482         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52483         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52484         Variables removed.
52485         * inet/getnetgrent_r.c
52486         (nscd_setnetgrent): New function, broken out of ...
52487         (setnetgrent): ... here.  Call it.
52488         (innetgr): Conditionalize nscd bits on [USE_NSCD].
52489         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52490         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52491         * nscd/Makefile (routines, aux): Move definitions after include of
52492         Makeconfig.  Conditionalize on [$(use-nscd) != no].
52493         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52494         Conditionalize on [USE_NSCD].
52495         (is_nscd, nscd_init_cb): Likewise.
52496         (nss_load_library): Conditionalize init callback on [USE_NSCD].
52497         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52498         * nss/nss_db/db-init.c: Likewise.
52499         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52500         [USE_NSCD].
52501         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52502         (make_request): Use it.
52503         (cache_valid_p): New function.
52504         (__check_pf): Use it.
52505         * NEWS: Add item for --disable-nscd.
52507 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
52509         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52510         to support sed >= 4.2.1-20-ga9bf076.
52511         * configure: Regenerated.
52513 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52515         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52516         Conditionalize whole body on [IREL].
52518 2012-08-22  Jeff Law <law@redhat.com>
52520         [BZ #14505]
52521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52522         if the family is PF_UNSPEC.
52524 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
52526         * Makerules (lib-version): Rename from V.
52527         (install-lib-nosubdir): Change V to lib-version.
52529 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
52531         [BZ #14252]
52532         * powerpc32/power6/wcschr.c: New file.
52533         * powerpc32/power6/wcscpy.c: New file.
52534         * powerpc32/power6/wcsrchr.c: New file.
52535         * powerpc64/power6/wcschr.c: New file.
52536         * powerpc64/power6/wcscpy.c: New file.
52537         * powerpc64/power6/wcsrchr.c: New file.
52539 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52541         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52542         (two_way_short_needle): Use it.
52543         * string/strstr.c (AVAILABLE1_USES_J): Define.
52544         * string/strcasestr.c: Likewise.
52546         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52547         array references.
52548         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52550         [BZ #11607]
52551         * NEWS: Add an entry.
52552         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52553         define their defaults.
52554         (two_way_short_needle): Detect end-of-string on-the-fly.
52555         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52556         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52557         * string/bug-strcasestr1.c: New test.
52558         * string/Makefile: Run it.
52560 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52562         [BZ #11607]
52563         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52564         the first character.
52566 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52568         * csu/elf-init.c (__libc_csu_irel): Function removed.
52569         * csu/libc-start.c (apply_irel): New function.
52570         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52572 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52574         * sysdeps/unix/sysv/linux/kernel-features.h
52575         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52576         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52577         <kernel-features.h>.
52578         [__NR_fadvise64_64]: Make code unconditional.
52579         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52580         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52581         !__NR_fadvise64_64)]: Likewise.
52582         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52583         !__NR_fadvise64_64))]: Likewise.
52584         [__NR_fadvise64]: Make code unconditional.
52585         [!__NR_fadvise64]: Remove conditional code.
52586         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52587         <kernel-features.h>.
52588         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52589         unconditional.
52590         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52591         conditional code.
52592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52593         not include <kernel-features.h>.
52594         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52595         unconditional.
52596         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52597         conditional code.
52598         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52599         include <kernel-features.h>.
52600         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52601         unconditional.
52602         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52603         conditional code.
52605 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52607         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52608         slight instruction rearrangements per scrollpipe analysis.
52609         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52611 2012-08-20  Roland McGrath  <roland@hack.frob.com>
52613         * manual/syslog.texi (syslog; vsyslog, closelog):
52614         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52615         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52617         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52618         DSOCAPS to match condition on defining it.
52620 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
52622         * sysdeps/unix/sysv/linux/kernel-features.h
52623         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52625         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52626         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52628         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52629         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52631         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52632         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52634         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
52635         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
52637         * sysdeps/unix/sysv/linux/kernel-features.h
52638         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
52639         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
52640         unconditional.
52641         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52642         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
52643         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52644         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52645         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
52646         Make code unconditional.
52647         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52648         (__mmap64) [!__NR_mmap2]: Likewise.
52649         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
52650         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52651         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52652         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52653         [__NR_mmap2]: Make code unconditional.
52654         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52655         (__mmap64) [!__NR_mmap2]: Likewise.
52657 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52659         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52661 2012-08-18  Andreas Jaeger  <aj@suse.de>
52663         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52665 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52667         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52668         * include/unistd.h (__have_sock_cloexec): Likewise.
52669         (__have_pipe2): Likewise.
52670         (__have_dup3): Likewise.
52672 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52674         [BZ #9685]
52675         * include/unistd.h (__have_pipe2): Change define into an extern int.
52676         (__have_dup3): Likewise.
52677         * socket/have_sock_cloexec.c: Include fcntl.h.
52678         (__have_pipe2): New variable.
52679         (__have_dup3): Likewise.
52681 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52683         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52685 2012-08-17  Marek Polacek  <polacek@redhat.com>
52687         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52688         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52690 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52692         * configure.in: Add AC_SUBST for sysheaders.
52693         * configure: Regenerated.
52694         * config.make.in (sysheaders): New substituted variable.
52696         * sysdeps/unix/mkfifo.c: Moved ...
52697         * sysdeps/posix/mkfifo.c: ... here.
52698         * sysdeps/unix/mkfifoat.c: Moved ...
52699         * sysdeps/posix/mkfifoat.c: ... here.
52701         * sysdeps/unix/utime.c: Moved ...
52702         * sysdeps/posix/utime.c: ... here.
52704         * sysdeps/unix/time.c: Moved ...
52705         * sysdeps/posix/time.c: ... here.
52706         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52707         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52709         * sysdeps/unix/nice.c: Moved ...
52710         * sysdeps/posix/nice.c: ... here.
52712         * sysdeps/unix/alarm.c: Moved ...
52713         * sysdeps/posix/alarm.c: ... here.
52715         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52717 2012-08-17  Jeff Law <law@redhat.com>
52719         * intl/Makefile (codeset_mo): New variable.
52720         ($(codeset_mo)): New target.
52721         (tst-codeset.out): Depend on that.  Remove explicit rule.
52722         (tst-gettext3.out, tst-gettext5.out): Likewise.
52723         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52724         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52725         * intl/tst-codeset.sh: Remove.
52726         * intl/tst-gettext3.sh: Likewise.
52727         * intl/tst-gettext5.sh: Likewise.
52729 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52731         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52732         * sysdeps/unix/syscalls.list: ... here.
52734         * sysdeps/posix/getaddrinfo.c
52735         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52736         (gaiconf_init, gaiconf_reload): Use them.
52737         [!_STATBUF_ST_NSEC]
52738         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52739         Define using time_t rather than struct timespec.
52741         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52742         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52743         Macros removed.
52744         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52745         [!NO_THREADS].
52746         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52747         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52748         Likewise.
52750         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52751         __libc_cleanup_push argument.
52753         * bits/param.h: New file.
52754         * misc/sys/param.h: New file.
52755         * include/sys/param.h: New file.
52756         * misc/Makefile (headers): Add bits/param.h.
52757         * sysdeps/generic/sys/param.h: File removed.
52758         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52759         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52760         * sysdeps/mach/hurd/bits/param.h: New file.
52761         * sysdeps/mach/hurd/sys/param.h: File removed.
52763         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52764         last change.
52766         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52767         [_IO_MTSAFE_IO].
52768         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52769         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52770         New macros.
52772         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52773         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52774         rather than -D_IO_MTSAFE_IO conditionally.
52775         * stdio-common/Makefile (CPPFLAGS): Likewise.
52776         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52777         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52778         Use $(libio-mtsafe).
52779         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52780         of -D_IO_MTSAFE_IO.
52781         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52782         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52783         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52784         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52785         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52786         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52787         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52788         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52789         (CFLAGS-fread_u_chk.c): Likewise.
52790         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52791         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52792         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52793         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52794         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52795         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52796         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52797         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52798         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52800         * libio/Makefile: Test [$(libc-reentrant) = yes]
52801         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52803         * Makeconfig
52804         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52805         * sysdeps/pthread/configure: File removed.
52806         * sysdeps/pthread/Makeconfig: New file.
52807         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52808         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52810 2012-08-16  Gary Benson  <gbenson@redhat.com>
52812         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52813         unmapping the first object in a namespace.
52815 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52817         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52818         (__internal_setnetgrent): ... this.  Add internal_function to
52819         definition.  Add libc_hidden_def.
52820         (setnetgrent): Update caller.
52821         (internal_endnetgrent): Renamed to ...
52822         (__internal_endnetgrent): ... this.  Add internal_function to
52823         definition.  Add libc_hidden_def.
52824         (endnetgrent): Update caller.
52825         (internal_getnetgrent_r): Renamed to ...
52826         (__internal_getnetgrent_r): ... this.  Add internal_function to
52827         definition.  Add libc_hidden_def.
52828         (__getnetgrent_r): Update caller.
52829         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52831 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52833         * stdlib/longlong.h: Update from GCC.
52835 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52837         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52838         on _QL, which is set by umul_ppmm but never used.
52839         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52840         variables, which are set by GMP macros but never used.
52841         * stdio-common/_itowa.c (_itowa): Likewise.
52842         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52843         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52845 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52847         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52848         struct La_sh_regs is not constant.
52849         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52850         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52851         and struct La_sparc64_regs are not constant.
52853 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52855         * sysdeps/unix/sysv/linux/kernel-features.h
52856         (__ASSUME_POSIX_TIMERS): Remove.
52857         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52858         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52859         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52860         Make code unconditional.
52861         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52862         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52863         Make code unconditional.
52864         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52865         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52866         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52867         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52868         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52869         Make code unconditional.
52870         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52871         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52872         (__libc_missing_posix_timers): Remove.
52874 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52876         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52877         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52879         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52881         * elf/dl-sym.c: Include <stdlib.h>.
52883         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52884         constants, which avoids warnings in 32-bit builds.
52886         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52887         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52889         * misc/lseek.c: File moved to ...
52890         * io/lseek.c: ... here.
52892         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52894         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52895         shifting LEN more than 31 bits at once.
52897 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52899         [BZ #14195]
52900         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52901         segmentation fault for a case of two empty input strings.
52902         * string/test-strncasecmp.c (check1): Renamed to...
52903         (bz12205): ...this.
52904         (bz14195): Add new testcase for two empty input strings and N > 0.
52905         (test_main): Call new testcase, adapt for renamed function.
52907 2012-08-15  Andreas Jaeger  <aj@suse.de>
52909         [BZ #14090]
52910         * crypt/md5test2.c: New test, based on test supplied by Serge
52911         Belyshev <belyshev@depni.sinp.msu.ru>.
52912         * crypt/Makefile (xtests): Add md5test-giant..
52913         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52915 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52917         [BZ #14090]
52918         * crypt/md5.c (md5_process_block): Don't assume the buffer
52919         length is less than 2**32.
52920         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52921         length is less than 2**64.
52923 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52925         * string/str-two-way.h: Include <sys/param.h>.
52926         (MAX): Macro removed.
52928         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52929         Move #define and #undef of memmove to just before and after
52930         including <string.h>.
52932         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52933         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52934         and after including <string.h>.  Move declarations of
52935         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52936         to before #include "string/memmove.c".
52938         * include/dirent.h: Declare __getdirentries.
52940         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52941         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52943 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52945         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52946         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52947         * sysdeps/i386/configure: Regenerated.
52948         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52949         STABS_CURRENT_FILE, and STABS_FUN.
52950         (END): Remove call to STABS_FUN_END.
52951         (STABS_CURRENT_FILE1): Delete.
52952         (STABS_CURRENT_FILE): Likewise.
52953         (STABS_FUN): Likewise.
52954         (STABS_FUN_END): Likewise.
52955         (STABS_FUN2): Likewise.
52956         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52957         * sysdeps/x86_64/configure: Regenerated.
52959 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52961         * elf/dl-open.c: Include <atomic.h>.
52962         * elf/dl-lookup.c: Likewise.
52964 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52966         * sysdeps/unix/sysv/linux/kernel-features.h
52967         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52968         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52969         unconditionally.
52970         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52971         unconditionally.
52972         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52973         condition on __ASSUME_CLONE_THREAD_FLAGS.
52975 2012-08-14  Andreas Jaeger  <aj@suse.de>
52977         * sysdeps/i386/fpu/libm-test-ulps: Update.
52979 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52981         * include/atomic.h (atomic_exchange_and_add): Split into ...
52982         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52983         New atomic macros.
52985 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52989 2012-08-13  Jeff Law <law@redhat.com>
52991         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52992         null byte in the output string.
52994 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52996         * sysdeps/unix/sysv/linux/kernel-features.h
52997         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52998         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52999         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53000         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53001         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53002         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53003         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53005 2012-08-09  Jeff Law <law@redhat.com>
53007         [BZ #13939]
53008         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53009         When avoid_arena is set, don't retry in the that arena.  Pick the
53010         next one, whatever it might be.
53011         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53012         (arena_lock): Pass in new parameter to arena_get2.
53013         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53014         arena_get2.
53015         (__libc_malloc): Unify retrying after main arena failure with
53016         __libc_memalign version.
53017         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53019 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53021         [BZ #14166]
53022         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53023         to __redirect_strstr.
53024         (__strstr_sse42): Use typeof __redirect_strstr.
53025         (__strstr_ia32): Likewise.
53026         (__libc_strstr): New prototype.
53027         (strstr): Renamed to ...
53028         (__libc_strstr): This.
53029         (strstr): New strong alias of __libc_strstr.
53030         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53031         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53032         __redirect_time.
53033         Include <time.h>.
53034         (__libc_time): New prototype.
53035         (time_ifunc): Replace time with __libc_time.
53036         (time): New strong alias and hidden definition of __libc_time.
53037         (__GI_time): Remove strong alias.
53038         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53039         Include <stddef.h>.
53040         (memmove): Redefined to __redirect_memmove.
53041         (__memmove_sse2): Use typeof __redirect_memmove.
53042         (__memmove_ssse3): Likewise.
53043         (__memmove_ssse3_back): Likewise.
53044         (__libc_memmove): New prototype.
53045         (memmove): Renamed to ...
53046         (__libc_memmove): This.
53047         (memmove): New strong alias of __libc_memmove.
53049 2012-08-08  Mark Salter  <msalter@redhat.com>
53051         * elf/elf.h
53052         (R_MN10300_TLS_GD): Define.
53053         (R_MN10300_TLS_LD): Likewise.
53054         (R_MN10300_TLS_LDO): Likewise.
53055         (R_MN10300_TLS_GOTIE): Likewise.
53056         (R_MN10300_TLS_IE): Likewise.
53057         (R_MN10300_TLS_LE): Likewise.
53058         (R_MN10300_TLS_DTPMOD): Likewise.
53059         (R_MN10300_TLS_DTPOFF): Likewise.
53060         (R_MN10300_TLS_TPOFF): Likewise.
53061         (R_MN10300_SYM_DIFF): Likewise.
53062         (R_MN10300_ALIGN): Likewise.
53063         (R_MN10300_NUM): Update.
53065 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53067         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53068         Remove.
53070 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53072         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53074         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53075         sysdeps/unix -> sysdeps/posix move.
53076         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53078 2012-08-07      Allan McRae     <allan@archlinux.org>
53080         [BZ #14303]
53081         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53082         (SUNOS_CPP): Likewise.
53083         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53084         not found.
53085         (open_input): Call CPP using execvp.
53087 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53089         * sysdeps/unix/sysv/linux/kernel-features.h
53090         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53091         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53092         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53093         (__ASSUME_WAITID_SYSCALL): Likewise.
53094         * sysdeps/unix/sysv/linux/dl-execstack.c
53095         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53096         code unconditional.
53097         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53098         conditional code.
53099         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53100         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53101         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53102         code.
53103         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53104         unconditional.
53105         [__ASSUME_WAITID_SYSCALL]: Likewise.
53106         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53108 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53110         * sysdeps/unix/closedir.c: Renamed to ...
53111         * sysdeps/posix/closedir.c: ... here.
53112         * sysdeps/unix/dirfd.c: Renamed to ...
53113         * sysdeps/posix/dirfd.c: ... here.
53114         * sysdeps/unix/dirstream.h: Renamed to ...
53115         * sysdeps/posix/dirstream.h: ... here.
53116         * sysdeps/unix/fdopendir.c: Renamed to ...
53117         * sysdeps/posix/fdopendir.c: ... here.
53118         * sysdeps/unix/opendir.c: Renamed to ...
53119         * sysdeps/posix/opendir.c: ... here.
53120         * sysdeps/unix/readdir.c: Renamed to ...
53121         * sysdeps/posix/readdir.c: ... here.
53122         * sysdeps/unix/readdir_r.c: Renamed to ...
53123         * sysdeps/posix/readdir_r.c: ... here.
53124         * sysdeps/unix/rewinddir.c: Renamed to ...
53125         * sysdeps/posix/rewinddir.c: ... here.
53126         * sysdeps/unix/seekdir.c: Renamed to ...
53127         * sysdeps/posix/seekdir.c: ... here.
53128         * sysdeps/unix/telldir.c: Renamed to ...
53129         * sysdeps/posix/telldir.c: ... here.
53130         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53131         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53132         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53133         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53135         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53136         * bits/fcntl.h: ... here.
53138         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53139         not 0.
53140         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53141         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53142         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53143         (struct flock): Move l_start, l_len to the beginning.
53144         Use __pid_t for l_pid.
53145         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53146         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53147         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53148         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53149         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53150         [__USE_LARGEFILE64] (struct flock64): New type.
53151         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53153         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53154         * bits/dirent.h: ... here.
53156         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53157         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53159 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53161         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53162         Change from 2.6.0 to 2.6.16.
53163         * sysdeps/unix/sysv/linux/configure: Regenerated.
53164         * sysdeps/unix/sysv/linux/kernel-features.h
53165         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53166         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53167         version.
53168         (__ASSUME_UTIMES): Likewise.
53169         (__ASSUME_CLONE_STOPPED): Remove.
53170         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53171         architectures, not kernel version.
53172         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53173         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53174         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53175         (__ASSUME_WAITID_SYSCALL): Likewise.
53176         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53177         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53178         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53179         refer to older versions.
53181 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53183         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53184         Define alphasort64 as an alias.
53185         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53186         Define versionsort64 as an alias.
53187         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53188         Define scandir64 as an alias.
53189         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53190         Define scandirat64 as an alias.
53191         * dirent/alphasort64.c (alphasort64):
53192         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53193         * dirent/versionsort64.c: Likewise.
53194         * dirent/scandir64.c: Likewise.
53195         * dirent/scandirat64.c: Likewise.
53196         * sysdeps/wordsize-64/alphasort.c: File removed.
53197         * sysdeps/wordsize-64/alphasort64.c: File removed.
53198         * sysdeps/wordsize-64/scandir.c: File removed.
53199         * sysdeps/wordsize-64/scandir64.c: File removed.
53200         * sysdeps/wordsize-64/scandirat.c: File removed.
53201         * sysdeps/wordsize-64/scandirat64.c: File removed.
53202         * sysdeps/wordsize-64/versionsort.c: File removed.
53203         * sysdeps/wordsize-64/versionsort64.c: File removed.
53204         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53205         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53206         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53207         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53208         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53209         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53210         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53211         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53213         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53214         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53215         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53216         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53217         [defined __arch64__ || defined __sparcv9]
53218         (__INO_T_MATCHES_INO64_T): New macro.
53219         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53220         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53221         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53222         * sysdeps/unix/sysv/linux/bits/dirent.h
53223         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53224         (_DIRENT_MATCHES_DIRENT64): New macro.
53226         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53227         Define lockf64 as an alias.
53228         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53229         Define fseeko64 as an alias.
53230         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53231         Define ftello64 as an alias.
53232         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53233         Define _IO_fgetpos64 and fgetpos64 as aliases.
53234         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53235         Define _IO_fsetpos64 and fsetpos64 as aliases.
53236         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53237         Conditionalize body on this.
53238         * libio/fseeko64.c: Likewise.
53239         * libio/ftello64.c: Likewise.
53240         * libio/iofgetpos64.c: Likewise.
53241         * libio/iofsetpos64.c: Likewise.
53242         * sysdeps/wordsize-64/lockf.c: File removed.
53243         * sysdeps/wordsize-64/lockf64.c: File removed.
53244         * sysdeps/wordsize-64/fseeko.c: File removed.
53245         * sysdeps/wordsize-64/fseeko64.c: File removed.
53246         * sysdeps/wordsize-64/ftello.c: File removed.
53247         * sysdeps/wordsize-64/ftello64.c: File removed.
53248         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53249         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53250         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53251         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53252         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53253         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53254         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53255         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53256         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53257         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53258         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53259         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53260         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53261         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53263         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53264         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53265         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53266         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53267         [defined __arch64__ || defined __sparcv9]
53268         (__OFF_T_MATCHES_OFF64_T): New macro.
53269         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53270         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53271         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53272         (__OFF_T_MATCHES_OFF64_T): New macro.
53274 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53276         * stdlib/secure-getenv.c (__secure_getenv): Replace
53277         GLIBC_2_16 with GLIBC_2_17.
53279 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53281         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53282         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53284 2012-08-03  David S. Miller  <davem@davemloft.net>
53286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53288 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53291         Remove.
53292         (__ASSUME_CORRECT_SI_PID): Likewise.
53293         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53294         (__ASSUME_TMPFS_NAME): Likewise.
53295         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53296         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53297         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53298         (HAVE_AUX_SECURE): Make definition unconditional.
53299         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53300         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53302 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53304         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53305         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53306         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53307         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53308         __eloop_threshold instead of SYMLOOP_MAX.
53310         * sysdeps/generic/eloop-threshold.h: New file.
53311         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53312         of MAXSYMLINKS.
53313         * elf/chroot_canon.c (chroot_canon): Likewise.
53315 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53317         [BZ #13717]
53318         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53319         Change to 2.6.0 everywhere.
53320         * sysdeps/unix/sysv/linux/configure: Regenerated.
53321         * sysdeps/unix/sysv/linux/kernel-features.h
53322         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53323         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53324         kernel versions.
53325         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53326         (__ASSUME_FUTEX_REQUEUE): Remove.
53327         (__ASSUME_STATFS64): Define unconditionally.
53328         (__ASSUME_AT_SECURE): Likewise.
53329         (__ASSUME_CORRECT_SI_PID): Likewise.
53330         (__ASSUME_TGKILL): Define without depending on kernel version for
53331         i386.
53332         (__ASSUME_UTIMES): Likewise.
53333         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53334         kernel version.
53335         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53336         (__ASSUME_TMPFS_NAME): Likewise.
53337         * README: Update reference to Linux kernel versions.
53339 2012-08-02  Marek Polacek  <polacek@redhat.com>
53341         [BZ# 14150]
53342         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53343         libc_cv_asm_type_prefix with %.
53344         * configure: Regenerated.
53345         * include/libc-symbols.h: Remove comment about
53346         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53347         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53348         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53349         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53350         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53351         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53352         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53353         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53354         * elf/tst-unique2mod1.c: Likewise.
53355         * elf/tst-unique1mod2.c: Likewise.
53356         * elf/tst-unique1mod1.c: Likewise.
53357         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53358         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53359         Replace ASM_TYPE_DIRECTIVE with .type.
53360         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53361         * sysdeps/i386/sysdep.h: Likewise.
53362         * sysdeps/x86_64/sysdep.h: Likewise.
53363         * sysdeps/sh/sysdep.h: Likewise.
53364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53365         Do not define ASM_TYPE_DIRECTIVE.
53366         * sysdeps/powerpc/sysdep.h: Likewise.
53367         * sysdeps/powerpc/powerpc32/sysdep.h:
53368         Replace ASM_TYPE_DIRECTIVE with .type.
53369         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53370         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53371         * sysdeps/i386/fpu/e_powf.S: Likewise.
53372         * sysdeps/i386/fpu/e_expl.S: Likewise.
53373         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53374         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53375         * sysdeps/i386/fpu/e_pow.S: Likewise.
53376         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53377         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53378         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53379         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53380         * sysdeps/i386/fpu/e_log2.S: Likewise.
53381         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53382         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53383         * sysdeps/i386/fpu/e_powl.S: Likewise.
53384         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53385         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53386         * sysdeps/i386/fpu/e_logl.S: Likewise.
53387         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53388         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53389         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53390         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53391         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53392         * sysdeps/i386/fpu/e_log.S: Likewise.
53393         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53394         * sysdeps/i386/fpu/e_logf.S: Likewise.
53395         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53396         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53397         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53398         * sysdeps/i386/fpu/e_log10.S: Likewise.
53399         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53400         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53401         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53402         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53403         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53404         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53405         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53406         * sysdeps/i386/i686/strtok.S: Likewise.
53407         * sysdeps/i386/i386-mcount.S: Likewise.
53408         * sysdeps/i386/strtok.S: Likewise.
53409         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53410         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53411         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53412         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53413         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53414         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53415         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53416         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53417         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53418         * sysdeps/x86_64/_mcount.S: Likewise.
53419         * sysdeps/x86_64/strtok.S: Likewise.
53420         * sysdeps/sh/_mcount.S: Likewise.
53422 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53424         * libio/iofopen.c: Include <fcntl.h>.
53425         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53426         (_IO_fopen64, fopen64): Define as aliases.
53427         * libio/iofopen64.c: Include <fcntl.h>.
53428         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53429         Conditionalize body on this.
53430         * sysdeps/wordsize-64/iofopen.c: File removed.
53431         * sysdeps/wordsize-64/iofopen64.c: File removed.
53433 2012-08-01  Marek Polacek  <polacek@redhat.com>
53435         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53436         Use dlfcn directly instead of a variable.
53437         (binfmt-subdir): Do not define.
53438         (dlfcn): Likewise.
53440 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53442         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53443         Remove all definitions.
53444         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53445         <kernel-features.h>.
53446         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53447         (miss_F_GETOWN_EX): Remove all definitions.
53448         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53449         macro definition.
53450         [!__ASSUME_FCNTL64]: Remove conditional code.
53451         [__ASSUME_FCNTL64]: Make code unconditional.
53452         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53453         <kernel-features.h>.
53454         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53455         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53456         (lockf64) [__NR_fcntl64]: Make code unconditional.
53457         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53459         * sysdeps/unix/sysv/linux/kernel-features.h
53460         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53461         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53462         Make code unconditional.
53463         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53464         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53466         [__NR_vfork]: Make code unconditional.
53467         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53468         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53470         [__NR_vfork]: Make code unconditional.
53471         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53472         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53474 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53476         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53477         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53479         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53480         Define mkstemp64 as an alias.
53481         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53482         Define mkstemps64 as an alias.
53483         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53484         Define mkostemp64 as an alias.
53485         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53486         Define mkostemps64 as an alias.
53487         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53488         Conditionalize body on this.
53489         * misc/mkostemp64.c: Likewise.
53490         * misc/mkostemps64.c: Likewise.
53491         * misc/mkstemps64.c: Likewise.
53492         * sysdeps/wordsize-64/mkstemp64.c: File removed.
53493         * sysdeps/wordsize-64/mkostemp64.c: File removed.
53494         * sysdeps/wordsize-64/mkostemp.c: File removed.
53495         * sysdeps/wordsize-64/mkstemp.c: File removed.
53496         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53497         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53498         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53499         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53501         [BZ #14138]
53502         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53503         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53504         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53505         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53507         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53508         compat_symbol macros from <shlib-compat.h> rather than the underlying
53509         default_symbol_version and symbol_version macros, so that DEFAULT
53510         lines in shlib-versions are respected.
53511         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53513 2012-08-01  Florian Weimer  <fweimer@redhat.com>
53515         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53516         Declare with warn_unused_result.
53517         (setgid, setregid, setegid, setresgid): Likewise.
53518         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53519         Likewise.
53520         * WUR-REPORT: Remove set*id functions.
53522 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
53524         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53526 2012-07-31  Roland McGrath  <roland@hack.frob.com>
53528         [BZ #10191]
53529         * include/sys/socket.h (__libc_accept, __libc_accept4):
53530         Add attribute_hidden.
53531         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53533         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53534         use of PTR_MANGLE.
53535         * inet/getnetgrent_r.c (setup): Likewise.
53537         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53539 2012-07-31  David S. Miller  <davem@davemloft.net>
53541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53543 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53545         [BZ #13629]
53546         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53547         value between 1.0 and 2.0 and smaller part has absolute value less
53548         than 1.0.
53549         * math/s_clog10.c (__clog10): Likewise.
53550         * math/s_clog10f.c (__clog10f): Likewise.
53551         * math/s_clog10l.c (__clog10l): Likewise.
53552         * math/s_clogf.c (__clogf): Likewise.
53553         * math/s_clogl.c (__clogl): Likewise.
53554         * math/libm-test.inc (clog_test): Add more tests.
53555         (clog10_test): Likewise.
53556         * sysdeps/i386/fpu/libm-test-ulps: Update.
53557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53559 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53561         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53562         Exit with zero in case no suitable GID is found, and write a
53563         message to standard error.
53565 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53567         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53568         rather than to 1.
53569         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53570         (MAXPATHLEN): Removed.
53571         (NOGROUP, NODEV): New macros.
53572         (setbit, clrbit, isset, isclr): New macros.
53573         (howmany, roundup, powerof2): New macros.
53574         (DEV_BSIZE): New macro.
53576         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53577         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53579         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53580         definition on [!__NO_LONG_DOUBLE_MATH].
53582         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53583         PTR_MANGLE and PTR_DEMANGLE.
53585         * socket/accept4.c (accept4): Rename to __libc_accept4.
53586         Define accept4 as a weak alias.
53588         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53589         on [_DIRENT_HAVE_D_TYPE].
53590         * io/ftw.c (ftw_dir): Likewise.
53592         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53594         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53596         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53597         Use the BSD numbers rather than the arbitrary ones we had.
53598         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53599         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53600         (SIGXCPU, SIGXFSZ): New macros.
53601         (_NSIG): Now 32.
53603         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53604         initializer on [_LIBC_REENTRANT].
53606         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53607         definitions inside [_POSIX_MAPPED_FILES].
53609         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53611         * dirent/opendir.c: Include <fcntl.h>.
53613         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53614         (__libc_getspecific): Likewise.
53615         (__libc_key_create): Likewise.
53617         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53618         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53619         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53620         (tmpfile64): Define as alias.
53621         * sysdeps/wordsize-64/tmpfile.c: File removed.
53622         * sysdeps/wordsize-64/tmpfile64.c: File removed.
53623         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53624         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53626         * stdio-common/vfscanf.c: Include <stdbool.h>.
53627         * nss/makedb.c: Likewise.
53628         * stdio-common/_i18n_number.h: Likewise.
53629         * argp/argp-help.c: Likewise.
53630         * posix/wordexp.c: Likewise.
53631         * sysdeps/posix/spawni.c: Likewise.
53632         * nss/nss_files/files-initgroups.c: Likewise.
53633         * stdio-common/reg-modifier.c: Include <stdlib.h>.
53634         * nss/nss_files/files-initgroups.c: Likewise.
53635         * nss/nss_db/db-netgrp.c: Likewise.
53636         * nss/nss_db/db-initgroups.c: Likewise.
53637         * io/fchmodat.c: Include <sys/stat.h>.
53639         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
53640         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
53642         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
53643         [HAVE_MMAP].
53645         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
53646         Add multiple inclusion protection.
53648 2012-07-27  David S. Miller  <davem@davemloft.net>
53650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53652 2012-07-27  Gary Benson  <gbenson@redhat.com>
53654         [BZ #14298]
53655         * elf/rtld.c: Include <stap-probe.h>.
53656         (dl_main): Added static probes "init_start" and "init_complete".
53657         * elf/dl-load.c: Include <stap-probe.h>.
53658         (lose): Take new parameter "nsid".
53659         Added static probe "map_failed".
53660         (_dl_map_object_from_fd): Pass namespace id to lose.
53661         Added static probe "map_start".
53662         (open_verify): Pass namespace id to lose.
53663         * elf/dl-open.c: Include <stap-probe.h>.
53664         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53665         and "reloc_complete".
53666         * elf/dl-close.c: Include <stap-probe.h>.
53667         (_dl_close_worker): Added static probes "unmap_start" and
53668         "unmap_complete".
53669         * elf/rtld-debugger-interface.txt: New file documenting the above.
53671 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53673         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53674         rather than a string variable.
53675         * sunrpc/rpc_main.c (h_output): Likewise.
53676         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53678 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53680         * inet/check_native.c: New file.
53682 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53684         [BZ #13629]
53685         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53686         if larger part has absolute value 1.0.
53687         * math/s_clog10.c (__clog10): Likewise.
53688         * math/s_clog10f.c (__clog10f): Likewise.
53689         * math/s_clog10l.c (__clog10l): Likewise.
53690         * math/s_clogf.c (__clogf): Likewise.
53691         * math/s_clogl.c (__clogl): Likewise.
53692         * math/libm-test.inc (clog_test): Add more tests.
53693         (clog10_test): Likewise.
53694         * sysdeps/i386/fpu/libm-test-ulps: Update.
53695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53697         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53698         (pltexit): Likewise.
53699         (La_regs): Likewise.
53700         (La_retval): Likewise.
53701         (int_retval): Likewise.
53702         Update #error for removed macros to refer only to definitions in
53703         tst-audit.h.
53704         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53705         macro.
53706         (pltexit): Likewise.
53707         (La_regs): Likewise.
53708         (La_retval): Likewise.
53709         (int_retval): Likewise.
53710         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53711         macro.
53712         (pltexit): Likewise.
53713         (La_regs): Likewise.
53714         (La_retval): Likewise.
53715         (int_retval): Likewise.
53716         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53717         macro.
53718         (pltexit): Likewise.
53719         (La_regs): Likewise.
53720         (La_retval): Likewise.
53721         (int_retval): Likewise.
53722         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53723         macro.
53724         (pltexit): Likewise.
53725         (La_regs): Likewise.
53726         (La_retval): Likewise.
53727         (int_retval): Likewise.
53728         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53729         macro.
53730         (pltexit): Likewise.
53731         (La_regs): Likewise.
53732         (La_retval): Likewise.
53733         (int_retval): Likewise.
53734         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53735         macro.
53736         (pltexit): Likewise.
53737         (La_regs): Likewise.
53738         (La_retval): Likewise.
53739         (int_retval): Likewise.
53740         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53741         macro definitions in tst-audit.h.
53742         * sysdeps/i386/tst-audit.h: New file.
53743         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53744         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53745         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53746         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53747         * sysdeps/sh/tst-audit.h: Likewise.
53748         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53749         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53750         * sysdeps/x86_64/tst-audit.h: Likewise.
53752 2012-07-26  Andreas Jaeger  <aj@suse.de>
53754         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53755         ptrace.
53757         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53758         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53759         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53760         PTRACE_O_MASK.
53761         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53762         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53763         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53765         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53766         value.
53768         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53769         _sigsys.
53770         (si_call_addr, si_syscall, si_arch): Define new macro.
53771         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53772         _sigsys.
53773         (si_call_addr, si_syscall, si_arch): Define new marcro.
53774         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53775         _sigsys.
53776         (si_call_addr, si_syscall, si_arch): Define new macro.
53777         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53778         _sigsys.
53779         (si_call_addr, si_syscall, si_arch): Define new macro.
53781 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53783         [BZ #13717]
53784         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53785         Change to 2.4.21 where previously 2.4.1.
53786         * sysdeps/unix/sysv/linux/configure: Regenerated.
53787         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53788         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53789         Linux kernel version.
53790         (__ASSUME_STD_AUXV): Remove.
53791         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53792         kernel version.
53793         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53794         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53795         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53796         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53797         (__ASSUME_NETLINK_SUPPORT): Likewise.
53798         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53799         (__no_netlink_support): Remove conditional definition.
53800         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53801         Remove.
53802         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53803         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53804         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53805         (if_nameindex_ioctl): Remove.
53806         (if_nameindex_netlink): Do not handle __no_netlink_support.
53807         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53808         code.
53809         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53810         Remove conditional code.
53811         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53812         code.
53813         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53814         unconditional.
53815         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53816         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53817         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53818         Remove.
53819         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53820         [!__ASSUME_STD_AUXV]: Remove conditional code.
53821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53822         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53823         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53825         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53826         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53827         code.
53828         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53830         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53831         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53832         conditional code.
53833         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53835         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53836         code.
53837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53838         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53839         conditional code.
53840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53841         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53842         code unconditional.
53843         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53844         conditional code.
53845         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53846         unconditional.
53847         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53848         conditional code.
53849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53850         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53851         unconditional.
53852         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53853         conditional code.
53854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53855         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53856         code unconditional.
53857         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53858         conditional code.
53859         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53860         unconditional.
53861         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53862         conditional code.
53863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53864         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53865         code unconditional.
53866         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53867         conditional code.
53868         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53869         unconditional.
53870         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53871         conditional code.
53873 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53875         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53876         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53877         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53878         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53879         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53880         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53881         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53882         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53883         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53884         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53885         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53886         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53887         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53888         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53889         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53890         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53891         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53892         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53893         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53894         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53895         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53896         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53897         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53899 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53901         * Versions.def: Add GLIBC_2.17.
53902         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53903         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53904         Introduce __libc_secure_getenv.
53905         * stdlib/Versions (2.17): Add secure_getenv
53906         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53907         * stdlib/secure-getenv.c: Rename __secure_getenv to
53908         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53909         symbol __secure_getenv for GLIBC_2.0.
53910         * stdlib/tst-secure-getenv.c: New.
53911         * stdlib/Makefile (tests): Add testcase.
53912         * manual/startup.texi (Environment Access): Document
53913         secure_getenv.
53914         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53915         __libc_secure_getenv.
53916         * inet/ruserpass.c (ruserpass): Likewise.
53917         * malloc/mtrace.c (mtrace): Likewise.
53918         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53919         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53920         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53921         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53922         HAVE_SECURE_GETENV.
53923         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53924         __secure_getenv to __libc_secure_getenv.
53925         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53927         Likewise.
53928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53929         Likewise.
53930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53932         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53938 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53940         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53941         (struct La_i86_retval): Likewise.
53942         (struct La_x86_64_regs): Likewise.
53943         (struct La_x86_64_retval): Likewise.
53944         (struct La_x32_regs): Likewise.
53945         (struct La_x32_retval): Likewise.
53946         (struct La_ppc32_regs): Likewise.
53947         (struct La_ppc32_retval): Likewise.
53948         (struct La_ppc64_regs): Likewise.
53949         (struct La_ppc64_retval): Likewise.
53950         (struct La_sh_regs): Likewise.
53951         (struct La_sh_retval): Likewise.
53952         (struct La_s390_32_regs): Likewise.
53953         (struct La_s390_32_retval): Likewise.
53954         (struct La_s390_64_regs): Likewise.
53955         (struct La_s390_64_retval): Likewise.
53956         (struct La_sparc32_regs): Likewise.
53957         (struct La_sparc32_retval): Likewise.
53958         (struct La_sparc64_regs): Likewise.
53959         (struct La_sparc64_retval): Likewise.
53960         (struct audit_ifaces): Remove architecture-specific pltenter and
53961         pltexit members.
53962         * sysdeps/i386/ldsodefs.h: New file.
53963         * sysdeps/powerpc/ldsodefs.h: Likewise.
53964         * sysdeps/s390/ldsodefs.h: Likewise.
53965         * sysdeps/sh/ldsodefs.h: Likewise.
53966         * sysdeps/sparc/ldsodefs.h: Likewise.
53967         * sysdeps/x86_64/ldsodefs.h: Likewise.
53969 2012-07-25  Marek Polacek  <polacek@redhat.com>
53971         [BZ #6808]
53972         * math/libm-test.inc (yn_test): Add another test.
53973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53974         to ERANGE when the result is +-Inf.
53975         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53976         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53977         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53978         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53980 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53982         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53983         equal to 0.
53984         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53985         clock_t.
53986         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53988 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53990         * configure.in <sysdeps resolving>: Correct printing
53991         Implies_before.
53992         * configure: Regenerate.
53994 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53996         * math/w_ilogb.c: Include <limits.h>.
53997         * math/w_ilogbl.c: Likewise.
53999 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54001         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54002         va_copy.  Document allowing for unavailable va_copy only as
54003         pre-C99 compatibility.
54004         * manual/string.texi (Copying and Concatenation): Use va_copy
54005         instead of __va_copy in concat example.
54007 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54009         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54010         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54011         it if not null.
54013         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54014         with O_NOLINK passed to __file_name_lookup.
54016         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54017         with O_NOLINK passed to __file_name_lookup.
54019         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54020         negative N or less than NGIDS.
54022         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54023         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54024         enough.  Use memcpy instead of strncpy.
54026 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54028         * elf/Makefile (check-data): Remove.
54029         (localplt.data): New vpath directive.
54030         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54031         instead of $(check-data).
54032         * scripts/data/localplt-generic.data: Move to ...
54033         * sysdeps/generic/localplt.data: ... here.
54034         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54035         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54036         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54038         ... here.
54039         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54041         ... here.
54042         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54044         ... here.
54045         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54047         ... here.
54048         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54050         ... here.
54051         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54053         ... here.
54055 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54057         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54058         PPC32 and PPC64 files.
54059         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54060         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54062 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54064         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54065         __makecontext_ret to ...
54066         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54067         ... here and call exit if uc_link is NULL.  New file.
54068         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54069         __makecontext_ret.S.
54070         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54071         __makecontext_ret to ...
54072         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54073         ... here and call exit if uc_link is NULL.  New file.
54074         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54075         __makecontext_ret.S.
54077 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54079         * elf/elf.h (R_390_IRELATIVE): New definition.
54080         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54081         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54082         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54083         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54084         (elf_machine_lazy_rel): Likewise.
54085         * sysdeps/s390/dl-irel.h: New file.
54086         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54087         * sysdeps/s390/s390-64/memset.S: New asm code.
54088         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54089         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54090         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54091         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54092         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54093         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54094         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54095         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54096         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54097         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54098         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54099         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54100         * sysdeps/s390/s390-32/memset.S: New asm code.
54101         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54103 2012-07-17  Marek Polacek  <polacek@redhat.com>
54105         [BZ #14349]
54106         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54107         * sysdeps/s390/s390-64/configure.in: Likewise.
54108         * sysdeps/sparc/configure.in: Likewise.
54109         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54110         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54111         * sysdeps/i386/configure.in: Likewise.
54112         * sysdeps/x86_64/configure.in: Likewise.
54113         * sysdeps/sh/configure.in: Likewise.
54114         * sysdeps/s390/s390-32/configure: Regenerated.
54115         * sysdeps/s390/s390-64/configure: Likewise.
54116         * sysdeps/x86_64/configure: Likewise.
54117         * sysdeps/sh/configure: Likewise.
54118         * sysdeps/powerpc/powerpc64/configure: Likewise.
54119         * sysdeps/powerpc/powerpc32/configure: Likewise.
54120         * sysdeps/sparc/configure: Likwise.
54121         * sysdeps/i386/configure: Likewise.
54123         * elf/dl-open.c: Comment fixes.
54125 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54127         * Makefile [CXX] (check-data): Remove.
54128         [CXX] (c++-types.data): New vpath directive.
54129         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54130         vpath.  Do not allow for C++ type data being missing.
54131         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54132         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54133         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54134         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54135         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54136         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54137         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54139         ... here.
54140         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54142         ... here.
54143         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54145         ... here.
54146         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54148         ... here.
54149         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54151         ... here.
54152         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54154         ... here.
54155         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54157         ... here.
54158         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54161         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54162         definitions to architecture-specific files.
54163         (TLS_IE): Likewise.
54164         (TLS_LD): Likewise.
54165         (TLS_GD): Likewise.
54166         * sysdeps/i386/tls-macros.h: New file.
54167         * sysdeps/powerpc/tls-macros.h: Likewise.
54168         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54169         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54170         * sysdeps/sh/tls-macros.h: Likewise.
54171         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54172         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54173         * sysdeps/x86_64/tls-macros.h: Likewise.
54175 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54177         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54178         zero value for regular exit case.
54180         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54181         (__start_context): Preserve zero value for regular exit case.
54183 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54184             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54186         * manual/setjmp.texi (setcontext): Clarify normal process
54187         termination when uc_link is the null pointer.
54188         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54189         exit call.
54191 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54193         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54194         preprocessor.  Test for each exception mask separately.
54196 2012-07-16  Andreas Jaeger  <aj@suse.de>
54198         * po/ru.po: Update from translation team.
54200 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54202         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54203         equal to 0.
54204         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54205         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54206         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54207         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54208         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54210 2012-07-13  Andreas Jaeger  <aj@suse.de>
54212         * po/fr.po: Update from translation team.
54214 2012-07-12  Marek Polacek  <polacek@redhat.com>
54216         [BZ #14173]
54217         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54218         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54219         loop condition.
54221 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54223         [BZ #13717]
54224         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54225         Change to 2.4.1 where previously 2.4.0.
54226         * sysdeps/unix/sysv/linux/configure: Regenerated.
54227         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54228         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54229         version.
54230         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54231         (__ASSUME_AT_CLKTCK): Remove.
54232         (__ASSUME_AT_PAGESIZE): Likewise.
54233         (__ASSUME_AT_XID): Likewise.
54234         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54235         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54236         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54237         unconditionally.
54238         (HAVE_AUX_PAGESIZE): Likewise.
54239         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54240         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54241         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54243 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54245         [BZ #14307]
54246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54247         the temporary buffer used to invoke __gethostbyname2_r,
54248         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54249         host_data / struct gaih_addrtuple.
54250         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54251         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54252         header file nss/nsswitch.h.
54253         * nss/nsswitch.h (global scope): Add definition of implementation
54254         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54255         resolv/nss_dns/dns-host.c).
54257 2012-07-11  Andreas Jaeger  <aj@suse.de>
54259         * po/fr.po: Update from translation team.
54261         * po/sv.po: Update from translation team
54262         * po/fr.po: Another update from translation team.
54264 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54266         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54267         for subnormals or multiply small sinh result by itself.
54268         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54271 2012-07-11  David S. Miller  <davem@davemloft.net>
54273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54275 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54277         [BZ #14347]
54278         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54279         (INTERNAL_MARK): Shift it here.
54281 2012-07-10  Marek Polacek  <polacek@redhat.com>
54283         [BZ #14151]
54284         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54285         libc_cv_asm_global_directive with .globl.
54286         * configure: Regenerated.
54287         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54288         with .globl.
54289         * sysdeps/i386/configure: Regenerated.
54290         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54291         with .globl.
54292         * sysdeps/x86_64/configure: Regenerated.
54293         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54294         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54295         * elf/tst-unique2mod2.c: Likewise.
54296         * elf/tst-unique2mod1.c: Likewise.
54297         * elf/tst-unique1mod2.c: Likewise.
54298         * elf/tst-unique1mod1.c: Likewise.
54299         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54300         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54301         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54302         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54303         * sysdeps/mach/sysdep.h: Likewise.
54304         * sysdeps/i386/sysdep.h: Likewise.
54305         * sysdeps/i386/i386-mcount.S: Likewise.
54306         * sysdeps/x86_64/_mcount.S: Likewise.
54307         * sysdeps/x86_64/sysdep.h: Likewise.
54308         * sysdeps/sh/_mcount.S: Likewise.
54309         * sysdeps/sh/sysdep.h: Likewise.
54310         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54311         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54312         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54313         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54314         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54315         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54316         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54317         * locale/localeinfo.h: Likewise.
54318         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54319         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54321 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54323         [BZ #14336]
54324         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54325         system".
54326         * manual/message.texi (The Uniforum approach): Likewise.
54327         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54328         (glibc iconv Implementation): Likewise.
54330 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54332         [BZ #14337]
54333         * math/s_clog.c (__clog): Avoid scaling a value down where that
54334         could result in underflow.
54335         * math/s_clog10.c (__clog10): Likewise.
54336         * math/s_clog10f.c (__clog10f): Likewise.
54337         * math/s_clog10l.c (__clog10l): Likewise.
54338         * math/s_clogf.c (__clogf): Likewise.
54339         * math/s_clogl.c (__clogl): Likewise.
54340         * math/libm-test.inc (clog_test): Add more tests.
54341         (clog10_test): Likewise.
54342         * sysdeps/i386/fpu/libm-test-ulps: Update.
54343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54345 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54347         [BZ #14283]
54348         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54349         by 7 not 8 to examine high bit of fractional part.
54351         [BZ #14042]
54352         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54353         for call to __mcount_internal.
54354         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54355         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54356         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54358 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54360         [BZ #14154]
54361         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54362         approximation for values within 0x1p-13f of an odd multiple of
54363         pi/4.
54364         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54365         exception.  Add more tests.
54366         * sysdeps/i386/fpu/libm-test-ulps: Update.
54368         [BZ #6778]
54369         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54370         inputs and return -1 for them.  Do not check for +Inf in case not
54371         reachable for +Inf.
54372         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54373         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54374         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54375         and return -1 for them.  Do not check for +Inf in case not
54376         reachable for +Inf.
54377         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54378         define.
54379         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54380         and return -1 for them.  Do not check for +Inf in case not
54381         reachable for +Inf.
54382         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54383         spurious underflow.
54384         * sysdeps/i386/fpu/libm-test-ulps: Update.
54385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54387 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54389         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54391 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54393         [BZ #14157]
54394         [BZ #14331]
54395         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54396         could result in spurious underflow.  Scale down values above
54397         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54398         * math/s_csqrtf.c (__csqrtf): Likewise.
54399         * math/s_csqrtl.c (__csqrtl): Likewise.
54400         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54401         spurious underflow.
54402         * sysdeps/i386/fpu/libm-test-ulps: Update.
54403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54405 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54407         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54408         xopen-msg.sed.
54409         * catgets/xopen-msg.awk: New file.
54410         * catgets/xopen-msg.sed: Removed.
54412         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54413         po2text.sed.
54414         * intl/po2test.awk: New file.
54415         * intl/po2test.sed: Removed.
54417 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54419         [BZ #14328]
54420         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54421         or multiply small sinh result by itself.
54422         * math/s_ctanf.c (__ctanf): Likewise.
54423         * math/s_ctanh.c (__ctanh): Likewise.
54424         * math/s_ctanhf.c (__ctanhf): Likewise.
54425         * math/s_ctanhl.c (__ctanhl): Likewise.
54426         * math/s_ctanl.c (__ctanl): Likewise.
54427         * math/libm-test.inc (ctan_test_tonearest): New function.
54428         (ctan_test_towardzero): Likewise.
54429         (ctan_test_downward): Likewise.
54430         (ctan_test_upward): Likewise.
54431         (ctanh_test_tonearest): Likewise.
54432         (ctanh_test_towardzero): Likewise.
54433         (ctanh_test_downward): Likewise.
54434         (ctanh_test_upward): Likewise.
54435         (main): Call these new functions.
54436         * sysdeps/i386/fpu/libm-test-ulps: Update.
54437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54439 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54441         * .gitignore: Delete /ports entry.
54443 2012-07-03  Andreas Jaeger  <aj@suse.de>
54445         * po/bg.po: Update from translation team.
54446         * po/cs.po: Likewise.
54447         * po/de.po: Likewise.
54448         * po/hr.po: Likewise.
54449         * po/nl.pl: Likewise.
54450         * po/pl.po: Likewise.
54451         * po/vi.po: Likewise.
54453 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54455         * Makeconfig [!+link] (+link-before-libc): New variable.
54456         [!+link] (+link-after-libc): Likewise.
54457         [!+link] (+link-tests): Likewise.
54458         [!+link] (+link): Define in terms of $(+link-before-libc) and
54459         $(+link-after-libc).
54460         [!+link-static] (+link-static-before-libc): New variable.
54461         [!+link-static] (+link-static-after-libc): Likewise.
54462         [!+link-static] (+link-static-tests): Likewise.
54463         [!+link-static] (+link-static): Define in terms of
54464         $(+link-static-before-libc) and $(+link-static-after-libc).
54465         [build-shared] (link-libc-before-gnulib): New variable.
54466         [build-shared] (link-libc-tests): Likewise.
54467         [build-shared] (link-libc): Define in terms of
54468         $(link-libc-before-gnulib).
54469         [!build-shared] (link-libc-tests): New variable.
54470         (link-libc-static-tests): New variable.
54471         [!gnulib] (gnulib-arch): New variable.
54472         [!gnulib] (gnulib-tests): Likewise.
54473         [!gnulib] (static-gnulib-arch): Likewise.
54474         [!gnulib] (static-gnulib-tests): Likewise.
54475         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
54476         Define with "=" instead of ":=".
54477         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
54478         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
54479         * Rules (binaries-all-notests): New variable.
54480         (binaries-all-tests): Likewise.
54481         (binaries-static-notests): Likewise.
54482         (binaries-static-tests): Likewise.
54483         (binaries-all): Define using $(binaries-all-notests) and
54484         $(binaries-all-tests).
54485         (binaries-static): Define using $(binaries-static-notests) and
54486         $(binaries-static-tests).
54487         (binaries-shared-tests): New variable.
54488         (binaries-shared-notests): Likewise.
54489         (binaries-shared): Remove variable.
54490         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54491         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54492         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54493         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54494         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54495         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54496         * elf/Makefile (sln-modules): New variable.
54497         (extra-objs): Add $(sln-modules:=.o).
54498         (ldconfig-modules): Add static-stubs.
54499         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54500         * elf/static-stubs.c: New file.
54502         [BZ #14283]
54503         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54504         by 7 not 8 to examine high bit of fractional part.  Use volatile
54505         variables when splitting into final array of floats if
54506         __FLT_EVAL_METHOD__ != 0.
54507         * math/libm-test.inc (cos_test): Add another test.
54508         (sin_test): Likewise.
54509         * sysdeps/i386/fpu/libm-test-ulps: Update.
54511         [BZ #14273]
54512         * math/libm-test.inc (cosh_test): Add more tests.
54514         * version.h (RELEASE): Set to "development".
54515         (VERSION): Set to "2.16.90".
54517 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
54519         * NEWS: Update copyright. Remove last-updated date.
54520         Mention math library bug fixes and timezone data changes.
54521         * README: Mention GNU/Hurd, x32, and HPPA support status.
54523 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
54525         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54527 2012-06-27  Andreas Jaeger  <aj@suse.de>
54529         * manual/contrib.texi (Contributors): Add Samuel Thibault.
54531 2012-06-25  Andreas Jaeger  <aj@suse.de>
54533         * sysdeps/s390/fpu/libm-test-ulps: Update.
54535 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
54536             Thomas Schwinge  <thomas@codesourcery.com>
54538         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54539         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54540         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54541         fanotify_mark.
54543 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54545         * sysdeps/mach/start.c: Remove file.
54546         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54547         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54548         * sysdeps/sh/init-first.c: Likewise.
54550         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54551         registers for frame unwinding purposes, add CFI directives.
54552         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54553         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54554         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54555         Likewise.
54557         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54558         __fortify_fail returning.
54559         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54561         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54562         sysdeps/sh/____longjmp_chk.S.
54563         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54564         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54565         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54566         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54568         * sysdeps/sh/abort-instr.h: New file.
54569         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54570         process in case exit returns.
54572         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54573         initialize the GOT register before use.
54575         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54576         calculation of ARGC > 4.
54578         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54579         meaningful names to some local labels.
54581 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54582             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54584         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54585         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54586         (__arch_compare_and_exchange_val_16_acq): Likewise.
54587         (__arch_compare_and_exchange_val_32_acq): Likewise.
54588         (atomic_exchange_and_add): Fix gUSA sequence.
54589         (atomic_add): Likewise.
54590         (atomic_add_negative): Likewise.
54591         (atomic_add_zero): Likewise.
54592         (atomic_bit_test_set): Likewise.
54594 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54596         [BZ #13579]
54597         * include/link.h (struct link_map): Add l_free_initfini.
54598         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54599         l_initfini.
54600         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54601         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54602         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54603         set.
54605 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
54607         * configure.in: Use AC_LANG_SOURCE.
54608         * configure: Regenerate.
54610 2012-06-22  Roland McGrath  <roland@hack.frob.com>
54612         * configure.in (libc_cv_localstatedir): New substituted variable.
54613         * configure: Regenerated.
54614         * config.make.in (localstatedir): New variable, substituted from
54615         libc_cv_localstatedir.
54616         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54617         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54618         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54619         * sysdeps/gnu/configure: Regenerated.
54621 2012-06-21  Jeff Law  <law@redhat.com>
54623         [BZ #14277]
54624         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54625         free.  Simplify list management for _LIBC case.
54627 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
54629         [BZ #14273]
54630         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54631         Clear sign bit of 64-bit integer value before comparing against
54632         overflow value.
54634         * sysdeps/mach/configure: Regenerated.
54636 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
54638         [BZ #14278]
54639         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
54641 2012-06-21  Jeff Law  <law@redhat.com>
54643         [BZ #13882]
54644         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
54645         uint16_t for elements in the "seen" array to avoid char overflows.
54646         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54647         * elf/dl-open.c (dl_open_worker): Likewise.
54649 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
54651         * scripts/list-sources.sh: Scan PORTS for translations.
54652         * po/libc.pot: Regenerated.
54654 2012-06-21  Andreas Jaeger  <aj@suse.de>
54656         [BZ #12194]
54657         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54658         warning.
54659         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54660         * bits/byteswap-16.h (__bswap_16): Likewise.
54661         * bits/byteswap.h (__bswap_constant_16): Likewise.
54663 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54665         [BZ #14117]
54666         * sysdeps/i386/fpu_control.h: Removed.
54667         * sysdeps/x86_64/fpu_control.h: Moved to ...
54668         * sysdeps/x86/fpu_control.h: Here.
54670         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54671         (_FPU_SETCW): Likewise.
54673 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54675         [BZ #14117]
54676         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54677         * sysdeps/x86/fpu/bits/mathinline.h: This.
54678         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54680         [BZ #14050]
54681         [BZ #14117]
54682         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54683         functions if __x86_64__ is defined.
54685 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54687         * string/endian.h: Add !__ASSEMBLER__ condition for including
54688         conversion interfaces.
54690 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54692         [BZ #14241]
54693         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54694         of ABS(x) in calculating zero to negative powers other than odd
54695         integers.
54696         * math/libm-test.inc (pow_test): Add more tests.
54698 2012-06-15  Andreas Jaeger  <aj@suse.de>
54700         * manual/contrib.texi (Contributors): Update entry of Liubov
54701         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54702         Machado Filho.
54704 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54706         * string/string.h: Add __wur to GNU version of strerror_r.
54708 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54710         [BZ #14229]
54711         * string/Makefile (tests): Add tst-strtok_r.
54712         * string/tst-strtok_r.c: New file.
54713         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54714         RAX_LP/RDX_LP on SAVE_PTR.
54716 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54718         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54720 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54722         * libm_test.inc (csqrt_test): Allow more spurious underflow
54723         exceptions.
54724         (j0_test): Likewise.
54725         (j1_test): Likewise.
54726         (y0_test): Likewise.
54727         (y1_test): Likewise.
54729 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54731         * po/Makefile (libc.pot): Use UTF-8 charset.
54733 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54735         [BZ #14210]
54736         Suppress sign-conversion warning from FD_SET.
54737         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54738         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54739         not unsigned long int.
54740         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54742 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54744         [BZ #14050]
54745         [BZ #14117]
54746         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54747         __extern_always_inline instead of __extern_inline.
54748         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54749         (__signbit): Likewise.
54750         (__signbitl): Support C++ namespace.
54751         (lrintf): New inline function.
54752         (lrint): Likewise.
54753         (llrintf): Likewise.
54754         (llrint): Likewise.
54755         (fmaxf): Likewise.
54756         (fmax): Likewise.
54757         (fminf): Likewise.
54758         (fmin): Likewise.
54759         (rint): Likewise.
54760         (rintf): Likewise.
54761         (ceil): Likewise.
54762         (ceilf): Likewise.
54763         (floor): Likewise.
54764         (floorf): Likewise.
54765         (nearbyint): Likewise.
54766         (nearbyintf): Likewise.
54768 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54770         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54771         non-default versions.
54773 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54775         [BZ #14218]
54776         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54778 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54780         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54781         (FE_UPWARD, FE_DOWNWARD): Don't define.
54782         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54783         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54785         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54786         reading it.
54787         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54788         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54790 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54792         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54793         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54794         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54795         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54797 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54799         [BZ #14117]
54800         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54801         * sysdeps/i386/fpu/Implies: New file.
54802         * sysdeps/x86_64/fpu/Implies: Likewise.
54803         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54804         * sysdeps/x86/fpu/bits/fenv.h: This.
54806         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54807         __SSE_MATH__.
54809 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54811         [BZ #14134]
54812         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54813         character 0xffff that matches the last element of the
54814         conversion table.
54816 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54818         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54819         fmodl commit.
54821 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54823         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54824         values higher than 25.6283.
54826 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54828         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54829         subnormal exponent extraction and add some __builtin_expect.
54830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54831         Fix for subnormal mantissa calculation.
54833 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54835         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54836         cpu2 is -1 and errno is not ENOSYS.
54838 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54840         [BZ #14117]
54841         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54842         * sysdeps/x86/bits/string.h: This.
54843         * sysdeps/x86_64/bits/string.h: Removed.
54845         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54846         if not compiling for x86-64, but compiling for >= i486.
54848         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54849         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54851         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54852         New macro from Linux kernel 3.4.0.
54853         (FP_XSTATE_MAGIC2): Likewise.
54854         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54855         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54856         (struct _fpx_sw_bytes): New struct.
54857         (struct _xsave_hdr): Likewise.
54858         (struct _ymmh_state): Likewise.
54859         (struct _xstate): Likewise.
54861         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54862         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54863         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54864         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54865         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54866         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54868         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54869         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54870         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54871         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54872         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54873         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54875 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54877         [BZ #13743]
54878         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54879         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54880         (sysdep_headers): Include sys/platform/ppc.h.
54881         * sysdeps/powerpc/test-gettimebase.c: Test for
54882         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54883         * manual/Makefile (appendices): Include platform.texi.
54884         * manual/contrib.texi (Contributors): Update @node pointers.
54885         * manual/maint.texi (Maintenance): Likewise.
54886         (Platform): New node.
54887         * manual/platform.texi: New file.  Document the new features.
54889 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54890             Jakub Jelinek  <jakub@redhat.com>
54892         [BZ #14188]
54893         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54894         where __builtin_expect is unavailable.
54896 2012-06-03  David S. Miller  <davem@davemloft.net>
54898         * stdlib/longlong.h: Updated from GCC.
54900 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54902         [BZ #14042]
54903         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54904         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54905         __mcount_internal.
54906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54907         (GLIBC_2.16): Likewise.
54909 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54911         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54913 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54916         (default-abi): New variable.
54917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54918         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54919         variable.
54920         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54921         Likewise.
54922         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54923         Likewise.
54924         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54925         Likewise.
54927         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54928         definition.  Document in comment.
54930 2012-06-01  David S. Miller  <davem@davemloft.net>
54932         * stdlib/longlong.h: Updated from GCC.
54934 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54936         [BZ #14117]
54937         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54938         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54939         sys/debugreg.h sys/io.h here.
54940         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54941         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54942         sys/io.h.
54943         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54944         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54945         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54946         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54947         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54948         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54950         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54951         Define only if __x86_64__ is defined.
54953 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54955         [BZ #14048]
54956         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54957         Use int64_t for variable i.
54958         * math/libm-test.inc (fmod_test): Add more tests.
54960         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54961         z computation is not scheduled after fetestexcept.
54962         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54963         Use math_force_eval instead of asm to ensure calculation scheduled
54964         before exception test.
54965         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54966         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54968 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54970         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54971         computation is not scheduled after fetestexcept.
54973 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54975         [BZ #14117]
54976         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54977         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54979 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54981         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54982         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54984 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54986         [BZ #14117]
54987         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54988         <bits/wordsize.h>.
54989         (__WCHAR_MIN): Support __WORDSIZE == 64.
54990         (__WCHAR_MAX): Likewise.
54992         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54993         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54995         [BZ #14183]
54996         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54997         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54999         [BZ #14117]
55000         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55001         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55003         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55004         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55006         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55007         Defined to 1 if __x86_64__ isn't defined.
55008         (_STAT_VER_LINUX_OLD): New.
55009         (st_atime): Remove duplicate.
55010         (st_mtime): Likewise.
55011         (st_ctime): Likewise.
55013 2012-05-31  David S. Miller  <davem@davemloft.net>
55015         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55016         entries.
55018 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55020         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55021         gen-libm-test.pl.
55023         [BZ #14132]
55024         * elf/dl-reloc.c: Include <_itoa.h>.
55025         (_dl_reloc_bad_type): Remove use of INTUSE.
55026         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55027         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55028         * stdio-common/psiginfo.c (psiginfo): Likewise.
55029         * stdio-common/psignal.c (psignal): Likewise.
55030         * string/strsignal.c (strsignal): Likewise.
55031         * include/signal.h (_sys_siglist): Declare hidden proto.
55032         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55033         INTVARDEF with libc_hidden_data_def.
55034         * stdio-common/itoa-udigits.c: Likewise.
55035         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55036         (_itoa_lower_digits_internal): Remove declaration.
55037         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55038         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55039         (_sys_sigabbrev_internal): Remove aliases.
55040         (_sys_siglist): Define hidden alias.
55042 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55044         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55045         bits/sysctl.h.
55047 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55049         [BZ #14117]
55050         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55051         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55053         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55054         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55055         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55056         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55057         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55058         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55060         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55061         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55062         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55064         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55065         with __addr.
55066         (insw): Likewise.
55067         (insl): Likewise.
55068         (outsb): Likewise.
55069         (outsw): Likewise.
55070         (outsl): Likewise.
55072         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55073         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55074         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55076         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55077         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55078         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55079         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55080         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55081         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55083         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55084         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55086         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55087         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55089         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55090         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55091         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55093         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55094         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55095         to ...
55096         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55098         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55099         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55100         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55102         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55103         for x86-64.
55104         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55106 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55108         * math/math.h (M_El): Use two more decimal places.
55109         (M_LOG2El): Likewise.
55110         (M_LOG10El): Likewise.
55111         (M_LN2l): Likewise.
55112         (M_LN10l): Likewise.
55113         (M_PIl): Likewise.
55114         (M_PI_2l): Likewise.
55115         (M_PI_4l): Likewise.
55116         (M_1_PIl): Likewise.
55117         (M_2_PIl): Likewise.
55118         (M_2_SQRTPIl): Likewise.
55119         (M_SQRT2l): Likewise.
55120         (M_SQRT1_2l): Likewise.
55122 2012-05-31  David S. Miller  <davem@davemloft.net>
55124         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55125         values between float registers.
55126         * sysdeps/sparc/sparc64/memset.S: Likewise.
55127         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55129 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55131         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55132         -D_FORTIFY_SOURCE=1.
55133         (CPPFLAGS-tst-longjmp_chk.c): Define.
55134         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55135         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55136         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55137         CFLAGS-tst-wchar-h.c.
55139 2012-05-31  Marek Polacek  <polacek@redhat.com>
55141         [BZ #14132]
55142         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55143         __endmntent_internal): Remove declaration.
55144         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55145         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55146         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55148 2012-05-30  David S. Miller  <davem@davemloft.net>
55150         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55151         (___Q_simulate_exceptions): Use real FP ops rather than writing
55152         into the %fsr.
55153         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55154         Likewise.
55156 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55158         [BZ #14117]
55159         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55160         * sysdeps/x86/bits/xtitypes.h: This.
55162         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55163         * sysdeps/x86/bits/wordsize.h: This.
55165         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55166         * sysdeps/x86/bits/huge_vall.h: This.
55168         * sysdeps/i386/bits/select.h: Removed.
55169         * sysdeps/x86_64/bits/select.h: Renamed to ...
55170         * sysdeps/x86/bits/select.h: This.
55172         * sysdeps/i386/bits/setjmp.h: Removed.
55173         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55174         * sysdeps/x86/bits/setjmp.h: This.
55176         * sysdeps/i386/bits/mathdef.h: Removed.
55177         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55178         * sysdeps/x86/bits/mathdef.h: This.
55180 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55182         [BZ #14132]
55183         * include/sys/socket.h (__connect_internal)
55184         (__libc_sa_len_internal): Remove declaration.
55185         (__connect, __libc_sa_len): Declare hidden_proto.
55186         (SA_LEN): Remove use of INTUSE.
55187         * socket/connect.c: Add libc_hidden_def.
55188         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55189         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55190         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55191         alias.
55192         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55193         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55194         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55195         of adding _internal alias.
55197 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55199         [BZ #14117]
55200         * sysdeps/i386/bits/link.h: Removed.
55201         * sysdeps/i386/bits/linkmap.h: Likewise.
55202         * sysdeps/x86_64/bits/link.h: Renamed to ...
55203         * sysdeps/x86/bits/link.h: This.
55204         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55205         * sysdeps/x86/bits/linkmap.h: This.
55207         * sysdeps/i386/bits/endian.h: Removed.
55208         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55209         * sysdeps/x86/bits/endian.h: This.
55211         * sysdeps/i386/bits/byteswap.h: Removed.
55212         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55213         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55214         * sysdeps/x86/bits/byteswap.h: This.
55215         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55216         * sysdeps/x86/bits/byteswap-16.h: This.
55217         * sysdeps/i386/Implies: Add x86.
55218         * sysdeps/x86_64/Implies: Likewise.
55220 2012-05-30  David S. Miller  <davem@davemloft.net>
55222         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55223         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55224         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55225         (FP_TRAPPING_EXCEPTIONS): Define.
55226         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55227         (FP_TRAPPING_EXCEPTIONS): Define.
55228         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55229         subnormals only when inexact has been signalled or underflow
55230         exceptions are enabled.
55231         (_FP_PACK_CANONICAL): Likewise.
55233 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55235         [BZ #14183]
55236         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55237         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55239 2012-05-30  Richard Henderson  <rth@twiddle.net>
55241         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55242         with #ifndef NOT_IN_libc.
55244         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55245         marked to avoid plt entry.
55247 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55249         [BZ #14112]
55250         * Makeconfig (default-abi): New macro.
55251         (abi-includes): Likewise.
55252         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55253         $(abi-$(default-abi)-lib-soname) for soname if defined.
55254         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55255         abi-variants.
55256         * Makefile (installed-stubs): Likewise.
55257         * include/stubs-biarch.h: Removed.
55258         * scripts/lib-names.awk: Only handle one library at a time.
55259         * scripts/soversions.awk: Remove WORDSIZE support.
55260         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55261         entries.
55262         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55263         Removed.
55264         (syscall-list-default-condition): Likewise.
55265         (syscall-list-default-condition): Likewise.
55266         (syscall-list-includes): Likewise.
55267         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55268         syscall-list-* with abi-*.  Handle undefined abi-variants.
55269         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55270         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55271         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55272         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55273         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55274         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55275         Removed.
55276         (syscall-list-32-options): Likewise.
55277         (syscall-list-32-condition): Likewise.
55278         (syscall-list-64-options): Likewise.
55279         (syscall-list-64-condition): Likewise.
55280         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55281         macro.
55282         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55283         Renamed to ...
55284         (abi-*): This.
55285         (abi-64-ld-soname): New macro.
55286         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55287         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55288         Renamed to ...
55289         (abi-*): This.
55290         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55291         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55293 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55295         * sysdeps/unix/sysv/linux/kernel-features.h
55296         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55297         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55298         include <kernel-features.h>.
55299         [!__NR_ftruncate64]: Remove conditional code.
55300         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55301         [__NR_ftruncate64]: Make code unconditional.
55302         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55303         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55304         include <kernel-features.h>.
55305         [!__NR_ftruncate64]: Remove conditional code.
55306         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55307         [__NR_ftruncate64]: Make code unconditional.
55308         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55310         include <kernel-features.h>.
55311         [!__NR_ftruncate64]: Remove conditional code.
55312         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55313         [__NR_ftruncate64]: Make code unconditional.
55314         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55316         include <kernel-features.h>.
55317         [!__NR_ftruncate64]: Remove conditional code.
55318         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55319         [__NR_ftruncate64]: Make code unconditional.
55320         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55322         * configure.in (libc_cv_fpie): Weaken to a compile test using
55323         LIBC_TRY_CC_OPTION.
55324         * configure: Regenerated.
55326 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55332         Refreshed.
55333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55339         Refreshed.
55341 2012-05-27  David S. Miller  <davem@davemloft.net>
55343         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55344         (___Q_zero): New.
55345         (__Q_simulate_exceptions): Return void.  Change to simulate
55346         exceptions by writing into the %fsr.
55347         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55348         (__Qp_handle_exceptions): Likewise.
55349         (numbers): Delete.
55350         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55351         __Qp_handle_exceptions.
55352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55353         __Qp_handle_exceptions.
55354         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55355         as unused and give dummy FP_RND_NEAREST initializer.
55356         (FP_INHIBIT_RESULTS): Define.
55357         (___Q_simulate_exceptions): Update declaration.
55358         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55359         formatting.
55360         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55361         as unused and give dummy FP_RND_NEAREST initializer.
55362         (__Qp_handle_exceptions): Update declaration.
55363         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55364         formatting.
55366 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55368         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55369         the temporary FPU control word.
55370         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55371         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55372         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55373         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55374         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55375         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55376         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55377         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55378         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55379         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55380         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55382 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55384         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55385         fields.
55387 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55389         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55390         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55391         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55392         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55393         Likewise.
55394         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55395         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55396         Likewise.
55398 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55400         * po/h.po: Update from translation team.
55402 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55404         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55406         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55407         handling of denormals.
55408         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55409         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55410         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55411         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55412         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55413         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55415         Likewise.
55417 2012-05-26  Marek Polacek  <polacek@redhat.com>
55419         [BZ #14152]
55420         * math/libm-test.inc (fma_test): Don't always expect underflow
55421         exception.
55423 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55425         [BZ #12416]
55426         * elf/tst-execstack.c: Include stackinfo.h.
55427         (do_test): Adjust test case to ensure that pthread_getattr_np
55428         behaviour remains the same after marking stack executable.
55430 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55432         * sysdeps/unix/sysv/linux/kernel-features.h
55433         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55434         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55435         kernel-features.h.
55436         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55437         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55438         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55439         kernel-features.h.
55440         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55441         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55443 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55445         * configure.in: Define the default includes to being none.
55446         * configure: Regenerated.
55448 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55450         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55451         * sysdeps/x86_64/setjmp.S: Likewise.
55452         * sysdeps/i386/bsd-setjmp.S: Likewise.
55453         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55454         * sysdeps/i386/setjmp.S: Likewise.
55455         * sysdeps/i386/__longjmp.S: Likewise.
55456         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55457         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55459         * include/stap-probe.h: New file.
55460         * configure.in: Handle --enable-systemtap.
55461         * configure: Regenerated.
55462         * config.h.in (USE_STAP_PROBE): New #undef.
55463         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55464         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55465         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55467 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55469         [BZ #13717]
55470         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55471         to 2.4.0 where earlier.
55472         * sysdeps/unix/sysv/linux/configure: Regenerated.
55473         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55474         <kernel-features.h>.
55475         [__ASSUME_32BITUIDS]: Make code unconditional.
55476         [!__ASSUME_32BITUIDS]: Remove conditional code.
55477         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55478         <kernel-features.h>.
55479         [__ASSUME_32BITUIDS]: Make code unconditional.
55480         [!__ASSUME_32BITUIDS]: Remove conditional code.
55481         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55482         [__ASSUME_32BITUIDS]: Make code unconditional.
55483         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55484         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55485         <kernel-features.h>.
55486         [__ASSUME_32BITUIDS]: Make code unconditional.
55487         [!__ASSUME_32BITUIDS]: Remove conditional code.
55488         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55489         <kernel-features.h>.
55490         [__ASSUME_32BITUIDS]: Make code unconditional.
55491         [!__ASSUME_32BITUIDS]: Remove conditional code.
55492         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55493         <kernel-features.h>.
55494         [__ASSUME_32BITUIDS]: Make code unconditional.
55495         [!__ASSUME_32BITUIDS]: Remove conditional code.
55496         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55497         <kernel-features.h>.
55498         [__ASSUME_32BITUIDS]: Make code unconditional.
55499         [!__ASSUME_32BITUIDS]: Remove conditional code.
55500         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55501         <kernel-features.h>.
55502         [__ASSUME_32BITUIDS]: Make code unconditional.
55503         [!__ASSUME_32BITUIDS]: Remove conditional code.
55504         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55505         <kernel-features.h>.
55506         [__ASSUME_32BITUIDS]: Make code unconditional.
55507         [!__ASSUME_32BITUIDS]: Remove conditional code.
55508         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
55509         <kernel-features.h>.
55510         [__ASSUME_32BITUIDS]: Make code unconditional.
55511         [!__ASSUME_32BITUIDS]: Remove conditional code.
55512         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55513         <kernel-features.h>.
55514         [__ASSUME_32BITUIDS]: Make code unconditional.
55515         [!__ASSUME_32BITUIDS]: Remove conditional code.
55516         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55517         <kernel-features.h>.
55518         [__ASSUME_32BITUIDS]: Make code unconditional.
55519         [!__ASSUME_32BITUIDS]: Remove conditional code.
55520         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
55521         <kernel-features.h>.
55522         [__ASSUME_32BITUIDS]: Make code unconditional.
55523         [!__ASSUME_32BITUIDS]: Remove conditional code.
55524         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
55525         <kernel-features.h>.
55526         [__NR_setresgid] (__setresgid): Do not declare.
55527         [__ASSUME_32BITUIDS]: Make code unconditional.
55528         [!__ASSUME_32BITUIDS]: Remove conditional code.
55529         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55530         <kernel-features.h>.
55531         [__NR_setresuid] (__setresuid): Do not declare.
55532         [__ASSUME_32BITUIDS]: Make code unconditional.
55533         [!__ASSUME_32BITUIDS]: Remove conditional code.
55534         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.c: Do not include
55567         <kernel-features.h>.
55568         [__ASSUME_32BITUIDS]: Make code unconditional.
55569         [!__ASSUME_32BITUIDS]: Remove conditional code.
55570         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55571         <kernel-features.h>.
55572         [__ASSUME_32BITUIDS]: Make code unconditional.
55573         [!__ASSUME_32BITUIDS]: Remove conditional code.
55574         * sysdeps/unix/sysv/linux/kernel-features.h
55575         (__ASSUME_SETRESUID_SYSCALL): Remove.
55576         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55577         (__ASSUME_32BITUIDS): Likewise.
55578         (__ASSUME_LDT_WORKS): Likewise.
55579         (__ASSUME_O_DIRECTORY): Likewise.
55580         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55581         architecture but not kernel version.
55582         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55583         (__ASSUME_MMAP2_SYSCALL): Likewise.
55584         (__ASSUME_STAT64_SYSCALL): Likewise.
55585         (__ASSUME_IPC64): Likewise.
55586         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55587         <kernel-features.h>.
55588         [__ASSUME_32BITUIDS]: Make code unconditional.
55589         [!__ASSUME_32BITUIDS]: Remove conditional code.
55590         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55591         <kernel-features.h>.
55592         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55593         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55594         132096]: Remove conditional code.
55595         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55596         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
55605         <kernel-features.h>.
55606         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55607         unconditional.
55608         (__setresgid): Do not declare.
55609         [__ASSUME_32BITUIDS]: Make code unconditional.
55610         [!__ASSUME_32BITUIDS]: Remove conditional code.
55611         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55612         <kernel-features.h>.
55613         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55614         unconditional.
55615         (__setresuid): Do not declare.
55616         [__ASSUME_32BITUIDS]: Make code unconditional.
55617         [!__ASSUME_32BITUIDS]: Remove conditional code.
55618         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55619         <kernel-features.h>.
55620         [__ASSUME_32BITUIDS]: Make code unconditional.
55621         [!__ASSUME_32BITUIDS]: Remove conditional code.
55622         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55623         <kernel-features.h>.
55624         [__ASSUME_32BITUIDS]: Make code unconditional.
55625         [!__ASSUME_32BITUIDS]: Remove conditional code.
55627 2012-05-25  Richard Henderson  <rth@twiddle.net>
55629         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55630         dl_hwcap to ifunc resolver.
55631         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55632         elf_ifunc_invoke.
55633         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
55634         dl_hwcap to ifunc resolver.
55635         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
55637 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55639         [BZ #14153]
55640         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
55641         for |x| <= 2**-26, not 2**-57.
55642         * math/libm-test.inc (acos_test): Do not allow spurious underflow
55643         exception.
55645 2012-05-24  Jeff Law  <law@redhat.com>
55647         * stdio-common/Makefile (tests): Add bug25.
55648         * stdio-common/bug25.c: New test.
55650 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55652         [BZ #13576]
55653         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55654         multiple of MALLOC_ALIGNMENT in size.
55655         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55657 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55659         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55660         Require >= 256.
55661         (FILENAME_MAX): Use macro-int-constant.
55662         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55663         (_IOFBF): Use macro-int-constant.
55664         (_IOLBF): Likewise.
55665         (_IONBF): Likewise.
55666         (SEEK_CUR): Likewise.
55667         (SEEK_END): Likewise.
55668         (SEEK_SET): Likewise.
55669         (TMP_MAX): Likewise.
55670         (EOF): Use macro-int-constant.  Require < 0.
55671         (NULL): Use macro-constant.  Require == 0.
55672         (stdin): Require type to be FILE *.
55673         (stdout): Likewise.
55674         (stderr): Likewise.
55675         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55676         macro-int-constant.
55677         (EXIT_SUCCESS): Likewise.
55678         (NULL): Use macro-constant.  Require == 0.
55679         (RAND_MAX): Use macro-int-constant.
55680         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55681         [C99-based standards] (strtof): Require function.
55682         [C99-based standards] (strtold): Likewise.
55683         [C99-based standards] (strtoll): Likewise.
55684         [C99-based standards] (strtoull): Likewise.
55685         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55686         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55687         [ISO || ISO99 || ISO11] (math.h): Likewise.
55688         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55689         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55690         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55692 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55694         [BZ #14132]
55695         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55696         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55697         * intl/dgettext.c (DCGETTEXT): Likewise.
55698         * intl/gettext.c (DCGETTEXT): Likewise.
55699         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55700         * posix/regex_internal.h (gettext): Likewise.
55701         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55702         Remove declaration.
55703         * include/argz.h (__argz_count_internal)
55704         (__argz_stringify_internal): Remove declaration.
55705         (__argz_count, __argz_stringify): Declare hidden proto.
55706         * intl/dcgettext.c: Remove use of INTDEF.
55707         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55708         * string/argz-stringify.c: Likewise.
55709         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55710         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55711         Declare hidden proto.
55712         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55713         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55714         Declare hidden proto.
55715         * include/stdio.h (__asprintf_internal): Don't declare.
55716         (__asprintf): Don't define as macro.  Declare hidden proto.
55717         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55718         (__fsetlocking): Declare hidden proto.
55719         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55720         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55721         hidden proto.
55722         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55723         (_IO_setlinebuf): Remove use of INTUSE.
55724         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55725         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55726         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55727         Remove declaration.
55728         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55729         (_IO_do_flush): Remove use of INTUSE.
55730         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55731         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55732         (_IO_adjust_column, _IO_least_wmarker)
55733         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55734         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55735         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55736         (_IO_default_doallocate, _IO_wdefault_doallocate)
55737         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55738         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55739         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55740         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55741         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55742         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55743         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55744         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55745         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55746         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55747         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55748         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55749         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55750         proto.
55751         (_IO_flush_all_internal, _IO_adjust_column_internal)
55752         (_IO_default_uflow_internal, _IO_default_finish_internal)
55753         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55754         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55755         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55756         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55757         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55758         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55759         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55760         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55761         (_IO_file_close_internal, _IO_file_close_it_internal)
55762         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55763         (_IO_file_init_internal, _IO_file_attach_internal)
55764         (_IO_file_fopen_internal, _IO_file_read_internal)
55765         (_IO_file_sync_internal, _IO_file_seek_internal)
55766         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55767         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55768         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55769         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55770         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55771         (_IO_list_all_internal, _IO_link_in_internal)
55772         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55773         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55774         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55775         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55776         (_IO_do_write_internal, _IO_padn_internal)
55777         (_IO_getline_info_internal, _IO_getline_internal)
55778         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55779         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55780         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55781         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55782         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55783         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55784         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55785         with libc_hidden_ver, remove use of INTUSE.
55786         * libio/genops.c: Likewise.
55787         * libio/freopen.c: Likewise.
55788         * libio/freopen64.c: Likewise.
55789         * libio/iofclose.c: Likewise.
55790         * libio/iofdopen.c: Likewise.
55791         * libio/iofflush.c: Likewise.
55792         * libio/iofflush_u.c: Likewise.
55793         * libio/iofgets.c: Likewise.
55794         * libio/iofgets_u.c: Likewise.
55795         * libio/iofopen.c: Likewise.
55796         * libio/iofopncook.c: Likewise.
55797         * libio/iofread.c: Likewise.
55798         * libio/iofread_u.c: Likewise.
55799         * libio/ioftell.c: Likewise.
55800         * libio/iofwrite.c: Likewise.
55801         * libio/iogetline.c: Likewise.
55802         * libio/iogets.c: Likewise.
55803         * libio/iogetwline.c: Likewise.
55804         * libio/iopadn.c: Likewise.
55805         * libio/iopopen.c: Likewise.
55806         * libio/ioseekoff.c: Likewise.
55807         * libio/ioseekpos.c: Likewise.
55808         * libio/iosetbuffer.c: Likewise.
55809         * libio/iosetvbuf.c: Likewise.
55810         * libio/ioungetc.c: Likewise.
55811         * libio/ioungetwc.c: Likewise.
55812         * libio/iovdprintf.c: Likewise.
55813         * libio/iovsprintf.c: Likewise.
55814         * libio/iovsscanf.c: Likewise.
55815         * libio/memstream.c: Likewise.
55816         * libio/obprintf.c: Likewise.
55817         * libio/oldfileops.c: Likewise.
55818         * libio/oldiofclose.c: Likewise.
55819         * libio/oldiofdopen.c: Likewise.
55820         * libio/oldiofopen.c: Likewise.
55821         * libio/oldiopopen.c: Likewise.
55822         * libio/oldstdfiles.c: Likewise.
55823         * libio/putc.c: Likewise.
55824         * libio/setbuf.c: Likewise.
55825         * libio/setlinebuf.c: Likewise.
55826         * libio/stdfiles.c: Likewise.
55827         * libio/strops.c: Likewise.
55828         * libio/vasprintf.c: Likewise.
55829         * libio/vscanf.c: Likewise.
55830         * libio/vsnprintf.c: Likewise.
55831         * libio/vswprintf.c: Likewise.
55832         * libio/wfiledoalloc.c: Likewise.
55833         * libio/wfileops.c: Likewise.
55834         * libio/wgenops.c: Likewise.
55835         * libio/wmemstream.c: Likewise.
55836         * libio/wstrops.c: Likewise.
55837         * libio/__fpurge.c: Likewise.
55838         * libio/__fsetlocking.c: Likewise.
55839         * assert/assert.c: Likewise.
55840         * debug/fgets_chk.c: Likewise.
55841         * debug/fgets_u_chk.c: Likewise.
55842         * debug/fread_chk.c: Likewise.
55843         * debug/fread_u_chk.c: Likewise.
55844         * debug/gets_chk.c: Likewise.
55845         * debug/obprintf_chk.c: Likewise.
55846         * debug/vasprintf_chk.c: Likewise.
55847         * debug/vdprintf_chk.c: Likewise.
55848         * debug/vsnprintf_chk.c: Likewise.
55849         * debug/vsprintf_chk.c: Likewise.
55850         * malloc/mtrace.c: Likewise.
55851         * misc/error.c: Likewise.
55852         * misc/syslog.c: Likewise.
55853         * stdio-common/asprintf.c: Likewise.
55854         * stdio-common/fxprintf.c: Likewise.
55855         * stdio-common/getw.c: Likewise.
55856         * stdio-common/isoc99_fscanf.c: Likewise.
55857         * stdio-common/isoc99_scanf.c: Likewise.
55858         * stdio-common/isoc99_vfscanf.c: Likewise.
55859         * stdio-common/isoc99_vscanf.c: Likewise.
55860         * stdio-common/isoc99_vsscanf.c: Likewise.
55861         * stdio-common/printf-prs.c: Likewise.
55862         * stdio-common/printf_fp.c: Likewise.
55863         * stdio-common/printf_fphex.c: Likewise.
55864         * stdio-common/printf_size.c: Likewise.
55865         * stdio-common/putw.c: Likewise.
55866         * stdio-common/scanf.c: Likewise.
55867         * stdio-common/sprintf.c: Likewise.
55868         * stdio-common/tmpfile.c: Likewise.
55869         * stdio-common/vfprintf.c: Likewise.
55870         * stdio-common/vfscanf.c: Likewise.
55871         * stdlib/strfmon_l.c: Likewise.
55872         * sunrpc/openchild.c: Likewise.
55873         * sunrpc/xdr_stdio.c: Likewise.
55874         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55875         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55877 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55879         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55881         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55882         in the third column, to generate for the shared library an IFUNC
55883         that uses _dl_vdso_vsym.
55884         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55885         * Makeconfig (object-suffixes-noshared): New variable.
55887         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55888         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55889         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55890         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55892         [BZ #14132]
55893         * include/sys/time.h (__gettimeofday): Remove macro.
55894         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55895         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55896         Remove INTDEF.
55897         (__gettimeofday): Add libc_hidden_def.
55898         (gettimeofday): Add libc_hidden_weak.
55899         * sysdeps/mach/gettimeofday.c: Likewise.
55900         * sysdeps/posix/gettimeofday.c: Likewise.
55901         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55902         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55904         (__gettimeofday_internal): Remove strong_alias.
55905         (__gettimeofday): Add libc_hidden_def.
55906         (gettimeofday): Add libc_hidden_weak.
55907         * sysdeps/unix/syscalls.list (gettimeofday):
55908         Remove __gettimeofday_internal alias.
55910 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55911             H.J. Lu  <hongjiu.lu@intel.com>
55913         [BZ #12495]
55914         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55915         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55916         (largebin_index_32_big): New.
55917         (largebin_index): Use it for 16-byte alignment.
55918         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55919         correction with front_misalign.
55921 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55925         Likewise.
55926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55927         Likewise.
55928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55929         Likewise.
55930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55931         Likewise.
55932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55933         Likewise.
55934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55935         Likewise.
55936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55937         Likewise.
55938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55939         Likewise.
55940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55941         Likewise.
55942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55943         Likewise.
55944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55945         Likewise.
55946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55947         Likewise.
55949         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55950         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55952 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55954         [BZ #10846]
55955         [BZ #14036]
55956         * math/libm-test.inc (exp_test): Add test from bug 14036.
55957         (pow_test): Add test from bug 10846.
55959         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55960         and other flags.
55961         (special_function): Do not include flags in test name.
55962         (parse_args): Likewise.
55963         * sysdeps/i386/fpu/libm-test-ulps: Update.
55964         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55965         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55966         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55969         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55970         exceptions.
55971         * math/libm-test.inc ("Philosophy"): Update comment about
55972         exception testing.
55973         (UNDERFLOW_EXCEPTION): New macro.
55974         (UNDERFLOW_EXCEPTION_OK): Likewise.
55975         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55976         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55977         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55978         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55979         (INVALID_EXCEPTION_OK): Update value.
55980         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55981         (OVERFLOW_EXCEPTION_OK): Likewise.
55982         (IGNORE_ZERO_INF_SIGN): Likewise.
55983         (test_exceptions): Handle underflow exceptions.
55984         (acos_test): Update for underflow exception expectations.
55985         (cexp_test): Likewise.
55986         (clog_test): Likewise.
55987         (clog10_test): Likewise.
55988         (csqrt_test): Likewise.
55989         (ctan_test): Likewise.
55990         (ctanh_test): Likewise.
55991         (exp_test): Likewise.
55992         (exp10_test): Likewise.
55993         (exp2_test): Likewise.
55994         (expm1_test): Likewise.
55995         (fma_test): Likewise.
55996         (j0_test): Likewise.
55997         (jn_test): Likewise.
55998         (nexttoward_test): Likewise.
55999         (pow_test): Likewise.
56000         (scalbn_test): Likewise.
56001         (scalbln_test): Likewise.
56002         (tan_test): Likewise.
56003         (y1_test): Likewise.
56004         * sysdeps/i386/fpu/libm-test-ulps: Update.
56005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56007 2012-05-23  David S. Miller  <davem@davemloft.net>
56009         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56010         (__libc_sigaction): Remove unused local variables.
56012 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56014         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56016 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56018         mktime: avoid signed integer overflow
56019         * time/mktime.c (__mktime_internal): Do not mishandle the case
56020         where diff == INT_MIN.
56022         mktime: simplify computation of average
56023         * time/mktime.c (ranged_convert): Use new time_t_avg function
56024         instead of rolling our own (probably-slower) code.
56026         mktime: do not assume signed right shift propagates sign bit
56027         * time/mktime.c (isdst_differ): New static function.
56028         (__mktime_internal): No need to normalize tm_isdst now.
56029         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56030         tm_isdst values.
56032         mktime: merge another wrapv change from gnulib
56033         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56034         from some compilers.
56036         mktime: remove incorrect attempt at unusual arithmetics
56037         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56038         The code didn't really work on such machines anyway.
56039         (TYPE_MINIMUM): Assume two's complement.
56040         (twos_complement_arithmetic): Verify that long_int and time_t
56041         are two's complement (or unsigned, in the latter case).
56043         mktime: check signed shifts on long_int and time_t, too
56044         * time/mktime.c (SHR): Check that shifts work as desired
56045         on the types long_int and time_t too, as SHR is used on
56046         such types.
56048         mktime: do not assume 'long' is wide enough
56049         * time/mktime.c (verify): Move decl up.
56050         (long_int): New type.
56051         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56052         to remove assumption in the code that 'long' is wide enough to
56053         store year values.  This assumption is not true on x32 and on
56054         some non-glibc platforms.
56056         mktime: merge wrapv change from gnulib
56057         * time/mktime.c (WRAPV): New macro.
56058         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56059         (guess_time_tm, __mktime_internal): Do not assume that signed
56060         integer overflow wraps around; modern compilers generate code
56061         where this assumption is no longer valid.
56063 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56065         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56066         Replace "jmp L(pseudo_end)" with "ret".
56067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56068         Likewise.
56070 2012-05-23  Andreas Jaeger  <aj@suse.de>
56072         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56073         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56075 2012-05-23  Andreas Jaeger  <aj@suse.de>
56076             Maximilian Attems  <max@stro.at>
56078         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56079         New macros.
56081 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56083         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56084         code so that pseudo_end is just ret and the stack pointer is
56085         correct also for static library in error case.
56087 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56089         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56090         move to syscalls.list.
56091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56096         * manual/install.texi (Running make install): Do not mention Linux
56097         kernel version for which pt_chown is not needed.
56098         (Linux): Do not mention problems with nscd with 2.0 kernels.
56099         * INSTALL: Regenerated.
56101 2012-05-23  Andreas Jaeger  <aj@suse.de>
56103         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56104         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56105         macro.
56106         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56107         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56108         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56109         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56110         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56111         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56112         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56113         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56114         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56115         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56116         * sysdeps/unix/sysv/linux/bits/in.h
56117         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56119 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56121         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56122         (PREPARE_VERSION): Just use assert instead, it will be elided
56123         under [NDEBUG] anyway.
56125 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56127         * sysdeps/unix/sysv/linux/Makefile: Include
56128         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56129         (sysdep_routines): Remove sysctl.
56130         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56131         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56132         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56133         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56134         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56136 2012-05-22  Andreas Jaeger  <aj@suse.de>
56138         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56139         that pseudo_end is just ret and the stack pointer is correct also
56140         for static library in error case.
56142 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56144         [BZ #14122]
56145         * nss/nsswitch.c (defconfig_entries): New variable.
56146         (__nss_database_lookup): Don't leak defconfig entries.
56147         (nss_parse_service_list): Don't leak on error paths.
56148         (free_database_entries): New function.
56149         (free_defconfig): New function.
56150         (free_mem): Move common code to free_database_entries.
56152 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56154         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56155         Add arch_prctl.
56156         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56158         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56159         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56161         New macro.
56162         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56163         (INTERNAL_SYSCALL_TYPES): Likewise.
56164         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56165         (LOAD_REGS_TYPES_[1-6]): Likewise.
56166         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56167         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56169 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56171         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56172         copysignl for GLIBC_2_0.
56173         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56174         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56175         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56176         logbl for GLIBC_2_0.
56177         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56178         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56180 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56182         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56183         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56185         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56186         Use "neg %eax".
56188         * time/mktime.c: Update copyright years.
56190 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56192         mktime: merge comment-quoting-style change from gnulib
56193         * time/mktime.c: Quote 'like this' in comments.
56194         The GNU coding standards suggest that we no longer quote `like this',
56195         as "`" and "'" are typically rendered asymmetrically nowadays.
56196         The typical gnulib style is to quote 'like this' when quoting
56197         code, and "like this" when quoting English.
56199         * time/mktime.c (compile-command): Add "-I.".
56201         mktime: merge mktime-internal.h change from gnulib
56202         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56204         mktime: merge time_r change from gnulib
56205         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56207         mktime: merge DEBUG change from gnulib
56208         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56209         case system <time.h> has a #define.
56211         mktime: merge <sys/types.h> change from gnulib
56212         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56213         since <time.t> is now guaranteed to define time_t.
56215         mktime: merge HAVE_CONFIG_H change from gnulib
56216         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56218 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56221         Use "neg %eax".
56223         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56224         __rlim_t cast.
56225         (struct rusage): Use anonymous union to pad each field to
56226         __syscall_slong_t.
56228 2012-05-21  David S. Miller  <davem@davemloft.net>
56230         * Makefules (o-iterator): Remove .s cases.
56231         (compile-command.s): Delete.
56232         (COMPILE.s): Delete.
56233         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56235 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56237         * configure.in (libc_cv_predef_stack_protector): Only consider
56238         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56239         * configure: Regenerated.
56241 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56244         New macro.  Use R*LP on int and pointer.
56245         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56246         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56247         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56248         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56250         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56251         [__WORDSIZE_TIME64_COMPAT32] instead of
56252         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56253         (struct utmp): Likewise.
56254         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56255         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56256         Renamed to ...
56257         (__WORDSIZE_TIME64_COMPAT32): This.
56258         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56259         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56260         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56261         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56262         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56263         (__WORDSIZE_TIME64_COMPAT32): New macro.
56265 2012-05-21  Andreas Jaeger  <aj@suse.de>
56267         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56268         only if [SHARED]. Add prototype for __wcschr_ia32.
56270 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56272         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56273         of %rbp unmolested in the jmp_buf while mangling the low bits.
56274         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56275         unmolested high bits of %rbp while demangling the low bits.
56276         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56278 2012-05-21  Andreas Jaeger  <aj@suse.de>
56280         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56281         * sunrpc/svc_simple.c: Use it for registerrpc.
56282         * sunrpc/xcrypt.c: Use it for passwd2des.
56284         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56286 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56288         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56289         Don't define if [__SYSCALL_WORDSIZE != 32].
56290         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56291         New macro.
56293 2012-05-21  Bruno Haible  <bruno@clisp.org>
56294             Andreas Jaeger  <aj@suse.de>
56296         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56297         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56298         inptr and inend for must_buffer_ch.
56299         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56300         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56301         * stdio-common/Makefile (tests): Remove bug15.
56302         (bug15-ENV): Remove macro.
56303         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56304         anymore.
56306 2012-05-19  Andreas Jaeger  <aj@suse.de>
56307             Roland McGrath  <roland@hack.frob.com>
56309         * manual/contrib.texi: Completely rewritten. It contains now an
56310         alphabetical list of contributors and their contributions.
56312 2012-05-21  Richard Henderson  <rth@twiddle.net>
56314         * misc/getauxval.c (__getauxval): Use unsigned long int.
56315         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56316         (getauxval): Use unsigned long int.
56318 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56320         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56322 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56324         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56325         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56326         __alignof__ (long double).
56328 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56332 2012-05-20  Richard Henderson  <rth@twiddle.net>
56334         * misc/getauxval.c: New file.
56335         * misc/sys/auxv.h: New file.
56336         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56337         (routines): Add getauxval.
56338         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56339         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56340         * elf/dl-sysdep.c (_dl_auxv): Remove.
56341         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56342         * elf/dl-support.c (_dl_auxv): New variable.
56343         (_dl_aux_init): Initialize it.
56344         * manual/startup.texi (Auxiliary Vector): New node.
56345         * sysdeps/generic/bits/hwcap.h: New file.
56346         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56347         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56348         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56349         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56350         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56351         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56353         Update.
56354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56357         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56363 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56367 2012-05-19  David S. Miller  <davem@davemloft.net>
56369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56371 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56373         [BZ #14123]
56374         * math/s_ccosh.c: Include <float.h>
56375         (__ccosh): Avoid internal overflow calculating sinh and cosh
56376         values before multiplying by sin and cos values.
56377         * math/s_ccoshf.c: Likewise.
56378         * math/s_ccoshl.c: Likewise.
56379         * math/s_csin.c: Likewise.
56380         * math/s_csinf.c: Likewise.
56381         * math/s_csinl.c: Likewise.
56382         * math/s_csinh.c: Likewise.
56383         * math/s_csinhf.c: Likewise.
56384         * math/s_csinhl.c: Likewise.
56385         * math/libm-test.inc (ccos_test): Add more tests.
56386         (ccosh_test): Likewise.
56387         (csin_test): Likewise.
56388         (csinh_test): Likewise.
56389         * sysdeps/i386/fpu/libm-test-ulps: Update.
56390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56392 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56394         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56395         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56397         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56399 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56401         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56402         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56403         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56404         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56405         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56406         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56407         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56408         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56409         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56410         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56411         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56412         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56413         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56414         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56415         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56416         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56417         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56418         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56419         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56420         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56421         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56422         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56423         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56424         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56425         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56426         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56427         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56428         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56429         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56430         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56431         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56433 2012-05-18  Andreas Jaeger  <aj@suse.de>
56435         * csu/.gitignore: Delete.
56437 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56439         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56440         (timex): Use __syscall_slong_t.
56442 2012-05-18  Andreas Jaeger  <aj@suse.de>
56443             Carlos O'Donell  <carlos_odonell@mentor.com>
56445         * manual/install.texi (Configuring and compiling): Update
56446         description about files modified in the source directory.
56447         * INSTALL: Regenerated.
56449 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56451         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56452         value.  Use "or" to set return value to -1.
56453         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56454         negate return value.
56456 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56458         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56459         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56460         failure if the compiler has Graphite support disabled.
56461         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56462         Likewise.
56463         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56464         (CFLAGS-memmove.c): Likewise.
56465         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56466         Likewise.
56468 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56470         * sysdeps/x86_64/x32/_itoa.h: New file.
56472         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56473         getdents system call only if kernel and user dirents have the
56474         same d_ino and d_off.
56476         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56477         LLONG_MAX != LONG_MAX.
56478         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56479         (_fitoa_word): Likewise.
56481         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56482         years.
56483         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56484         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56485         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56487         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56488         include <bits/wordsize.h>.  Check __x86_64__ instead of
56489         __WORDSIZE.
56490         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56491         if __x86_64__ is defined.  Use anonymous union on fpstate.
56493         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56494         anonymous union.
56496 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
56498         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56499         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56500         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56501         Refer to _rtld_local_ro instead of _rtld_global_ro.
56502         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56503         Likewise.
56504         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56505         Likewise.
56506         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56507         Likewise.
56508         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56509         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56510         of _rtld_global, and rtld_progname instead of _dl_argv[0].
56512         [BZ #10882]
56513         * sysdeps/powerpc/powerpc32/dl-machine.c
56514         (__elf_machine_runtime_setup) [PROF]: Don't reference
56515         _dl_prof_resolve.
56517 2012-05-18  Andreas Jaeger  <aj@suse.de>
56519         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56520         function only available for GCCs before 3.4 since GCC 3.4
56521         introduced a builtin.
56522         (lrint): Likewise.
56523         (llrintf): Likewise.
56524         (llrint): Likewise.
56525         (fmaxf): Likewise.
56526         (fmax): Likewise.
56527         (fminf): Likewise.
56528         (fmin): Likewise.
56529         (rint): Likewise.
56530         (rintf): Likewise.
56531         (nearbyint): Likewise.
56532         (nearbyintf): Likewise.
56533         (ceil): Likewise.
56534         (ceilf): Likewise.
56535         (floor): Likewise.
56536         (floorf): Likewise.
56538 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56540         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56541         on both fields and cast pointer to __syscall_ulong_t.
56543         * bits/types.h (__fsword_t): New type.
56544         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56545         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56547         (__FSWORD_T_TYPE): Likewise.
56548         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56549         (__FSWORD_T_TYPE): Likewise.
56550         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56551         (__FSWORD_T_TYPE): Likewise.
56552         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56553         (__FSWORD_T_TYPE): Likewise.
56554         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56555         __SWORD_TYPE with __fsword_t.
56556         (statfs64): Likewise.
56558 2012-05-17  David S. Miller  <davem@davemloft.net>
56560         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56562 2012-05-17  Andreas Jaeger  <aj@suse.de>
56564         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56565         warning.
56567 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56569         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56571 2012-05-17  Andreas Jaeger  <aj@suse.de>
56573         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56574         when it is used.
56576 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56578         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56580 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56582         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56583         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56585 2012-05-17  Andreas Jaeger  <aj@suse.de>
56586             Carlos O'Donell  <carlos_odonell@mentor.com>
56588         [BZ #14059]
56589         * sysdeps/x86_64/multiarch/init-arch.h
56590         (bit_YMM_Usable): Rename to...
56591         (bit_AVX_Usable): ... this.
56592         (bit_FMA4_Usable): New macro.
56593         (bit_XMM_state): New macro.
56594         (bit_YMM_state): New macro.
56595         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56596         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56597         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56598         (CPUID_OSXSAVE): New macro.
56599         (CPUID_AVX): New macro.
56600         (CPUID_FMA4): New macro.
56601         (index_YMM_Usable): Rename to...
56602         (index_AVX_Usable): ... this.
56603         (HAS_AVX): Use HAS_ARCH_FEATURE.
56604         (HAS_FMA4): Likewise.
56605         (HAS_YMM_USABLE): Remove.
56606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56607         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56608         are present.
56609         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56610         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56611         * sysdeps/x86_64/multiarch/Makefile: Likewise.
56612         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56613         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56615 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56617         * math/libm-test.c: Support platforms without multiple rounding modes.
56618         * math/bug-nextafter.c: Support platforms without FP exceptions.
56619         * math/bug-nexttoward.c: Likewise.
56620         * math/test-fenv.c: Likewise.
56621         * math/test-misc.c: Likewise.
56622         * stdlib/bug-getcontext.c: Likewise.
56624 2012-05-17  Andreas Jaeger  <aj@suse.de>
56626         * manual/examples/search.c (critter_cmp): Change signature to
56627         avoid warnings.
56628         * manual/string.texi (Collation Functions): Likewise.
56630 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56632         * bits/types.h: Fold copyright years.
56633         * bits/typesizes.h: Likewise.
56634         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
56635         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56636         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
56637         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
56638         * time/time.h: Likewise.
56640 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
56642         [BZ #208]
56643         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
56644         in instead of returning them.  Return void.
56645         (__libc_mallinfo): Accumulate over all arenas.
56646         (__malloc_stats): Adjust for change in int_mallinfo interface.
56648 2012-05-16  Roland McGrath  <roland@hack.frob.com>
56650         [BZ #10375]
56651         * configure.in (NM): Add AC_CHECK_TOOL for it.
56652         (libc_extra_cflags): New substituted variable.
56653         Check for -fstack-protector being used implicitly.
56654         * configure: Regenerated.
56655         * config.make.in (config-extra-cflags): New variable,
56656         gets @libc_extra_cflags@.
56657         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56659         [BZ #10375]
56660         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56661         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56662         * configure: Regenerated.
56663         * config.make.in (CPPUNDEFS): New substituted variable.
56664         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56665         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56666         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56668 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56670         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56671         (mq_attr): Use __syscall_slong_t.
56673 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56675         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56676         Check __x86_64__ instead of __WORDSIZE.
56677         (_STAT_VER_LINUX): Likewise.
56678         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56679         __syscall_ulong_t and __syscall_slong_t.
56680         (stat64): Likewise.
56682 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56684         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56688         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56690 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56692         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56693         __syscall_ulong_t.
56695         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56696         include <bits/wordsize.h>.  Check __x86_64__ instead of
56697         __WORDSIZE.
56698         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56699         defined.
56700         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56702         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56703         include <bits/wordsize.h>.  Check __x86_64__ instead of
56704         __WORDSIZE.
56705         (user_regs_struct): Use "__extension__ unsigned long long"
56706         instead of "unsigned long" if __x86_64__ is defined.
56707         (user): Likewise.  Pad after pointer field if __ILP32__ is
56708         defined.
56710 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56712         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56713         versions 5 to 9.
56714         * configure: Regenerated.
56715         * manual/install.texi (texinfo): Increase version requirement to
56716         4.5 or later.
56717         * INSTALL: Regenerated.
56719         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56721 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56723         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56725         * sysdeps/x86_64/x32/ffs.c: New file.
56727         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56728         __syscall_ulong_t.
56729         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56730         defined.  Use __syscall_ulong_t.
56731         (shminfo): Use __syscall_ulong_t.
56732         (shm_info): Likewise.
56734         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56735         __syscall_ulong_t.
56737         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56738         <bits/wordsize.h>.
56739         (msgqnum_t): Use __syscall_ulong_t.
56740         (msglen_t): Likewise.
56741         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56742         __syscall_ulong_t.
56744         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56745         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56747         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56749         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56750         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56752         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56753         __syscall_slong_t.
56755         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56756         include <bits/wordsize.h>.  Check __x86_64__ instead of
56757         __WORDSIZE.
56759         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56760         "unsigned long long int" if __x86_64__ is defined.
56761         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56763         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56764         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56765         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56767         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56768         <stdint.h>.
56769         (GET_PC): Cast to uintptr_t first.
56770         (GET_FRAME): Likewise.
56771         (GET_STACK): Likewise.
56773         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56774         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56775         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56776         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56777         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56778         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56779         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56780         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56781         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56782         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56783         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56784         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56785         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56786         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56787         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56788         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56789         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56790         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56791         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56792         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56793         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56794         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56795         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56796         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56797         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56798         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56799         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56800         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56801         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56803 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56805         * Makerules (+depfiles): Also collect depfiles from .oS in
56806         $(extra-objs).
56807         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56808         .oS, $(libnldbl-routines)).
56810         * Makerules (native-compile-mkdep-flags): Define.
56811         * sunrpc/Makefile (extra-objs): Add $(addprefix
56812         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56813         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56814         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56815         calling $(make-target-directory).
56817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56819         * bits/types.h (__snseconds_t): Removed.
56820         * time/time.h (struct timespec): Replace __snseconds_t with
56821         __syscall_slong_t.
56822         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56823         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56824         Likewise.
56825         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56826         (__SNSECONDS_T_TYPE): Likewise.
56827         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56828         (__SNSECONDS_T_TYPE): Likewise.
56829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56830         (__SNSECONDS_T_TYPE): Likewise.
56832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56834         * sysdeps/mach/hurd/bits/typesizes.h
56835         (__SYSCALL_SLONG_TYPE): New macro.
56836         (__SYSCALL_ULONG_TYPE): Likewise.
56838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56840         * bits/types.h (__syscall_slong_t): New type.
56841         (__syscall_ulong_t): Likewise.
56843         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56844         (__SYSCALL_ULONG_TYPE): Likewise.
56845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56846         (__SYSCALL_SLONG_TYPE): Likewise.
56847         (__SYSCALL_ULONG_TYPE): Likewise.
56848         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56849         (__SYSCALL_SLONG_TYPE): Likewise.
56850         (__SYSCALL_ULONG_TYPE): Likewise.
56851         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56852         (__SYSCALL_SLONG_TYPE): Likewise.
56853         (__SYSCALL_ULONG_TYPE): Likewise.
56855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56857         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56858         Add sigaltstack-offsets.sym.
56859         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56860         <sigaltstack-offsets.h>.
56861         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56862         longjmp_msg pointer.
56863         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56864         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56865         signal stack.
56866         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56868 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56870         * elf/stackguard-macros.h: Remove file.
56871         * sysdeps/generic/stackguard-macros.h: New file.
56872         * sysdeps/i386/stackguard-macros.h: Likewise.
56873         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56874         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56875         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56876         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56877         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56878         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56879         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56880         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56881         <elf/stackguard-macros.h>.
56883         [BZ #14109]
56884         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56885         __aligned__ in attribute.
56886         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56887         (gregset_t): Likewise.
56889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56891         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56892         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56893         * sysdeps/x86_64/x32/Implies-after: New file.
56895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56897         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56898         and access return value for _dl_profile_fixup.  Use R10_LP to
56899         load frame size.
56901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56903         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56907         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56908         * sysdeps/x86_64/x32/sysdep.h: New file.
56910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56912         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56913         * sysdeps/x86_64/setjmp.S: Likewise.
56915 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56917         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56918         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56919         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56920         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56921         remove unused global constant.
56923 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56925         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56926         include of <not-cancel.h>.
56928 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56930         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56932 2012-05-15  Jeff Law  <law@redhat.com>
56933             Andreas Jaeger  <aj@suse.de>
56935         [BZ #13594]
56936         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56937         out from...
56938         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56939         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56940         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56941         code changing __hst_map_handle.map.
56943 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56945         * configure.in (sysnames): Look for Implies-before and Implies-after
56946         files.
56947         * configure: Regenerated.
56949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56951         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56952         8-byte data alignment with LP_SIZE alignment.
56954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56956         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56957         into R10_LP.
56959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56961         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56965         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56966         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56967         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56968         Likewise.
56969         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56973         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56974         (stackinfo_sub_sp): Likewise.
56976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56978         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56979         RAX_LP.
56981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56983         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56984         into R*_LP.
56986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56988         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56989         sizes into R*_LP.
56991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56993         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56997         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56998         into R11_LP and load __x86_64_shared_cache_size_half into
56999         R8_LP.
57001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57003         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57004         R8_LP.
57006 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57008         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57009         logb for POWER7.
57010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57011         logbf for POWER7.
57012         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57013         logbl for POWER7.
57014         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57015         powerpc32/power7/fpu/s_logb.c via #include.
57016         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57017         powerpc32/power7/fpu/s_logbf.c via #include.
57018         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57019         powerpc32/power7/fpu/s_logbl.c via #include.
57021 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57023         * README.libm: Remove file.
57025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57027         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57028         count for x32.  Use R*_LP and omit operand-size suffix.
57030 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57032         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57033         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57034         * sysdeps/x86_64/x32/shlib-versions: New file.
57036 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57038         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57039         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57040         Use _dl_fatal_printf instead.
57042 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57044         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57045         set if not set by the user.  Do not allow for being unset.
57046         * sysdeps/unix/sysv/linux/configure: Regenerated.
57048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57050         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57051         the `q' suffix from lea and replace .quad with ASM_ADDR.
57053 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57056         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57057         instead of $17.
57058         (PTR_DEMANGLE): Likewise.
57060 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57062         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57063         (LP_OP): Likewise.
57064         (ASM_ADDR): Likewise.
57065         (RAX_LP): Likewise.
57066         (RBP_LP): Likewise.
57067         (RBX_LP): Likewise.
57068         (RCX_LP): Likewise.
57069         (RDI_LP): Likewise.
57070         (RSI_LP): Likewise.
57071         (RSP_LP): Likewise.
57072         (R8_LP): Likewise.
57073         (R9_LP): Likewise.
57074         (R10_LP): Likewise.
57075         (R10_LP): Likewise.
57076         (R11_LP): Likewise.
57077         (R12_LP): Likewise.
57078         (R13_LP): Likewise.
57079         (R14_LP): Likewise.
57080         (R15_LP): Likewise.
57082 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57084         * sysdeps/x86_64/x32/dl-machine.h: New file.
57086 2012-05-14  Andreas Jaeger  <aj@suse.de>
57088         * manual/Makefile (subdir): Remove export of subdir.
57089         (all): Remove target.
57090         (.PHONY): Remove all from list.
57091         (mkinstalldirs): Remove.
57092         (.PHONY): Remove installdirs from list.
57093         ($(inst_infodir)/libc.info): Use make-target-directory.
57094         (installdirs): Remove.
57095         (subdir_%): Remove.
57096         (glibc-targets): Remove.
57097         (lib): Remove.
57098         (stubs): Remove.
57099         ($(objpfx)stubs ../po/manual.pot): Remove.
57100         ($(objpfx)stamp%): Remove.
57101         (make-target-directory): Remove.
57102         (subdir_install): Remove.
57103         (routines): Remove.
57104         (aux): Remove.
57105         (sources): Remove.
57106         (objects): Remove.
57107         (headers): Remove.
57109         [BZ #13750]
57110         * manual/.gitignore: Remove, it's not needed anymore.
57111         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57112         all files in it.
57113         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57114         directory.
57115         (texis): Renamed to $(objpfx)texis.
57116         (texis-path): New, contains path to generated files.
57117         (chapters.%): Use texis-path for complete path, add extra argument
57118         libc-texinfo.sh.
57119         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57120         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57121         (summary,texi, stamp-summary): Use complete path of
57122         files. Generate files in build dir.
57123         (dir-add.texi): Build in build dir.
57124         (libm-err.texi,stamp-libm-err): Likewise.
57125         (version.texi, stamp-version): Likewise.
57126         (.%c.texi): Likewise.
57127         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57128         (mostlyclean): Remove target.
57129         (realclean): Remove target.
57130         (generated): Add new variable with contents from mostlyclean and
57131         realclean, remove entries duplicated in common-mostlyclean, add
57132         stamp-libm-err and stamp-version.
57133         (generated-dirs): Add libc directory.
57134         ($(inst_infodir)/libc.info): Install files from build dir.
57136         * manual/install.texi (Configuring and compiling): Adjust since
57137         the info files are not part of the tar ball anymore.
57139 2012-05-14  Andreas Jaeger  <aj@suse.de>
57141         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57142         variable.
57144 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57146         [BZ #13717]
57147         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57148         to 2.2.0 where earlier.
57149         * sysdeps/unix/sysv/linux/configure: Regenerated.
57150         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57151         Remove conditional code.
57152         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57153         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57154         Remove conditional code.
57155         [!__NR_lchown]: Likewise.
57156         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57157         [__NR_lchown]: Likewise.
57158         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57159         comment referencing __ASSUME_LCHOWN_SYSCALL.
57160         * sysdeps/unix/sysv/linux/i386/sigaction.c
57161         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57162         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57163         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57164         Remove conditional code.
57165         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57166         (__protocol_available): Remove #if 0 code.
57167         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57168         conditional code.
57169         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57170         * sysdeps/unix/sysv/linux/kernel-features.h
57171         (__ASSUME_GETCWD_SYSCALL): Don't define.
57172         (__ASSUME_REALTIME_SIGNALS): Likewise.
57173         (__ASSUME_PREAD_SYSCALL): Likewise.
57174         (__ASSUME_PWRITE_SYSCALL): Likewise.
57175         (__ASSUME_POLL_SYSCALL): Likewise.
57176         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57177         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57178         non-SPARC.
57179         (__ASSUME_SIOCGIFNAME): Don't define.
57180         (__ASSUME_MSG_NOSIGNAL): Likewise.
57181         (__ASSUME_SENDFILE): Define unconditionally.
57182         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57183         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57184         conditional code.
57185         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57186         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57187         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57188         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57189         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57190         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57191         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57193         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57194         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57196         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57197         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57199         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57200         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57202         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57203         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57205         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57206         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57208         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57209         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57211         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57212         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57214         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57215         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57216         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57217         Remove conditional code.
57218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57219         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57220         Remove conditional code.
57221         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57222         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57223         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57224         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57225         Remove conditional code.
57226         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57227         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57228         Remove conditional code.
57229         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57230         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57231         Remove conditional code.
57232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57233         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57234         Remove conditional code.
57235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57236         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57237         Remove conditional code.
57238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57239         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57240         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57241         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57242         * sysdeps/unix/sysv/linux/sigaction.c
57243         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57244         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57245         * sysdeps/unix/sysv/linux/sigpending.c
57246         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57247         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57248         * sysdeps/unix/sysv/linux/sigprocmask.c
57249         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57250         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57251         * sysdeps/unix/sysv/linux/sigsuspend.c
57252         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57253         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57254         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57255         (__libc_missing_rt_sigs): Remove.
57256         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57257         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57258         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57259         Remove conditional code.
57260         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57261         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57262         return 1.
57263         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57264         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57265         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57266         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57268 2012-05-14  Andreas Jaeger  <aj@suse.de>
57270         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57271         it's not used in glibc.
57272         (__coshm1): Likewise.
57273         (__acosh1p): Likewise.
57274         (__sgn): Likewise.
57276         * manual/string.texi (Copying and Concatenation): Add missing
57277         variable in concat example.
57278         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57282         [BZ #14103]
57283         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57284         __builtin_clzl with __builtin_clzll.
57286 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57288         [BZ #14104]
57289         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57290         libc_freeres_ptr.
57292 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57294         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57295         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57296         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57297         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57299 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57301         * NEWS: Update ia64 info.
57303 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57305         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57306         used as bcopy.
57308 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57310         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57311         * sysdeps/unix/syscalls.list (dup3): Likewise.
57312         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57313         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57315 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57317         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57318         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57320 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57322         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57323         thread pointer.
57324         (TLS_IE): Use mov/add instead of movq/addq to load thread
57325         pointer.
57326         (TLS_GD_PREFIX): New.
57327         (TLS_GD): Use it.
57329 2012-05-11  David S. Miller  <davem@davemloft.net>
57331         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57332         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57333         (_FPU_SETCW): Likewise.
57335 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57337         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57338         is 32-byte aligned.
57340 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57342         [BZ #11837]
57343         * iconvdata/gb18030.c: Update tables.
57344         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57345         characters specially.
57346         (BODY for TO_LOOP): Add encoding of missing ranges.
57348 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57350         [BZ #13673]
57351         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57352         * sysdeps/mach/hurd/dup3.c: Likewise.
57353         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57354         * sysdeps/powerpc/memmove.c:: Likewise.
57356 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57358         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57359         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57361 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57363         * elf/elf.h (R_X86_64_RELATIVE64): New.
57364         (R_X86_64_NUM): Updated.
57365         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57366         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57367         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57368         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57369         tst-quad1pie tst-quad2pie
57370         (modules-names): Add tst-quadmod1 tst-quadmod2.
57371         ($(objpfx)tst-quad1): New dependency.
57372         ($(objpfx)tst-quad2): Likewise.
57373         ($(objpfx)tst-quad1pie): Likewise.
57374         ($(objpfx)tst-quad2pie): Likewise.
57375         * sysdeps/x86_64/tst-quad1.c: New file.
57376         * sysdeps/x86_64/tst-quad1pie.c: New file.
57377         * sysdeps/x86_64/tst-quad2.c: Likewise.
57378         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57379         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57380         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57381         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57382         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57384 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57386         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57387         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57388         * streams/stropts.h (t_scalar_t): Define type.
57390         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57391         (_PATH_PRESERVE): Set to "/var/lib".
57392         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57394         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57395         instead of int.
57397         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57398         if __dir_mkfile succeeded.
57400         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57401         checking for _hurd_dtablesize.  Unlock it right after having
57402         finished _hurd_dtable allocation.
57404 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57406         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57407         * sysdeps/mach/hurd/configure: Regenerated.
57408         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57409         special-casing to...
57410         * sysdeps/gnu/configure.in: ... this new file.
57411         * sysdeps/unix/sysv/linux/configure: Regenerated.
57412         * sysdeps/gnu/configure: New generated file.
57414         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57415         for Linux: use nsec instead of usec, as well as:
57416         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57417         members of type struct timespec.
57418         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57419         New macros.
57420         (struct stat64): Likewise.
57421         (_STATBUF_ST_NSEC): New macro.
57422         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57424         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57425         __strtoul_internal rather than strtoul.
57427 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57429         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57430         and reject them.
57432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57434         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57435         which preserves existing values.
57436         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57438 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57440         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57441         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57442         greater than FD_SETSIZE.
57444 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57446         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57447         allocated, call __vm_protect to finish enabling the existing space, and
57448         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57449         allocate the remainder.
57451 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57453         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57454         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57458         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57459         sysdeps/mach/hurd/readlink.c.
57461         * posix/tst-sysconf.c (posix_options): Only use
57462         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57463         _POSIX_SYNCHRONIZED_IO when they are defined
57464         * sysdeps/mach/hurd/bits/posix_opt.h:
57465         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57466         (_XOPEN_REALTIME): Undefine macro.
57467         (_XOPEN_REALTIME_THREADS): Undefine macro.
57468         (_XOPEN_SHM): Undefine macro.
57469         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57470         macro to -1.
57471         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57472         macro to -1.
57473         (_POSIX_ASYNC_IO): Undefine macro.
57474         (_POSIX_PRIORITIZED_IO): Undefine macro.
57475         (_POSIX_SPIN_LOCKS): Define macro to -1.
57477         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57478         SA_NODEFER, SA_RESETHAND.
57479         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57480         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57481         F_DUPFD_CLOEXEC.
57483 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57485         * elf/Makefile (pldd-modules): Define unconditionally.
57487 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57489         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57491 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57493         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57494         Return ENOENT when name is empty.
57495         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57499         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57501         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57503 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57505         Fix mlock in all cases except non-readable pages.
57506         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57507         instead of VM_PROT_ALL as parameter to __vm_wire function.
57509         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57510         (__mkdir): When path is `/', just fail with EEXIST.
57511         * sysdeps/mach/hurd/mkdirat.c: Likewise.
57513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57515         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57516         <sys/uio.h> (for writev).
57517         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57518         and <sys/param.h> (for MIN).
57520 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57522         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57523         REQUESTED_TIME.  Properly set the remaining time and return EINTR
57524         if interrupted.
57526 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57528         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57529         Depend on against $(link-rpcuserlibs).
57531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57533         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57534         (__libc_stack_end): Do not use attribute_relro.
57535         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57536         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57537         to libthread-provided value.
57538         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57539         attribute_relro.
57541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57543         [BZ #3748]
57544         * bits/libc-lock.h (__libc_once_get): New macro.
57545         * sysdeps/mach/bits/libc-lock.h: Likewise.
57546         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57547         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57548         instead of using implementation details.
57550         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57551         * libio/freopen.c: Likewise.
57552         * libio/freopen64.c: Likewise.
57553         * misc/syslog.c: Likewise.
57554         * nscd/connections.c: Likewise.
57555         * nscd/netgroupcache.c: Likewise.
57556         * sysdeps/posix/getcwd.c: Likewise.
57558 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57560         * math/w_ilogbf.c: Add #include <limits.h>.
57562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57564         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57565         path instead of returning without unlocking.
57567         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57568         immediate-write ioctls.
57569         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57573         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57574         __builtin_frame_address instead of making assumptions about the
57575         location of the return address relative to DATA.  Force early load of
57576         the return address.
57577         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57578         __builtin_frame_address.
57580         dup3 for GNU Hurd.
57581         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57582         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57583         implement dup3 and do some further code clean-ups.
57584         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57585         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57589         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57591         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57592         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57593         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57594         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57595         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57596         d->port.lock.
57598         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57599         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
57600         when handler == SIG_ERR, not when handler != SIG_ERR.
57602 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57604         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57605         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57606         definitions.
57608         accept4 for GNU Hurd.
57609         * include/sys/socket.h (__libc_accept4): New prototype.
57610         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
57611         to implement __libc_accept4.
57612         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57613         __libc_accept4.
57614         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57616         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57617         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57618         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57619         signal-defines.sym.
57621 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57623         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57627         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57628         assertion on O_CLOEXEC flag.
57629         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57630         * hurd/intern-fd.c: Likewise.
57631         * hurd/port2fd.c: Likewise.
57633 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57635         [BZ #3906]
57636         * bits/in.h (IPV6_PKTINFO): Define new macro.
57637         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
57639 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57641         [BZ #13954]
57642         [BZ #13955]
57643         [BZ #13956]
57644         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
57645         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57646         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
57647         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57649         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57650         * math/libm-test.inc (logb_test) : Additional logb tests.
57652 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
57653             Andreas Jaeger  <aj@suse.de>
57655         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57656         * configure: Regenerated.
57657         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57658         * config.make.in (link-obsolete-rpc): New substituted variable.
57659         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57660         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57661         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57662         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57663         so that libc.a contains the symbols.
57664         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57665         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57666         * sunrpc/auth_none.c: Likewise.
57667         * sunrpc/auth_unix.c: Likewise.
57668         * sunrpc/authdes_prot.c: Likewise.
57669         * sunrpc/authuxprot.c: Likewise.
57670         * sunrpc/clnt_gen.c: Likewise.
57671         * sunrpc/clnt_perr.c: Likewise.
57672         * sunrpc/clnt_raw.c: Likewise.
57673         * sunrpc/clnt_simp.c: Likewise.
57674         * sunrpc/clnt_tcp.c: Likewise.
57675         * sunrpc/clnt_udp.c: Likewise.
57676         * sunrpc/clnt_unix.c: Likewise.
57677         * sunrpc/des_crypt.c: Likewise.
57678         * sunrpc/des_soft.c: Likewise.
57679         * sunrpc/get_myaddr.c: Likewise.
57680         * sunrpc/key_call.c: Likewise.
57681         * sunrpc/key_prot.c: Likewise.
57682         * sunrpc/netname.c: Likewise.
57683         * sunrpc/pm_getmaps.c: Likewise.
57684         * sunrpc/pm_getport.c: Likewise.
57685         * sunrpc/pmap_clnt.c: Likewise.
57686         * sunrpc/pmap_prot.c: Likewise.
57687         * sunrpc/pmap_prot2.c: Likewise.
57688         * sunrpc/pmap_rmt.c: Likewise.
57689         * sunrpc/publickey.c: Likewise.
57690         * sunrpc/rpc_cmsg.c: Likewise.
57691         * sunrpc/rpc_common.c: Likewise.
57692         * sunrpc/rpc_dtable.c: Likewise.
57693         * sunrpc/rpc_prot.c: Likewise.
57694         * sunrpc/rpc_thread.c: Likewise.
57695         * sunrpc/rtime.c: Likewise.
57696         * sunrpc/svc.c: Likewise.
57697         * sunrpc/svc_auth.c: Likewise.
57698         * sunrpc/svc_raw.c: Likewise.
57699         * sunrpc/svc_run.c: Likewise.
57700         * sunrpc/svc_tcp.c: Likewise.
57701         * sunrpc/svc_udp.c: Likewise.
57702         * sunrpc/svc_unix.c: Likewise.
57703         * sunrpc/svcauth_des.c: Likewise.
57704         * sunrpc/xcrypt.c: Likewise.
57705         * sunrpc/xdr.c: Likewise.
57706         * sunrpc/xdr_array.c: Likewise.
57707         * sunrpc/xdr_float.c: Likewise.
57708         * sunrpc/xdr_intXX_t.c: Likewise.
57709         * sunrpc/xdr_mem.c: Likewise.
57710         * sunrpc/xdr_rec.c: Likewise.
57711         * sunrpc/xdr_ref.c: Likewise.
57712         * sunrpc/xdr_sizeof.c: Likewise.
57713         * sunrpc/xdr_stdio.c: Likewise.
57715 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57718         change.  Update copyright years.
57720 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57722         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57724 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57725             Joseph Myers  <joseph@codesourcery.com>
57726             Paul Pluzhnikov  <ppluzhnikov@google.com>
57728         [BZ #14012]
57729         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57730         requiring rpcgen.
57731         [cross-compiling] (extra-libs): Likewise.
57732         [cross-compiling] (extra-libs-others): Likewise.
57733         [cross-compiling] (librpcsvc-routines): Likewise.
57734         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57735         [cross-compiling] (omit-deps): Likewise.
57736         (sunrpc-CPPFLAGS): New variable.
57737         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57738         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57739         (cross-rpcgen-objs): New variable.
57740         (extra-objs): Append $(cross-rpcgen-objs).
57741         ($(cross-rpcgen-objs)): New rule.
57742         ($(objpfx)cross-rpcgen): Likewise.
57743         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57744         comment.
57745         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57746         ($(objpfx)x%.stmp): Likewise.
57747         * sunrpc/proto.h [IS_IN_build] (_): Define.
57748         [IS_IN_build] (_libc_intl_domainname): Likewise.
57750 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57752         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57753         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57754         and R_X86_64_TPOFF64.
57756 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57758         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57759         sysdeps/unix/sysv/syscalls.list.
57760         (stime): Likewise.
57761         (utime): Likewise.
57762         * sysdeps/unix/sysv/syscalls.list: Remove file.
57764 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57766         [BZ #3440]
57767         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57768         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57769         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57770         (__LC_IDENTIFICATION): Make these macros useful in #if
57771         expressions, as required by C99.
57773 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57775         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57776         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57777         after this.
57779 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57781         * stdlib/longlong.h: Updated from GCC.
57783 2012-05-09  Andreas Jaeger  <aj@suse.de>
57785         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57786         default is first entry.
57787         (run_mode): Set type.
57788         (main): Remove informal message about syslog.
57789         (options): Fix typo.
57791         [BZ #14053]
57792         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57793         to asm.
57794         (lrint): Likewise.
57795         (llrintf): Likewise.
57796         (llrint): Likewise.
57797         (rint): Likewise.
57798         (rintf): Likewise.
57799         (nearbyint): Likewise.
57800         (nearbyintf): Likewise.
57802 2012-05-09  Andreas Jaeger  <aj@suse.de>
57803             Pedro Alves  <palves@redhat.com>
57805         * nscd/nscd.c (run_mode): Use enum.
57806         (main): Cleanup coding style issue.
57808 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57809             Andreas Jaeger  <aj@suse.de>
57811         * nscd/nscd.c (go_background): Replaced with...
57812         (run_mode): ... this.
57813         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57814         (options): Add -F --foreground.
57815         (main): Implement it.
57816         (parse_opt): Parse it.
57818 2012-05-09  Andreas Jaeger  <aj@suse.de>
57820         [BZ #14083]
57821         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57822         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57823         -Wconversion warning.
57824         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57825         Likewise.
57827 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57829         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57830         == 0.
57831         (LC_ALL): Use macro-int-constant.
57832         (LC_COLLATE): Likewise.
57833         (LC_CTYPE): Likewise.
57834         (LC_MESSAGES): Likewise.
57835         (LC_MONETARY): Likewise.
57836         (LC_NUMERIC): Likewise.
57837         (LC_TIME): Likewise.
57838         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57839         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57840         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57841         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57842         Specify type.
57843         [C99-based standards] (float_t): Expect type.
57844         [C99-based standards] (double_t): Expect type.
57845         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57846         type.
57847         [C99-based standards] (HUGE_VALL): Likewise.
57848         [C99-based standards] (INFINITY): Likewise.
57849         [C99-based standards] (NAN): Likewise.
57850         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57851         [C99-based standards] (FP_NAN): Likewise.
57852         [C99-based standards] (FP_NORMAL): Likewise.
57853         [C99-based standards] (FP_SUBNORMAL): Likewise.
57854         [C99-based standards] (FP_ZERO): Likewise.
57855         [C99-based standards] (FP_FAST_FMA): Use
57856         optional-macro-int-constant.  Specify type.  Require == 1.
57857         [C99-based standards] (FP_FAST_FMAF): Likewise.
57858         [C99-based standards] (FP_FAST_FMAL): Likewise.
57859         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57860         [C99-based standards] (FP_ILOGBNAN): Likewise.
57861         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57862         Specify type.
57863         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57864         [C99-based standards] (math_errhandling): Specify type.
57865         [ISO99 || ISO11] (signgam): Do not allow.
57866         [non-C99-based standards] (copysignf): Do not allow.
57867         [non-C99-based standards] (exp2f): Likewise.
57868         [non-C99-based standards] (log2f): Likewise.
57869         [non-C99-based standards] (modff): Allow.
57870         [non-C99-based standards] (erff): Do not allow.
57871         [non-C99-based standards] (erfcf): Likewise.
57872         [non-C99-based standards] (gammaf): Likewise.
57873         [non-C99-based standards] (hypotf): Likewise.
57874         [non-C99-based standards] (j0f): Likewise.
57875         [non-C99-based standards] (j1f): Likewise.
57876         [non-C99-based standards] (jnf): Likewise.
57877         [non-C99-based standards] (lgammaf): Likewise.
57878         [non-C99-based standards] (tgammaf): Likewise.
57879         [non-C99-based standards] (y0f): Likewise.
57880         [non-C99-based standards] (y1f): Likewise.
57881         [non-C99-based standards] (ynf): Likewise.
57882         [non-C99-based standards] (isnanf): Likewise.
57883         [non-C99-based standards] (acoshf): Likewise.
57884         [non-C99-based standards] (asinhf): Likewise.
57885         [non-C99-based standards] (atanhf): Likewise.
57886         [non-C99-based standards] (cbrtf): Likewise.
57887         [non-C99-based standards] (expm1f): Likewise.
57888         [non-C99-based standards] (ilogbf): Likewise.
57889         [non-C99-based standards] (log1pf): Likewise.
57890         [non-C99-based standards] (logbf): Likewise.
57891         [non-C99-based standards] (nextafterf): Likewise.
57892         [non-C99-based standards] (remainderf): Likewise.
57893         [non-C99-based standards] (rintf): Likewise.
57894         [non-C99-based standards] (scalbf): Likewise.
57895         [non-C99-based standards] (copysignl): Likewise.
57896         [non-C99-based standards] (exp2l): Likewise.
57897         [non-C99-based standards] (log2l): Likewise.
57898         [non-C99-based standards] (modfl): Allow.
57899         [non-C99-based standards] (erfl): Do not allow.
57900         [non-C99-based standards] (erfcl): Likewise.
57901         [non-C99-based standards] (gammal): Likewise.
57902         [non-C99-based standards] (hypotl): Likewise.
57903         [non-C99-based standards] (j0l): Likewise.
57904         [non-C99-based standards] (j1l): Likewise.
57905         [non-C99-based standards] (jnl): Likewise.
57906         [non-C99-based standards] (lgammal): Likewise.
57907         [non-C99-based standards] (tgammal): Likewise.
57908         [non-C99-based standards] (y0l): Likewise.
57909         [non-C99-based standards] (y1l): Likewise.
57910         [non-C99-based standards] (ynl): Likewise.
57911         [non-C99-based standards] (isnanl): Likewise.
57912         [non-C99-based standards] (acoshl): Likewise.
57913         [non-C99-based standards] (asinhl): Likewise.
57914         [non-C99-based standards] (atanhl): Likewise.
57915         [non-C99-based standards] (cbrtl): Likewise.
57916         [non-C99-based standards] (expm1l): Likewise.
57917         [non-C99-based standards] (ilogbl): Likewise.
57918         [non-C99-based standards] (log1pl): Likewise.
57919         [non-C99-based standards] (logbl): Likewise.
57920         [non-C99-based standards] (nextafterl): Likewise.
57921         [non-C99-based standards] (remainderl): Likewise.
57922         [non-C99-based standards] (rintl): Likewise.
57923         [non-C99-based standards] (scalbl): Likewise.
57924         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57925         [non-C99-based standards] (FP_*): Do not allow.
57926         [C99-based standards] (FP_*): Change to
57927         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57928         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57929         allow.
57930         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57931         (SIG_ERR): Likewise.
57932         [X/Open-based standards] (SIG_HOLD): Likewise.
57933         (SIG_IGN): Likewise.
57934         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57935         positive value.
57936         (SIGFPE): Likewise.
57937         (SIGILL): Likewise.
57938         (SIGINT): Likewise.
57939         (SIGSEGV): Likewise.
57940         (SIGTER): Likewise.
57941         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57942         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57943         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57944         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57945         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57946         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57947         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57948         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57949         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57950         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57951         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57952         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57953         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57954         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57955         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57956         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57957         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57958         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57959         [X/Open-based standards] (SIGTRAP): Likewise.
57960         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57961         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57962         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57963         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57964         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57965         allow.
57967 2012-05-08  Ian Wienand  <ianw@vmware.com>
57969         [BZ #14080]
57970         * time/tzset.c (__tzset_parse_tz): Update default rules for
57971         daylight time changes in the Energy Policy Act of 2005.
57973 2012-05-09  Andreas Jaeger  <aj@suse.de>
57975         [BZ #13983]
57976         * elf/ldconfig.c (parse_conf): Change string to make clear that
57977         ldconfig only issued a warning if ld.so.conf does not exist.
57979 2012-05-08  David S. Miller  <davem@davemloft.net>
57981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57982         movxtod instead of popping the value on the stack.
57984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57986 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57988         * config.h.in: Add HAVE_ARM_PCS_VFP.
57990 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57992         [BZ #13979]
57993         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57994         checking but the checks are disabled for any reason.
57996 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57998         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57999         and ELF64_R_TYPE with ELFW(R_TYPE).
58001 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58003         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58004         (ulimit): Likewise.
58006         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58007         (settimeofday): Likewise.
58009 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58011         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58012         a struct th_u2 inside the union, and move tu_block/tu_code into
58013         a new th_u3 union of tu_block/tu_code inside of that.  Move
58014         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58015         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58016         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58017         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58018         (th_stuff): Change to th_u1.tu_stuff.
58019         (th_data): Define.
58020         (th_msg): Change to th_u1.th_u2.tu_data.
58022 2012-05-07  David S. Miller  <davem@davemloft.net>
58024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58026         [BZ #14074]
58027         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58028         (SETUP_PIC_REG): Use it.
58029         (SETUP_PIC_REG_LEAF): Use it.
58031 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58033         [BZ #13885]
58034         [BZ #13923]
58035         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58036         USE_AS_EXPM1L.
58037         (EXPL_FINITE): Likewise.
58038         (FLDLOG): Likewise.
58039         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58040         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58041         e_expl.S.
58042         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58043         USE_AS_EXPM1L.
58044         (EXPL_FINITE): Likewise.
58045         (FLDLOG): Likewise.
58046         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58047         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58048         e_expl.S.
58049         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58050         test of -max_value argument for long double.
58051         * sysdeps/i386/fpu/libm-test-ulps: Update.
58052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58054 2012-05-06  David S. Miller  <davem@davemloft.net>
58056         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58057         quad soft-float symbols whose references which are compiler
58058         generated.
58059         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58061 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58063         [BZ #13884]
58064         [BZ #13914]
58065         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58066         USE_AS_EXP10L.
58067         (EXPL_FINITE): Likewise.
58068         (FLDLOG): Likewise.
58069         (c0): Likewise.
58070         (c1): Likewise.
58071         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58072         Adjust comments for base varying.
58073         (__expl_finite): Change alias to EXPL_FINITE.
58074         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58075         e_expl.S.
58076         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58077         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58078         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58079         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58080         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58081         USE_AS_EXP10L.
58082         (EXPL_FINITE): Likewise.
58083         (FLDLOG): Likewise.
58084         (c0): Likewise.
58085         (c1): Likewise.
58086         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58087         Adjust comments for base varying.
58088         (__expl_finite): Change alias to EXPL_FINITE.
58089         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58090         tests for bugs.
58091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58093         [BZ #14064]
58094         * math/libm-test.inc (check_float_internal): Correct ulp
58095         calculation for subnormal expected results.
58097 2012-05-06  Andreas Jaeger  <aj@suse.de>
58099         * Makeconfig (+math-flags): New, set to -frounding-math.
58100         (+cflags): Add +math-flags so that all of glibc gets compiled with
58101         it.
58103         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58105 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58107         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58108         Disable one test.
58110         [BZ #13787]
58111         [BZ #13922]
58112         [BZ #14036]
58113         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58114         (__ieee754_expl): Allow for and saturate large arguments.
58115         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58116         (u_threshold): Likewise.
58117         (__exp): Call __ieee754_exp before checking for overflow and
58118         underflow.
58119         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58120         (u_threshold): Likewise.
58121         (__expf): Call __ieee754_expf before checking for overflow and
58122         underflow.
58123         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58124         (u_threshold): Likewise.
58125         (__expl): Call __ieee754_expl before checking for overflow and
58126         underflow.
58127         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58128         (__ieee754_expl): Allow for and saturate large arguments.
58129         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58130         missing overflow exception on overflow.
58131         (expm1_test): Do not allow missing overflow exception on overflow.
58133         * sysdeps/i386/fpu/e_expl.c: Move to ...
58134         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58135         rather than using inline asm.
58136         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58137         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58138         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58140         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58141         (nice): Likewise.
58142         (poll): Likewise.
58143         (signal): Likewise.
58144         (time): Likewise.
58145         (times): Likewise.
58147 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58149         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58150         sysdeps/unix/common/syscalls.list.
58151         (fchmod): Likewise.
58152         (fchown): Likewise.
58153         (ftruncate): Likewise.
58154         (getrusage): Likewise.
58155         (gettimeofday): Likewise.
58156         (setpgid): Likewise.
58157         (setregid): Likewise.
58158         (setreuid): Likewise.
58159         (sigaction): Likewise.
58160         (truncate): Likewise.
58161         (vhangup): Likewise.
58162         * sysdeps/unix/common/syscalls.list: Remove file.
58163         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58164         * sysdeps/unix/sysv/linux/Implies: Likewise.
58166 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58168         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58170         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58171         Moved to ...
58172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58173         Here.
58174         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58175         to ...
58176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58177         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58178         to ...
58179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58180         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58181         to ...
58182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58183         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58184         to ...
58185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58186         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58187         to ...
58188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58189         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58190         to ...
58191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58192         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58193         to ...
58194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58195         Here.
58196         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58197         to ...
58198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58199         Here.
58200         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58201         to ...
58202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58203         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58204         Moved to ...
58205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58206         Here.
58207         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58208         to ...
58209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58211 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58213         * sysdeps/unix/common/bits/dirent.h: Remove file.
58214         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58216         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58217         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58218         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58219         * sysdeps/unix/bsd/isatty.c: Likewise.
58220         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58221         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58222         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58224 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58226         [BZ #13563]
58227         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58228         long double comparison inaccuracies.
58229         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58232 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58234         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58235         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58237 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58239         [BZ #14049]
58240         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58241         nonzero digits before rounding a hex value.
58242         * stdlib/tst-strtod.c (tests): Add another test.
58244 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58246         * sysdeps/s390/fpu/libm-test-ulps: Update.
58248 2012-05-03  Andreas Jaeger  <aj@suse.de>
58250         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58251         does not get optimized out.
58252         (malloc_opt_barrier): New.
58254 2012-05-03  Andreas Jaeger  <aj@suse.de>
58255             Roland McGrath  <roland@hack.frob.com>
58257         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58258         intermediate file deletion.
58259         (generated): Add .symlist files.
58261 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58263         [BZ #13775]
58264         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58265         Redirect under this condition.
58266         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58267         [__USE_GNU] (__dprintf_chk): Not under this condition.
58268         [__USE_GNU] (__vdprintf_chk): Likewise.
58269         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58270         under this condition.
58271         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58272         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58273         [__USE_XOPEN2K8] (vdprintf): Likewise.
58274         [__USE_GNU] (__dprintf_chk): Not under this condition.
58275         [__USE_GNU] (__vdprintf_chk): Likewise.
58276         [__USE_GNU] (dprintf): Likewise.
58277         [__USE_GNU] (vdprintf): Likewise.
58279 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58281         * elf/Makefile (common-generated): Set this instead of generated for
58282         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58283         $(all-built-dso)-derived lists.
58285 2012-05-03  Andreas Jaeger  <aj@suse.de>
58287         * sysdeps/i386/fpu/libm-test-ulps: Update.
58289         * FAQ: Removed.
58290         * FAQ.in: Likewise.
58291         * scripts/gen-FAQ.pl: Likewise.
58292         * manual/install.texi (Installation): Point to online location of
58293         FAQ.
58294         * Makefile (files-for-dist): Remove FAQ.
58295         (FAQ): Remove.
58297 2012-05-02  Allan McRae  <allan@archlinux.org>
58299         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58300         (LDFLAGS-reldepmod5.so): Likewise.
58301         (LDFLAGS-reldep6mod1.so): Likewise.
58302         (LDFLAGS-reldep6mod4.so): Likewise.
58303         (LDFLAGS-reldep8mod3.so): Likewise.
58304         (LDFLAGS-unload4mod1.so): Likewise.
58305         (LDFLAGS-unload4mod2.so): Likewise.
58306         (LDFLAGS-tst-initorder): Likewise.
58307         (LDFLAGS-tst-initordera2.so): Likewise.
58308         (LDFLAGS-tst-initordera3.so): Likewise.
58309         (LDFLAGS-tst-initordera4.so): Likewise.
58310         (LDFLAGS-tst-initorderb2.so): Likewise.
58311         (LDFLAGS-noload): Likewise.
58312         (LDFLAGS-next): Likewise.
58313         (LDFLAGS-order2mod1.so): Likewise.
58314         (LDFLAGS-order2mod2.so): Likewise.
58315         (LDFLAGS-tst-initorder2): Likewise.
58316         (LDFLAGS-tst-initorder2a.so): Likewise.
58317         (LDFLAGS-tst-initorder2b.so): Likewise.
58318         (LDFLAGS-tst-initorder2c.so): Likewise.
58319         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58321 2012-05-02  David S. Miller  <davem@davemloft.net>
58323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58325 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58327         [BZ #14055]
58328         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58330 2012-05-02  Andreas Jaeger  <aj@suse.de>
58332         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58333         since we manipulate rounding mode.
58334         (CPPFLAGS-test-idouble.c): Likewise.
58335         (CPPFLAGS-test-ifloat.c): Likewise.
58336         (CFLAGS-test-ldouble.c): Likewise.
58337         (CFLAGS-test-double.c): Likewise.
58338         (CFLAGS-test-float.c): Likewise.
58339         (CFLAGS-test-misc.c): Likewise.
58340         (CFLAGS-test-test-fenv.c): Likewise.
58342 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58344         [BZ #2550]
58345         [BZ #2570]
58346         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58347         comparisons to determine direction to adjust input.
58349 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58351         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58352         output to the target.
58354         * scripts/localplt.awk: New file.
58355         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58356         (check-localplt-CFLAGS): Variable removed.
58357         ($(all-built-dso:=.jmprel)): New static pattern rule.
58358         (generated): Add those targets.
58359         (localplt-built-dso): New variable.
58360         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58362         * elf/check-localplt.c: File removed.
58364         * scripts/check-execstack.awk: New file.
58365         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58366         (check-execstack-CFLAGS): Variable removed.
58367         ($(objpfx)check-execstack.h): Target removed.
58368         ($(objpfx)execstack-default): New target.
58369         (generated): Add that instead of check-execstack.h.
58370         ($(all-built-dso:=.phdr)): New static pattern rule.
58371         (generated): Add those targets.
58372         * elf/check-execstack.c: File removed.
58374         * scripts/check-textrel.awk: New file.
58375         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58376         (check-textrel-CFLAGS): Variable removed.
58377         (all-built-dso): Use := to define.o
58378         ($(all-built-dso:=.dyn)): New static pattern rule.
58379         (generated): Add those targets.
58380         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58381         * config.make.in (READELF): New substituted variable.
58382         * elf/check-textrel.c: File removed.
58384 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58386         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58387         allow.
58388         * conform/data/ctype.h-data [C99-based standards] (isblank):
58389         Expect function.
58390         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58391         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58393         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58394         Specify type.  Require positive value.
58395         (EILSEQ): Likewise.
58396         (ERANGE): Likewise.
58397         [ISO || POSIX] (EILSEQ): Do not expect.
58398         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58399         Specify type.  Require positive value.
58400         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58401         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58402         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58403         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58404         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58405         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58406         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58407         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58408         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58409         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58410         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58411         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58412         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58413         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58414         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58415         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58416         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58417         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58418         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58419         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58420         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58421         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58422         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58423         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58424         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58425         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58426         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58427         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58428         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58429         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58430         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58431         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58432         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58433         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58434         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58435         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58436         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58437         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58438         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58439         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58440         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58441         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58442         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58443         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58444         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58445         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58446         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58447         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58448         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58449         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58450         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58451         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58452         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58453         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58454         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58455         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58456         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58457         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58458         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58459         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58460         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58461         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58462         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58463         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58464         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58465         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58466         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58467         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58468         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58469         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58470         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58471         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58472         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58473         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58474         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58475         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58476         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58477         Require >= 2.
58478         (FLT_ROUNDS): Expect as macro, not constant.
58479         (FLT_MANT_DIG): Use macro-int-constant.
58480         (DBL_MANT_DIG): Likewise.
58481         (LDBL_MANT_DIG): Likewise.
58482         (FLT_DIG): Likewise.
58483         (DBL_DIG): Likewise.
58484         (LDBL_DIG): Likewise.
58485         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
58486         (DBL_MIN_EXP): Likewise.
58487         (LDBL_MIN_EXP): Likewise.
58488         (FLT_MAX_EXP): Use macro-int-constant.
58489         (DBL_MAX_EXP): Likewise.
58490         (LDBL_MAX_EXP): Likewise.
58491         (FLT_MAX_10_EXP): Likewise.
58492         (DBL_MAX_10_EXP): Likewise.
58493         (LDBL_MAX_10_EXP): Likewise.
58494         (FLT_MAX): Use macro-constant.
58495         (DBL_MAX): Likewise.
58496         (LDBL_MAX): Likewise.
58497         (FLT_EPSILON): Use macro-constant.  Give upper bound.
58498         (DBL_EPSILON): Likewise.
58499         (LDBL_EPSILON): Likewise.
58500         (FLT_MIN): Likewise.
58501         (DBL_MIN): Likewise.
58502         (LDBL_MIN): Likewise.
58503         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58504         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58505         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58506         [ISO11] (FLT_HAS_SUBNORM): Likewise.
58507         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58508         [ISO11] (DBL_DECIMAL_DIG): Likewise.
58509         [ISO11] (FLT_DECIMAL_DIG): Likewise.
58510         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58511         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58512         [ISO11] (FLT_TRUE_MIN): Likewise.
58513         [ISO11] (LDBL_TRUE_MIN): Likewise.
58514         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58515         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58516         (SCHAR_MIN): Use macro-int-constant.  Specify type.
58517         (SCHAR_MAX): Likewise.
58518         (UCHAR_MAX): Likewise.
58519         (CHAR_MIN): Likewise.
58520         (CHAR_MAX): Likewise.
58521         (MB_LEN_MAX): Use macro-int-constant.
58522         (SHRT_MIN): Use macro-int-constant.  Specify type.
58523         (SHRT_MAX): Likewise.
58524         (USHRT_MAX): Likewise.
58525         (INT_MAX): Likewise.
58526         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
58527         bound negative.
58528         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58529         bound with "U".
58530         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58531         bound with "L".
58532         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
58533         bound negative.  Suffix upper bound with "L".
58534         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58535         bound with "UL".
58536         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58537         Specify type.
58538         [C99-based standards] (LLONG_MAX): Likewise.
58539         [C99-based standards] (ULLONG_MAX): Likewise.
58540         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
58541         == 0.
58542         [ISO11] (max_align_t): Require type.
58543         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58545         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58546         from $CFLAGS, without defining away __attribute__ calls.
58547         (checknamespace): Use $CFLAGS_namespace.
58549         * conform/conformtest.pl (@keywords): Only include C99 keywords
58550         for standards based on C99 or C11.
58552         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58553         Disable tests.
58554         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58555         UNIX98]: Likewise.
58557         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58558         usability of symbols in #if.
58560         * conform/conformtest.pl: If macro or constant types start
58561         "promoted:", expect the symbol to be of the following type
58562         promoted by the integer promotions.
58564         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58565         in one place.  Also handle "macro-constant".
58567         * conform/conformtest.pl: Only accept expected macro values with
58568         "==".  Parse all "macro" lines in one place.
58569         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58571         * conform/conformtest.pl: Handle braced types on "constant" lines
58572         instead of handling "typed-constant".
58573         * conform/data/signal.h-data: Use "constant" instead of
58574         "typed-constant".
58576         * conform/conformtest.pl: Handle "optional-" at start of lines in
58577         one place rather than duplicating several cases.  Handle each
58578         format of "macro" line with initial "optional-".
58580         * conform/conformtest.pl: Only accept expected constant or
58581         optional-constant values with "==".  Parse all "constant" lines in
58582         one place.  Parse all "optional-constant" lines in one place.
58583         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58584         * conform/data/fmtmsg.h-data: Likewise.
58585         * conform/data/netinet/in.h-data: Likewise.
58586         * conform/data/tar.h-data: Likewise.
58587         * conform/data/limits.h-data: Use "==" form on "constant" and
58588         "optional-constant" lines.
58590         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58591         Use -std=c99 for XOPEN2K.
58592         (@knownproblems): Remove.
58593         (newtoken): Don't check %isknown.
58595         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58596         Do not expect macro.
58597         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58598         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58599         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58600         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58601         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58602         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58603         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58604         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58605         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58606         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58607         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58608         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58609         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58610         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58611         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58612         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58613         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58614         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58615         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58616         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58617         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58618         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58619         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58620         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58621         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58622         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58623         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58624         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58625         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58626         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58627         [XPG3] (acosh): Likewise.
58628         [XPG3] (asinh): Likewise.
58629         [XPG3] (atanh): Likewise.
58630         [XPG3] (cbrt): Likewise.
58631         [XPG3] (expm1): Likewise.
58632         [XPG3] (ilogb): Likewise.
58633         [XPG3] (log1p): Likewise.
58634         [XPG3] (logb): Likewise.
58635         [XPG3] (nextafter): Likewise.
58636         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
58637         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
58638         [XPG3] (remainder): Likewise.
58639         [XPG3] (rint): Likewise.
58640         [XPG3 || XPG4 || UNIX98] (round): Likewise.
58641         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
58642         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
58643         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
58644         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
58645         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
58646         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
58647         [UNIX98 || XOPEN2K] (scalb): Expect.
58648         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
58649         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
58650         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58651         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58652         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58653         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58654         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58655         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58656         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58657         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58658         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58659         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58660         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58661         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58662         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58663         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58664         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58665         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58666         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58667         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58668         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58669         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58670         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58671         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58672         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58673         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58674         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58675         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58676         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58677         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58678         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58679         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58680         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58681         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58682         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58683         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58684         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58685         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58686         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58687         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58688         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58689         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58690         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58691         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58692         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58693         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58694         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58695         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58696         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58697         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58698         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58699         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58700         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58701         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58702         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58703         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58704         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58705         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58706         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58707         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58708         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58709         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58710         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58711         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58712         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58713         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58714         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58715         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58716         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58717         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58718         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58719         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58720         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58721         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58722         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58723         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58724         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58725         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58726         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58727         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58728         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58729         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58730         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58731         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58732         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58733         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58734         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58735         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58736         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58737         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58738         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58739         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58740         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58741         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58742         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58743         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58744         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58745         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58746         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58747         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58748         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58749         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58750         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58751         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58752         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58753         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58754         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58755         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58756         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58757         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58758         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58759         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58760         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58761         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58762         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58763         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58764         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58765         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58766         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58767         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58768         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58769         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58770         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58771         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58772         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58773         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58774         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58775         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58776         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58777         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58778         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58779         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58780         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58781         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58782         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58783         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58784         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58786         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58787         _XOPEN_SOURCE_EXTENDED for XPG4.
58789         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58791         * Makeconfig (localtime): Remove variable.
58792         (inst_localtime-file): Likewise.
58794 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58797         Update.
58798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58799         Update.
58800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58801         Update.
58802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58803         Update.
58804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58805         Update.
58806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58807         Update.
58808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58809         Update.
58810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58811         Update.
58812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58813         Update.
58815 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58817         [BZ #2550]
58818         [BZ #2570]
58819         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58820         comparisons to determine direction to adjust input.
58821         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58822         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58823         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58824         Likewise.
58825         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58826         Likewise.
58827         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58828         Likewise.
58829         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58830         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58831         Likewise.
58832         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58833         Likewise.
58834         * math/libm-test.inc (nexttoward_test): Add more tests.
58836 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58838         [BZ #14040]
58839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58840         in version GLIBC_2.1, not GLIBC_2.0.
58841         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58842         Likewise.
58844 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58846         [BZ #13942]
58847         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58848         (1 - x) * (1 + x).
58849         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58850         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58851         * math/libm-test.inc (acos_test): Add more tests.
58852         (asin_test): Likewise.
58853         * sysdeps/i386/fpu/libm-test-ulps: Update.
58854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58856         [BZ #14034]
58857         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58858         of square root.
58859         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58860         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58861         * math/libm-test.inc (acos_test_tonearest): New function.
58862         (acos_test_towardzero): Likewise.
58863         (acos_test_downward): Likewise.
58864         (acos_test_upward): Likewise.
58865         (asin_test_tonearest): Likewise.
58866         (asin_test_towardzero): Likewise.
58867         (asin_test_downward): Likewise.
58868         (asin_test_upward): Likewise.
58869         (main): Call the new functions.
58870         * sysdeps/i386/fpu/libm-test-ulps: Update.
58871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58873         [BZ #13884]
58874         [BZ #13924]
58875         * math/e_exp10.c: Include <float.h>.
58876         (__ieee754_exp10): Handle underflow here rather than multiplying
58877         large negative argument by M_LN10.
58878         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58879         of __ieee754_expf.
58880         * math/e_exp10l.c: Include <float.h>.
58881         (__ieee754_exp10l): Handle underflow here rather than multiplying
58882         large negative argument by M_LN10l.
58883         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58884         spurious overflow exception on underflow.
58886 2012-04-29  Marek Polacek  <polacek@redhat.com>
58888         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58889         (__fortify_function): New macro.
58890         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58891         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58892         __extern_always_inline.
58893         * libio/bits/stdio2.h: Likewise.
58894         * libio/bits/stdio.h: Likewise.
58895         * string/string.h: Likewise.
58896         * string/bits/string3.h: Likewise.
58897         * include/stdio.h: Likewise.
58898         * stdlib/bits/stdlib.h: Likewise.
58899         * stdlib/stdlib.h: Likewise.
58900         * rt/bits/mqueue2.h: Likewise.
58901         * rt/mqueue.h: Likewise.
58902         * posix/bits/unistd.h: Likewise.
58903         * posix/unistd.h: Likewise.
58904         * io/bits/poll2.h: Likewise.
58905         * io/bits/fcntl2.h: Likewise.
58906         * io/fcntl.h: Likewise.
58907         * io/sys/poll.h: Likewise.
58908         * misc/bits/syslog.h: Likewise.
58909         * misc/bits/syslog-ldbl.h: Likewise.
58910         * misc/sys/syslog.h: Likewise.
58911         * socket/bits/socket2.h: Likewise.
58912         * socket/sys/socket.h: Likewise.
58913         * debug/tst-chk1.c: Likewise.
58914         * wcsmbs/bits/wchar2.h: Likewise.
58915         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58916         * wcsmbs/wchar.h: Likewise.
58918 2012-04-29  Andreas Jaeger  <aj@suse.de>
58920         * Makerules (tests): Remove enable-check-abi protection.
58921         (check-abi-warn): Remove.
58922         (check-abi-%): Remove check-abi-warn usage.
58924         * configure.in: Remove check-abi configure option.
58925         * configure: Regenerated.
58926         * config.make.in (enable-check-abi): Remove.
58928 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58930         [BZ #14033]
58931         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58932         double functions to double *_finite functions.
58934         [BZ #13941]
58935         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58936         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58937         LDBL_MIN_EXP.
58938         * stdio-common/Makefile (tests): Add tst-sprintf3.
58939         * stdio-common/tst-sprintf3.c: New file.
58941         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58942         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58944 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58946         * conform/conformtest.pl: Remove duplicate typed-constant
58947         handling.
58949 2012-04-28  David S. Miller  <davem@davemloft.net>
58951         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58952         (check-abi-%): Remove AWK script prerequisite and explicit
58953         abilist directory.
58954         (check-abi): Rewrite to just diff the symlist with the abilist.
58955         (config-tls, config-abi-config): Delete, no longer used.
58956         (update-abi-%): Remove AWK script and explicit abilist directory.
58957         (update-abi): Rewrite to simply compare and conditionally copy the
58958         symlist and the sysdep abilist file.  Remove update-abi-config
58959         checks.
58960         * abilist/ld.abilist: Remove.
58961         * abilist/libBrokenLocale.abilist: Remove.
58962         * abilist/libanl.abilist: Remove.
58963         * abilist/libcrypt.abilist: Remove.
58964         * abilist/libdl.abilist: Remove.
58965         * abilist/librt.abilist: Remove.
58966         * abilist/libthread_db.abilist: Remove.
58967         * abilist/libutil.abilist: Remove.
58968         * scripts/extract-abilist.awk: Remove.
58969         * scripts/merge-abilist.awk: Remove.
58970         * sysdeps/generic/libcidn.abilist: New file.
58971         * sysdeps/generic/libnss_compat.abilist: New file.
58972         * sysdeps/generic/libnss_db.abilist: New file.
58973         * sysdeps/generic/libnss_dns.abilist: New file.
58974         * sysdeps/generic/libnss_files.abilist: New file.
58975         * sysdeps/generic/libnss_hesiod.abilist: New file.
58976         * sysdeps/generic/libnss_nis.abilist: New file.
58977         * sysdeps/generic/libnss_nisplus.abilist: New file.
58978         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58979         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58980         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58981         file.
58982         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58983         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58984         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58985         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58986         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58987         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58988         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58989         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58990         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58991         file.
58992         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58993         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58994         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58995         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58996         file.
58997         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58998         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58999         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59000         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59001         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59002         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59003         file.
59004         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59005         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59006         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59007         file.
59008         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59010         New file.
59011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59012         New file.
59013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59014         New file.
59015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59016         New file.
59017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59018         New file.
59019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59020         New file.
59021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59022         New file.
59023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59024         New file.
59025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59026         New file.
59027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59028         New file.
59029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59030         New file.
59031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59032         New file.
59033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59034         New file.
59035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59036         file.
59037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59038         New file.
59039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59040         New file.
59041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59042         file.
59043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59044         New file.
59045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59046         New file.
59047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59048         file.
59049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59050         New file.
59051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59052         New file.
59053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59054         New file.
59055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59056         New file.
59057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59058         New file.
59059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59060         New file.
59061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59063         file.
59064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59065         New file.
59066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59067         file.
59068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59069         file.
59070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59071         file.
59072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59073         file.
59074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59075         file.
59076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59077         New file.
59078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59079         file.
59080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59081         file.
59082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59083         New file.
59084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59085         file.
59086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59088         file.
59089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59090         New file.
59091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59092         file.
59093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59094         file.
59095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59096         file.
59097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59098         file.
59099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59100         file.
59101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59102         New file.
59103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59104         file.
59105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59106         file.
59107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59108         New file.
59109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59110         file.
59111         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59112         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59113         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59114         file.
59115         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59116         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59117         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59118         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59119         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59120         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59121         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59122         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59123         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59124         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59127         file.
59128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59129         New file.
59130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59131         file.
59132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59133         file.
59134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59135         file.
59136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59137         file.
59138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59139         file.
59140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59141         New file.
59142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59143         New file.
59144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59145         file.
59146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59147         New file.
59148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59149         file.
59150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59152         file.
59153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59154         New file.
59155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59156         file.
59157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59158         file.
59159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59160         file.
59161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59162         file.
59163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59164         file.
59165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59166         New file.
59167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59168         New file.
59169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59170         file.
59171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59172         New file.
59173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59174         file.
59176 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59178         * conform/conformtest.pl: Fix typo in handling typed-constant from
59179         allow-header.
59181 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59183         * README: Cut down references to pre-2.6 Linux kernels and
59184         Linuxthreads.  Update lists of configurations in libc and ports
59185         and sort alphabetically.  Say "or newer" with Linux kernel version
59186         requirements.
59188         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59190 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59192         [BZ #887]
59193         * math/libm-test.inc (logb_test_downward): New test to expose
59194         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59195         rounding mode.
59197 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59199         [BZ #14027]
59200         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59201         to be done.
59202         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59203         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59205 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59207         * sysdeps/unix/i386/brk.S: Remove file.
59208         * sysdeps/unix/i386/dl-brk.S: Likewise.
59209         * sysdeps/unix/i386/pipe.S: Likewise.
59210         * sysdeps/unix/i386/sigreturn.S: Likewise.
59211         * sysdeps/unix/i386/syscall.S: Likewise.
59212         * sysdeps/unix/i386/vfork.S: Likewise.
59213         * sysdeps/unix/i386/wait.S: Likewise.
59215         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59216         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59218         * configure.in (arm*-none*): Do not allow without
59219         --enable-hacker-mode.
59220         (netbsd*): Remove case setting base_os.
59221         (386bsd*): Likewise.
59222         (freebsd*): Likewise.
59223         (bsdi*): Likewise.
59224         (osf*): Likewise.
59225         (sunos*): Likewise.
59226         (ultrix*): Likewise.
59227         (newsos*): Likewise.
59228         (dynix*): Likewise.
59229         (*bsd*): Likewise.
59230         (sysv*): Likewise.
59231         (isc*): Likewise.
59232         (esix*): Likewise.
59233         (sco*): Likewise.
59234         (minix*): Likewise.
59235         (irix4*): Likewise.
59236         (irix6*): Likewise.
59237         (solaris[2-9]*): Likewise.
59238         (none): Likewise.
59239         * configure: Regenerated.
59241 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59243         [BZ #11521]
59244         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59245         overflow or cancellation in calculating denominator.
59246         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59247         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59248         down expression to avoid unexpected rounding in newer GCCs.
59249         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59251 2012-04-26  David S. Miller  <davem@davemloft.net>
59253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59254         long-double compat symbols.
59255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59269 2012-04-25  David S. Miller  <davem@davemloft.net>
59271         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59272         HWCAP_* values only after the memory barriers have been defined.
59273         (atomic_full_barrier): Define.
59274         (atomic_read_barrier): Define.
59275         (atomic_write_barrier): Define.
59277 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59279         * shlib-versions: Add libgcc_s version information.
59280         * sysdeps/generic/libgcc_s.h: Remove.
59281         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59282         libgcc_s.h.
59283         * sysdeps/gnu/unwind-resume.c: Likewise.
59284         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59286 2012-04-25  David S. Miller  <davem@davemloft.net>
59288         * sysdeps/unix/sparc/brk.S: Delete.
59289         * sysdeps/unix/sparc/dl-brk.S: Delete.
59290         * sysdeps/unix/sparc/pipe.S: Delete.
59291         * sysdeps/unix/sparc/sysdep.S: Delete.
59292         * sysdeps/unix/sparc/sysdep.h: Delete.
59293         * sysdeps/unix/sparc/vfork.S: Delete.
59294         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59295         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59296         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59297         (ret_ERRVAL, r0, r1, MOVE): Define.
59298         (JUMPTARGET): Remove.
59299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59300         sysdeps/unix/sparc/sysdep.h
59301         (ENTRY, END): Remove.
59302         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59304 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59306         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59307         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59308         -DIS_IN_build.
59310         * timezone/README: Update upstream location and email address for
59311         tzcode and tzdata.
59312         * timezone/zdump.c: Update from tzcode 2012b.
59313         * timezone/zic.c: Likewise.
59315         * configure.in (libc_cv_as_needed): Remove test.
59316         * configure: Regenerated.
59317         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59318         conditional definition.
59319         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59320         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59321         * config.make.in (have-as-needed): Remove variable.
59323 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59324             Paul Pluzhnikov  <ppluzhnikov@google.com>
59326         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59327         strings correctly.
59329 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59331         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59332         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59333         * sysdeps/sh/strlen.S: Likewise.
59335 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59337         * sysdeps/unix/fork.S: Remove file.
59338         * sysdeps/unix/i386/fork.S: Likewise.
59339         * sysdeps/unix/sparc/fork.S: Likewise.
59341         * sysdeps/unix/system.c: Remove file.
59342         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59344         * sysdeps/unix/getegid.S: Remove file.
59345         * sysdeps/unix/geteuid.S: Likewise.
59347 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59349         * scripts/check-localplt.awk: New file.
59350         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59351         of diff.
59352         * scripts/data/localplt-generic.data: Add a comment.
59354         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59355         NODE when __dir_mkfile failed.
59356         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59357         Reported by Ludovic Courtès <ludo@gnu.org>.
59359 2012-04-24  Andreas Jaeger  <aj@suse.de>
59361         * Makerules (common-clean): Also remove gen-as-const-headers
59362         files.
59364 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59366         * Makerules (native-compile): Do not change working directory for
59367         build.  Use $(OUTPUT_OPTION) in command.
59368         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59370 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59372         [BZ #13886]
59373         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59374         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59375         * math/libm-test.inc (floor_test): Add more tests.
59376         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59378 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59380         * sysdeps/unix/getdents.c: Remove file.
59381         * sysdeps/unix/sysv/getdents.c: Likewise.
59382         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59384         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59385         sysdeps/unix/mman/syscalls.list.
59386         (mmap): Likewise.
59387         (mprotect): Likewise.
59388         (msync): Likewise.
59389         (munmap): Likewise.
59390         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59391         * sysdeps/unix/mman/syscalls.list: Remove.
59392         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59394         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59395         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59396         * configure: Regenerated.
59397         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59398         $(libgcc_s_suffix).
59399         * config.make.in (libgcc_s_suffix): Remove variable.
59401 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59403         * sysdeps/unix/sysv/gethostname.c: Move to ...
59404         * sysdeps/posix/gethostname.c: ... here.
59406         * sysdeps/unix/execve.S: Remove file.
59408         * sysdeps/unix/_exit.S: Remove file.
59410 2012-04-23  Andreas Jaeger  <aj@suse.de>
59412         [BZ #13739]
59413         * manual/Makefile: Remove make dist support, there's no
59414         need for a stand-alone documentation tar ball.
59415         (TEXI2DVI): Define always, it's not in Makeconfig.
59416         (dist): Removed.
59417         (tar-it): Removed.
59418         (edition): Removed.
59419         (glibc-doc-$(edition).tar): Removed
59420         (%.Z): Removed.
59421         (%.gz): Removed.
59422         (%.uu): Removed.
59423         (ETAGS): Remove, it's in Makeconfig.
59424         (move-if-change): Remove, it's in Makeconfig.
59426 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59428         [BZ #13970]
59429         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59430         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59431         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59432         (strtod_l, strtof_l, strtold_l): Remove __wur.
59433         It is not necessarily an error to ignore strtol's return value.
59434         One can reliably look at the stored endptr to decide whether
59435         the number had valid syntax.
59437 2012-04-21  Andreas Jaeger  <aj@suse.de>
59439         [BZ #13739]
59440         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59442 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59444         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59445         * sysdeps/unix/sysv/Versions: Remove file.
59447 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59449         [BZ #13927]
59450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59452 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59454         [BZ #7064]
59455         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59456         version from __vm86.
59458 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59460         * sysdeps/unix/common/lxstat.c: Remove file.
59461         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59463         * sysdeps/unix/sysv/Makefile: Remove file.
59465         * sysdeps/unix/sysv/direct.h: Remove file.
59467         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59468         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59469         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59470         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59471         * sysdeps/unix/sysv/bits/stat.h: Likewise.
59472         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59473         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59475         * sysdeps/unix/sysv/setrlimit.c: Remove file.
59477         * sysdeps/unix/xmknod.c: Remove file.
59478         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59480         * sysdeps/unix/sysv/settimeofday.c: Remove file.
59482         * sysdeps/unix/sysv/i386/time.S: Remove file.
59484         * sysdeps/unix/fxstat.c: Remove file.
59485         * sysdeps/unix/xstat.c: Likewise.
59486         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59488         * sysdeps/unix/sysv/sigaction.c: Remove file.
59490         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59491         (sysdep_headers): Remove variable.
59492         [termio.h not in sysdep_headers] (generated): Likewise.
59493         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59494         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59495         * sysdeps/unix/sysv/tcdrain.c: Likewise.
59496         * sysdeps/unix/sysv/tcflow.c: Likewise.
59497         * sysdeps/unix/sysv/tcflush.c: Likewise.
59498         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59499         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59500         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59501         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59502         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59504         * sysdeps/unix/siglist.c: Remove file.
59506         * sysdeps/unix/getppid.S: Remove file.
59508         * sysdeps/unix/mkdir.c: Remove file.
59509         * sysdeps/unix/rmdir.c: Likewise.
59511 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
59513         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59514         ERR_MAX value.
59515         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59516         errlist-compat value.
59518 2012-04-18  David S. Miller  <davem@davemloft.net>
59520         * sysdeps/generic/memcopy.h (reg_char): Delete.
59521         * debug/strcat_chk.c: Use char, not reg_char.
59522         * debug/strcpy_chk.c: Likewise.
59523         * debug/strncat_chk.c: Likewise.
59524         * debug/strncpy_chk.c: Likewise.
59525         * string/memchr.c: Likewise.
59526         * string/memrchr.c: Likewise.
59527         * string/rawmemchr.c: Likewise.
59528         * string/strcat.c: Likewise.
59529         * string/strchr.c: Likewise.
59530         * string/strchrnul.c: Likewise.
59531         * string/strcmp.c: Likewise.
59532         * string/strcpy.c: Likewise.
59533         * string/strncat.c: Likewise.
59534         * string/strncmp.c: Likewise.
59535         * string/strncpy.c: Likewise.
59537 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59539         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59540         __builtin_memcopy is called when src and dest ranges are known to not
59541         overlap.
59543 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59545         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59546         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59547         fwd_align_merge macro call.
59548         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59549         bwd_align_merge macro call.
59550         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59552 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59554         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59555         bwd_align_merge macros.
59556         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59557         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59558         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59560 2012-04-18  David S. Miller  <davem@davemloft.net>
59562         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59564 2012-04-18  Andreas Jaeger  <aj@suse.de>
59566         [BZ# 6794]
59567         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59568         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59569         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59571         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59572         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59573         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59575         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59576         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59577         Adjust for changed ldbl-128 files.
59579         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59580         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59581         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59583 2012-04-17  David S. Miller  <davem@davemloft.net>
59585         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59587 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59589         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59590         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59591         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59592         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59593         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59594         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59596 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59598         [BZ #6794]
59599         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59600         * math/libm-test.inc: Add ilogb errno and exception tests.
59601         * math/w_ilogb.c: New file: ilogb wrapper.
59602         * math/w_ilogbf.c: New file: ilogbf wrapper.
59603         * math/w_ilogbl.c: New file: ilogbl wrapper.
59604         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59605         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59606         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59607         exception being thrown with 0.0 as argument.
59608         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59609         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59610         exception being thrown with 0.0 as argument.
59611         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59612         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59613         exception being thrown with 0.0 as argument.
59614         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59615         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59616         exception being thrown with 0.0 as argument.
59617         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59618         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59619         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59620         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59621         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59622         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59623         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59624         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59625         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59627 2012-04-17  Petr Baudis  <pasky@ucw.cz>
59629         * include/sys/uio.h: Change __vector to __iovec to avoid clash
59630         with altivec.
59632 2012-04-16  Marek Polacek  <polacek@redhat.com>
59634         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
59636 2012-04-16  Marek Polacek  <polacek@redhat.com>
59638         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
59639         operands of fdivp instruction.
59641 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59643         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
59644         * elf/tst-auditmod3b.c: Likewise.
59645         * elf/tst-auditmod4b.c: Likewise.
59646         * elf/tst-auditmod5b.c: Likewise.
59647         * elf/tst-auditmod6b.c: Likewise.
59648         * elf/tst-auditmod6c.c: Likewise.
59649         * elf/tst-auditmod7b.c: Likewise.
59650         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59651         * sysdeps/x86_64/preconfigure.in: Likewise.
59652         * sysdeps/x86_64/preconfigure: Regenerated.
59654 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59656         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59657         __ILP32__.
59659 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59661         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59662         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59664 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59666         [BZ #13973]
59667         * locale/iso-639.def: Fix gl language name. Spotted by
59668         Yaron Shahrabani.
59670 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59672         [BZ #2074]
59673         * libio/libio.h (__io_write_fn): Update comment.
59675 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59677         [BZ #2074]
59678         * stdio.texi (Hook Functions): The user provided writer function
59679         is not allowed to return -1.
59681 2012-04-11  David S. Miller  <davem@davemloft.net>
59683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59685 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59687         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59688         Add a leading slash to rtkaio.
59690 2012-04-11  Jim Meyering  <meyering@redhat.com>
59692         [BZ #11959]
59693         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59694         It is not necessarily an error to ignore fwrite's return
59695         value.  One can reliably use ferror to test for errors after
59696         the fact.
59698 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59700         * bits/types.h (__snseconds_t): New type.
59701         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59703         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59704         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59705         (__SNSECONDS_T_TYPE): Likewise.
59706         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59707         (__SNSECONDS_T_TYPE): Likewise.
59708         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59709         (__SNSECONDS_T_TYPE): Likewise.
59711 2012-04-10  Andreas Jaeger  <aj@suse.de>
59713         [BZ #2636]
59714         * manual/time.texi (Processor Time): Return type of times is
59715         elapsed real time since an arbitrary point in the past.
59716         (CPU Time): Move CLK_TCK from here...
59717         (Processor Time): ...to here.  Correct description.
59718         * manual/conf.texi (Constants for Sysconf): Correct description of
59719         _SC_CLK_TCK.
59721 2012-04-10  David S. Miller  <davem@davemloft.net>
59723         [BZ #13967]
59724         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59725         where the is a gap between DT_REL(A) and DT_JMPREL.
59727 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59729         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59730         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59731         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59733 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59735         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59736         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59737         (dl_main): Handle --inhibit-cache.
59738         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59739         _dl_inhibit_cache.
59740         * elf/dl-load.c (_dl_map_object): Use it.
59741         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59743 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59745         [BZ #13872]
59746         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59747         (__ieee754_powl): Saturate large exponents rather than testing for
59748         overflow of y*log2(x).
59749         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59750         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59751         exceptions.
59753         [BZ #11521]
59754         * math/s_ctan.c: Include <float.h>.
59755         (__ctan): Avoid internal overflow or cancellation in calculating
59756         denominator.
59757         * math/s_ctanf.c: Likewise.
59758         * math/s_ctanl.c: Likewise.
59759         * math/s_ctanh.c: Likewise.
59760         * math/s_ctanhf.c: Likewise.
59761         * math/s_ctanhl.c: Likewise.
59762         * math/libm-test.inc (ctan_test): Add more tests.
59763         (ctanh_test): Likewise.
59764         * sysdeps/i386/fpu/libm-test-ulps: Update.
59765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59767 2012-04-09  Andreas Jaeger  <aj@suse.de>
59769         [BZ #6894]
59770         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59771         is an optional BSD extension.
59773         [BZ #10254]
59774         * manual/stdio.texi (Opening Streams): Document additional fopen
59775         parameters.
59777 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59779         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59780         %eax without telling the compiler.
59782 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59784         [BZ # 13963]
59785         * manual/install.texi: Use sourceware.org.
59787 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59789         [BZ #13873]
59790         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59791         (__ieee754_pow): Generate overflow and underflow using huge*huge
59792         and tiny*tiny rather than just returning constant infinity or zero
59793         for large exponents.
59794         * math/libm-test.inc (pow_test): Require overflow exceptions for
59795         applicable cases of large exponents.
59797         [BZ #706]
59798         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59799         (__ieee754_pow): Use iterative multiplication algorithm only for
59800         integer exponents with absolute value below 1024.  Check for odd
59801         integer exponents when using algorithm for real exponents.
59802         * math/libm-test.inc (pow_test): Add more tests.
59803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59805 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59807         [BZ #13705]
59808         * math/libm-test.inc (exp_test): Do not allow overflow exception
59809         on underflow test.
59811 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59813         [BZ #13705]
59814         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59815         instead of __kernel_standard_f.
59817 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59819         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59820         * sysdeps/x86_64/memset_chk.S: Likewise.
59822 2012-04-08  Andreas Jaeger  <aj@suse.de>
59824         [BZ #10153]
59825         * manual/startup.texi (Environment Access): Describe return value
59826         for putenv and setenv.
59828         [BZ #6895]
59829         * manual/filesys.texi (Directory Entries): Add description for
59830         DT_LNK.
59832         [BZ #6890]
59833         * manual/filesys.texi (Directory Entries): Clarify that it's file
59834         system not operating system in the description of DT_UNKNOWN.
59836         [BZ #6578]
59837         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59839 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59841         [BZ #6649]
59842         * manual/llio.texi (Opening and Closing Files): Add cross
59843         reference to explain mode argument.
59845 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59847         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59848         * sysdeps/x86_64/memset_chk.S: Likewise.
59850 2012-04-07  David S. Miller  <davem@davemloft.net>
59852         * elf/elf.h (R_SPARC_WDISP10): Define.
59853         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59854         R_SPARC_SIZE32.
59855         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59856         R_SPARC_SIZE64 and R_SPARC_H34.
59858 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59860         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59861         conditions and remove no longer applicable assertion.
59863 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59865         * bits/byteswap.h: Include <features.h>.
59866         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59867         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59869 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59871         * bits/byteswap.h (__bswap_16): Removed.
59872         Include <bits/byteswap-16.h> to get __bswap_16.
59873         * sysdeps/i386/bits/byteswap.h: Likewise.
59874         * sysdeps/s390/bits/byteswap.h: Likewise.
59875         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59876         * bits/byteswap-16.h: New file.
59877         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59878         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59879         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59880         * string/Makefile (headers): Add bits/byteswap-16.h.
59882 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59884         [BZ #13895]
59885         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59886         extra indirection.
59887         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59888         * nss/tst-nss-static.c: New.
59890 2012-04-06  Robert Millan  <rmh@gnu.org>
59892         [BZ #6486]
59893         * manual/llio.texi (File Position Primitive): lseek
59894         refers to WHENCE when it really means OFFSET.
59896 2012-04-06  Andreas Jaeger  <aj@suse.de>
59898         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59899         strncmp declarations.
59901         * abilist/libc.abilist: Add __poll and __ppoll.
59903 2012-04-05  David S. Miller  <davem@davemloft.net>
59905         * scripts/check-local-headers.sh: Accept a host triplet in the
59906         path matched by the exclude regexp.
59908         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59909         definition.
59910         * sysdeps/powerpc/powerpc32/dl-machine.h
59911         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59912         * sysdeps/s390/s390-32/dl-machine.h
59913         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59914         * sysdeps/sparc/sparc32/dl-machine.h
59915         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59916         * sysdeps/sparc/sparc64/dl-machine.h
59917         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59919         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59920         lazy binding.
59921         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59922         undefined symbol errors.
59924         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59925         DT_NEEDED entries.
59927 2012-04-05  Michael Matz  <matz@suse.de>
59929         [BZ #13592]
59930         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59932 2012-04-05  Andreas Jaeger  <aj@suse.de>
59934         [BZ #13908]
59935         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59936         comment.
59938 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59940         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59941         which ROUND is no valid rounding mode.
59943 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59945         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59946         read again.
59947         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59949 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59951         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59952         an exception using FPU order intentionally.
59954 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59956         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59957         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59958         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59959         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59961 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59963         [BZ #12340]
59964         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59965         EINVAL when BUFLEN is too smal.
59967 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59969         [BZ #13553]
59970         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59971         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59973 2012-04-03  Andreas Jaeger  <aj@suse.de>
59975         [BZ #13938]
59976         * manual/setjmp.texi (System V contexts): Fix sentence.
59978         [BZ #13926]
59979         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59980         New macro for this case.
59981         [!__GNUC__] (__bswap_64): New inline function for this case.
59982         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59983         * bits/byteswap.h: Likewise.
59984         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59985         ull, guard with __GLIBC_HAVE_LONG_LONG.
59987         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59988         __GLIBC_HAVE_LONG_LONG.
59990         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59991         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59993 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59995         [BZ #13691]
59996         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59997         inptr and inend, rather than using last_ch.
59999 2012-04-02  David S. Miller  <davem@davemloft.net>
60001         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60002         * stdio-common/printf-parse.h (read_int): Change return type to
60003         'int', return -1 on INT_MAX overflow.
60004         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60005         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60006         overflows INT_MAX.  Check for overflow of in-format-string precision
60007         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60008         SIZE_MAX not INT_MAX for integer overflow test.
60009         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60010         skip the construct in the format string but do not record anything.
60011         * stdio-common/bug22.c: Adjust to test both width/prevision
60012         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60013         explicitly for proper errno values.
60015 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60017         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60018         CHAR_MAX.
60019         * string/test-strcmp.c [! WIDE]: Likewise.
60020         * time/tst-mktime2.c: Likewise for INT_MAX.
60021         * string/test-string.h: #include <sys/param.h> for MIN.
60023         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60024         * sysdeps/i386/init-first.c (init): Likewise.
60025         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60026         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60027         * sysdeps/sh/init-first.c (init): Likewise.
60029 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60031         * po/ru.po: Update from translation team.
60032         * po/vi.po: Likewise.
60034 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60036         * resolv/nss_dns/dns-host.c: Merge copyright years.
60038 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60040         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60041         Optimize memcpy with prefetch if
60042         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60043         src, dst pointers have unequal 16 byte alignments.
60045 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60047         [BZ #13928]
60048         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60049         from a CNAME entry and return the minimum ttl for the query.
60050         (gaih_getanswer_slice): Likewise.
60052 2012-03-30  Jeff Law  <law@redhat.com>
60054         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60055         due to long keys.
60056         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60057         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60059         * resolv/nss_dns/dns-host.c: Update copyright year.
60061 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60063         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60064         requests to save a system call.  Fix check that all bytes are sent.
60066         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60067         comments for sendmmsg.
60069 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60071         [BZ #13691]
60072         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60073         with only 1 character between 0x0041 and 0x01b0.
60074         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60075         * wcsmbs/tst-mbsnrtowcs.c: New file.
60077 2012-03-29  David S. Miller  <davem@davemloft.net>
60079         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60080         small copies by hand.
60082 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60084         [BZ #13761]
60085         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60086         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60087         group memberships.
60089 2012-03-28  David S. Miller  <davem@davemloft.net>
60091         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60092         that branches into memcpy.
60093         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60094         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60095         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60096         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60097         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60098         bits.
60099         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60100         implementation too.
60101         * sysdeps/sparc/mempcpy.S: New file.
60103         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60104         the IFUNC routine in the libc case.
60105         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60107         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60108         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60109         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60110         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60111         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60112         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60113         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60114         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60116         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60117         loop to 256 bytes instead of 64 bytes and fix test signedness.
60119         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60120         * sysdeps/sparc/sparc32/Makefile: rather than here...
60121         * sysdeps/sparc/sparc64/Makefile: and here.
60123 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60125         * malloc/mallocbug.c: Avoid warnings about unused variables.
60127 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60129         [BZ #13760]
60130         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60131         in the right place. Discard and retry query if response is
60132         larger than input buffer size.
60134 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60136         [BZ #369]
60137         [BZ #2678]
60138         [BZ #3866]
60139         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60140         x for large integer exponent.
60141         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60142         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60143         sign of result as needed afterwards.
60144         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60145         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60146         result for underflowing pow the same as for overflow.
60147         (__kernel_standard_l): Handle powl overflow and underflow here
60148         rather than calling __kernel_standard.
60149         * math/libm-test.inc (pow_test): Add more tests.
60151         [BZ #3868]
60152         [BZ #13879]
60153         [BZ #13910]
60154         [BZ #13911]
60155         [BZ #13912]
60156         [BZ #13913]
60157         [BZ #13915]
60158         [BZ #13916]
60159         [BZ #13917]
60160         [BZ #13918]
60161         [BZ #13919]
60162         [BZ #13920]
60163         [BZ #13921]
60164         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60165         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60166         (__kernel_standard_l): New function.
60167         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60168         __kernel_standard.
60169         * math/w_acosl.c (__acosl): Likewise.
60170         * math/w_asinl.c (__asinl): Likewise.
60171         * math/w_atan2l.c (__atan2l): Likewise.
60172         * math/w_atanhl.c (__atanhl): Likewise.
60173         * math/w_coshl.c (__coshl): Likewise.
60174         * math/w_exp10l.c (__exp10l): Likewise.
60175         * math/w_exp2l.c (__exp2l): Likewise.
60176         * math/w_fmodl.c (__fmodl): Likewise.
60177         * math/w_hypotl.c (__hypotl): Likewise.
60178         * math/w_j0l.c (__j0l, __y0l): Likewise.
60179         * math/w_j1l.c (__j1l, __y1l): Likewise.
60180         * math/w_jnl.c (__jnl, __ynl): Likewise.
60181         * math/w_lgammal.c (__lgammal): Likewise.
60182         * math/w_log10l.c (__log10l): Likewise.
60183         * math/w_log2l.c (__log2l): Likewise.
60184         * math/w_logl.c (__logl): Likewise.
60185         * math/w_powl.c (__powl): Likewise.
60186         * math/w_remainderl.c (__remainderl): Likewise.
60187         * math/w_scalbl.c (sysv_scalbl): Likewise.
60188         * math/w_sinhl.c (__sinhl): Likewise.
60189         * math/w_sqrtl.c (__sqrtl): Likewise.
60190         * math/w_tgammal.c (__tgammal): Likewise.
60191         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60192         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60193         * math/libm-test.inc (acos_test): Add more tests.
60194         (acosh_test): Likewise.
60195         (asin_test): Likewise.
60196         (atanh_test): Likewise.
60197         (exp_test): Likewise.
60198         (exp10_test): Likewise.
60199         (exp2_test): Likewise.
60200         (expm1_test): Likewise.
60201         (lgamma_test): Likewise.
60202         (log_test): Likewise.
60203         (log10_test): Likewise.
60204         (log1p_test): Likewise.
60205         (log2_test): Likewise.
60206         (pow_test): Do not allow some spurious overflow exceptions.
60207         (sqrt_test): Add more tests.
60208         (tgamma_test): Likewise.
60209         (y0_test): Likewise.
60210         (y1_test): Likewise.
60211         (yn_test): Likewise.
60213 2012-03-27  Anton Blanchard  <anton@samba.org>
60215         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60216         MAP_HUGETLB.
60217         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60218         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60219         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60221 2012-03-27  David S. Miller  <davem@davemloft.net>
60223         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60225         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60226         have-as-vis3 check.
60228 2012-03-27  Andreas Jaeger  <aj@suse.de>
60230         * sysdeps/x86_64/elf/configure.in: Moved to ...
60231         * sysdeps/x86_64/configure.in: ... here.
60232         * sysdeps/x86_64/elf/start.S: Moved to ...
60233         * sysdeps/x86_64/start.S: ... here.
60234         * sysdeps/x86_64/elf/configure: Delete.
60236         * sysdeps/x86_64/configure.in: Merge contents from
60237         sysdeps/i386/configure.in (without i686 check).
60239         * sysdeps/i386/elf/Versions: Merge into ...
60240         * sysdeps/i386/Versions: ... this.
60241         * sysdeps/i386/elf/Versions: Delete file.
60242         * sysdeps/i386/elf/start.S: Moved to ...
60243         * sysdeps/i386/start.S: ...here.
60244         * sysdeps/i386/elf/configure.in: Merge into...
60245         * sysdeps/i386/configure.in: ...here.
60246         * sysdeps/i386/elf/configure.in: Delete file.
60247         * sysdeps/i386/elf/configure: Delete file.
60249         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60250         * debug/backtracesyms.c: ... here.
60251         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60252         * debug/backtracesymsfd.c: ... here.
60253         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60254         * sysdeps/generic/ifunc-sel.h: ... here.
60256         * sysdeps/unix/i386/start.c: Delete file.
60257         * sysdeps/unix/sparc/start.c: Delete file.
60258         * sysdeps/unix/start.c: Delete file.
60260         * sysdeps/sh/elf/configure.in: Moved to ...
60261         * sysdeps/sh/configure.in: ... here.
60262         * sysdeps/sh/elf/start.S: Moved to ...
60263         * sysdeps/sh/start.S: ... here.
60264         * sysdeps/sh/elf/configure: Delete file.
60266         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60267         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60268         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60269         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60270         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60271         * sysdeps/powerpc/powerpc64/start.S: here.
60272         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60273         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60274         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60275         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60276         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60278         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60279         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60280         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60281         * sysdeps/powerpc/powerpc32/start.S: ... here.
60282         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60283         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60284         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60286         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60287         * sysdeps/powerpc/ifunc-sel.h: ... here.
60288         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60289         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60291         * sysdeps/sparc/elf/configure.in: Moved to ...
60292         * sysdeps/sparc/configure.in: ... here.
60293         * sysdeps/sparc/elf/configure: Delete file.
60294         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60295         * sysdeps/sparc/sparc32/start.S: ... here.
60296         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60297         * sysdeps/sparc/sparc64/start.S: ... here.
60298         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60299         * sysdeps/sparc/sparc32/Makefile: ... this.
60300         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60301         * sysdeps/sparc/sparc64/Makefile: ... this.
60303         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60304         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60305         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60306         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60307         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60308         * sysdeps/s390/s390-32/setjmp.S: ... here.
60309         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60310         * sysdeps/s390/s390-32/configure.in: ... here.
60311         * sysdeps/s390/s390-32/elf/configure: Delete file.
60312         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60313         * sysdeps/s390/s390-32/start.S: ... here.
60315         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60316         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60317         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60318         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60319         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60320         * sysdeps/s390/s390-64/setjmp.S: ... here.
60321         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60322         * sysdeps/s390/s390-64/configure.in: ... here
60323         * sysdeps/s390/s390-64/elf/configure: Delete file.
60324         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60325         * sysdeps/s390/s390-64/start.S: ... here.
60326         * sysdeps/s390/s390-64/elf/configure: Delete.
60328         * configure.in: Remove support for elf directories in sysdeps.
60330         * configure: Regenerated.
60331         * sysdeps/i386/configure: Regenerated.
60332         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60333         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60334         * sysdeps/s390/s390-32/configure: Regenerated.
60335         * sysdeps/s390/s390-64/configure: Regenerated.
60336         * sysdeps/sh/configure: Regenerated.
60337         * sysdeps/sparc/configure: Regenerated.
60338         * sysdeps/x86_64/configure: Regenerated.
60340 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60344         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60345         denormal result into account.
60347 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60349         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60350         Reported by Allan McRae <allan@archlinux.org>.
60352 2012-03-23  Jeff Law  <law@redhat.com>
60354         * nss/getnssent.c (__nss_getent): Fix typo.
60356 2012-03-23  David S. Miller  <davem@davemloft.net>
60358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60360 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60362         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60363         to pad to uint64_t for each field.
60364         (dl_tls_index): Replace unsigned long with uint64_t.
60366 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60367         Paul Pluzhnikov  <ppluzhnikov@google.com>
60369         [BZ #6528]
60370         * grp/Makefile (otherlibs): Don't set it.
60371         * inet/Makefile (otherlibs): Likewise.
60372         * login/Makefile (otherlibs): Likewise.
60373         * nscd/Makefile (otherlibs): Likewise.
60374         * posix/Makefile (otherlibs): Likewise.
60375         * pwd/Makefile (otherlibs): Likewise.
60376         * rt/Makefile (otherlibs): Likewise.
60377         * sunrpc/Makefile (otherlibs): Likewise.
60378         * nss/Makefile (otherlibs): Likewise.
60379         Add libnss_files to routines and static-only-routines.
60380         ($(objpfx)getent): Remove rule.
60381         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60382         static-only-routines.
60384 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60386         [BZ #13892]
60387         * math/s_cexp.c: Include <float.h>.
60388         (__cexp): Handle exp result overflowing not necessarily
60389         overflowing both real and imaginary parts of result.
60390         * math/s_cexpf.c: Likewise.
60391         * math/s_cexpl.c: Likewise.
60392         * math/libm-test.inc (cexp_test): Add more tests.
60393         * sysdeps/i386/fpu/libm-test-ulps: Update.
60394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60396 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60398         * include/link.h (ELFW): New macro.
60399         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60400         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60402 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60404         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60405         with uint64_t.
60407 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60409         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60410         declaration.
60411         (struct La_x32_retval): Likewise.
60413 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60415         * sysdeps/x86_64/preconfigure.in: New file.
60416         * sysdeps/x86_64/preconfigure: New generated file.
60418 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60420         [BZ #13824]
60421         * math/e_exp2l.c: Include <float.h>.
60422         (__ieee754_exp2l): Handle overflow and underflow cases
60423         separately.  Only pass fractional part of argument to
60424         __ieee754_expl.
60425         * math/libm-test.inc (exp2_test): Add more tests.
60427         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60428         negating x to take absolute value.
60429         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60430         Likewise.
60431         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60432         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60433         Likewise.
60434         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60435         computing low part if x was negated.
60436         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60438 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60440         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60441         la_x32_gnu_pltexit.
60442         (pltexit): Cast int_retval to ptrdiff_t.
60443         * elf/tst-auditmod3b.c: Likewise.
60444         * elf/tst-auditmod4b.c: Likewise.
60445         * elf/tst-auditmod5b.c: Likewise.
60446         * elf/tst-auditmod6b.c: Likewise.
60447         * elf/tst-auditmod6c.c: Likewise.
60448         * elf/tst-auditmod7b.c: Likewise.
60450         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60451         and x32_gnu_pltexit.
60453         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60454         __ELF_NATIVE_CLASS.
60455         (La_x32_regs): New macro.
60456         (La_x32_retval): Likewise.
60457         (la_x32_gnu_pltenter): New function prototype.
60458         (la_x32_gnu_pltexit): Likewise.
60460 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60462         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60463         exponent.
60465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60467         * configure.in (libc_cv_cc_nofma): Check for option to disable
60468         generation of FMA instructions.
60469         * configure: Regenerate.
60470         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60471         * sysdeps/ieee754/dbl-64/Makefile: New file.
60472         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60473         Remove brandred-fma4.
60474         (CFLAGS-brandred-fma4.c): Remove.
60475         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60476         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60477         define.
60478         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60479         define.
60481 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60483         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60484         LLONG_MAX != LONG_MAX.
60485         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60486         (_fitoa_word): Likewise.
60487         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60488         LLONG_MAX != LONG_MAX.
60489         * stdio-common/_itowa.h: Include <_itoa.h>.
60490         (_itowa_word): Use _ITOA_WORD_TYPE on value.
60491         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
60492         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
60493         only if not defined.
60494         (_ITOA_WORD_TYPE): Likewise.
60495         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60496         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60498 2012-03-21  David S. Miller  <davem@davemloft.net>
60500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60502 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60504         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60505         of x86_64 when setting libc_cv_slibdir, libdir and
60506         libc_cv_localedir.
60507         * sysdeps/unix/sysv/linux/configure: Regenerated.
60509 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60511         * manual/lang.texi (Old Varargs): Remove section.
60512         (How Variadic): Update menu.
60513         (va_start): Do not mention varargs.h.
60515 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60516             Joseph Myers  <joseph@codesourcery.com>
60518         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60519         link test.
60520         * configure: Regenerated.
60522 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60524         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60525         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60526         conformtest.pl
60528 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60530         * NOTES: Remove.
60531         * Makefile (files-for-dist): Remove NOTES.
60532         (NOTES): Remove rule.
60533         * README: Don't refer to NOTES.
60534         * manual/creature.texi: Don't include macros.texi.
60535         * manual/intro.texi (creature.texi): Remove comment referring to
60536         NOTES.
60538         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60539         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60540         * configure: Regenerated.
60541         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60542         LIBC_TRY_CC_OPTION.
60543         (libc_cv_as_i686): Likewise.
60544         (libc_cv_cc_avx): Likewise.
60545         (libc_cv_cc_sse2avx): Likewise.
60546         (libc_cv_cc_fma4): Likewise.
60547         (libc_cv_cc_novzeroupper): Likewise.
60548         * sysdeps/i386/configure: Regenerated.
60550         [BZ #13883]
60551         * sysdeps/i386/fpu/s_cexp.S: Remove.
60552         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60553         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60554         * math/libm-test.inc (cexp_test): Add more tests.
60555         * sysdeps/i386/fpu/libm-test-ulps: Update.
60556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60558 2012-03-21  Allan McRae  <allan@archlinux.org>
60560         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60562 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60564         [BZ #13871]
60565         * math/w_exp2.c: Do not include <float.h>.
60566         (o_threshold, u_threshold): Remove.
60567         (__exp2): Calculate result before checking finiteness and calling
60568         __kernel_standard.
60569         * math/w_exp2f.c: Likewise.
60570         * math/w_exp2l.c: Likewise.
60571         * math/libm-test.inc (exp2_test): Require overflow exception for
60572         1e6 input.
60574         [BZ #3866]
60575         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60576         range of signed 64-bit integers before using fistpll.  Remove
60577         checks for whether integers fit in mantissa bits.
60578         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60579         the range of signed 32-bit integers before using fistpl.  Remove
60580         checks for whether integers fit in mantissa bits.
60581         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60582         (__ieee754_powl): Test for y outside the range of signed 64-bit
60583         integers before using fistpll.  Reduce 64-bit values to 63-bit
60584         ones as needed.
60585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60586         divide-by-zero is raised for zero to large negative powers.
60587         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60588         (__ieee754_powl): Test for y outside the range of signed 64-bit
60589         integers before using fistpll.  Reduce 64-bit values to 63-bit
60590         ones as needed.
60591         * math/libm-test.inc (pow_test): Add more tests.
60593 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60595         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60596         <stdio-common/_itoa.h>.
60597         * debug/segfault.c: Likewise.
60598         * elf/dl-cache.c: Likewise.
60599         * elf/dl-minimal.c: Likewise.
60600         * elf/dl-misc.c: Likewise.
60601         * elf/dl-sysdep.c: Likewise.
60602         * elf/dl-version.c: Likewise.
60603         * elf/rtld.c: Likewise.
60604         * hurd/hurdsock.c: Likewise.
60605         * hurd/lookup-retry.c: Likewise.
60606         * malloc/malloc.c: Likewise.
60607         * malloc/mtrace.c: Likewise.
60608         * nscd/nscd_getgr_r.c: Likewise.
60609         * nscd/nscd_getpw_r.c: Likewise.
60610         * nscd/nscd_getserv_r.c: Likewise.
60611         * posix/getopt_init.c: Likewise.
60612         * posix/wordexp.c: Likewise.
60613         * stdio-common/_itoa.c: Likewise.
60614         * stdio-common/printf_fphex.c: Likewise.
60615         * stdio-common/vfprintf.c: Likewise.
60616         * string/_strerror.c: Likewise.
60617         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60618         * sysdeps/i386/i686/hp-timing.h: Likewise.
60619         * sysdeps/mach/_strerror.c: Likewise.
60620         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60621         * sysdeps/mach/hurd/sethostid.c: Likewise.
60622         * sysdeps/mach/hurd/xmknodat.c: Likewise.
60623         * sysdeps/mach/xpg-strerror.c: Likewise.
60624         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60625         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60626         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60627         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60628         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60629         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60631         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60632         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
60633         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
60634         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
60635         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60636         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
60637         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60638         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60639         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
60640         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
60641         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
60642         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
60643         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
60644         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
60646         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
60648         * stdio-common/_itoa.h: Moved to ...
60649         * sysdeps/generic/_itoa.h: Here.
60651         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60653         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60654         instead of "_itoa.h" and "_itowa.h".
60655         * stdio-common/vfprintf.: Likewise.
60657 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60659         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60660         <bits/wordsize.h>.
60661         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60662         (__signbit): Likwise.
60663         (llrintf): Likwise.
60664         (llrint): Likwise.
60666 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60668         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60669         __WORDSIZE != 64.
60671 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60673         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60674         OVERFLOW_EXCEPTION_OK.
60675         * math/libm-test.inc ("Philosophy"): Update comment about
60676         exception testing.
60677         (OVERFLOW_EXCEPTION): Define.
60678         (OVERFLOW_EXCEPTION_OK): Likewise.
60679         (INVALID_EXCEPTION_OK): Renumber.
60680         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60681         (IGNORE_ZERO_INF_SIGN): Likewise.
60682         (test_exceptions): Handle FE_OVERFLOW.
60683         (exp10_test): Expect overflow exceptions.
60684         (exp2_test): Likewise.
60685         (expm1_test): Likewise.
60686         (nextafter_test): Likewise.
60687         (pow_test): Likewise.
60688         (scalbn_test): Likewise.
60689         (scalbln_test): Likewise.
60691 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60693         * sysdeps/x86_64/bits/atomic.h
60694         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60695         64bit integer.
60696         (atomic_exchange_acq): Likewise.
60697         (__arch_exchange_and_add_body): Likewise.
60698         (__arch_add_body): Likewise.
60699         (atomic_add_negative): Likewise.
60700         (atomic_add_zero): Likewise.
60702 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60704         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60705         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60707 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60709         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60710         Check __x86_64__ instead of __WORDSIZE.
60712 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60714         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60716 2012-03-19  David S. Miller  <davem@davemloft.net>
60718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60720         * sysdeps/sparc/fpu/fenv_private.h: New file.
60721         * sysdeps/sparc/fpu/math_private.h: Use it.
60722         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60723         Remove.
60724         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60725         (libc_feholdexcept_setroundl): Remove.
60726         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60727         Remove.
60728         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60729         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60731 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60733         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60734         int64_t instead of long int.
60735         (INSERT_WORDS64): Likwise.
60737 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60739         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60740         _Unwind_GetCFA return to _Unwind_Ptr first.
60742 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60744         [BZ #13629]
60745         * math/s_clog.c: Include <float.h>.
60746         (__clog): Scale large or subnormal inputs.
60747         * math/s_clogf.c: Likewise.
60748         * math/s_clogl.c: Likewise.
60749         * math/s_clog10.c: Include <float.h>.
60750         (M_LOG10_2): Define.
60751         (__clog10): Scale large or subnormal inputs.
60752         * math/s_clog10f.c: Likewise.
60753         * math/s_clog10l.c: Likewise.
60754         * math/libm-test.inc (clog_test): Add more tests.
60755         (clog10_test): Likewise.
60756         * sysdeps/i386/fpu/libm-test-ulps: Update.
60757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60759         [BZ #11451]
60760         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60761         x and y.
60762         * math/libm-test.inc (atan2_test): Add another test.
60764         * Makerules (common-objdir-compile): Remove.
60765         * sysdeps/unix/Makefile (config-generated): Do not add
60766         $(unix-generated) to variable.
60767         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60768         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60769         Remove rule.
60770         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60771         Likewise.
60772         [generic bits/local_lim.h] (before-compile): Do not append to
60773         variable.
60774         [generic bits/local_lim.h] (common-generated): Likewise.
60775         [generic sys/param.h] (before-compile): Do not append to variable.
60776         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60777         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60778         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60779         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60780         include.
60781         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60782         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60783         [generic sys/param.h] ($(addprefix
60784         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60785         [generic sys/param.h] (common-generated): Do not append to
60786         variable.
60787         [generic sys/param.h] (sysdep_headers): Likewise.
60788         [generic bits/errno.h] (before-compile): Do not append to
60789         variable.
60790         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60791         rule.
60792         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60793         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60794         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60795         [generic bits/errno.h] (common-generated): Do not append to
60796         variable.
60797         [generic bits/ioctls.h] (before-compile): Do not append to
60798         variable.
60799         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60800         rule.
60801         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60802         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60803         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60804         rule.
60805         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60806         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60807         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60808         [generic bits/ioctls.h] (common-generated): Do not append to
60809         variable.
60810         [generic sys/syscall.h] (syscall.h): Remove variable.
60811         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60812         rule.
60813         [generic sys/syscall.h] (before-compile): Do not append to
60814         variable.
60815         [generic sys/syscall.h] (common-generated): Likewise.
60816         * sysdeps/unix/errnos-tmpl.c: Remove file.
60817         * sysdeps/unix/errnos.awk: Likewise.
60818         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60819         * sysdeps/unix/ioctls.awk: Likewise.
60820         * sysdeps/unix/mk-local_lim.c: Likewise.
60821         * sysdeps/unix/snarf-ioctls: Likewise.
60823 2012-03-19  Richard Henderson  <rth@twiddle.net>
60825         * sysdeps/i386/fpu/fenv_private.h: New file.
60826         * sysdeps/i386/fpu/math_private.h: Use it.
60827         (math_opt_barrier, math_force_eval): Remove.
60828         (libc_feholdexcept_setround_53bit): Remove.
60829         (libc_feupdateenv_53bit): Remove.
60830         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60831         (math_opt_barrier, math_force_eval): Remove.
60832         (libc_feholdexcept): Remove.
60833         (libc_feholdexcept_setround): Remove.
60834         (libc_fetestexcept, libc_fesetenv): Remove.
60835         (libc_feupdateenv_test): Remove.
60836         (libc_feupdateenv, libc_feholdsetround): Remove.
60837         (libc_feresetround): Remove.
60839         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60840         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60842         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60843         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60844         (libc_feupdateenv_testl): New.
60845         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60846         (libc_feupdateenv_testf): New.
60847         (libc_feupdateenv): Use libc_feupdateenv_test.
60848         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60849         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60851         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60852         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60853         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60854         (libc_feresetround_noex): New.
60855         (libc_feresetround_noexf): New.
60856         (libc_feresetround_noexl): New.
60857         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60858         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60859         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60860         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60861         SET_RESTORE_ROUND.
60862         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60863         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60864         (__cos): Likewise.
60865         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60866         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60867         SET_RESTORE_ROUND_NOEX.
60868         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60869         SET_RESTORE_ROUND_NOEXF.
60870         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60871         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60872         (libc_feholdsetroundf): New.
60873         (libc_feresetround, libc_feresetroundf): New.
60875         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60876         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60877         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60879         * sysdeps/generic/math_private.h: Include <fenv.h>.
60880         (default_libc_feholdexcept): New.
60881         (default_libc_feholdexcept_setround): New.
60882         (default_libc_fesetenv, default_libc_feupdateenv): New.
60883         (libc_feholdexcept): Only define if undefined.
60884         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60885         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60886         (libc_feholdexcept_setroundl): Likewise.
60887         (libc_feholdexcept_setround_53bit): Likewise.
60888         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60889         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60890         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60891         (libc_feupdateenv_53bit): Likewise.
60892         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60893         (libc_feholdexcept): Convert from macro to inline function.
60894         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60895         (libc_fesetenv, libc_feupdateenv): Likewise.
60897         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60898         not previously defined.
60899         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60900         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60901         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60902         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60903         * sysdeps/ieee754/flt-32/math_private.h: New file.
60904         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60905         math_private.h below SET_FLOAT_WORD.
60906         (__isnan, __isinf_ns, __finite): Remove.
60907         (__isnanf, __isinf_nsf, __finitef): Remove.
60909 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60913 2012-03-17  David S. Miller  <davem@davemloft.net>
60915         [BZ #6471]
60916         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60917         for 2.16.
60919 2012-03-16  David S. Miller  <davem@davemloft.net>
60921         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60922         warnings.
60924         [BZ #6471]
60925         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60926         properly.
60927         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60928         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60929         sysdep_routines when subdir is sysvipc.
60930         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60931         __getshmlba helper.
60933         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60935 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60937         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60938         [__LP64__].
60940 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60942         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60943         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60944         (__lround): Renamed to ...
60945         (__llround): This.  Replace long int with long long int.
60946         Define lround functions as aliases of llround functions.
60947         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60949 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60951         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60952         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60953         adresses to uintptr_t.  Replace "long int" and "unsigned long
60954         int" with "greg_t" on va_arg.
60956 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60958         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60959         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60961         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60962         Move e_machine check before EI_CLASS check.  Handle x32
60963         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60964         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60965         SKIP_EM_IA_64 and include
60966         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60968         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60969         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60970         (add_system_dir): New macro.
60972         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60973         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60975 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60977         [BZ #2551]
60978         [BZ #2552]
60979         [BZ #2553]
60980         [BZ #2554]
60981         [BZ #2562]
60982         [BZ #2563]
60983         [BZ #2565]
60984         [BZ #2566]
60985         [BZ #2576]
60986         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60987         (y0): Likewise.
60988         * math/w_j0f.c (j0f): Likewise.
60989         (y0f): Likewise.
60990         * math/w_j0l.c (__j0l): Likewise.
60991         (__y0l): Likewise.
60992         * math/w_j1.c (j1): Likewise.
60993         (y1): Likewise.
60994         * math/w_j1f.c (j1f): Likewise.
60995         (y1f): Likewise.
60996         * math/w_j1l.c (__j1l): Likewise.
60997         (__y1l): Likewise.
60998         * math/w_jn.c (jn): Likewise.
60999         (yn): Likewise.
61000         * math/w_jnf.c (jnf): Likewise.
61001         (ynf): Likewise.
61002         * math/w_jnl.c (__jnl): Likewise.
61003         (__ynl): Likewise.
61004         * math/libm-test.inc (j0_test): Add more tests.
61005         (j1_test): Likewise.
61006         (jn_test): Likewise.  Add trailing semicolon to existing test.
61007         (y0_test): Likewise.
61008         (y1_test): Likewise.
61009         * sysdeps/i386/fpu/libm-test-ulps: Update.
61010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61012         [BZ #13851]
61013         [BZ #13854]
61014         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61015         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61016         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61017         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61018         (__tanl): Set errno for infinite argument.
61019         * sysdeps/i386/fpu/mptan.c: Remove.
61020         * sysdeps/i386/fpu/s_tan.S: Likewise.
61021         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61022         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61023         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61024         * math/libm-test.inc (tan_test): Add more tests and enable more
61025         tests for double and long double.
61026         * sysdeps/i386/fpu/libm-test-ulps: Update.
61027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61029 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61031         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61032         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61034 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61036         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61037         * configure.in: Use it for both main tree and add-ons.
61038         * configure: Regenerated.
61040 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61042         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61044 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61046         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61047         in comment.
61049         [BZ #13851]
61050         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61051         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61052         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61053         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61054         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61055         infinite argument.
61056         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61058         != 0 for prec == 2.
61059         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61060         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61061         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61062         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61063         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61064         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61065         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61066         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61067         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61068         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61069         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61070         * math/libm-test.inc (cos_test): Add more tests and enable more
61071         tests for long double.
61072         (sin_test): Likewise.
61073         (sincos_test): Likewise.
61074         * sysdeps/i386/fpu/libm-test-ulps: Update.
61075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61077 2012-03-16  David S. Miller  <davem@davemloft.net>
61079         * sysdeps/sparc/fpu/math_private.h: New file.
61081 2012-03-15  David S. Miller  <davem@davemloft.net>
61083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61084         file.
61085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61087         file.
61088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61093         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61094         sysdep routines.
61095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61097         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61098         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61100         * sysdeps/sparc/sparc-ifunc.h: New file.
61101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61102         sparc-ifunc.h
61103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61105         Likewise.
61106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61107         Likewise.
61108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61112         Likewise.
61113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61118         Likewise.
61119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61120         Likewise.
61121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61127         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61128         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61138         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61139         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61140         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61141         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61142         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61143         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61144         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61146 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61148         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61149         scaling.
61150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61152 2012-03-15  Andreas Jaeger  <aj@suse.de>
61154         [BZ #13852]
61155         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61156         ieee754/flt-32 implementation for sin, cos and sincos.
61157         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61158         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61159         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61160         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61161         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61162         ieee754/flt-32 implementation for tan.
61164         * math/libm-test.inc (cos_test): Enable some large input tests for
61165         float as well
61166         (sin_test): Likewise.
61167         (sincos_test): Likewise.
61168         (tan_test): Add tests for large input.
61170         * sysdeps/i386/fpu/libm-test-ulps: Update.
61172 2012-03-15  Andreas Jaeger  <aj@suse.de>
61174         [BZ #13658]
61175         * math/libm-test.inc (cos_test): Add more test cases.
61176         (sin_test): Likewise.
61177         (sincos_test): Likewise.
61179 2012-03-15  Andreas Jaeger  <aj@suse.de>
61181         [BZ #13837]
61182         * math/libm-test.inc (cos_test): Add a test case for large input
61183         value.
61184         (sin_test): Likewise.
61185         (sincos_test): Likewise.
61187 2012-03-15  Andreas Jaeger  <aj@suse.de>
61188             Joseph Myers  <joseph@codesourcery.com>
61190         [BZ #13658]
61191         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61192         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61193         * sysdeps/i386/fpu/branred.c: Likewise.
61194         * sysdeps/i386/fpu/dosincos.c: Likewise.
61195         * sysdeps/i386/fpu/mpa.c: Likewise.
61196         * sysdeps/i386/fpu/s_cos.S: Likewise.
61197         * sysdeps/i386/fpu/s_sin.S: Likewise.
61198         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61199         * sysdeps/i386/fpu/sincos32.c: Likewise.
61201         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61202         Define.
61203         (libc_feupdateenv_53bit): Define.
61204         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61205         Define.
61206         (libc_feupdateenv_53bit): Define.
61208         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61209         53 bit (without extend i386 double precision).
61211         * math/libm-test.inc (sincos_test): Add tests for large input.
61212         (sin): Likewise.
61213         (cos): Likewise.
61215         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61217 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61221 2012-03-15  David S. Miller  <davem@davemloft.net>
61223         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61224         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61225         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61226         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61236         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61237         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61239         file.
61240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61242         file.
61243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61245         file.
61246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61248         file.
61249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61250         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61251         fmin/fmax sysdep routines.
61252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61254 2012-03-14  David S. Miller  <davem@davemloft.net>
61256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61259         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61260         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61261         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61262         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61263         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61273         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61274         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61275         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61276         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61277         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61278         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61279         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61281         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61282         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61283         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61284         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61285         routines.
61286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61287         file.
61288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61290         file.
61291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61293         file.
61294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61296         file.
61297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61299         file.
61300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61302         file.
61303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61304         file.
61305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61306         file.
61307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61308         file.
61309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61310         New file.
61311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61312         file.
61313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61314         file.
61315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61317         file.
61318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61320         file.
61321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61323         file.
61324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61326         VIS3 routines.
61328         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61329         New file.
61331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61333         * sysdeps/sparc/configure.in: New file.
61334         * sysdeps/sparc/configure: Generate.
61335         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61336         * configure: Regenerate.
61337         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61338         * config.make.in (have-as-vis3): New.
61339         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61340         available use -Av9d instead of -Av9a.
61341         * sysdeps/sparc/sparc64/Makefile: Likewise.
61342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61344         New file.
61345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61346         file.
61347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61348         New file.
61349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61350         file.
61351         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61352         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61353         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61354         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61355         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61357         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61358         fzeros/fnegs to load 0x80000000 into a float register instead of
61359         using the stack.
61360         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61362 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61365         bits/syscall.h.
61366         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61367         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61368         ($(inst_includedir)/bits/syscall.h): Remove rule.
61369         ($(objpfx)bits/syscall.d): Include instead of
61370         $(objpfx)syscall-list.d.
61371         (generated): Change syscall-list.h and syscall-list.d to
61372         bits/syscall.h and bits/syscall.d.
61374 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61376         [BZ #13846]
61377         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61379 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61381         [BZ #13841]
61382         * math/s_csqrt.c: Include <float.h>.
61383         (__csqrt): Scale large or subnormal inputs.
61384         * math/s_csqrtf.c: Likewise.
61385         * math/s_csqrtl.c: Likewise.
61386         * math/libm-test.inc (csqrt_test): Add more tests.
61387         * sysdeps/i386/fpu/libm-test-ulps: Update.
61388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61390         [BZ #13840]
61391         * math/libm-test.inc (hypot_test): Add more tests.
61393 2012-03-13  David S. Miller  <davem@davemloft.net>
61395         [BZ #13840]
61396         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61397         double-precision for the calculation instead of scaling.
61399 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61401         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61402         manipulate bits before adding and subtracting TWO52[sx].
61403         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61404         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61405         Likewise.
61406         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61408 2012-03-13  David S. Miller  <davem@davemloft.net>
61410         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61411         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61412         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61413         rtld-global-offsets.h
61414         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61416         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61417         large parameters.
61419         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61421         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61422         'err' in the ifdef scope in which it is actually used.
61424         * nss/nss_db/db-init.c: Include string.h
61426 2012-03-12  David S. Miller  <davem@davemloft.net>
61428         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61429         masking out of the most significant byte of random value used.
61430         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61431         Fix coding style in previous change.
61433         * sysdeps/unix/sysv/linux/kernel-features.h
61434         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61435         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61436         expression.
61437         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61438         later.
61440 2012-03-11  David S. Miller  <davem@davemloft.net>
61442         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61443         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61444         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61445         for 'resultvar' otherwise things get truncated on 64-bit.
61447         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61448         Fix masking out of the most significant byte of random value used.
61450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61452 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61456 2012-03-09  David S. Miller  <davem@davemloft.net>
61458         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61459         variables with appropriate CPP guards.
61460         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61461         from the frame pointer, not the stack pointer.  Correct layout
61462         comments.  Fix test on resulting framesize and the management of
61463         the outregs buffer for pltexit.  Preserve floating point return
61464         values across _dl_call_pltexit call.
61465         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61466         framesize and the management of the outregs buffer for pltexit.
61467         Preserve floating point return values across _dl_call_pltexit
61468         call.
61469         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61470         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61471         (la_sparc64_gnu_pltexit): New functions.
61472         (print_exit): Fix format string for return register value.
61474 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
61476         * sunrpc/Makefile (others): Add rpcgen.
61477         ($(objpfx)rpcgen): Remove special build rule and dependency on
61478         libc.
61479         * sunrpc/rpcgen.c: New file.
61481 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
61483         [BZ #13673]
61484         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61485         * stdio-common/bug-vfprintf-nargs.c: Likewise.
61486         * sysdeps/i386/crti.S: Likewise.
61487         * sysdeps/i386/crtn.S: Likewise.
61488         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61489         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61490         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61491         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61492         * sysdeps/sh/crti.S: Likewise.
61493         * sysdeps/sh/crtn.S: Likewise.
61494         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61496         [BZ #13673]
61497         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61498         with URL.
61499         * locale/programs/locfile-kw.gperf: Likewise.
61500         * locale/programs/charmap-kw.h: Regenerated.
61501         * locale/programs/locfile-kw.h: Likewise.
61503         [BZ #13673]
61504         * intl/plural.y: Replace FSF snail mail address with URL.
61505         * intl/plural.c: Regenerated.
61507 2012-03-09  Richard Henderson  <rth@twiddle.net>
61509         * include/math_private.h: Remove file.
61510         * math/math_private.h: Move file ...
61511         * sysdeps/generic/math_private.h: ... here.
61513         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61514         * sysdeps/powerpc/fpu/math_private.h: Likewise.
61515         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61517         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61518         and <math_private.h>.
61519         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61520         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61521         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61522         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61523         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61524         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61525         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61526         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61527         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61528         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61529         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61530         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61531         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61532         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61533         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61534         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61535         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61536         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61537         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61538         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61539         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61540         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61541         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61542         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61543         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61544         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61545         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61546         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61547         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61548         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61549         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61550         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61551         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61552         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61553         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61554         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61555         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61556         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61557         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61558         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61559         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61560         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61561         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61562         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61563         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61564         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61565         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61566         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61567         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61568         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61569         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61570         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61571         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61572         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61573         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61574         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61575         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61576         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61577         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61578         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61579         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61580         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61581         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61582         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61583         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61584         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61585         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61586         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61587         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61588         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61589         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61590         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61591         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61592         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61593         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61594         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61595         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61596         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61597         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61598         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61599         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61600         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61601         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61602         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61603         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61605         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61606         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61607         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61608         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61609         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61610         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61611         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61612         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61613         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61614         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61615         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61616         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61617         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61618         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61619         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61620         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61621         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61622         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61623         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61624         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61625         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61626         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61627         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61628         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61629         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61630         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61631         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61632         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61633         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
61634         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61635         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61636         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61637         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61638         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61639         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61640         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61641         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61642         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
61643         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61644         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61645         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61646         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
61647         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61648         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
61649         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
61650         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61651         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61652         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61653         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61654         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61655         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61656         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61657         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61658         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61659         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61660         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61661         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61662         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61663         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61664         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61665         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61666         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61667         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61668         * sysdeps/ieee754/k_standard.c: Likewise.
61669         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61670         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61671         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61672         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61673         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61674         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61675         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61676         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61677         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61678         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61679         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61680         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61681         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61682         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61683         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61684         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61685         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61686         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61687         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61688         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61689         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61690         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61691         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61692         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61693         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61694         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61695         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61696         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61697         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61698         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61699         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61700         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61701         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61702         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61703         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61704         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61705         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61706         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61707         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61708         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61709         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61710         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61711         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61712         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61713         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61714         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61715         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61716         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61717         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61718         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61719         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61720         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61721         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61722         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61723         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61724         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61725         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61726         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61727         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61728         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61729         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61730         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61731         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61732         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61733         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61734         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61735         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61736         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61737         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61738         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61739         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61741         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61742         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61743         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61744         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61745         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61746         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61747         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61748         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61749         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61750         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61751         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61752         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61753         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61754         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61755         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61756         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61757         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61758         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61759         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61760         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61761         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61762         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61763         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61764         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61765         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61766         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61767         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61768         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61769         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61770         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61771         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61772         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61773         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61774         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61775         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61776         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61777         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61778         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61779         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61780         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61781         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61782         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61783         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61784         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61785         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61786         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61787         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61788         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61789         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61790         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61791         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61792         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61793         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61794         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61795         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61796         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61797         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61798         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61799         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61800         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61801         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61802         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61803         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61804         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61805         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61806         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61807         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61808         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61809         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61810         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61811         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61812         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61813         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61814         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61815         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61816         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61817         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61818         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61819         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61820         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61821         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61822         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61823         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61824         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61825         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61826         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61827         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61828         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61829         * sysdeps/ieee754/s_lib_version.c: Likewise.
61830         * sysdeps/ieee754/s_matherr.c: Likewise.
61831         * sysdeps/ieee754/s_signgam.c: Likewise.
61832         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61833         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61834         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61835         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61836         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61837         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61838         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61839         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61840         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61841         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61842         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61843         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61844         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61845         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61846         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61847         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61848         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61849         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61850         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61851         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61852         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61854 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61856         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61857         * sunrpc/rpc_main.c: Likewise.
61858         * sunrpc/rpc_svcout.c: Likewise.
61860 2012-03-09  David S. Miller  <davem@davemloft.net>
61862         * include/math_private.h: New file.
61864 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61866         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61867         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61868         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61869         from <bits/socket_type.h>.
61870         (enum __socket_type): Don't define here.
61871         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61873         bits/socket_type.h.
61875         [BZ #13566]
61876         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61877         checking __USE_GNU.
61879         * Makerules ($(inst_includedir)/%.h): New rule.
61880         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61881         (install-others): Remove variable setting.
61882         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61884 2012-03-08  Richard Henderson  <rth@twiddle.net>
61886         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61887         from macro to inline function; merge with the
61888         !__LIBC_INTERNAL_MATH_INLINES version.
61889         (__ieee754_sqrtf): Likewise.
61891         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61892         to inline function.
61893         (__rintf, __floor, __floorf): Likewise.
61895         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61896         macro to inline function.
61897         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61899         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61900         not <math/math_private.h>.
61902 2012-03-08  David S. Miller  <davem@davemloft.net>
61904         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61905         copyright year.
61906         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61908 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61910         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61911         normalization.
61912         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61913         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61915 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61917         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61918         be defined individually, they must be defined as a block.  Define
61919         S for printing a string instead of hidint the different by using a
61920         macro for adding the 'l'.
61921         * stdio-common/tst-fphex-wide.c: Adjust.
61923 2012-03-07  Marek Polacek  <polacek@redhat.com>
61925         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61927 2012-03-08  Marek Polacek  <polacek@redhat.com>
61929         [BZ #13806]
61930         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61931         * stdio-common/tst-fphex.c: Define a few macros to make the
61932         test reusable.  Use them.
61933         * stdio-common/tst-fphex-wide.c: New file.
61935 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61937         [BZ #6911]
61938         * manual/macros.texi (gnusystems): New macro.
61939         (nongnusystems): Likewise.
61940         (gnulinuxhurdsystems): Likewise.
61941         (gnuhurdsystems): Likewise..
61942         (gnulinuxsystems): Likewise.
61943         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61944         variants of the GNU system, not "GNU system".
61945         * manual/conf.texi: Likewise.
61946         * manual/errno.texi: Likewise.  Update example of errno macro
61947         expansion.
61948         * manual/filesys.texi: Likewise.
61949         (getumask): Document as specific to GNU/Hurd.
61950         * manual/install.texi: Likewise.  Reword some references to
61951         GNU/Linux.
61952         * manual/intro.texi: Likewise.
61953         * manual/io.texi: Likewise.
61954         (File Name Portability): Detail which constraints are inapplicable
61955         to all GNU systems and which are only inapplicable to GNU/Hurd.
61956         * manual/job.texi: Likewise.
61957         * manual/llio.texi: Likewise.
61958         (O_NOCTTY): Document as present on GNU/Linux.
61959         * manual/maint.texi: Likewise.
61960         * manual/memory.texi: Likewise.
61961         * manual/pattern.texi: Likewise.
61962         * manual/pipe.texi: Likewise.
61963         * manual/process.texi: Likewise.
61964         * manual/resource.texi: Likewise.
61965         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61966         child on GNU/Hurd.
61967         * manual/setjmp.texi: Likewise.
61968         * manual/signal.texi: Likewise.
61969         * manual/startup.texi: Likewise.
61970         * manual/stdio.texi: Likewise.
61971         * manual/terminal.texi: Likewise.
61972         (ONLCR): Document as POSIX.
61973         (OXTABS): Document availability on GNU/Linux as XTABS.
61974         (ONOEOT): Document availability separately from other bits.
61975         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61976         * manual/time.texi: Likewise.
61977         * manual/users.texi: Likewise.
61978         * INSTALL: Regenerated.
61979         * sysdeps/gnu/errlist.c: Regenerated.
61981         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61982         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61983         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61984         puts.
61985         * configure: Regenerated.
61987 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61989         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61990         default includes instead of AC_HEADER_CHECK.
61991         * sysdeps/i386/configure: Regenerated.
61993         [BZ #10716]
61994         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61995         * math/s_cacoshf.c (__cacoshf): Likewise.
61996         * math/s_cacoshl.c (__cacoshl): Likewise.
61997         * math/s_casinh.c (__casinh): Set signs of result from argument.
61998         * math/s_casinhf.c (__casinhf): Likewise.
61999         * math/s_casinhl.c (__casinhl): Likewise.
62000         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62001         (casinh_test): Add more tests.
62002         * sysdeps/i386/fpu/libm-test-ulps: Update.
62003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62005 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62007         * po/zh_TW.po: Update from translation team.
62009         * login/Makefile (distribute): Remove variable.
62010         * catgets/Makefile: Likewise.
62011         * mach/Makefile: Likewise.
62012         * malloc/Makefile: Likewise.
62013         * misc/Makefile: Likewise.
62014         * iconv/Makefile: Likewise.
62015         * nscd/Makefile: Likewise.
62016         * hurd/Makefile: Likewise.
62017         * manual/Makefile: Likewise.
62018         * locale/Makefile: Likewise.
62019         * intl/Makefile: Likewise.
62020         * conform/Makefile: Likewise.
62021         * nss/Makefile: Likewise.
62022         * time/Makefile: Likewise.
62023         * soft-fp/Makefile: Likewise.
62024         * dirent/Makefile: Likewise.
62025         * gmon/Makefile: Likewise.
62026         * po/Makefile: Likewise.
62027         * rt/Makefile: Likewise.
62028         * socket/Makefile: Likewise.
62029         * math/Makefile: Likewise.
62030         * signal/Makefile: Likewise.
62031         * debug/Makefile: Likewise.
62032         * elf/Makefile: Likewise.
62033         * timezone/Makefile: Likewise.
62034         * stdlib/Makefile: Likewise.
62035         * iconvdata/Makefile: Likewise.
62036         * sunrpc/Makefile: Likewise.
62037         * io/Makefile: Likewise.
62038         * argp/Makefile: Likewise.
62039         * inet/Makefile: Likewise.
62040         * hesiod/Makefile: Likewise.
62041         * grp/Makefile: Likewise.
62042         * csu/Makefile: Likewise.
62043         * wctype/Makefile: Likewise.
62044         * crypt/Makefile: Likewise.
62045         * libio/Makefile: Likewise.
62046         * string/Makefile: Likewise.
62047         * nis/Makefile: Likewise.
62048         * resolv/Makefile: Likewise.
62049         * stdio-common/Makefile: Likewise.
62050         * wcsmbs/Makefile: Likewise.
62051         * dlfcn/Makefile: Likewise.
62052         * posix/Makefile: Likewise.
62054         [BZ #6959]
62055         * timezone/Makefile: Don't install timezone files, just the programs
62056         and scripts.
62058 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62060         * nss/databases.def: Add missing gshadow entry.
62062         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62064 2012-03-06  Marek Polacek  <polacek@redhat.com>
62066         [BZ #13726]
62067         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62068         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62069         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62070         * stdio-common/tst-long-dbl-fphex.c: New file.
62072 2012-03-06  David S. Miller  <davem@davemloft.net>
62074         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62075         (set_obp_int): New function.
62076         (get_obp_int): New function.
62077         (__get_clockfreq_via_dev_openprom): Likewise.
62078         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62079         Avoid unused variable warnings on 'val' and use builtin_expect.
62080         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62081         __builtin_expect.
62082         (INLINE_CLONE_SYSCALL): Likewise.
62084 2012-03-05  David S. Miller  <davem@davemloft.net>
62086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62088 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62092         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62093         only for |x| >= 40.
62094         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62096 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62098         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62099         Replace gettimeofday with __vdso_gettimeofday.
62101         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62102         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62103         __vdso_clock_gettime and __vdso_getcpu.
62105         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62106         time with __vdso_time.
62108 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62110         * manual/lang.texi (size_t): Note types to which size_t may be
62111         equivalent with the GNU C Library, but do not describe when
62112         differences between them are significant.
62114 2012-03-05  Andreas Jaeger  <aj@suse.de>
62116         * sysdeps/i386/fpu/libm-test-ulps: Update.
62118 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62120         [BZ #3976]
62121         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62122         (__ieee754_pow): Save and restore rounding mode and use
62123         round-to-nearest for main computations.
62124         * math/libm-test.inc (pow_test_tonearest): New function.
62125         (pow_test_towardzero): Likewise.
62126         (pow_test_downward): Likewise.
62127         (pow_test_upward): Likewise.
62128         (main): Call the new functions.
62129         * sysdeps/i386/fpu/libm-test-ulps: Update.
62130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62132         [BZ #3976]
62133         * math/libm-test.inc (cosh_test_tonearest): New function.
62134         (cosh_test_towardzero): Likewise.
62135         (cosh_test_downward): Likewise.
62136         (cosh_test_upward): Likewise.
62137         (sinh_test_tonearest): Likewise.
62138         (sinh_test_towardzero): Likewise.
62139         (sinh_test_downward): Likewise.
62140         (sinh_test_upward): Likewise.
62141         (main): Call the new functions.
62142         * sysdeps/i386/fpu/libm-test-ulps: Update.
62143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62145 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62147         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62148         default stack guard is set in last bytes.
62149         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62151 2012-03-05  Kees Cook  <keescook@chromium.org>
62153         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62155         [BZ #13656]
62156         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62157         possibly allocate from heap instead of stack.
62158         * stdio-common/bug-vfprintf-nargs.c: New file.
62159         * stdio-common/Makefile (tests): Add nargs overflow test.
62161 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62165 2012-03-03  Marek Polacek  <polacek@redhat.com>
62167         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62168         * math/math_private.h: Likewise.
62169         * stdlib/tst-strtod.c: Likewise.
62170         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62171         * sysdeps/x86_64/bits/atomic.h: Likewise.
62173 2012-03-02  David S. Miller  <davem@davemloft.net>
62175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62179         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62180         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62181         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62182         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62184 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62186         [BZ #13792]
62187         * manual/examples/README: New file, says the example source files
62188         can be used under GPL>=2.
62189         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62190         line containing just "*/".
62191         * manual/examples/add.c: Add copyright header (GPL>=2).
62192         * manual/examples/argp-ex1.c: Likewise.
62193         * manual/examples/argp-ex2.c: Likewise.
62194         * manual/examples/argp-ex3.c: Likewise.
62195         * manual/examples/argp-ex4.c: Likewise.
62196         * manual/examples/atexit.c: Likewise.
62197         * manual/examples/db.c: Likewise.
62198         * manual/examples/dir.c: Likewise.
62199         * manual/examples/dir2.c: Likewise.
62200         * manual/examples/execinfo.c: Likewise.
62201         * manual/examples/filecli.c: Likewise.
62202         * manual/examples/filesrv.c: Likewise.
62203         * manual/examples/fmtmsgexpl.c: Likewise.
62204         * manual/examples/genpass.c: Likewise.
62205         * manual/examples/inetcli.c: Likewise.
62206         * manual/examples/inetsrv.c: Likewise.
62207         * manual/examples/isockad.c: Likewise.
62208         * manual/examples/longopt.c: Likewise.
62209         * manual/examples/memopen.c: Likewise.
62210         * manual/examples/memstrm.c: Likewise.
62211         * manual/examples/mkfsock.c: Likewise.
62212         * manual/examples/mkisock.c: Likewise.
62213         * manual/examples/mygetpass.c: Likewise.
62214         * manual/examples/pipe.c: Likewise.
62215         * manual/examples/popen.c: Likewise.
62216         * manual/examples/rprintf.c: Likewise.
62217         * manual/examples/search.c: Likewise.
62218         * manual/examples/select.c: Likewise.
62219         * manual/examples/setjmp.c: Likewise.
62220         * manual/examples/sigh1.c: Likewise.
62221         * manual/examples/sigusr.c: Likewise.
62222         * manual/examples/stpcpy.c: Likewise.
62223         * manual/examples/strdupa.c: Likewise.
62224         * manual/examples/strftim.c: Likewise.
62225         * manual/examples/strncat.c: Likewise.
62226         * manual/examples/subopt.c: Likewise.
62227         * manual/examples/swapcontext.c: Likewise.
62228         * manual/examples/termios.c: Likewise.
62229         * manual/examples/testopt.c: Likewise.
62230         * manual/examples/testpass.c: Likewise.
62231         * manual/examples/timeval_subtract.c: Likewise.
62233         [BZ #13792]
62234         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62235         function to ...
62236         * manual/timeval_subtract.c.texi: ... here, new file.
62238 2012-03-02  David S. Miller  <davem@davemloft.net>
62240         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62242 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62244         [BZ #3976]
62245         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62246         (__sin): Save and restore rounding mode and use round-to-nearest
62247         for all computations.
62248         (__cos): Save and restore rounding mode and use round-to-nearest
62249         for all computations.
62250         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62251         <fenv.h>.
62252         (tan): Save and restore rounding mode and use round-to-nearest for
62253         all computations.
62254         * math/libm-test.inc (cos_test_tonearest): New function.
62255         (cos_test_towardzero): Likewise.
62256         (cos_test_downward): Likewise.
62257         (cos_test_upward): Likewise.
62258         (sin_test_tonearest): Likewise.
62259         (sin_test_towardzero): Likewise.
62260         (sin_test_downward): Likewise.
62261         (sin_test_upward): Likewise.
62262         (tan_test_tonearest): Likewise.
62263         (tan_test_towardzero): Likewise.
62264         (tan_test_downward): Likewise.
62265         (tan_test_upward): Likewise.
62266         (main): Call the new functions.
62267         * sysdeps/i386/fpu/libm-test-ulps: Update.
62268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62270         [BZ #10135]
62271         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62272         small n, then large n, before computing and testing k+n.
62273         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62274         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62275         Likewise.
62276         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62277         Likewise.
62278         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62279         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62280         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62281         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62282         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62283         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62284         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62285         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62286         * math/libm-test.inc (scalbn_test): Add more tests.
62287         (scalbln_test): Likewise.
62289         * manual/filesys.texi (mode_t): Describe constraints on size and
62290         signedness, not exact equivalence to a particular type.
62291         (ino_t): Likewise.
62292         (ino64_t): Likewise.
62293         (dev_t): Likewise.
62294         (nlink_t): Likewise.
62295         (blkcnt_t): Likewise.
62296         (blkcnt64_t): Likewise.
62297         * manual/llio.texi (off_t): Likewise.
62299         [BZ #3976]
62300         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62301         (__ieee754_exp): Save and restore rounding mode and use
62302         round-to-nearest for all computations.
62303         * math/libm-test.inc (exp_test_tonearest): New function.
62304         (exp_test_towardzero): Likewise.
62305         (exp_test_downward): Likewise.
62306         (exp_test_upward): Likewise.
62307         (main): Call the new functions.
62308         * sysdeps/i386/fpu/libm-test-ulps: Update.
62309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62311 2012-03-01  Chris Demetriou  <cgd@google.com>
62313         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62314         have predictable order.
62316 2012-03-01  David S. Miller  <davem@davemloft.net>
62318         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62320         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62321         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62322         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62323         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62325         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62326         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62327         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62329         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62330         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62331         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62332         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62333         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62337         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62338         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62339         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62341         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62342         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62343         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62344         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62345         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62346         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62347         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62348         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62349         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62350         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62351         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62352         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62354         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62355         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62356         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62357         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62358         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62359         * sysdeps/sparc/elf/configure: Regenerated.
62361 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62363         * configure.in (AS, LD): Require binutils 2.20 or later.
62364         * configure: Regenerated.
62365         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62366         as required minimum version.
62367         * INSTALL: Regenerated.
62369         [BZ #2541]
62370         [BZ #4108]
62371         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62372         before squaring exponent.
62373         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62374         bottom long double and 27 bits of top long double before squaring
62375         exponent.
62376         * math/libm-test.inc (erfc_test): Add more tests.
62377         * sysdeps/i386/fpu/libm-test-ulps: Update.
62378         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62381 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62383         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62384         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62385         containing bit-fields.
62386         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62387         * soft-fp/single.h (_FP_UNION_S): Likewise.
62388         * soft-fp/double.h (_FP_UNION_D): Likewise.
62390 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62392         [BZ #13786]
62393         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62394         not include ../strcmp.S.
62395         [USE_AS_STRNCASECMP_L]: Likewise.
62396         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62397         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62398         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62399         (__strncasecmp_l_ia32): Define as alias to
62400         __strncasecmp_l_nonascii.
62402         [BZ #5794]
62403         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62404         * sysdeps/i386/fpu/libm-test-ulps: Update.
62405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62407         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62410 2012-02-29  Jeff Law  <law@redhat.com>
62412         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62413         out of bounds read.
62415 2012-02-29  Marek Polacek  <polacek@redhat.com>
62417         [BZ #13706]
62418         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62419         * elf/Makefile: Add rules to run tst-unused-dep.out.
62421 2012-02-28  David S. Miller  <davem@davemloft.net>
62423         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62424         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62425         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62426         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62427         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62428         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62430 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62432         * math/libm-test.inc (llround_test): Move one test from
62433         lround_test.  Use TEST_f_L in moved test.
62434         (lround_test): Move misplaced test to llround_test.  Add testcase
62435         from bug 2561.
62437 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62439         * sysdeps/x86_64/fpu/e_expf.S: New file.
62440         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62442 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62444         [BZ #13637]
62445         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62446         of remain_len that may cause incomplete multi-byte character and
62447         false match.
62448         * posix/bug-regex33.c: New file.
62449         * posix/Makefile (tests): Add bug-regex33.
62451 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62453         * manual/macros.texi: New file.
62454         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62455         * manual/libc.texinfo: Include macros.texi.
62456         * manual/creatute.texi: Likewise.
62457         * manual/install.texi: Likewise.
62458         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62459         @glibcadj{} in references to the GNU C Library.
62460         * manual/charset.texi: Likewise.
62461         * manual/conf.texi: Likewise.
62462         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62463         when not using those macros.
62464         * manual/creature.texi: Likewise.
62465         * manual/crypt.texi: Likewise.
62466         * manual/errno.texi: Likewise.
62467         * manual/filesys.texi: Likewise.
62468         * manual/header.texi: Likewise.
62469         * manual/install.texi: Likewise.
62470         * manual/intro.texi: Likewise.
62471         * manual/io.texi: Likewise.
62472         * manual/job.texi: Likewise.
62473         * manual/lang.texi: Likewise.
62474         * manual/libc.texiinfo: Likewise.
62475         * manual/llio.texi: Likewise.
62476         * manual/locale.texi: Likewise.
62477         * manual/maint.texi: Likewise.
62478         * manual/math.texi: Likewise.
62479         * manual/memory.texi: Likewise.
62480         * manual/message.texi: Likewise.
62481         * manual/nss.texi: Likewise.
62482         * manual/pattern.texi: Likewise.
62483         * manual/process.texi: Likewise.
62484         * manual/resource.texi: Likewise.
62485         * manual/search.texi: Likewise.
62486         * manual/setjmp.texi: Likewise.
62487         * manual/signal.texi: Likewise.
62488         * manual/socket.texi: Likewise.
62489         * manual/startup.texi: Likewise.
62490         * manual/stdio.texi: Likewise.
62491         * manual/string.texi: Likewise.
62492         * manual/sysinfo.texi: Likewise.
62493         * manual/syslog.texi: Likewise.
62494         * manual/terminal.texi: Likewise.
62495         * manual/time.texi: Likewise.
62496         * manual/users.texi: Likewise.
62497         * INSTALL: Regenerated.
62498         * NOTES: Regenerated.
62499         * sysdeps/gnu/errlist.c: Regenerated.
62501 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
62503         * include/dirent.h: Include <dirstream.h> before
62504         <dirent/dirent.h>.
62506 2012-02-28  David S. Miller  <davem@davemloft.net>
62508         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62509         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62510         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62511         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62513 2012-02-27  David S. Miller  <davem@davemloft.net>
62515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62517         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62518         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62521         frame pointer instead of stack pointer relative arg slot.
62522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62523         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62524         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62526 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
62528         [BZ #3992]
62529         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62531 2012-02-27  David S. Miller  <davem@davemloft.net>
62533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62537         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62538         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62539         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62540         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62542 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62544         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62545         later.  Allow versions 5-9.
62546         * configure: Regenerated.
62547         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62548         required minimum version and 4.6 as recommended version.  Do not
62549         mention bugs in GCC 2.7 and 2.8.
62550         * INSTALL: Regenerated.
62552 2012-02-27  David S. Miller  <davem@davemloft.net>
62554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62558         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62559         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62560         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62561         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62563         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62564         manipulate bits before adding and subtracting TWO112[sx].
62565         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62567 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62569         [BZ #13775]
62570         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62571         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62572         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62573         being in POSIX, because they are in 1003.1-2008.
62575         * rt/tst-aio.c: Include <fcntl.h>.
62576         * rt/tst-aio7.c: Likewise.
62577         * rt/tst-aio64.c: Likewise.
62579         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62581 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62583         * manual/install.texi (--with-headers): Describe headers as
62584         interface headers, not private headers.
62585         (Specific advice for GNU/Linux systems): Describe use of headers
62586         from "make headers_install", not private headers from older
62587         kernels.
62588         * INSTALL: Regenerated.
62589         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62590         Change to 2.6.19.
62591         * sysdeps/unix/sysv/linux/configure: Regenerated.
62593         * manual/llio.texi (fclean): Remove documentation.
62595         * manual/Makefile (libc-texi-generated): New variable.  Include
62596         version.texi.
62597         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62598         $(libc-texi-generated), not duplicated list of files.
62599         (version.texi, stamp-version): New rules.
62600         (realclean): Remove $(libc-texi-generated), not individual files
62601         from that list.  Do not remove dir-add.texinfo.
62602         * manual/libc.texinfo: Comment out uses of edition numbers and
62603         references to printed manual.  Remove last-updated dates.
62604         (EDITION): Comment out.
62605         (ISBN): Likewise.
62606         (VERSION, UPDATED): Remove.
62607         (version.texi): Include.
62609 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
62611         * sysdeps/posix/spawni.c: Include <signal.h>.
62612         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62613         * sysdeps/pthread/aio_fsync.c: Likewise.
62615 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
62617         * conform/Makefile (tests): Run only when not cross-compiling and
62618         when fast-check is not defined.
62620         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62621         * conform/data/limits.h-data: Fixes for POSIX2008.
62622         * conform/run-conformtest.sh: Run all tests.
62623         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62624         headers.
62625         * include/bits/dlfcn.h: Likewise.
62626         * include/langinfo.h: Likewise.
62627         * include/monetary.h: Likewise.
62628         * include/sys/poll.h: Likewise.
62630         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62631         for __USE_GNU.
62632         * posix/spawn.h: Define __need_sigset_t.
62633         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
62634         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
62635         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
62636         to get sigevent_t only.
62637         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
62638         only for __USE_GNU.
62639         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62640         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62641         process_vm_writev only for __USE_GNU.
62642         * termios/termios.h: Declare tcgetsid also for POSIX2008.
62644         * conform/Makefile: For now ignore errors from run-conformtest.
62645         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
62646         POSIX to avoid namespace pollution.  Don't prepend headers.
62647         * conform/data/aio.h-data: Fixes for POSIX testing.
62648         * conform/data/fcntl.h-data: Likewise.
62649         * conform/data/glob.h-data: Likewise.
62650         * conform/data/grp.h-data: Likewise.
62651         * conform/data/pthread.h-data: Likewise.
62652         * conform/data/pwd.h-data: Likewise.
62653         * conform/data/signal.h-data: Likewise.
62654         * conform/data/spawn.h-data: Likewise.
62655         * conform/data/stdio.h-data: Likewise.
62656         * conform/data/stdlib.h-data: Likewise.
62657         * conform/data/stropts.h-data: Likewise.
62658         * conform/data/sys/mman.h-data: Likewise.
62659         * conform/data/sys/stat.h-data: Likewise.
62660         * conform/data/sys/types.h-data: Likewise.
62661         * conform/data/sys/wait.h-data: Likewise.
62662         * conform/data/time.h-data: Likewise.
62663         * conform/data/unistd.h-data: Likewise.
62664         * conform/data/utime.h-data: Likewise.
62666         * io/sys/stat.h: fchmod was always in POSIX.
62667         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62668         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62669         * rt/aio.h: Define __need_timespec before including <time.h>.
62670         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62671         struct.  Add forward declaration of pthread_attr_t and use it in
62672         sigevent.
62673         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62674         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62675         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62676         always remove CLK_TCK definition.
62678 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62680         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62682 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62684         * conform/run-conformtest.sh: New file.
62685         * conform/Makefile: Run run-conformtest for tests.
62686         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62687         support.
62689         * conform/data/uchar.h-data: New file.
62690         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62691         * conform/data/arpa/inet.h-data: Likewise.
62692         * conform/data/assert.h-data: Likewise.
62693         * conform/data/complex.h-data: Likewise.
62694         * conform/data/cpio.h-data: Likewise.
62695         * conform/data/ctype.h-data: Likewise.
62696         * conform/data/dirent.h-data: Likewise.
62697         * conform/data/dlfcn.h-data: Likewise.
62698         * conform/data/errno.h-data: Likewise.
62699         * conform/data/fcntl.h-data: Likewise.
62700         * conform/data/float.h-data: Likewise.
62701         * conform/data/fmtmsg.h-data: Likewise.
62702         * conform/data/fnmatch.h-data: Likewise.
62703         * conform/data/ftw.h-data: Likewise.
62704         * conform/data/glob.h-data: Likewise.
62705         * conform/data/grp.h-data: Likewise.
62706         * conform/data/iconv.h-data: Likewise.
62707         * conform/data/inttypes.h-data: Likewise.
62708         * conform/data/langinfo.h-data: Likewise.
62709         * conform/data/libgen.h-data: Likewise.
62710         * conform/data/limits.h-data: Likewise.
62711         * conform/data/locale.h-data: Likewise.
62712         * conform/data/math.h-data: Likewise.
62713         * conform/data/monetary.h-data: Likewise.
62714         * conform/data/mqueue.h-data: Likewise.
62715         * conform/data/ndbm.h-data: Likewise.
62716         * conform/data/net/if.h-data: Likewise.
62717         * conform/data/netdb.h-data: Likewise.
62718         * conform/data/netinet/in.h-data: Likewise.
62719         * conform/data/nl_types.h-data: Likewise.
62720         * conform/data/poll.h-data: Likewise.
62721         * conform/data/pthread.h-data: Likewise.
62722         * conform/data/pwd.h-data: Likewise.
62723         * conform/data/regex.h-data: Likewise.
62724         * conform/data/sched.h-data: Likewise.
62725         * conform/data/search.h-data: Likewise.
62726         * conform/data/semaphore.h-data: Likewise.
62727         * conform/data/setjmp.h-data: Likewise.
62728         * conform/data/signal.h-data: Likewise.
62729         * conform/data/spawn.h-data: Likewise.
62730         * conform/data/stdarg.h-data: Likewise.
62731         * conform/data/stdio.h-data: Likewise.
62732         * conform/data/stdlib.h-data: Likewise.
62733         * conform/data/string.h-data: Likewise.
62734         * conform/data/strings.h-data: Likewise.
62735         * conform/data/stropts.h-data: Likewise.
62736         * conform/data/sys/ipc.h-data: Likewise.
62737         * conform/data/sys/mman.h-data: Likewise.
62738         * conform/data/sys/msg.h-data: Likewise.
62739         * conform/data/sys/resource.h-data: Likewise.
62740         * conform/data/sys/select.h-data: Likewise.
62741         * conform/data/sys/sem.h-data: Likewise.
62742         * conform/data/sys/shm.h-data: Likewise.
62743         * conform/data/sys/socket.h-data: Likewise.
62744         * conform/data/sys/stat.h-data: Likewise.
62745         * conform/data/sys/statvfs.h-data: Likewise.
62746         * conform/data/sys/time.h-data: Likewise.
62747         * conform/data/sys/timeb.h-data: Likewise.
62748         * conform/data/sys/times.h-data: Likewise.
62749         * conform/data/sys/types.h-data: Likewise.
62750         * conform/data/sys/uio.h-data: Likewise.
62751         * conform/data/sys/un.h-data: Likewise.
62752         * conform/data/sys/utsname.h-data: Likewise.
62753         * conform/data/sys/wait.h-data: Likewise.
62754         * conform/data/syslog.h-data: Likewise.
62755         * conform/data/tar.h-data: Likewise.
62756         * conform/data/termios.h-data: Likewise.
62757         * conform/data/utime.h-data: Likewise.
62758         * conform/data/utmpx.h-data: Likewise.
62759         * conform/data/varargs.h-data: Likewise.
62760         * conform/data/wchar.h-data: Likewise.
62761         * conform/data/wctype.h-data: Likewise.
62762         * conform/data/wordexp.h-data: Likewise.
62764         * include/stropts.h: New file.
62765         * include/uchar.h: New file.
62766         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62767         * include/assert.h: Likewise.
62768         * include/ctype.h: Likewise.
62769         * include/dirent.h: Likewise.
62770         * include/dlfcn.h: Likewise.
62771         * include/fcntl.h: Likewise.
62772         * include/fnmatch.h: Likewise.
62773         * include/glob.h: Likewise.
62774         * include/grp.h: Likewise.
62775         * include/libio.h: Likewise.
62776         * include/locale.h: Likewise.
62777         * include/math.h: Likewise.
62778         * include/net/if.h: Likewise.
62779         * include/netdb.h: Likewise.
62780         * include/netinet/in.h: Likewise.
62781         * include/pthread.h: Likewise.
62782         * include/pwd.h: Likewise.
62783         * include/regex.h: Likewise.
62784         * include/sched.h: Likewise.
62785         * include/search.h: Likewise.
62786         * include/setjmp.h: Likewise.
62787         * include/signal.h: Likewise.
62788         * include/stdio.h: Likewise.
62789         * include/stdlib.h: Likewise.
62790         * include/string.h: Likewise.
62791         * include/sys/cdefs.h: Likewise.
62792         * include/sys/mman.h: Likewise.
62793         * include/sys/msg.h: Likewise.
62794         * include/sys/resource.h: Likewise.
62795         * include/sys/select.h: Likewise.
62796         * include/sys/socket.h: Likewise.
62797         * include/sys/stat.h: Likewise.
62798         * include/sys/statvfs.h: Likewise.
62799         * include/sys/time.h: Likewise.
62800         * include/sys/times.h: Likewise.
62801         * include/sys/uio.h: Likewise.
62802         * include/sys/utsname.h: Likewise.
62803         * include/sys/wait.h: Likewise.
62804         * include/termios.h: Likewise.
62805         * include/time.h: Likewise.
62806         * include/ulimit.h: Likewise.
62807         * include/unistd.h: Likewise.
62808         * include/utime.h: Likewise.
62809         * include/wchar.h: Likewise.
62810         * include/wctype.h: Likewise.
62811         * include/wordexp.h: Likewise.
62813         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62815         * time/time.h: TIME_UTC must be a macro.
62816         Make timespec_get available for ISO C11 only as well.
62818 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62820         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62821         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62823 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62825         * configure.in: Use -o not -a in test for unsupported multi-arch.
62827 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62829         * manual/texinfo.tex: Update to version 2012-01-19.16.
62831 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62833         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62835 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62837         [BZ #13738]
62838         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62839         * manual/fdl-1.3.texi: New file.
62840         * manual/fdl-1.1.texi: File removed.
62842         [BZ #13738]
62843         * manual/libc.texinfo (FDL_VERSION): New @set.
62844         Use it for mention of FDL in cover text.
62845         (Documentation License): Use it in @include file name.
62847 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62848             Roland McGrath  <roland@hack.frob.com>
62850         [BZ #5461]
62851         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62852         (not LONG_LONG_MAX and LONG_LONG_MIN.
62853         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62854         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62855         name.
62856         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62858 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62860         [BZ #2547]
62861         [BZ #11365]
62862         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62863         manipulate bits before adding and subtracting TWO23[sx].
62864         * math/libm-test.inc (nearbyint_test): Add more tests.
62866 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62868         [BZ #2548]
62869         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62870         bits before adding and subtracting TWO23[sx].
62871         * math/libm-test.inc (rint_test): Add more tests.
62872         (rint_test_tonearest): Likewise.
62873         (rint_test_towardzero): Likewise.
62874         (rint_test_downward): Likewise.
62875         (rint_test_upward: Likewise.
62877 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62879         [BZ #10110]
62880         * include/stdc-predef.h: New file.  Extracted from features.h.
62881         * include/features.h: Include stdc-predef.h.
62882         * Makefile (headers): Add stdc-predef.h.
62883         * CONFORMANCE (Compiler limitations): Update.
62885 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62887         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62889 2012-02-21  David S. Miller  <davem@davemloft.net>
62891         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62892         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62894 2012-02-20  David S. Miller  <davem@davemloft.net>
62896         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62897         using a normal save/restore sequence, rather than allocating a
62898         dummy stack frame just to store a frame pointer and restore.
62899         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62901 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62903         * manual/install.texi: Fix stray word in line-wrapped comment.
62905 2012-02-20  David S. Miller  <davem@davemloft.net>
62907         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62908         both binutils and gcc support GOTDATA.
62910         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62911         "rd %pc" in the PIC register setup sequences.
62913         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62914         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62915         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62916         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62917         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62919         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62920         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62921         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62922         (SYSCALL_ERROR_HANDLER): Likewise.
62923         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62924         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62925         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62926         (SYSCALL_ERROR_HANDLER): Likewise.
62928         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62929         (HAVE_GCC_GOTDATA): New.
62930         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62931         relocation support in both binutils and gcc.
62932         * sysdeps/sparc/elf/configure: Regenerate.
62934         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62935         * sysdeps/sparc/sparc32/elf/configure: Delete.
62936         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62937         * sysdeps/sparc/sparc64/elf/configure: Delete.
62938         * sysdeps/sparc/elf/configure.in: New file.
62939         * sysdeps/sparc/elf/configure: Generate.
62941         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62942         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62943         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62944         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62945         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62947 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62949         * manual/install.texi: Do not mention specific glibc version
62950         numbers.
62951         * manual/libc.texinfo (VERSION, UPDATED): Update.
62952         (@copying): Use @copyright{} and range of years.
62954 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62956         [BZ #13695]
62957         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62958         [crti.S not in sysdirs] (generated): Do not append.
62959         [crti.S not in sysdirs] (omit-deps): Likewise.
62960         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62961         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62962         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62963         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62964         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62965         Likewise.
62966         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62967         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62968         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62969         * csu/defs.awk: Remove file.
62970         * sysdeps/generic/initfini.c: Likewise.
62971         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62972         variable.
62973         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62974         Likewise.
62976 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62978         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62979         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62980         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62981         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62982         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62983         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62984         <bits/epoll.h>.
62985         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62986         (__EPOLL_PACKED): Define to empty if not defined by
62987         <bits/epoll.h>.
62988         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62990         bits/epoll.h.
62992 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62994         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62995         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62996         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62997         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62998         <bits/timerfd.h>.
62999         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63000         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63001         bits/timerfd.h.
63003 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63005         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63006         in C locale.
63007         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63008         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63009         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63012 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63014         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63015         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63017 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63019         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63020         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63021         defined.
63022         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63023         Likewise.
63024         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63025         entry for 2.16.
63027 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63029         * math/w_acos.c: Use non-signaling floating-point comparisons.
63030         * math/w_acosf.c: Likewise.
63031         * math/w_acosh.c: Likewise.
63032         * math/w_acoshf.c: Likewise.
63033         * math/w_acoshl.c: Likewise.
63034         * math/w_acosl.c: Likewise.
63035         * math/w_asin.c: Likewise.
63036         * math/w_asinf.c: Likewise.
63037         * math/w_asinl.c: Likewise.
63038         * math/w_atanh.c: Likewise.
63039         * math/w_atanhf.c: Likewise.
63040         * math/w_atanhl.c: Likewise.
63041         * math/w_exp2.c: Likewise.
63042         * math/w_exp2f.c: Likewise.
63043         * math/w_exp2l.c: Likewise.
63044         * math/w_j0.c: Likewise.
63045         * math/w_j0f.c: Likewise.
63046         * math/w_j0l.c: Likewise.
63047         * math/w_j1.c: Likewise.
63048         * math/w_j1f.c: Likewise.
63049         * math/w_j1l.c: Likewise.
63050         * math/w_jn.c: Likewise.
63051         * math/w_jnf.c: Likewise.
63052         * math/w_log.c: Likewise.
63053         * math/w_log10.c: Likewise.
63054         * math/w_log10f.c: Likewise.
63055         * math/w_log10l.c: Likewise.
63056         * math/w_log2.c: Likewise.
63057         * math/w_log2f.c: Likewise.
63058         * math/w_log2l.c: Likewise.
63059         * math/w_logf.c: Likewise.
63060         * math/w_logl.c: Likewise.
63061         * math/w_sqrt.c: Likewise.
63062         * math/w_sqrtf.c: Likewise.
63063         * math/w_sqrtl.c: Likewise.
63064         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63065         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63066         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63067         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63068         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63070 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63072         [BZ #9739]
63073         * manual/string.texi (strnlen): Use correct parameter name in
63074         equivalent expression.
63076 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63078         [BZ #11174]
63079         * manual/users.texi (seteuid): Consistently use neweuid for
63080         argument name.
63082 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63084         [BZ #13704]
63085         * manual/nss.texi (Services in the NSS configuration): Correct
63086         list of services in example configuration file.
63088 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63090         [BZ #11322]
63091         * manual/arith.texi: Remove statements about negative zero
63092         behaving identically to zero.
63094 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63096         [BZ #5993]
63097         * manual/install.texi: Do not document upgrading from libc5.
63099 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63101         [BZ #4596]
63102         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63104 2012-02-18  David S. Miller  <davem@davemloft.net>
63106         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63107         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63108         %o7 across the call.
63109         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63110         instead.
63111         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63112         SETUP_PIC_REG_LEAF.
63113         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63114         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63115         * sysdeps/sparc/crtn.S: Likewise.
63117 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63119         * aout/Makefile: Remove.
63121 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63123         [BZ #13058]
63124         * manual/examples/argp-ex1.c (main): Format definition in GNU
63125         style.
63126         * manual/examples/argp-ex2.c (main): Likewise.
63127         * manual/examples/argp-ex3.c (main): Likewise.
63128         * manual/examples/argp-ex4.c (main): Likewise.
63129         * manual/examples/longopt.c (main): Use new-style prototype
63130         definition.
63131         * manual/examples/strncat.c (main): Specify return type and use
63132         (void) for arguments.
63133         * manual/examples/subopt.c (main): Use char **argv argument.
63135 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63137         [BZ #5077]
63138         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63139         rounding modes.
63141 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63143         [BZ #6907]
63144         * manual/string.texi (strchr): Change when strchrnul is
63145         recommended.
63147 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63149         [BZ #174]
63150         * manual/locale.texi (setlocale): Document LOCPATH.
63152 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63154         [BZ #10210]
63155         * manual/process.texi (execle): Move @dots{} before last argument.
63157 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63159         [BZ #12047]
63160         * manual/charset.texi (Generic Charset Conversion): Fix typo
63161         (LC_TYPE -> LC_CTYPE).
63163 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63165         [BZ #5805]
63166         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63167         (scalbnf): Likewise.
63168         (scalbnl): Likewise.
63169         (scalbln): Likewise.
63170         (scalblnf): Likewise.
63171         (scalblnl): Likewise.
63172         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63173         (vwarnx): Likewise.
63174         (verr): Likewise.
63175         (verrx): Likewise.
63176         * manual/filesys.texi (telldir): Use braces around return type.
63177         * manual/llio.texi (mmap): Add space after comma.
63178         (mmap64): Likewise.
63179         * manual/math.texi (jn): Use @var{} on parameter names.
63180         (jnf): Likewise.
63181         (jnl): Likewise.
63182         (yn): Likewise.
63183         (ynf): Likewise.
63184         (ynl): Likewise.
63185         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63186         line.
63187         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63188         "...".
63189         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63190         (sched_get_priority_max): Likewise.
63191         * manual/signal.texi (sigvec): Add space after comma.
63192         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63193         names.
63194         (if_indextoname): Likewise.
63195         (if_freenameindex): Likewise.
63196         (sendto): Use ',' instead of '.' in prototype.
63197         * manual/startup.texi (syscall): Use @dots{} instead of literal
63198         "...".
63199         * manual/stdio.texi (__fpending): Separate initial words of
63200         paragraph from @deftypefun line.
63201         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63202         "...".
63203         (vsyslog): Use @var{} on parameter names.
63204         * manual/terminal.texi (stty): Use @var{} on parameter names.
63205         * manual/users.texi (getutmp): Use @var{} on parameter names.
63206         (getutmpx): Likewise.
63208 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63210         [BZ #6884]
63211         * manual/stdio.texi (fopen): Fix typos in description of
63212         ",ccs=STRING".
63214 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63216         [BZ #4026]
63217         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63218         get clock_id definition.
63220 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63222         [BZ #4822]
63223         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63224         (madvise): Cast every argument to void on its own.
63226 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63228         [BZ #9902]
63229         * manual/startup.texi (Exit Status): Fix typo.
63231 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63233         [BZ #10140]
63234         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63235         * manual/examples/argp-ex2.c: Likewise.
63236         * manual/examples/argp-ex3.c: Likewise.
63238 2012-02-16  Richard Henderson  <rth@redhat.com>
63240         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63241         * sysdeps/s390/s390-32/initfini.c: Remove.
63242         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63243         * sysdeps/s390/s390-64/initfini.c: Remove.
63245 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63247         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63248         compiler output for sysdeps/generic/initfini.c.
63249         * sysdeps/sh/elf/initfini.c: Remove file.
63251 2012-02-16  David S. Miller  <davem@davemloft.net>
63253         [BZ #11494]
63254         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63256         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63257         * sysdeps/sparc/crti.S: New file.
63258         * sysdeps/sparc/crtn.S: New file.
63259         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63260         * sysdeps/sparc/sparc64/Makefile: Likewise.
63262 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63264         [BZ #3335]
63265         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63267 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63269         [BZ #4822]
63270         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63272         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63273         (write, read, close): Likewise.
63274         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63276 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63278         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63279         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63280         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63281         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63282         <bits/signalfd.h>.
63283         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63284         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63285         bits/signalfd.h.
63287 2012-02-14  Marek Polacek  <polacek@redhat.com>
63289         * sysdeps/x86_64/crti.S: New file.
63290         * sysdeps/x86_64/crtn.S: New file.
63291         * sysdeps/x86_64/elf/initfini.c: Remove file.
63293 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63295         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63296         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63297         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63298         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63299         <bits/inotify.h>.
63300         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63302         bits/inotify.h.
63304 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63306         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63307         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63308         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63309         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63310         <bits/eventfd.h>.
63311         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63312         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63313         bits/eventfd.h.
63315 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63317         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63318         __feraiseexcept instead of feraiseexcept.
63320         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63321         nanosleep invocations.
63322         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63323         strings, and add error checking for a nanosleep invocations.
63325 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63327         Replace FSF snail mail address with URLs, as per GNU coding standards.
63328         Most of the snail mail addresses were wrong anyway, and omitting
63329         them makes the source code easier to maintain.  Almost all of the
63330         changes are to license notices and to locale LC_IDENTIFICATION
63331         addresses, except for this one:
63332         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63333         not its snail mail address.
63335 2012-02-09  Richard Henderson  <rth@twiddle.net>
63337         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63338         of kernel-features.h.
63340         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63342 2012-02-08  Marek Polacek  <polacek@redhat.com>
63344         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63345         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63346         * sysdeps/gnu/_G_config.h: Likewise.
63347         * sysdeps/generic/_G_config.h: Likewise.
63349 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63351         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63352         tests.
63353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63355         * sysdeps/powerpc/powerpc32/crti.S: New file.
63356         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63357         * sysdeps/powerpc/powerpc64/crti.S: New file.
63358         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63360         * Makeconfig (have-initfini): Don't set.
63361         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63362         * configure.in (nopic_initfini): Don't substitute.
63363         * config.h.in (HAVE_INITFINI): Don't #undef.
63364         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63365         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63367 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63369         Support crti.S and crtn.S provided directly by architectures.
63370         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63371         [crti.S in sysdirs] (omit-deps): Likewise.
63372         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63373         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63374         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63375         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63376         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63377         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63378         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63379         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63380         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63381         compiler output for sysdeps/generic/initfini.c.
63382         * sysdeps/i386/elf/Makefile: Remove file.
63383         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63385 2012-02-07  Marek Polacek  <polacek@redhat.com>
63387         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63388         * sysdeps/gnu/_G_config.h: Likewise.
63389         * sysdeps/mach/hurd/_G_config.h: Likewise.
63391 2012-02-07  Marek Polacek  <polacek@redhat.com>
63393         * math/Makefile (tests): Add tst-CMPLX2.
63394         * math/tst-CMPLX2.c: New file.
63396 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63398         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63400         * math/libm-test.inc (jn_test): Add missing L suffix.
63402 2012-02-06  Marek Polacek  <polacek@redhat.com>
63404         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63405         * sysdeps/i386/fpu/e_powf.S: Likewise.
63406         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63407         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63408         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63409         * sysdeps/i386/fpu/e_pow.S: Likewise.
63410         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63411         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63412         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63413         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63414         * sysdeps/i386/fpu/e_log2.S: Likewise.
63415         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63416         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63417         * sysdeps/i386/fpu/e_powl.S: Likewise.
63418         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63419         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63420         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63421         * sysdeps/i386/fpu/e_logl.S: Likewise.
63422         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63423         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63424         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63425         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63426         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63427         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63428         * sysdeps/i386/fpu/e_log.S: Likewise.
63429         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63430         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63431         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63432         * sysdeps/i386/fpu/e_logf.S: Likewise.
63433         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63434         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63435         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63436         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63437         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63438         * sysdeps/i386/fpu/e_log10.S: Likewise.
63439         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63440         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63441         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63442         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63443         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63444         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63445         * sysdeps/i386/asm-syntax.h: Likewise.
63446         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63447         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63448         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63449         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63450         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63451         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63452         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63453         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63454         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63455         * sysdeps/powerpc/sysdep.h: Likewise.
63456         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63457         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63459 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63461         [BZ #411]
63462         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63464 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63466         * sysdeps/i386/sysdep.h: Include <features.h>.
63467         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63468         version.
63470 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
63472         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63473         Define.
63474         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63475         LOAD_PIC_REG_STR.
63477 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63479         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63480         (SETUP_PIC_REG): Use GET_PC_THUNK.
63481         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63482         macro.
63484 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63486         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63487         for non-PIC compilation.
63488         (SETUP_PIC_REG): Add .p2align directive.
63489         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63490         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63491         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63492         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63493         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63494         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63495         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63496         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63497         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63498         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63499         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63500         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63501         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63502         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63503         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63504         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63505         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63506         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63507         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63508         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63509         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63510         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63511         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63512         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63513         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63514         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63515         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63516         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63517         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63518         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63519         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63520         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63521         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63522         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63523         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63524         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63525         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63526         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63527         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63528         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63529         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63531 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63533         * math/tst-CMPLX.c: Include <stdio.h>.
63535 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
63537         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63538         float.
63539         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63540         * sysdeps/sparc/bits/mathdef.h: Likewise.
63542 2012-01-31  Marek Polacek  <polacek@redhat.com>
63544         * libio/libio.h: Don't define _PARAMS.
63545         * locale/programs/config.h: Don't define PARAMS.
63546         * stdlib/strtol_l.c: Likewise.
63547         (__strtol_l): Remove PARAMS from the prototype.
63549 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63551         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63552         names.  Just use the correct names.  Remove unnecessary wrapper
63553         functions.
63554         * malloc/arena.c: Likewise.
63555         * malloc/hooks.c: Likewise.
63557         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63558         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63559         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63561 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63563         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63564         into tail calls.
63565         (update_get_addr): New function.
63566         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63567         GET_ADDR_MODULE parameter.
63569 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63571         * crypt/cert.c: Remove __STDC__ conditionals.
63572         * crypt/crypt-entry.c: Likewise.
63573         * crypt/crypt_util.c: Likewise.
63574         * libio/filedoalloc.c: Likewise.
63575         * libio/fileops.c: Likewise.
63576         * libio/genops.c: Likewise.
63577         * libio/iofclose.c: Likewise.
63578         * libio/iofdopen.c: Likewise.
63579         * libio/iofopen.c: Likewise.
63580         * libio/iofopen64.c: Likewise.
63581         * libio/iogetdelim.c: Likewise.
63582         * libio/iopopen.c: Likewise.
63583         * libio/obprintf.c: Likewise.
63584         * libio/oldfileops.c: Likewise.
63585         * libio/oldiofclose.c: Likewise.
63586         * libio/oldiofdopen.c: Likewise.
63587         * libio/oldiofopen.c: Likewise.
63588         * libio/oldiopopen.c: Likewise.
63589         * libio/wfiledoalloc.c: Likewise.
63590         * libio/wgenops.c: Likewise.
63591         * locale/programs/xmalloc.c: Likewise.
63592         * misc/syslog.c: Likewise.
63593         * stdio-common/xbug.c: Likewise.
63594         * string/memchr.c: Likewise.
63595         * string/memcmp.c: Likewise.
63596         * string/memrchr.c: Likewise.
63597         * string/rawmemchr.c: Likewise.
63598         * sysdeps/posix/getcwd.c: Likewise.
63599         * time/strftime_l.c: Likewise.
63601 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63603         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63604         * config.make.in (config-cflags-sse2avx): Define.
63605         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63606         Fix typo.
63608 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
63610         * scripts/config.guess: Update from upstream config git repository.
63611         * scripts/config.sub: Likewise.
63613 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
63615         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63616         (EM_NUM): Update.
63617         (R_TILEPRO_*, R_TILEGX_*): New macros.
63619         * scripts/firstversions.awk: Fix bug in version range handling.
63621         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63623         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63625         * include/sys/epoll.h: New file.
63626         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63627         libc_hidden_def.
63629 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
63631         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63632         Avoid unnecessary __WORDSIZE == 64 test.
63633         (fmaxf): Use VEX format if possible.
63634         (fmax): Likewise.
63635         (fminf): Likewise.
63636         (fmin): Likewise.
63638         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
63639         * math/math_private.h: Remove libc_fegetround* and
63640         libc_fesetround*.
63641         * sysdeps/i386/configure.in: Check for -msse2avx.
63642         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
63643         also if SSE2AVX is defined.
63644         Remove libc_fegetround* and libc_fesetround*.
63645         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
63646         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
63647         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
63648         of HAS_YMM_USABLE.
63649         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63650         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63651         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63652         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63653         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63655         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63657 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63659         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63660         size is not set.
63661         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63663 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63665         [BZ #13618]
63666         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63667         relocation.
63668         * Makeconfig (libm): Define.
63669         * elf/Makefile: Add rules to build and run tst-relsort1.
63670         * elf/tst-relsort1.c: New file.
63671         * elf/tst-relsort1mod1.c: New file.
63672         * elf/tst-relsort1mod2.c: New file.
63674 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63676         * math/s_ldexp.c: Remove __STDC__ conditionals.
63677         * math/s_ldexpf.c: Likewise.
63678         * math/s_ldexpl.c: Likewise.
63679         * math/s_nextafter.c: Likewise.
63680         * math/s_nexttowardf.c: Likewise.
63681         * math/s_significand.c: Likewise.
63682         * math/s_significandf.c: Likewise.
63683         * math/s_significandl.c: Likewise.
63684         * math/w_jnl.c: Likewise.
63685         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63686         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63687         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63688         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63689         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63690         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63691         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63692         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63693         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63694         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63695         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63696         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63697         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63698         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63699         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63700         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63701         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63702         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63703         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63704         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63705         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63706         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63707         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63708         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63709         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63710         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63711         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63712         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63713         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63714         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63715         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63716         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63717         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63718         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63719         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63720         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63721         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63722         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63723         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63724         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63725         * sysdeps/ieee754/k_standard.c: Likewise.
63726         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63727         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63728         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63729         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63730         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63731         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63732         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63733         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63734         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63735         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63736         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63737         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63738         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63739         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63740         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63741         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63742         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63743         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63744         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63745         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63746         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63747         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63748         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63749         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63750         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63751         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63752         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63753         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63754         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63755         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63756         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63757         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63758         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63759         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63761         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63762         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63763         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63764         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63765         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63766         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63767         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63768         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63769         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63770         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63771         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63772         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63773         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63774         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63775         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63776         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63777         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63778         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63779         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63780         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63781         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63782         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63783         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63784         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63785         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63786         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63787         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63788         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63789         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63790         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63791         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63792         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63793         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63794         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63795         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63796         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63797         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63798         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63799         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63800         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63801         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63802         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63803         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63804         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63805         * sysdeps/ieee754/s_matherr.c: Likewise.
63806         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63807         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63808         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63809         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63811 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63813         * crypt/md5.h: Remove __STDC__ conditionals.
63814         * libio/libioP.h: Likewise.
63815         * locale/programs/config.h: Likewise.
63816         * sysdeps/generic/sysdep.h: Likewise.
63817         * sysdeps/i386/asm-syntax.h: Likewise.
63818         * sysdeps/s390/asm-syntax.h: Likewise.
63819         * sysdeps/unix/sysdep.h: Likewise.
63820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63823 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63825         * libio/libio.h: Remove __STDC__ conditionals.
63826         * malloc/obstack.h: Likewise.
63827         * math/complex.h: Likewise.
63828         * math/math.h: Likewise.
63829         * sysdeps/generic/_G_config.h: Likewise.
63830         * sysdeps/gnu/_G_config.h: Likewise.
63831         * sysdeps/mach/hurd/_G_config.h: Likewise.
63832         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63833         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63834         * sysdeps/sparc/bits/mathdef.h: Likewise.
63836 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63838         [BZ #13583]
63839         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63840         Clean up HAS_* macros.
63841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63842         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63843         possible.
63844         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63845         HAS_AVX.
63846         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63847         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63848         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63849         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63850         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63852 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63854         * elf/tst-unique3.cc (gets): Remove declaration.
63855         * elf/tst-unique3lib.cc (gets): Likewise.
63856         * elf/tst-unique3lib2.cc (gets): Likewise.
63857         * elf/tst-unique4.cc (gets): Likewise.
63859 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63861         * include/stdio.h: Add C++ protection.  Add gets declarations and
63862         definitions.
63863         * debug/tst-chk1.c: Don't declare gets here.
63864         * stdio-common/tst-gets.c: Likewise.
63866 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63868         * posix/glob: Remove directory.
63870 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63872         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63874 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63876         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63877         of the non-standard EPFNOSUPPORT.
63879 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63881         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63882         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63883         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63885 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63887         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63889 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63891         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63892         transient errors.
63893         * nscd/grpcache.c (cache_addgr): Likewise.
63894         * nscd/hstcache.c (cache_addhst): Likewise.
63895         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63896         * nscd/pwdcache.c (cache_addpw): Likewise.
63897         * nscd/servicescache.c (cache_addserv): Likewise.
63899 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63901         * malloc/malloc.c: Various cleanups.
63902         * malloc/hooks.c: Likewise.
63904         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63905         * stdlib/bug-fmtmsg1.c: New file.
63907         * stdlib/fmtmsg.c (init): Add missing unlock.
63908         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63910 2012-01-12  Marek Polacek  <polacek@redhat.com>
63912         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63913         and _GNU_SOURCE.
63915 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63917         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63918         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63919         macro to ensure uniqueness of label name.
63920         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63921         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63923 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63925         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63927         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63928         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63929         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63930         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63932 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63934         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63936         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63937         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63938         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63940         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63942         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63943         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63944         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63945         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63947         * math/bits/math-finite.h: Add ldexp support.
63949 2012-01-10  Marek Polacek  <polacek@redhat.com>
63951         * locale/programs/localedef.h (show_archive_content): Add noreturn
63952         attribute.
63954 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63956         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63958 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63960         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63962         * io/Makefile (headers): Add bits/poll2.h.
63964 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63967         typo #include statement.
63969 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63971         * include/sys/cdefs.h: Define __attribute_alloc_size.
63972         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63973         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63974         * elf/pldd.c: Likewise.
63975         * iconv/iconv_charmap.c: Likewise.
63976         * iconv/iconvconfig.c: Likewise.
63977         * iconv/strtab.c: Likewise.
63978         * locale/programs/locale.c: Likewise.
63979         * locale/programs/localedef.h: Likewise.
63980         * locale/programs/simple-hash.c: Likewise.
63981         * nscd/nscd.h: Likewise.
63982         * nss/makedb.c: Likewise.
63983         * sysdeps/generic/ldconfig.h: Likewise.
63984         * locale/programs/localedef.c: Remove xmalloc prototype.
63985         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63987 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63989         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63990         appropriate.
63992 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63994         * math/Makefile (tests): Add tst-CMPLX.
63995         * math/tst-CMPLX.c: New file.
63997         * math/complex.h (CMPLXL): Fix typo.
63999         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64000         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64001         GLIBC_2.16.
64002         * debug/tst-chk1.c: Add poll and ppoll tests.
64003         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64004         * include/sys/poll.h: Add hidden proto for ppoll.
64005         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64006         * sysdeps/mach/hurd/ppoll.c: Likewise.
64007         * io/ppoll.c: Likewise.
64008         * debug/poll_chk.c: New file.
64009         * debug/ppoll_chk.c: New file.
64010         * include/bits/poll2.h: New file.
64011         * io/bits/poll2.h: New file.
64013         [BZ #1350]
64014         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64016         * configure.in: static is always set to yes.  Remove.
64017         * config.make.in: Don't set build-static.
64018         * Makeconfig: Remove use of build-static.
64019         * dlfcn/Makefile: Likewise.
64020         * elf/Makefile: Likewise.
64021         * math/Makefile: Likewise.
64022         * misc/Makefile: Likewise.
64023         * nptl/Makefile: Likewise.
64024         * sysdeps/mach/hurd/Makefile: Likewise.
64026         * configure.in: PWD_P is not used anymore.
64027         * config.make.in: Remove PWD_P entry.
64029         * configure.in: Remove last remnants of RANLIB.
64030         No need to check for signed size_t anymore.
64031         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64032         and IA-64.
64033         Remove __builtin_expect test because we require at least gcc 3.4.
64034         * aclocal.m4: Likewise.
64036         * wcsmbs/mbrtoc16.c: Implement using towc function.
64037         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64038         * wcsmbs/wcsmbsload.c: Likewise.
64039         * iconv/gconv_simple.c: Likewise.
64040         * iconv/gconv_int.h: Likewise.
64041         * iconv/gconv_builtin.h: Likewise.
64042         * iconv/iconv_prog.c: Remove CHAR16 handling.
64044         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64046         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64048         * configure.in: Remove --with-elf and --enable-bounded options.
64049         Dont set base_machine for ia64.  More non-ELF conditions removed.
64050         Remove testing and setting of leading underscore information.
64051         * config.make.in (build-bounded): Set to no.
64052         * config.h.in: Remove NO_UNDERSCORES entry.
64053         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64054         them.
64055         * csu/start.c: Remove !NO_UNDERSCORE code.
64056         * locale/localeinfo.h: Likewise.
64057         * sysdeps/generic/machine-gmon.h: Likewise.
64058         * sysdeps/generic/sysdep.h: Likewise.
64059         * sysdeps/i386/sysdep.h: Likewise.
64060         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64061         * sysdeps/mach/sysdep.h: Likewise.
64062         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64063         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64064         * sysdeps/sh/sysdep.h: Likewise.
64065         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64066         * sysdeps/unix/i386/sysdep.S: Likewise.
64067         * sysdeps/unix/sparc/start.c: Likewise.
64068         * sysdeps/unix/sparc/sysdep.S: Likewise.
64069         * sysdeps/unix/sparc/sysdep.h: Likewise.
64070         * sysdeps/unix/start.c: Likewise.
64071         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64072         * sysdeps/x86_64/sysdep.h: Likewise.
64074 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64076         [BZ #13553]
64077         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64078         for non-gcc.
64079         * argp/argp-fmtstream.h: Use const instead __const.
64080         * argp/argp.h: Likewise.
64081         * assert/assert.h: Likewise.
64082         * bits/fenv.h: Likewise.
64083         * bits/sched.h: Likewise.
64084         * bits/sigset.h: Likewise.
64085         * bits/sigthread.h: Likewise.
64086         * catgets/nl_types.h: Likewise.
64087         * conform/data/pthread.h-data: Likewise.
64088         * crypt/crypt-private.h: Likewise.
64089         * crypt/crypt.h: Likewise.
64090         * crypt/crypt_util.c: Likewise.
64091         * ctype/ctype.h: Likewise.
64092         * debug/execinfo.h: Likewise.
64093         * debug/mbsnrtowcs_chk.c: Likewise.
64094         * debug/mbsrtowcs_chk.c: Likewise.
64095         * debug/wcsnrtombs_chk.c: Likewise.
64096         * debug/wcsrtombs_chk.c: Likewise.
64097         * debug/wcstombs_chk.c: Likewise.
64098         * dirent/dirent.h: Likewise.
64099         * dlfcn/dlfcn.h: Likewise.
64100         * elf/neededtest4.c: Likewise.
64101         * grp/grp.h: Likewise.
64102         * gshadow/gshadow.h: Likewise.
64103         * iconv/gconv.h: Likewise.
64104         * iconv/gconv_int.h: Likewise.
64105         * iconv/gconv_simple.c: Likewise.
64106         * iconv/iconv.h: Likewise.
64107         * iconv/loop.c: Likewise.
64108         * iconv/skeleton.c: Likewise.
64109         * include/aio.h: Likewise.
64110         * include/aliases.h: Likewise.
64111         * include/argz.h: Likewise.
64112         * include/arpa/inet.h: Likewise.
64113         * include/assert.h: Likewise.
64114         * include/dirent.h: Likewise.
64115         * include/dlfcn.h: Likewise.
64116         * include/execinfo.h: Likewise.
64117         * include/fcntl.h: Likewise.
64118         * include/fenv.h: Likewise.
64119         * include/glob.h: Likewise.
64120         * include/grp.h: Likewise.
64121         * include/libintl.h: Likewise.
64122         * include/mntent.h: Likewise.
64123         * include/netdb.h: Likewise.
64124         * include/pwd.h: Likewise.
64125         * include/rpc/netdb.h: Likewise.
64126         * include/sched.h: Likewise.
64127         * include/search.h: Likewise.
64128         * include/shadow.h: Likewise.
64129         * include/signal.h: Likewise.
64130         * include/stdio.h: Likewise.
64131         * include/stdlib.h: Likewise.
64132         * include/string.h: Likewise.
64133         * include/sys/socket.h: Likewise.
64134         * include/sys/stat.h: Likewise.
64135         * include/sys/statfs.h: Likewise.
64136         * include/sys/statvfs.h: Likewise.
64137         * include/sys/syslog.h: Likewise.
64138         * include/sys/time.h: Likewise.
64139         * include/sys/uio.h: Likewise.
64140         * include/time.h: Likewise.
64141         * include/unistd.h: Likewise.
64142         * include/utmp.h: Likewise.
64143         * include/wchar.h: Likewise.
64144         * include/wctype.h: Likewise.
64145         * inet/aliases.h: Likewise.
64146         * inet/arpa/inet.h: Likewise.
64147         * inet/netinet/ether.h: Likewise.
64148         * inet/netinet/in.h: Likewise.
64149         * intl/libintl.h: Likewise.
64150         * io/bits/fcntl2.h: Likewise.
64151         * io/fcntl.h: Likewise.
64152         * io/ftw.h: Likewise.
64153         * io/sys/poll.h: Likewise.
64154         * io/sys/stat.h: Likewise.
64155         * io/sys/statfs.h: Likewise.
64156         * io/sys/statvfs.h: Likewise.
64157         * io/utime.h: Likewise.
64158         * libio/bits/stdio.h: Likewise.
64159         * libio/bits/stdio2.h: Likewise.
64160         * libio/libio.h: Likewise.
64161         * libio/libioP.h: Likewise.
64162         * libio/stdio.h: Likewise.
64163         * locale/lc-ctype.c: Likewise.
64164         * locale/locale.h: Likewise.
64165         * login/utmp.h: Likewise.
64166         * malloc/arena.c: Likewise.
64167         * malloc/malloc.c: Likewise.
64168         * malloc/malloc.h: Likewise.
64169         * malloc/mcheck.c: Likewise.
64170         * malloc/mtrace.c: Likewise.
64171         * math/bits/mathcalls.h: Likewise.
64172         * math/fenv.h: Likewise.
64173         * math/math_private.h: Likewise.
64174         * misc/bits/error.h: Likewise.
64175         * misc/bits/syslog.h: Likewise.
64176         * misc/err.h: Likewise.
64177         * misc/error.h: Likewise.
64178         * misc/fstab.h: Likewise.
64179         * misc/mntent.h: Likewise.
64180         * misc/regexp.h: Likewise.
64181         * misc/search.h: Likewise.
64182         * misc/sgtty.h: Likewise.
64183         * misc/sys/mman.h: Likewise.
64184         * misc/sys/syslog.h: Likewise.
64185         * misc/sys/uio.h: Likewise.
64186         * misc/sys/xattr.h: Likewise.
64187         * misc/ttyent.h: Likewise.
64188         * nis/rpcsvc/ypclnt.h: Likewise.
64189         * nss/nss.h: Likewise.
64190         * posix/bits/unistd.h: Likewise.
64191         * posix/fnmatch.h: Likewise.
64192         * posix/glob.h: Likewise.
64193         * posix/sched.h: Likewise.
64194         * posix/spawn.h: Likewise.
64195         * posix/sys/wait.h: Likewise.
64196         * posix/unistd.h: Likewise.
64197         * posix/wordexp.h: Likewise.
64198         * pwd/pwd.h: Likewise.
64199         * resolv/netdb.h: Likewise.
64200         * resource/sys/resource.h: Likewise.
64201         * rt/aio.h: Likewise.
64202         * rt/bits/mqueue2.h: Likewise.
64203         * rt/mqueue.h: Likewise.
64204         * shadow/shadow.h: Likewise.
64205         * signal/signal.h: Likewise.
64206         * socket/send.c: Likewise.
64207         * socket/sendto.c: Likewise.
64208         * socket/sys/socket.h: Likewise.
64209         * stdio-common/printf.h: Likewise.
64210         * stdlib/bits/stdlib.h: Likewise.
64211         * stdlib/fmtmsg.h: Likewise.
64212         * stdlib/monetary.h: Likewise.
64213         * stdlib/stdlib.h: Likewise.
64214         * stdlib/ucontext.h: Likewise.
64215         * streams/stropts.h: Likewise.
64216         * string/argz.h: Likewise.
64217         * string/bits/string2.h: Likewise.
64218         * string/string.h: Likewise.
64219         * string/strings.h: Likewise.
64220         * sunrpc/rpc/auth.h: Likewise.
64221         * sunrpc/rpc/auth_des.h: Likewise.
64222         * sunrpc/rpc/clnt.h: Likewise.
64223         * sunrpc/rpc/netdb.h: Likewise.
64224         * sunrpc/rpc/pmap_clnt.h: Likewise.
64225         * sunrpc/rpc/xdr.h: Likewise.
64226         * sysdeps/generic/inttypes.h: Likewise.
64227         * sysdeps/generic/net/if.h: Likewise.
64228         * sysdeps/generic/sys/swap.h: Likewise.
64229         * sysdeps/gnu/net/if.h: Likewise.
64230         * sysdeps/gnu/utmpx.h: Likewise.
64231         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64232         * sysdeps/i386/i486/bits/string.h: Likewise.
64233         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64234         * sysdeps/s390/bits/string.h: Likewise.
64235         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64236         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64237         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64238         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64239         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64240         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64241         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64242         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64243         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64244         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64245         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64246         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64247         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64248         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64249         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64250         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64251         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64252         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64253         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64254         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64255         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64256         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64257         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64258         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64259         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64260         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64261         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64262         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64263         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64264         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64265         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64266         * sysvipc/sys/ipc.h: Likewise.
64267         * sysvipc/sys/msg.h: Likewise.
64268         * sysvipc/sys/sem.h: Likewise.
64269         * sysvipc/sys/shm.h: Likewise.
64270         * termios/termios.h: Likewise.
64271         * time/sys/time.h: Likewise.
64272         * time/time.h: Likewise.
64273         * wcsmbs/bits/wchar2.h: Likewise.
64274         * wcsmbs/uchar.h: Likewise.
64275         * wcsmbs/wchar.h: Likewise.
64276         * wctype/wctype.h: Likewise.
64278         [BZ #13551]
64279         * Makeconfig: Remove all but ELF support including AIX support.
64280         * Makerules: Likewise.
64281         * config.h.in: Likewise.
64282         * config.make.in: Likewise.
64283         * configure: Likewise.
64284         * configure.in: Likewise.
64285         * csu/Makefile: Likewise.
64286         * csu/version.c: Likewise.
64287         * debug/Makefile: Likewise.
64288         * dlfcn/Makefile: Likewise.
64289         * elf/Makefile: Likewise.
64290         * extra-lib.mk: Likewise.
64291         * iconv/Makefile: Likewise.
64292         * include/libc-symbols.h: Likewise.
64293         * include/shlib-compat.h: Likewise.
64294         * resolv/Makefile: Likewise.
64295         * resolv/res_libc.c: Likewise.
64296         * rt/Makefile: Likewise.
64297         * sysdeps/i386/asm-syntax.h: Likewise.
64298         * sysdeps/i386/sysdep.h: Likewise.
64299         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64300         * sysdeps/mach/sysdep.h: Likewise.
64301         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64302         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64303         * sysdeps/s390/asm-syntax.h: Likewise.
64304         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64305         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64306         * sysdeps/sh/sysdep.h: Likewise.
64307         * sysdeps/unix/sparc/sysdep.h: Likewise.
64308         * sysdeps/wordsize-32/divdi3.c: Likewise.
64309         * sysdeps/x86_64/sysdep.h: Likewise.
64311         * argp/Versions: Remove _argp_unlock_xxx.
64313         [BZ #13559]
64314         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64315         * abilist/libBrokenLocale.abilist: Likewise.
64316         * abilist/libanl.abilist: Likewise.
64317         * abilist/libc.abilist: Likewise.
64318         * abilist/libcrypt.abilist: Likewise.
64319         * abilist/libdl.abilist: Likewise.
64320         * abilist/libm.abilist: Likewise.
64321         * abilist/libnsl.abilist: Likewise.
64322         * abilist/libpthread.abilist: Likewise.
64323         * abilist/libresolv.abilist: Likewise.
64324         * abilist/librt.abilist: Likewise.
64325         * abilist/libthread_db.abilist: Likewise.
64326         * abilist/libutil.abilist: Likewise.
64327         * abilist/libnss_db.abilist: New file.
64329         * scripts/abilist.awk: Add support for indirect functions.
64331         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64333         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64335         * shlib-versions: Remove entries for ports architectures.
64337         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64338         files in ports.
64339         * elf/stackguard-macros.h: Remove support for IA-64.
64340         * elf/tst-auditmod1.c: Likewise.
64341         * sysdeps/generic/ldsodefs.h: Likewise.
64343         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64344         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64345         configure files.
64347         [BZ #13552]
64348         * configure.in: Remove --enable-omitfp support.
64349         * FAQ.in: Adjust.
64350         * config.make.in: Likewise.
64351         * Makeconfig: Likewise.
64352         * manual/install.texi: Likewise.
64354         In case anyone cares, the IA-64 architecture could move to ports.
64355         * sysdeps/ia64/*: Removed.
64356         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64357         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64359         [BZ #13555]
64360         * configure.in: Remove entries for unsupported architectures.
64362         [BZ #13533]
64363         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64364         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64365         routines.
64366         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64367         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64368         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64369         fall back to using wcrtomb.
64370         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64371         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64372         renaming.
64373         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64374         * wcsmbs/tst-c16c32-1.c: New file.
64376         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64377         local variable.
64379         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64381         * elf/tst-unique3.cc: Add explicit declaration of gets.
64382         * elf/tst-unique3lib.cc: Likewise.
64383         * elf/tst-unique3lib2.cc: Likewise.
64384         * elf/tst-unique4.cc: Likewise.
64386         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64388 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64390         [BZ #13566]
64391         * assert/assert.h (static_assert): Don't define for C++.
64392         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64393         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64395 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64397         * iconv/loop.c (single loop): Fix assertion in storing of
64398         remaining bytes.
64400         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64402 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64404         * posix/getconf.c: Update copyright year.
64405         * nss/getent.c: Likewise.
64406         * nss/makedb.c: Likewise.
64407         * iconv/iconvconfig.c: Likewise.
64408         * iconv/iconv_prog.c: Likewise.
64409         * elf/ldconfig.c: Likewise.
64410         * elf/pldd.c: Likewise.
64411         * elf/sotruss.ksh: Likewise.
64412         * catgets/gencat.c: Likewise.
64413         * csu/version.c: Likewise.
64414         * elf/ldd.bash.in: Likewise.
64415         * elf/sprof.c (print_version): Likewise.
64416         * locale/programs/locale.c: Likewise.
64417         * locale/programs/localedef.c: Likewise.
64418         * login/programs/pt_chown.c: Likewise.
64419         * nscd/nscd.c (print_version): Likewise.
64420         * debug/xtrace.sh: Likewise.
64421         * malloc/memusage.sh: Likewise.
64422         * malloc/mtrace.pl: Likewise.
64423         * debug/catchsegv.sh: Likewise.
64425 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64427         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64428         pure attribute.
64430 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64432         [BZ #13533]
64433         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64434         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64435         transformations.
64436         * iconv/gconv_int.h: Likewise.
64437         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64438         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64439         from libc for GLIBC_2.16.
64440         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64441         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64442         * wcsmbs/uchar.h: Really define mbstate_t.
64443         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64444         * wcsmbs/c16rtomb.c: New file.
64445         * wcsmbs/mbrtoc16.c: New file.
64446         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64447         for C/POSIX locale.
64448         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64449         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64451         * wcsmbs/wchar.h: Add missing __restrict.
64453 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64455         [BZ #13532]
64456         * time/Makefile (routines): Add timespec_get.
64457         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64458         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64459         timespec for ISO C11.
64460         * time/timespec_get.c: New file.
64461         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64462         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64464         [BZ #13531]
64465         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64466         * stdlib/stdlib.h: Declare aligned_alloc.
64467         * Versions.def: Add GLIBC_2.16 for libc.
64468         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64470         [BZ 13527]
64471         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64472         ISO C11.
64474         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64475         code.
64477         [BZ #13528]
64478         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64480         [BZ #13529]
64481         * assert/assert.h (static_assert): Define.
64483         * version.h: Update for 2.16 development version.
64485         [BZ #13526]
64486         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64487         _ISOC11_SOURCE.
64489         * version.h (RELEASE): Bump for 2.15 release.
64490         * include/features.h (__GLIBC_MINOR__): Bump to 15.
64492         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64493         Patch by Marek Polacek <mpolacek@redhat.com>.
64495         * bits/byteswap.h: Protect long long constants with __extension__.
64496         * sysdeps/i386/bits/byteswap.h: Likewise.
64497         * sysdeps/ia64/bits/byteswap.h: Likewise.
64498         * sysdeps/s390/bits/byteswap.h: Likewise.
64499         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64501 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64503         [BZ #13540]
64504         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64505         destination buffer.
64506         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64508 2011-12-23  Marek Polacek  <polacek@redhat.com>
64510         * elf/dl-addr.c (determine_info): Add inline keyword.
64511         * elf/tst-auditmod4b.c (check_avx): Likewise.
64512         * elf/tst-auditmod6b.c (check_avx): Likewise.
64513         * elf/tst-auditmod6c.c (check_avx): Likewise.
64514         * elf/tst-auditmod7b.c (check_avx): Likewise.
64516 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64518         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64519         !__SSE_MATH__.
64521 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64523         [BZ #13540]
64524         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64525         processing for last bytes.
64527 2011-08-06  Bruno Haible  <bruno@clisp.org>
64529         [BZ #13061]
64530         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64531         U+0385, not to U+1FEE.
64533         [BZ #13062]
64534         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64535         entry for U+00A5 U+0301.
64537 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64539         [BZ #13166]
64540         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64541         buffer for the output is too small.
64543         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64544         optimization.
64546         [BZ #13185]
64547         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64548         SSE flags if possible.
64550 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64552         [BZ #13540]
64553         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64554         processing for last bytes.
64556 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64558         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64559         (syscall-list-default-options, syscall-list-default-condition)
64560         (syscall-list-includes): Define.
64561         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64562         list of ABIs and options and #if conditions for each ABI.  Do not
64563         handle common syscalls between ABIs specially.
64564         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64565         Remove.
64566         (syscall-list-variants, syscall-list-32bit-options)
64567         (syscall-list-32bit-condition, syscall-list-64bit-options)
64568         (syscall-list-64bit-condition): Define.
64569         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64570         (syscall-list-variants, syscall-list-32bit-options)
64571         (syscall-list-32bit-condition, syscall-list-64bit-options)
64572         (syscall-list-64bit-condition): Define.
64573         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64574         Remove.
64575         (syscall-list-variants, syscall-list-32bit-options)
64576         (syscall-list-32bit-condition, syscall-list-64bit-options)
64577         (syscall-list-64bit-condition): Define.
64578         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64579         Remove.
64580         (syscall-list-variants, syscall-list-32bit-options)
64581         (syscall-list-32bit-condition, syscall-list-64bit-options)
64582         (syscall-list-64bit-condition): Define.
64584 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64586         * locale/iso-639.def: Add brx entry.
64588         [BZ #13328]
64589         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64590         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64592         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64593         __feraiseexcept_renamed.
64595 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64597         [BZ #13538]
64598         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64599         EPOLLET with unsigned values.
64600         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64601         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64603         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64604         to large cancellation.
64605         * math/s_cacoshf.c: Likewise.
64606         * math/s_cacoshl.c: Likewise.
64608 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
64610         [BZ #13305]
64611         [BZ #12786]
64612         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64613         * math/s_cacoshf.c: Likewise.
64614         * math/s_cacoshl.c: Likewise.
64616 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64618         [BZ #13439]
64619         * iconv/gconv.h: Define __GCONV_SWAP.
64620         * iconvdata/unicode.c: The swap bit must be stored in __flags.
64621         * iconvdata/utf-16.c: Likewise.
64622         * iconvdata/utf-32.c: Likewise.
64624 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
64626         [BZ #13524]
64627         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64628         numerator after shifting it by one limb.
64630 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
64632         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
64633         under [__USE_EXTERN_INLINES].
64635 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64637         [BZ #13446]
64638         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
64640 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64642         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
64643         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
64644         optimized code.
64645         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
64646         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
64647         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
64648         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
64649         for strncasecmp/strncasecmp_l compilation.
64650         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64651         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64653 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
64655         [BZ #13484]
64656         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64657         of __asm__.
64659 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64661         [BZ #13506]
64662         * time/tzfile.c (__tzfile_read): Check values from file header.
64664 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64666         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64667         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64668         * powerpc/powerpc32/dl-start.S: Likewise.
64669         * powerpc/powerpc32/elf/start.S: Likewise.
64670         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64671         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64672         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64673         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64674         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64675         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64676         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64677         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64678         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64679         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64680         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64681         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64682         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64683         * powerpc/powerpc32/memset.S: Likewise.
64684         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64685         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64686         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64687         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64688         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64689         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64690         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64691         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64692         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64693         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64694         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64695         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64696         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64698 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64700         * math/libm-test.inc: Added more nearbyint tests.
64701         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64702         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64703         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64704         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64706 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64708         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64709         FD_CLOEXEC.
64711 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64713         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64714         Add wcscpy-ssse3 wcscpy-c.
64715         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64716         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64717         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64718         * sysdeps/x86_64/wcschr.S: New file.
64719         * sysdeps/x86_64/wcsrchr.S: New file.
64720         * string/test-strcmp.c: Remove checking of wcscmp function for
64721         wrong alignments.
64722         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64723         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64724         wcsrchr-sse2 wcsrchr-c.
64725         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64726         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64727         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64728         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64729         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64730         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64731         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64732         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64733         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64734         * wcsmbc/wcschr.c (WCSCHR): New macro.
64736 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64738         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64739         * wcsmbs/test-wcsrchr.c: New file.
64740         * string/test-strrchr.c: Add wcsrchr support.
64741         (WIDE): New macro.
64742         * wcsmbs/test-wcscpy.c: New file.
64743         * string/test-strcpy.c: Add wcscpy support.
64744         (WIDE): New macro.
64746 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64748         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64749         the inner loop.
64751 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64753         [BZ #13472]
64754         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64756 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64758         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64759         Minor optimizations.
64761         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64762         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64763         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64765 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64767         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64768         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64769         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64770         for gcc to avoid warnings.
64771         * inet/Makefile (tests): Add tst-checks.
64772         * inet/tst-checks.c: New file.
64774         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64775         warning.
64777         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64778         __wmemcmp_sse2.
64780         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64781         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64783         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64785 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64787         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64788         problem.
64790         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64792 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64794         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64795         conditional on GCC version.
64796         (__arch_compare_and_exchange_val_8_acq)
64797         (__arch_compare_and_exchange_val_16_acq)
64798         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64799         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64800         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64802 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64804         * sysdeps/sh/backtrace.c: New file.
64806 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64808         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64809         parenthesis.
64811 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64813         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64814         falling back to utime.
64816 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64818         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64819         expectations for float.
64821 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64823         * locale/weight.h (findidx): Add parameter len.
64824         * locale/weightwc.h (findidx): Likewise.
64825         * posix/fnmatch_loop.c (FCT): Adjust caller.
64826         * posix/regcomp.c (build_equiv_class): Likewise.
64827         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64828         * posix/regexec.c (check_node_accept_bytes): Likewise.
64829         * string/strcoll_l.c (STRCOLL): Likewise.
64830         * string/strxfrm_l.c (STRXFRM): Likewise.
64832 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64834         * Makefile.in: Remove CVSOPT handling.
64835         * configure.in: Remove use of AC_REVISION.
64836         * iconvdata/Makefile (distribute): No need to filter out CVS.
64837         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64838         handling.
64840 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64843         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64844         [USE_AS_STRNCASECMP_L]: Likewise.
64845         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64846         NO_TLS_DIRECT_SEG_REFS.
64847         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64848         Fix argument offsets for non-PIC.
64849         [USE_AS_STRNCASECMP_L]: Likewise.
64850         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64851         NO_TLS_DIRECT_SEG_REFS.
64853 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64855         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64856         O_CLOEXEC.
64857         * locale/loadlocale.c (_nl_load_locale): Likewise.
64859 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64861         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64862         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64863         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64864         (SYSCALL_GETTIME): Set errno on error.
64866         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64867         count references to noai6ai_cached.
64869 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64871         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64873         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64874         FD_CLOEXEC for /proc/self/maps.
64876         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64877         FD_CLOEXEC for /proc/meminfo.
64879         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64880         gai.conf.
64882         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64883         FD_CLOEXEC for given file.
64885         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64887         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64888         FD_CLOEXEC for /etc/hosts.
64889         (_gethtent): Likewise.
64891         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64893         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64894         cancellation and set FD_CLOEXEC for /etc/netgroup.
64896         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64897         reading /etc/publickey.
64899         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64900         allow cancellation when reading /etc/group.
64902         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64903         cancellation.
64904         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64906         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64907         when using data file.
64909         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64911         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64912         (write_nis_obj): Use "c" and "e" in fopen.
64914         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64916         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64918         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64920         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64922         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64923         locale.alias.
64925         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64927         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64929         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64931         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64932         file parsing and set FD_CLOEXEC.
64934 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64936         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64938 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64940         * malloc/arena.c (arena_get2): Don't call reused_arena when
64941         _int_new_arena failed.
64943 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64945         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64946         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64947         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64948         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64949         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64950         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64951         to compile strcasecmp and strncasecmp.
64952         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64953         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64955         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64957 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64959         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64960         locale-defines.sym to gen-as-const-headers.
64961         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64962         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64963         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64964         to compile strcasecmp and strncasecmp.
64965         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64966         strcasecmp_l and strncasecmp_l.
64967         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64968         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64969         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64970         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64971         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64972         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64973         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64974         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64975         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64976         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64977         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64979 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64981         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64982         result of SYSDEP_GETTIME_CPU to retval.
64983         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64984         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64986         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64987         variable.
64989         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64990         mantissa words.
64991         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64993         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64994         from unused variable.
64996         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64997         DWARF definitions.
64998         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64999         for assembling.
65001         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65002         over namespaces.
65004         * sunrpc/rpc_prot.c (rejected): Fix case value.
65006         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65007         unsigned long long int to avoid warnings in shift.
65009         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65010         of use of trans.
65011         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65012         variable tmp.
65014         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65015         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65016         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65018         * nis/nis_table.c (nis_list): Use variable of correct type for
65019         result of __follow_path call.
65021 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65023         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65024         of math functions ceil, trunc, floor, round, and sqrt, when
65025         avaliable on the platform.
65026         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65027         name clash.
65028         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65029         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65030         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65032 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65034         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65035         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65037 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65039         * include/unistd.h: Fix __readlink return type.
65040         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65042 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65044         * stdlib/ucontext.h: Undo last change for makecontext.
65046 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65048         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65050         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65051         * setjmp/setjmp.h: Mark functions as non-leaf.
65052         * setjmp/bits/setjmp2.h: Likewise.
65053         * stdlib/ucontext.h: Likewise.
65055 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65057         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65058         (reused_arena): Don't check arena limit.
65059         (arena_get2): Atomically check arena limit.
65061 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65063         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65064         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65066         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65067         instructions.
65069 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65071         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65072         handler when locking.
65074         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65075         Fix size of allocated buffer.
65077 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65079         [BZ #10103]
65080         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65081         declarations for long double functions.
65082         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65084         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65086 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65088         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65089         installed.
65091         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65092         is disabled.
65094 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65096         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65098 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65100         * include/alloca.h (stackinfo_alloca_round): Define.
65101         (extend_alloca): Use it.
65102         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65103         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65104         here.
65106         * scripts/check-local-headers.sh: Ignore libaudit.h.
65108         * nscd/Makefile (extra-objs): Make recursively expanded.
65110 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65112         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65113         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65115         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65116         * posix/tst-rfc3484-2.c: Likewise.
65117         * posix/tst-rfc3484-3.c: Likewise.
65119         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65120         process_vm_writev.
65121         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65122         process_vm_writev.
65123         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65124         process_vm_writev from libc using GLIBC_2.15 version.
65126         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65128 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65130         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65131         stack usage.
65133 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65135         [BZ #13367]
65136         * nss/getent.c (initgroups_keys): Show error message in case no group
65137         names are given.
65139         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65140         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65141         __bump_nl_timestamp.
65142         * nscd/connections (nscd_init): When host database is served open
65143         netlink socket and request notification about configuration changes.
65144         (main_loop_poll): Track netlink file descriptor and bump timestamp
65145         in case data becomes available.
65146         (main_loop_epoll): Likewise.
65147         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65148         (database_pers_head): Add extra_data fileds.
65149         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65150         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65151         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65152         Adjust caller.
65153         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65154         in6ai data, call __free_in6ai.
65155         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65156         Add -DHAVE_NETLINK.
65157         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65158         interface information.  Reuse previous data if netlink timestamp
65159         is not changed.
65160         (__bump_nl_timestamp): New function.
65161         (__free_in6ai): New function.
65163 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65165         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65166         close_not_cancel_no_status here.
65167         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65169 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65171         [BZ #13276]
65172         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65173         return value.
65175         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65176         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65177         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65179 2011-07-03  Andreas Jaeger  <aj@suse.de>
65181         [BZ #10709]
65182         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65183         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65184         * math/libm-test.inc (sin_test): Add test case.
65186 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65188         [BZ #13337]
65189         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65190         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65192         * elf/chroot_canon.c (chroot_canon): Cleanups.
65194         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65196         [BZ #13335]
65197         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65198         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65200         * string/test-strchr.c: Make usable for strchrnul testing.
65201         * string/test-strchrnul.c: New file.
65202         * string/Makefile (strop-tests): Add strchrnul.
65204         * po/it.po: Update from translation team.
65205         * po/es.po: Likewise.
65207 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65209         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65210         the three constants needed as parameters.  Drop the others.
65211         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65212         __m128i_strloadu_tolower.
65213         Create and initialize variable zero and use it in all the places
65214         where _mm_setzero_si128 was used.
65216         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65217         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65218         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65219         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65220         anymore.
65221         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65222         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65223         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65224         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65225         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65226         __mpranred, __mptan.
65227         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65228         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65229         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65230         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65231         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65232         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65233         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65234         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65235         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65237 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65239         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65240         redefine if SHARED.
65241         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65243         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65244         wide char related routines to wcsmbs subdir.
65246 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65248         [BZ #13344]
65249         * misc/sys/cdefs.h (__THROWNL): Define.
65250         * posix/unistd.h: Use __THREADNL instead of __THREAD
65251         for memory synchronization functions.
65253 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65255         [BZ #13349]
65256         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65257         doesn't exist.
65258         * manual/stdio.texi (Obstack Streams): Node removed.
65260 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65262         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65263         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65264         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65266         * math/math_private.h (math_force_eval): Allow non-addressable
65267         arguments.
65268         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65270 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65272         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65273         file is not needed.
65275         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65276         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65277         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65278         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65279         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65280         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65281         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65282         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65283         Add AVX variants.
65284         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65285         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65286         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65287         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65288         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65289         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65290         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65291         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65292         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65293         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65294         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65295         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65296         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65297         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65298         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65299         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65300         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65301         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65302         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65304         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65305         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65307         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65308         place.  Use VEX encoding when compiling for AVX.
65310 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65312         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65313         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65315         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65317 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65319         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65320         useless if() expression.
65321         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65322         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65323         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65324         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65325         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65326         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65327         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65328         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65329         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65330         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65331         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65332         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65333         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65334         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65335         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65336         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65337         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65338         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65339         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65341         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65343 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65345         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65346         condition.
65347         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65349 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65351         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65352         .text section.  Avoid duplicate constants.
65353         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65354         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65355         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65356         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65357         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65358         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65359         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65360         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65361         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65362         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65363         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65364         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65365         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65366         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65367         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65368         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65369         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65370         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65371         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65372         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65373         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65374         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65375         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65376         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65377         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65378         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65379         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65380         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65381         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65382         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65383         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65384         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65385         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65386         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65387         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65388         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65389         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65390         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65391         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65392         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65393         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65394         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65395         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65396         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65397         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65399 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65401         * sysdeps/x86_64/dla.h: Move to ...
65402         * sysdeps/x86_64/fpu/dla.h: ...here.
65403         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65404         situations.  Use __builtin_fma only for gcc 4.6 and up.
65406         * config.make.in: Add have-mfma4 entry.
65407         * configure.in: Substitute libc_cv_cc_fma4.
65408         * math/Makefile (dbl-only-routines): Add sincostab.
65409         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65410         Use __sincostab not sincos.
65411         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65412         name is a macro.
65413         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65414         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65416         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65417         using __copysign.
65418         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65419         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65420         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65421         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65422         and __inv.
65423         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65424         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65425         __copysign.
65426         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65427         define aliases when function name is a macro.
65428         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65429         sysdeps/ieee754/dbl-64/sincos.tbl.
65430         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65431         fma4-enabled routines.
65432         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65433         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65434         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65435         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65436         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65437         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65438         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65439         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65440         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65441         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65442         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65443         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65444         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65445         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65446         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65447         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65448         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65449         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65450         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65451         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65452         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65453         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65454         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65455         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65456         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65457         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65458         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65459         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65460         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65461         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65463         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65464         rename.
65465         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65466         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65467         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65468         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65470         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65471         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65472         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65474 2011-10-24  Andreas Schwab  <schwab@redhat.com>
65476         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65478 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65480         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65482         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65483         prediction.
65484         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65486         * string/strnlen.c: Don't define STRNLEN, reverse logic.
65487         Remove unused variable magic_bits.
65488         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65490         * string/strnlen.c: Define and use STRNLEN macro.
65491         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65492         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65493         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65494         * wcsmbs/wcslen.c: Define and use WCSLEN.
65495         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65496         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65497         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65498         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65499         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65500         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65501         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65503 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65506         strnlen-sse2-no-bsf.
65507         Rename strlen-no-bsf to strlen-sse2-no-bsf.
65508         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65509         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65510         Add strnlen support.
65511         (USE_AS_STRNLEN): New macro.
65512         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65513         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65514         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65515         * sysdeps/x86_64/wcslen.S: New file.
65517 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
65519         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65520         XMM-moves are used for copying on small sizes.
65522 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65524         * wcsmbs/Makefile (strop-tests): Add wcschr.
65525         * wcsmbs/test-wcschr.c: New file.
65526         * string/test-strchr.c: Update.
65527         Add wcschr support.
65528         (WIDE): New macro.
65530 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65532         * wcsmbs/Makefile (strop-tests): Add wcslen.
65533         * wcsmbs/test-wcslen.c: New file.
65534         * string/test-strlen.c: Update.
65535         Add wcslen support.
65536         (WIDE): New macro.
65538 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65540         * po/it.po: Update from translation team.
65542 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65544         * sysdeps/x86_64/wcscmp.S: Update.
65545         Fix wrong comparison semantics.
65546         wcscmp shall use signed comparison not unsigned.
65547         Don't use substraction to avoid overflow bug.
65548         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65549         * wcsmbc/wcscmp.c: Likewise.
65550         * string/test-strcmp.c: Likewise.
65551         Add new tests to check cases with negative values.
65553 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65555         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65556         * sysdeps/x86_64/dla.h: ...here.  New file.
65557         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65559         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65561         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65562         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65563         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65564         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65565         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65567 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65569         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65570         __ynl_finite aliases.
65572 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65576         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65577         define DLA_FMA.
65578         [DLA_FMA] (EMULV): Use DLA_FMA.
65579         [DLA_FMA] (MUL12): Use EMULV.
65580         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65581         that are not needed.
65582         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65583         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65584         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65585         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65586         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65587         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65588         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65590 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65592         * math/s_nan.c: Undef __nan.
65593         * math/s_nanf.c: Undef __nanf.
65594         * math/s_nanl.c: Undef __nanl.
65595         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65596         "math_private.h".
65598 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65600         * math/s_catan.c: Add branch predictions.
65601         * math/s_catanf.c: Likewise.
65602         * math/s_catanh.c: Likewise.
65603         * math/s_catanhf.c: Likewise.
65604         * math/s_catanhl.c: Likewise.
65605         * math/s_catanl.c: Likewise.
65606         * math/s_cexp.c: Likewise.
65607         * math/s_cexpf.c: Likewise.
65608         * math/s_cexpl.c: Likewise.
65609         * math/s_clog.c: Likewise.
65610         * math/s_clog10.c: Likewise.
65611         * math/s_clog10f.c: Likewise.
65612         * math/s_clog10l.c: Likewise.
65613         * math/s_clogf.c: Likewise.
65614         * math/s_clogl.c: Likewise.
65615         * math/s_csqrt.c: Likewise.
65616         * math/s_csqrtf.c: Likewise.
65617         * math/s_csqrtl.c: Likewise.
65618         * math/s_ctanf.c: Likewise.
65619         * math/s_ctanh.c: Likewise.
65620         * math/s_ctanhf.c: Likewise.
65621         * math/s_ctanhl.c: Likewise.
65622         * math/s_ctanl.c: Likewise.
65624         * math/math_private.h: Define __nan, __nanf, __nanl.
65625         * math/s_cacosh.c: Include <math_private.h>.
65626         * math/s_cacoshl.c: Likewise.
65627         * math/s_casinh.c: Likewise.
65628         * math/s_casinhf.c: Likewise.
65629         * math/s_casinhl.c: Likewise.
65630         * math/s_ccos.c: Rely entire on ccosh.
65631         * math/s_ccosf.c: Rely entire on ccoshf.
65632         * math/s_ccosl.c: Rely entirely on ccoshl.
65633         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
65634         Remove tests for FE_INVALID.
65635         * math/s_ccoshf.c: Likewise.
65636         * math/s_ccoshl.c: Likewise.
65637         * math/s_csin.c: Likewise.
65638         * math/s_csinf.c: Likewise.
65639         * math/s_csinh.c Likewise.
65640         * math/s_csinhf.c: Likewise.
65641         * math/s_csinhl.c: Likewise.
65642         * math/s_csinl.c: Likewise.
65643         * math/s_ctan.c: Likewise.
65644         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
65645         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
65646         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
65648 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
65650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65651         compilation problems.
65653         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65654         __builtin_expect.
65656 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65658         * sysdeps/i386/configure.in: Test for -mfma4 option.
65659         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65660         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65661         COMMON_CPUID_INDEX_80000001.
65662         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65663         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65664         use it if FMA3 is not supported.
65665         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65667         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65668         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65670 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65672         [BZ #12892]
65673         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65674         it would create a cycle with a link time dependency.
65676 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65678         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65679         instruction.
65680         * string/Makefile (strop-tests): Add rawmemchr.
65681         * string/test-rawmemchr.c: New file.
65683         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65684         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65685         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65686         when compiling str{,n}casecmp and when AVX is available.  Hook up
65687         new optimized code in initializers.
65689 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65691         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65692         __feraiseexcept instead of feraiseexcept.
65694 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65696         * math/math_private.h: Define defaults for libc_fetestexcept and
65697         libc_feupdateenv.
65698         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65699         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65700         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65701         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65702         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65703         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65704         libc_fetestexcept and libc_feupdateenv.
65706         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65707         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65708         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65709         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65710         libc_feholdexcept_setround.
65712         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65713         Add s_nearbyint-c and s_nearbyintf-c.
65714         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65715         nearbyintf inlines.
65716         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65717         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65718         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65719         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65721         * math/math_private.h: Define defaults for libc_fegetround,
65722         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65723         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65724         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65725         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65726         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65727         standard functions.
65728         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65729         Remove comments and hacks for old compiler versions.
65730         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65731         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65732         libc_feholdexceptl.
65734 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65736         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65737         (__feraiseexcept_renamed): Add __NTH.
65738         (feraiseexcept): Add __NTH.  Rename local variables to fix
65739         namespace violations.
65741 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65743         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65745         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65747         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65748         recently added interfaces.
65749         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65751         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65752         about macro parameter expansion.
65754         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65755         __NO_MATH_INLINES is defined.  Cleanups.
65757         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65758         and __floorf is target has SSE4.1.
65759         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65760         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65761         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65762         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65764         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65765         name.
65766         (floorf): Likewise.
65768         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65770 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65772         * misc/sys/cdefs.h: Fix last change.
65774         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65775         database lookup.
65777 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65779         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65781         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65782         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65783         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65784         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65785         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65786         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65787         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65788         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65789         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65790         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65791         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65792         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65793         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65794         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65795         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65796         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65797         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65798         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65799         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65800         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65801         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65802         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65804         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65805         ceil, ceilf, floor, floorf.
65807         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65808         Perform IRELATIVE relocations last.
65810         * elf/do-rel.h: Add another parameter nrelative, replacing the
65811         local variable with the same name.  Change name of the function
65812         to end in Rel or Rela (uppercase).
65813         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65814         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65815         elf_dynamic_do_##reloc function.
65817 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65819         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65820         is sufficient, at least on modern CPUs.
65822         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65824         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65825         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65827         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65828         __expl_finite.
65829         * math/bits/math-finite.h: Add entries for exp.
65830         * math/e_expl.c: Add __*_finite alias.
65831         * sysdeps/i386/fpu/e_exp.S: Likewise.
65832         * sysdeps/i386/fpu/e_expf.S: Likewise.
65833         * sysdeps/i386/fpu/e_expl.c: Likewise.
65834         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65835         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65836         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65837         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65838         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65839         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65840         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65842         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65843         is sufficient, at least on modern CPUs.
65845         * ctype/ctype-info.c (__ctype_init): Define.
65846         * include/ctype.h (__ctype_init): Declare.
65847         (__ctype_b_loc): The variable is always initialized.
65848         (__ctype_toupper_loc): Likewise.
65849         (__ctype_tolower_loc): Likewise.
65850         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65851         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65853 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65855         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65857         * configure.in: Also look in $cxxmachine/include for C++ system
65858         headers.
65860 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65862         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65863         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65864         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65865         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65866         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65867         (USE_AS_WMEMCMP): New macro.
65868         Fixing indents.
65869         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65870         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65871         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65872         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65873         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65874         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65875         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65876         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65877         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65878         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65879         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65880         (USE_AS_WMEMCMP): New macro.
65881         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65882         * sysdeps/string/test-memcmp.c: Update.
65883         Fix simple_wmemcmp.
65884         Add new tests.
65885         * wcsmbs/wmemcmp.c: Update.
65886         (WMEMCMP): New macro.
65887         Fix overflow bug.
65889 2011-10-12  Andreas Jaeger  <aj@suse.de>
65891         [BZ #13268]
65892         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65894 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65896         * libio/iofwide.c (do_length): Avoid warning.
65898         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65900 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65902         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65904         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65905         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65906         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65907         * sysdeps/i386/i686/fpu/e_log.S: New file.
65908         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65909         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65911         * ctype/ctype.h: Add support for inlined isXXX functions when
65912         compiling C++ code.
65914 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65916         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65918         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65920 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65922         [BZ #13291]
65923         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65925 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65927         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65928         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65929         feraiseexcept.
65931         * sysdeps/x86_64/memrchr.S: Check for zero size.
65933         * string/stratcliff.c: Add memrchr tests.
65935 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65937         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65938         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65939         rawmemchr-sse2 rawmemchr-sse2-bsf.
65940         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65941         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65942         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65943         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65944         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65945         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65946         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65947         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65948         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65949         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65950         * string/memrchr.c (MEMRCHR): New macro.
65952 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65954         Add integration with gcc's -ffinite-math-only and optimize wrapper
65955         functions in libm.
65956         * Versions.def: Define GLIBC_2.15 version for libm.
65957         * math/Makefile (headers): Add bits/math-finite.h.
65958         * math/bits/math-finite.h: New file.
65959         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65960         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65961         * math/e_acoshl.c: Add __*_finite alias.
65962         * math/e_acosl.c: Likewise.
65963         * math/e_asinl.c: Likewise.
65964         * math/e_atan2l.c: Likewise.
65965         * math/e_atanhl.c: Likewise.
65966         * math/e_coshl.c: Likewise.
65967         * math/e_exp10.c: Likewise.
65968         * math/e_exp10f.c: Likewise.
65969         * math/e_exp10l.c: Likewise.
65970         * math/e_exp2l.c: Likewise.
65971         * math/e_fmodl.c: Likewise.
65972         * math/e_gammal_r.c: Likewise.
65973         * math/e_hypotl.c: Likewise.
65974         * math/e_j0l.c: Likewise.
65975         * math/e_j1l.c: Likewise.
65976         * math/e_jnl.c: Likewise.
65977         * math/e_lgammal_r.c: Likewise.
65978         * math/e_log10l.c: Likewise.
65979         * math/e_log2l.c: Likewise.
65980         * math/e_logl.c: Likewise.
65981         * math/e_powl.c: Likewise.
65982         * math/e_sinhl.c: Likewise.
65983         * math/e_sqrtl.c: Likewise.
65984         * math/e_scalb.c: Completely rewritten and optimized.
65985         * math/e_scalbf.c: Likewise.
65986         * math/e_scalbl.c: Likewise.
65987         * math/w_acos.c: Likewise.
65988         * math/w_acosf.c: Likewise.
65989         * math/w_acosl.c: Likewise.
65990         * math/w_acosh.c: Likewise.
65991         * math/w_acoshf.c: Likewise.
65992         * math/w_acoshl.c: Likewise.
65993         * math/w_asin.c: Likewise.
65994         * math/w_asinf.c: Likewise.
65995         * math/w_asinl.c: Likewise.
65996         * math/w_atan2.c: Likewise.
65997         * math/w_atan2f.c: Likewise.
65998         * math/w_atan2l.c: Likewise.
65999         * math/w_atanh.c: Likewise.
66000         * math/w_atanhf.c: Likewise.
66001         * math/w_atanhl.c: Likewise.
66002         * math/w_exp10.c: Likewise.
66003         * math/w_exp10f.c: Likewise.
66004         * math/w_exp10l.c: Likewise.
66005         * math/w_fmod.c: Likewise.
66006         * math/w_fmodf.c: Likewise.
66007         * math/w_fmodl.c: Likewise.
66008         * math/w_j0.c: Likewise.
66009         * math/w_j0f.c: Likewise.
66010         * math/w_j0l.c: Likewise.
66011         * math/w_j1.c: Likewise.
66012         * math/w_j1f.c: Likewise.
66013         * math/w_j1l.c: Likewise.
66014         * math/w_jn.c: Likewise.
66015         * math/w_jnf.c: Likewise.
66016         * math/w_log.c: Likewise.
66017         * math/w_logf.c: Likewise.
66018         * math/w_logl.c: Likewise.
66019         * math/w_log10.c: Likewise.
66020         * math/w_log10f.c: Likewise.
66021         * math/w_log10l.c: Likewise.
66022         * math/w_log2.c: Likewise.
66023         * math/w_log2f.c: Likewise.
66024         * math/w_log2l.c: Likewise.
66025         * math/w_pow.c: Likewise.
66026         * math/w_powf.c: Likewise.
66027         * math/w_powl.c: Likewise.
66028         * math/w_remainder.c: Likewise.
66029         * math/w_remainderf.c: Likewise.
66030         * math/w_remainderl.c: Likewise.
66031         * math/w_scalb.c: Likewise.
66032         * math/w_scalbf.c: Likewise.
66033         * math/w_scalbl.c: Likewise.
66034         * math/w_sqrt.c: Likewise.
66035         * math/w_sqrtf.c: Likewise.
66036         * math/w_sqrtl.c: Likewise.
66037         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66038         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66039         used.
66040         * math/math_private.h: Declare __kernel_standard_f.
66041         * math/w_cosh.c: Remove cruft and optimize a bit.
66042         * math/w_coshf.c: Likewise.
66043         * math/w_coshl.c: Likewise.
66044         * math/w_exp2.c: Likewise.
66045         * math/w_exp2f.c: Likewise.
66046         * math/w_exp2l.c: Likewise.
66047         * math/w_hypot.c: Likewise.
66048         * math/w_hypotf.c: Likewise.
66049         * math/w_hypotl.c: Likewise.
66050         * math/w_lgamma.c: Likewise.
66051         * math/w_lgamma_r.c: Likewise.
66052         * math/w_lgammaf.c: Likewise.
66053         * math/w_lgammaf_r.c: Likewise.
66054         * math/w_lgammal.c: Likewise.
66055         * math/w_lgammal_r.c: Likewise.
66056         * math/w_sinh.c: Likewise.
66057         * math/w_sinhf.c: Likewise.
66058         * math/w_sinhl.c: Likewise.
66059         * math/w_tgamma.c: Likewise.
66060         * math/w_tgammaf.c: Likewise.
66061         * math/w_tgammal.c: Likewise.
66062         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66063         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66064         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66065         Minor optimizations.  Pretty printing.  Remove cruft.
66066         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66067         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66068         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66069         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66070         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66071         * sysdeps/i386/fpu/e_asin.S: Likewise.
66072         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66073         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66074         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66075         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66076         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66077         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66078         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66079         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66080         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66081         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66082         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66083         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66084         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66085         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66086         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66087         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66088         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66089         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66090         * sysdeps/i386/fpu/e_log.S: Likewise.
66091         * sysdeps/i386/fpu/e_log10.S: Likewise.
66092         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66093         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66094         * sysdeps/i386/fpu/e_log2.S: Likewise.
66095         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66096         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66097         * sysdeps/i386/fpu/e_logf.S: Likewise.
66098         * sysdeps/i386/fpu/e_logl.S: Likewise.
66099         * sysdeps/i386/fpu/e_pow.S: Likewise.
66100         * sysdeps/i386/fpu/e_powf.S: Likewise.
66101         * sysdeps/i386/fpu/e_powl.S: Likewise.
66102         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66103         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66104         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66105         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66106         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66107         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66108         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66109         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66110         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66111         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66112         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66113         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66114         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66115         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66116         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66117         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66118         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66119         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66120         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66121         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66122         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66123         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66124         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66125         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66126         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66127         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66128         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66129         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66130         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66131         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66132         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66133         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66134         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66135         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66136         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66137         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66138         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66139         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66140         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66141         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66142         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66143         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66144         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66145         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66146         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66147         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66148         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66149         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66150         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66151         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66152         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66153         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66154         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66155         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66156         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66157         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66158         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66159         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66160         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66161         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66162         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66163         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66164         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66165         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66166         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66167         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66168         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66169         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66170         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66171         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66172         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66173         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66174         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66175         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66176         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66177         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66178         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66179         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66180         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66181         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66182         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66183         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66184         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66185         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66186         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66187         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66188         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66189         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66190         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66191         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66192         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66193         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66194         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66195         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66196         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66197         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66198         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66199         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66200         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66201         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66202         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66203         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66204         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66205         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66206         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66207         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66208         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66209         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66210         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66211         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66212         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66213         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66214         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66215         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66216         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66217         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66218         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66219         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66220         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66221         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66222         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66223         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66224         (__isnanf): Likewise.
66225         (__isinf_ns): Likewise.
66226         (__isinf_nsf): Likewise.
66227         (__finite): Likewise.
66228         (__finitef): Likewise.
66229         (__ieee754_sqrt): Define as macro.
66230         (__ieee754_sqrtf): Define as macro.
66231         (__ieee754_sqrtl): Define as macro.
66232         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66233         inlined copy.
66234         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66235         __FINITE_MATH_ONLY__ consistent.
66236         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66238 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66240         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66241         of rawmemchr.
66243         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66245 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66247         * po/ja.po: Update from translation team.
66249 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66251         * locale/programs/locarchive.c (prepare_address_space): New function.
66252         (create_archive, enlarge_archive, open_archive): Use it.
66254         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66255         inside [SHARED], where it is used.
66257         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66259         * nss/getent.c (netgroup_keys): Remove unused variable.
66260         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66262 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66264         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66265         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66266         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66267         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66268         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66269         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66270         * math/Makefile (libm-calls): Add s_isinf_ns.
66271         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66272         * math/multc3.c: Likewise.
66273         * math/s_casin.c: Likewise.
66274         * math/s_casinf.c: Likewise.
66275         * math/s_casinl.c: Likewise.
66276         * math/s_ccos.c: Likewise.
66277         * math/s_ccosf.c: Likewise.
66278         * math/s_ccosl.c: Likewise.
66279         * math/s_ctan.c: Likewise.
66280         * math/s_ctanf.c: Likewise.
66281         * math/s_ctanh.c: Likewise.
66282         * math/s_ctanhf.c: Likewise.
66283         * math/s_ctanhl.c: Likewise.
66284         * math/s_ctanl.c: Likewise.
66285         * math/w_fmod.c: Likewise.
66286         * math/w_fmodf.c: Likewise.
66287         * math/w_fmodl.c: Likewise.
66288         * math/w_remainder.c: Likewise.
66289         * math/w_remainderf.c: Likewise.
66290         * math/w_remainderl.c: Likewise.
66291         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66292         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66293         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66294         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66295         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66296         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66297         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66298         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66300         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66301         of the number.
66302         * stdio-common/printf_fphex.c: Likewise.
66303         * stdio-common/printf_size.c: Likewise.
66305         * math/e_exp10.c: Include math_private.h using <...> not "...".
66306         * math/e_exp10f.c: Likewise.
66307         * math/e_exp10l.c: Likewise.
66308         * math/e_exp2l.c: Likewise.
66309         * math/e_j0l.c: Likewise.
66310         * math/e_j1l.c: Likewise.
66311         * math/e_jnl.c: Likewise.
66312         * math/e_lgammal_r.c: Likewise.
66313         * math/e_rem_pio2l.c: Likewise.
66314         * math/e_scalb.c: Likewise.
66315         * math/e_scalbf.c: Likewise.
66316         * math/e_scalbl.c: Likewise.
66317         * math/k_cosl.c: Likewise.
66318         * math/k_sinl.c: Likewise.
66319         * math/k_tanl.c: Likewise.
66320         * math/s_cacoshf.c: Likewise.
66321         * math/s_catan.c: Likewise.
66322         * math/s_catanf.c: Likewise.
66323         * math/s_catanh.c: Likewise.
66324         * math/s_catanhf.c: Likewise.
66325         * math/s_catanhl.c: Likewise.
66326         * math/s_catanl.c: Likewise.
66327         * math/s_ccosh.c: Likewise.
66328         * math/s_ccoshf.c: Likewise.
66329         * math/s_ccoshl.c: Likewise.
66330         * math/s_cexp.c: Likewise.
66331         * math/s_cexpf.c: Likewise.
66332         * math/s_cexpl.c: Likewise.
66333         * math/s_clog.c: Likewise.
66334         * math/s_clog10.c: Likewise.
66335         * math/s_clog10f.c: Likewise.
66336         * math/s_clog10l.c: Likewise.
66337         * math/s_clogf.c: Likewise.
66338         * math/s_clogl.c: Likewise.
66339         * math/s_csin.c: Likewise.
66340         * math/s_csinf.c: Likewise.
66341         * math/s_csinh.c: Likewise.
66342         * math/s_csinhf.c: Likewise.
66343         * math/s_csinhl.c: Likewise.
66344         * math/s_csinl.c: Likewise.
66345         * math/s_csqrt.c: Likewise.
66346         * math/s_csqrtf.c: Likewise.
66347         * math/s_csqrtl.c: Likewise.
66348         * math/s_ctan.c: Likewise.
66349         * math/s_ctanf.c: Likewise.
66350         * math/s_ctanh.c: Likewise.
66351         * math/s_ctanhf.c: Likewise.
66352         * math/s_ctanhl.c: Likewise.
66353         * math/s_ctanl.c: Likewise.
66354         * math/s_ldexp.c: Likewise.
66355         * math/s_ldexpf.c: Likewise.
66356         * math/s_ldexpl.c: Likewise.
66357         * math/s_significand.c: Likewise.
66358         * math/s_significandf.c: Likewise.
66359         * math/s_significandl.c: Likewise.
66360         * math/w_acos.c: Likewise.
66361         * math/w_acosf.c: Likewise.
66362         * math/w_acosh.c: Likewise.
66363         * math/w_acoshf.c: Likewise.
66364         * math/w_acoshl.c: Likewise.
66365         * math/w_acosl.c: Likewise.
66366         * math/w_asin.c: Likewise.
66367         * math/w_asinf.c: Likewise.
66368         * math/w_asinl.c: Likewise.
66369         * math/w_atan2.c: Likewise.
66370         * math/w_atan2f.c: Likewise.
66371         * math/w_atan2l.c: Likewise.
66372         * math/w_atanh.c: Likewise.
66373         * math/w_atanhf.c: Likewise.
66374         * math/w_atanhl.c: Likewise.
66375         * math/w_cosh.c: Likewise.
66376         * math/w_coshf.c: Likewise.
66377         * math/w_coshl.c: Likewise.
66378         * math/w_dremf.c: Likewise.
66379         * math/w_exp10.c: Likewise.
66380         * math/w_exp10f.c: Likewise.
66381         * math/w_exp10l.c: Likewise.
66382         * math/w_exp2.c: Likewise.
66383         * math/w_exp2f.c: Likewise.
66384         * math/w_fmod.c: Likewise.
66385         * math/w_fmodf.c: Likewise.
66386         * math/w_fmodl.c: Likewise.
66387         * math/w_hypot.c: Likewise.
66388         * math/w_hypotf.c: Likewise.
66389         * math/w_hypotl.c: Likewise.
66390         * math/w_j0.c: Likewise.
66391         * math/w_j0f.c: Likewise.
66392         * math/w_j0l.c: Likewise.
66393         * math/w_j1.c: Likewise.
66394         * math/w_j1f.c: Likewise.
66395         * math/w_j1l.c: Likewise.
66396         * math/w_jn.c: Likewise.
66397         * math/w_jnf.c: Likewise.
66398         * math/w_jnl.c: Likewise.
66399         * math/w_lgamma.c: Likewise.
66400         * math/w_lgamma_r.c: Likewise.
66401         * math/w_lgammaf.c: Likewise.
66402         * math/w_lgammaf_r.c: Likewise.
66403         * math/w_lgammal.c: Likewise.
66404         * math/w_lgammal_r.c: Likewise.
66405         * math/w_log.c: Likewise.
66406         * math/w_log10.c: Likewise.
66407         * math/w_log10f.c: Likewise.
66408         * math/w_log10l.c: Likewise.
66409         * math/w_log2.c: Likewise.
66410         * math/w_log2f.c: Likewise.
66411         * math/w_log2l.c: Likewise.
66412         * math/w_logf.c: Likewise.
66413         * math/w_logl.c: Likewise.
66414         * math/w_pow.c: Likewise.
66415         * math/w_powf.c: Likewise.
66416         * math/w_powl.c: Likewise.
66417         * math/w_remainder.c: Likewise.
66418         * math/w_remainderf.c: Likewise.
66419         * math/w_remainderl.c: Likewise.
66420         * math/w_scalb.c: Likewise.
66421         * math/w_scalbf.c: Likewise.
66422         * math/w_scalbl.c: Likewise.
66423         * math/w_sinh.c: Likewise.
66424         * math/w_sinhf.c: Likewise.
66425         * math/w_sinhl.c: Likewise.
66426         * math/w_sqrt.c: Likewise.
66427         * math/w_sqrtf.c: Likewise.
66428         * math/w_sqrtl.c: Likewise.
66429         * math/w_tgamma.c: Likewise.
66430         * math/w_tgammaf.c: Likewise.
66431         * math/w_tgammal.c: Likewise.
66433         * po/ja.po: Update from translation team.
66435 2011-09-29  Andreas Jaeger  <aj@suse.de>
66437         [BZ #13179]
66438         * sunrpc/netname.c (netname2host): Fix logic.
66440         [BZ #6779]
66441         [BZ #6783]
66442         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66443         correctly.
66444         * math/w_remainder.c (__remainder): Likewise.
66445         * math/w_remainderf.c (__remainderf): Likewise.
66446         * math/libm-test.inc (remainder_test): Add test cases.
66448 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66450         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66451         sdiv_qrnnd.
66453 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66455         * string/test-memcmp.c: Avoid unncessary #defines.
66456         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66458 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66460         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66461         Use new sse2 version for core i3 - i7 as it's faster
66462         than sse42 version.
66463         (bit_Prefer_PMINUB_for_stringop): New.
66464         * sysdeps/x86_64/rawmemchr.S: Update.
66465         Replace with faster SSE2 version.
66466         * sysdeps/x86_64/memrchr.S: New file.
66467         * sysdeps/x86_64/memchr.S: Update.
66468         Replace with faster SSE2 version.
66470 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
66472         * elf/dl-load.c (lose): Add cast to avoid warning.
66474 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66476         * po/ca.po: Update from translation team.
66478         * inet/getnetgrent_r.c: Hook up nscd.
66479         * nscd/Makefile (routines): Add nscd_netgroup.
66480         (nscd-modules): Add netgroupcache.
66481         (CFLAGS-netgroupcache.c): Define.
66482         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66483         (cache_search): Add const to second parameter.
66484         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66485         INNETGR.
66486         (dbs): Add netgrdb entry.
66487         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66488         (verify_persistent_db): Handle netgrdb.
66489         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66490         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66491         GETFDNETGR.
66492         (netgroup_response_header): Define.
66493         (innetgroup_response_header): Define.
66494         (datahead): Add netgroup_response_header and innetgroup_response_header
66495         elements.
66496         * nscd/nscd.conf: Add entries for netgroup cache.
66497         * nscd/nscd.h (dbtype): Add netgrdb.
66498         (_PATH_NSCD_NETGROUP_DB): Define.
66499         (netgroup_iov_disabled): Declare.
66500         (xmalloc, xcalloc, xrealloc): Move declarations here.
66501         (cache_search): Adjust prototype.
66502         Add netgroup-related prototypes.
66503         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66504         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66505         (__nscd_innetgr): Declare.
66506         * nscd/selinux.c (perms): Use access_vector_t as element type and
66507         add netgroup-related initializers.
66508         * nscd/netgroupcache.c: New file.
66509         * nscd/nscd_netgroup.c: New file.
66510         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66511         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66512         For four parameters use innetgr.
66513         * nss/nss_files/files-init.c: Add definition and callback for netgr.
66514         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66515         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66516         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66518         * nscd/connections.c (register_traced_file): Don't register file
66519         for disabled databases.
66521 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
66523         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66525         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66526         from tree and freeing node.
66528 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
66530         * nss/nsswitch.c (__nss_database_lookup): Handle
66531         nss_parse_service_list out of memory case.
66533 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
66535         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66536         out of memory case.
66538 2011-10-04  Andreas Schwab  <schwab@redhat.com>
66540         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66541         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66542         pass it down.
66543         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66544         elf_machine_rela, elf_machine_lazy_rel.
66545         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66546         (ELF_DYNAMIC_DO_REL): Likewise.
66547         (ELF_DYNAMIC_DO_RELA): Likewise.
66548         (ELF_DYNAMIC_RELOCATE): Likewise.
66549         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66550         to ELF_DYNAMIC_DO_REL.
66551         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66552         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66553         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66554         elf_machine_rela.
66555         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66556         skip_ifunc, don't call ifunc function if non-zero.
66557         (elf_machine_rela): Likewise.
66558         (elf_machine_lazy_rel): Likewise.
66559         (elf_machine_lazy_rela): Likewise.
66560         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66561         (elf_machine_lazy_rel): Likewise.
66562         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66563         Likewise.
66564         (elf_machine_lazy_rel): Likewise.
66565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66566         Likewise.
66567         (elf_machine_lazy_rel): Likewise.
66568         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66569         (elf_machine_lazy_rel): Likewise.
66570         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66571         (elf_machine_lazy_rel): Likewise.
66572         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66573         (elf_machine_lazy_rel): Likewise.
66574         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66575         (elf_machine_lazy_rel): Likewise.
66576         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66577         (elf_machine_lazy_rel): Likewise.
66578         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66579         (elf_machine_lazy_rel): Likewise.
66581 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66583         * nss/nss_files/files-init.c (_nss_files_init): Use static
66584         initialization for all the *_traced_file variables.
66586 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66588         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66590 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66592         [BZ #13226]
66593         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66595 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66597         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66598         Reread the line before reparsing it.
66600 2011-09-26  Andreas Schwab  <schwab@redhat.com>
66602         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66604 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
66605             Maxim Kuvyrkov  <maxim@codesourcery.com>
66606             Joseph Myers  <joseph@codesourcery.com>
66608         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66609         if needed for __stack_chk_guard.
66611 2011-09-19  Roland McGrath  <roland@hack.frob.com>
66613         * sysdeps/posix/spawni.c (script_execute): Always define it.
66614         It will be optimized away if unused.
66615         (maybe_script_execute): New function.
66616         (__spawni): Call it.
66618         * Makerules: Don't include tls.make.
66619         (config-tls): Always set to thread.
66620         * tls.make.c: File removed.
66622 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
66624         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66625         * config.make.in (CPPFLAGS-config): New substituted variable.
66627 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66629         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66631         [BZ #13192]
66632         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
66633         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
66635 2011-09-15  Roland McGrath  <roland@hack.frob.com>
66637         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
66638         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
66639         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66640         (CALL_FAIL): Likewise.
66641         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
66642         (CALL_FAIL): Macro removed.
66643         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
66645 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66647         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
66648         for __FINITE_MATH_ONLY__ == 1.
66650 2011-09-15  Andreas Schwab  <schwab@redhat.com>
66652         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66653         __ieee754_sqrt instead of sqrt.
66654         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66655         __ieee754_sqrtf instead of sqrtf.
66656         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66657         __floorf instead of floorf.
66658         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66659         __floorf, __truncf instead of floorf, truncf.
66661 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66663         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66665         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66666         __extern_always_inline.
66667         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66668         32-bit.
66670 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66672         * elf/rtld.c (dl_main): Also relocate in dependency order when
66673         doing symbol dependency testing.
66675 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66677         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66678         Always define `refsym'.
66680 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66682         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66683         (__FD_ELT): Renamed from __FDELT.
66684         * misc/bits/select2.h (__FD_ELT): Likewise.
66685         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66686         __FD_MASK instead of __FDELT, __FDMASK.
66687         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66688         Likewise.
66689         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66690         Likewise.
66692         * elf/Makefile (gen-ldd): Fix pattern.
66694         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66695         (init_tls): Likewise.
66697 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66699         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66701 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66703         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66704         `struct cmsghdr *' instead of `void *'.
66705         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66706         Likewise.
66708 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66710         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66711         if non-absolute.
66712         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66713         ldd_rewrite_script.
66715 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66717         * configure.in: Remove --with-tls option.
66718         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66719         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66720         out in case it is missing.
66721         * sysdeps/ia64/elf/configure.in: Likewise.
66722         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66723         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66724         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66725         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66726         * sysdeps/sh/elf/configure.in: Likewise.
66727         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66728         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66729         * sysdeps/x86_64/elf/configure.in: Likewise.
66730         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66731         * sysdeps/mach/hurd/tls.h: Likewise.
66733         [BZ #13067]
66734         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66736         [BZ #13090]
66737         * configure.in: Fix use of AC_INIT.
66739         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66741 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66743         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66744         __set_errno.
66745         * malloc/hooks.c: Likewise.
66747         [BZ #11929]
66748         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66749         variables statically.
66750         (narenas): Initialize.
66751         (list_lock): Initialize.
66752         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66753         initializtion of main_arena and list_lock.  Small cleanups.
66754         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66755         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66756         Add initializers to main_arena and mp_.
66757         (malloc_state): Remove pagesize member.  Change all users to use
66758         GLRO(dl_pagesize).
66760         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66761         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66762         is always initialized.
66764         * malloc/malloc.c: Removed unused configurations and dead code.
66765         * malloc/arena.c: Likewise.
66766         * malloc/hooks.c: Likewise.
66767         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66769         * include/tls.h: Removed.  USE___THREAD must always be defined.
66770         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66771         * elf/dl-libc.c: Likewise.
66772         * elf/dl-tsd.c: Likewise.
66773         * include/errno.h: Likewise.
66774         * include/netdb.h: Likewise.
66775         * include/resolv.h: Likewise.
66776         * inet/herrno-loc.c: Likewise.
66777         * inet/herrno.c: Likewise.
66778         * malloc/arena.c: Likewise.
66779         * malloc/hooks.c: Likewise.
66780         * malloc/malloc.c: Likewise.
66781         * resolv/res-state.c: Likewise.
66782         * resolv/res_libc.c: Likewise.
66783         * sysdeps/i386/dl-machine.h: Likewise.
66784         * sysdeps/ia64/dl-machine.h: Likewise.
66785         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66786         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66787         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66788         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66789         * sysdeps/sh/dl-machine.h: Likewise.
66790         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66791         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66792         * sysdeps/unix/i386/sysdep.S: Likewise.
66793         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66794         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66795         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66796         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66797         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66798         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66799         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66800         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66802         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66803         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66804         * sysdeps/x86_64/dl-machine.h: Likewise.
66805         * tls.make.c: Likewise.
66807         * configure.in: Remove --with-__thread option.  Make tests for
66808         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66809         tls_model attribute fail if no support is available.  Remove
66810         USE_IN_LIBIO.
66811         * Makeconfig: Adjust for dropped configure option.  All features are
66812         now mandatory.
66813         * Makerules: Likewise.
66814         * Versions.def: Likewise.
66815         * argp/argp-fmtstream.c: Likewise.
66816         * argp/argp-fmtstream.h: Likewise.
66817         * argp/argp-help.c: Likewise.
66818         * assert/assert.c: Likewise.
66819         * config.h.in: Likewise.
66820         * config.make.in: Likewise.
66821         * configure: Likewise.
66822         * configure.in: Likewise.
66823         * csu/Versions: Likewise.
66824         * csu/init.c: Likewise.
66825         * elf/tst-audit2.c: Likewise.
66826         * elf/tst-tls10.c: Likewise.
66827         * elf/tst-tls10.h: Likewise.
66828         * elf/tst-tls11.c: Likewise.
66829         * elf/tst-tls12.c: Likewise.
66830         * elf/tst-tls14.c: Likewise.
66831         * elf/tst-tlsmod11.c: Likewise.
66832         * elf/tst-tlsmod12.c: Likewise.
66833         * elf/tst-tlsmod13.c: Likewise.
66834         * elf/tst-tlsmod13a.c: Likewise.
66835         * elf/tst-tlsmod14a.c: Likewise.
66836         * elf/tst-tlsmod15b.c: Likewise.
66837         * elf/tst-tlsmod16a.c: Likewise.
66838         * elf/tst-tlsmod16b.c: Likewise.
66839         * elf/tst-tlsmod7.c: Likewise.
66840         * elf/tst-tlsmod8.c: Likewise.
66841         * elf/tst-tlsmod9.c: Likewise.
66842         * gmon/gmon.c: Likewise.
66843         * grp/fgetgrent_r.c: Likewise.
66844         * grp/putgrent.c: Likewise.
66845         * hurd/fopenport.c: Likewise.
66846         * include/libc-symbols.h: Likewise.
66847         * include/tls.h: Likewise.
66848         * intl/gettextP.h: Likewise.
66849         * intl/loadinfo.h: Likewise.
66850         * locale/global-locale.c: Likewise.
66851         * locale/localeinfo.h: Likewise.
66852         * mach/devstream.c: Likewise.
66853         * malloc/arena.c: Likewise.
66854         * malloc/set-freeres.c: Likewise.
66855         * misc/err.c: Likewise.
66856         * misc/getttyent.c: Likewise.
66857         * misc/mntent_r.c: Likewise.
66858         * posix/getopt.c: Likewise.
66859         * posix/wordexp.c: Likewise.
66860         * pwd/fgetpwent_r.c: Likewise.
66861         * resolv/Versions: Likewise.
66862         * resolv/res_hconf.c: Likewise.
66863         * shadow/fgetspent_r.c: Likewise.
66864         * shadow/putspent.c: Likewise.
66865         * stdio-common/printf_fphex.c: Likewise.
66866         * stdio-common/tmpfile.c: Likewise.
66867         * stdlib/abort.c: Likewise.
66868         * stdlib/fmtmsg.c: Likewise.
66869         * sunrpc/auth_unix.c: Likewise.
66870         * sunrpc/clnt_perr.c: Likewise.
66871         * sunrpc/clnt_tcp.c: Likewise.
66872         * sunrpc/clnt_udp.c: Likewise.
66873         * sunrpc/clnt_unix.c: Likewise.
66874         * sunrpc/openchild.c: Likewise.
66875         * sunrpc/svc_simple.c: Likewise.
66876         * sunrpc/svc_tcp.c: Likewise.
66877         * sunrpc/svc_udp.c: Likewise.
66878         * sunrpc/svc_unix.c: Likewise.
66879         * sunrpc/xdr.c: Likewise.
66880         * sunrpc/xdr_array.c: Likewise.
66881         * sunrpc/xdr_rec.c: Likewise.
66882         * sunrpc/xdr_ref.c: Likewise.
66883         * sunrpc/xdr_stdio.c: Likewise.
66885 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66887         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66889 2011-07-03  Andreas Jaeger  <aj@suse.de>
66891         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66892         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66893         regenerate with gen-libm-tests.pl.
66895 2010-05-12  Petr Baudis  <pasky@suse.cz>
66897         [BZ #11589]
66898         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66899         around j0() zero points by switching to j1().
66900         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66901         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66902         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66903         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66905 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66907         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66908         instead of 0.
66909         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66910         instead of 0.
66911         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66912         Patch in part by Pavel Roskin <proski@gnu.org>.
66914         [BZ #13138]
66915         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66916         realloc.
66917         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66918         Free memory block if necessary.
66920         [BZ #12847]
66921         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66922         be NULL.  Don't lock in this case.
66924 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66926         * elf/elf.h (ELFOSABI_GNU): New macro.
66927         (ELFOSABI_LINUX): Define to that.
66929 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66931         * string/strncat.c (strncat): Undef the symbol in case it has been
66932         defined in bits/string.h.
66934 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66936         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66938         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66939         link map.
66941 2011-08-17  Andreas Jaeger  <aj@suse.de>
66943         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66945 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66946             Ian Lance Taylor  <iant@google.com>
66948         * math/libm-test.inc (lround_test): New testcase.
66949         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66951 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66953         * Makefile: Remove support for automatic cvs check-ins.
66954         * Makerules: Likewise.
66955         * config.make.in: Likewise.
66956         * configure.in: Likewise.
66957         * intl/Makefile: Likewise.
66958         * locale/Makefile: Likewise.
66959         * po/Makefile: Likewise.
66960         * posix/Makefile: Likewise.
66961         * sysdeps/gnu/Makefile: Likewise.
66962         * sysdeps/mach/hurd/Makefile: Likewise.
66963         * sysdeps/sparc/sparc32/Makefile: Likewise.
66965         [BZ #13118]
66966         * posix/Makefile (bug-regex32-ENV): Define.
66967         Patch by John Stanley <jpsinthemix@verizon.net>.
66969         * misc/Makefile (headers): Add bits/select2.h.
66970         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66971         * misc/bits/select2.h: New file.
66972         * include/bits/select2.h: New file.
66973         * debug/Makefile (routines): Add fdelt_chk.
66974         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66975         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66976         FD_ISSET.
66977         * debug/fdelt_chk.c: New file.
66979         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66980         * wcsmbs/test-wmemcmp.c: Likewise.
66981         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66982         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66984 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66986         * string/Makefile (strop-tests): Add memcmp.
66987         * string/test-wmemcmp.c: New file.
66988         * string/test-memcmp.c: Add wmemcmp support.
66990 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66992         [BZ #13153]
66993         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66994         2011-07-19 change.
66996         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66997         garbage value in a __mach_port_mod_refs call in the cases of the
66998         task-self and thread-self ports.
67000 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67002         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67004 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67006         * elf/dl-load.c (lose): Check for non-null L.
67008 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67010         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67012         * elf/dl-libc.c (dlerror_run): Pass back error code from
67013         dl_catch_error.
67015         [BZ #13123]
67016         * elf/dl-load.c (lose): Free l_origin if it is valid.
67018         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67019         names.
67020         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67021         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67022         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67023         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67024         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67025         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67027 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67029         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67030         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67031         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67032         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67033         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67034         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67035         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67036         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67037         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67038         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67040 2011-08-15  Alan Modra  <amodra@gmail.com>
67042         [BZ #13092]
67043         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67044         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67045         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67046         ppc_mcount to static-only-routines.
67047         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67048         __mcount_internal.
67049         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67050         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67052 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67054         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67055         for finite and infinity parameters.
67057 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67059         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67060         and add nop instructions for throughput optimization.
67061         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67063 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67065         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67066         aligned copy for power7 with vector-scalar instructions.
67067         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67069 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67071         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67072         AVX check.
67074 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67076         [BZ #13144]
67077         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67078         last change.
67080 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67082         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67083         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67084         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67085         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67086         clock_gettime.
67088 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67090         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67091         Forgot to demangle the pointer.
67093         * sysdeps/i386/sysdep.h: Define atom_text_section.
67094         * sysdeps/x86_64/sysdep.h: Likewise.
67095         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67096         section with atom_text_section.
67097         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67098         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67099         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67100         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67101         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67103         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67104         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67105         already be defined.  Change to take two parameters and don't assign
67106         result to variable.  Adjust all users.
67107         Define INTERNAL_GETTIME if not already defined.
67108         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67109         call.
67110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67111         HAVE_CLOCK_GETTIME_VSYSCALL.
67112         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67115         gettimeofday vsyscall, just use time.
67117 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67119         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67120         <errno.h>.
67122 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67124         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67125         syscall on x86-64.
67126         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67127         syscall.
67128         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67129         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67130         syscall if possible.
67132 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67134         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67135         e_ident.  Don't pass to find_mapsXX.
67136         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67138 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67140         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67141         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67142         * sysdeps/x86_64/multiarch/strchr.S: Update.
67143         Check bit_slow_BSF bit.
67144         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67145         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67146         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67148 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67150         [BZ #13134]
67151         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67152         before glibc 2.15.
67153         (tryshell): Define.
67154         (__spawni): Change last parameter to be flag.  Test
67155         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67156         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67157         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67158         * posix/spawni.c: Likewise.
67159         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67160         * posix/spawnp.c: Likewise.  Change normal version to use
67161         SPAWN_XFLAGS_USE_PATH.
67162         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67163         SPAWN_XFLAGS_TRY_SHELL.
67165         [BZ #13150]
67166         * posix/glob.h: Remove gcc 1.x support.
67168         [BZ #13068]
67169         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67171 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67173         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67174         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67175         strrchr-sse2-bsf
67176         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67177         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67178         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67179         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67180         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67181         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67183 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67185         * sysdeps/x86_64/wcscmp.S: New file.
67187         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67188         wcscmp-c wcscmp-sse2
67189         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67190         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67191         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67192         * wcsmbs/wcscmp.c: Allow renaming.
67194 2011-09-05  David S. Miller  <davem@davemloft.net>
67196         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67197         stack slot, rather than the struct return pointer slot.
67198         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67199         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67201         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67203 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67205         * po/ja.po: Update from translation team.
67207         [BZ #13144]
67208         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67209         kernel in 64-bit binaries.
67211 2011-09-01  David S. Miller  <davem@davemloft.net>
67213         * elf/elf.h (HWCAP_SPARC_*): Move to..
67214         * sysdeps/sparc/sysdep.h: this new file and add new values.
67215         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67216         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67217         _DL_HWCAP_COUNT to 24.
67218         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67219         entries.
67220         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67221         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67222         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67223         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67224         instead of magic constants.
67225         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67227 2011-08-31  David S. Miller  <davem@davemloft.net>
67229         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67231         Reimplement to do errno handling inline.
67232         (SYSCALL_ERROR_HANDLER): New macro.
67233         (__SYSCALL_STRING): Do not do errno handling in asm.
67234         (__CLONE_SYSCALL_STRING): Delete.
67235         (__INTERNAL_SYSCALL_STRING): Delete.
67236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67237         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67238         (PSEUDO): Reimplement to do errno handling inline.
67239         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67240         (SYSCALL_ERROR_HANDLER): New macro.
67241         (__SYSCALL_STRING): Do not do errno handling in asm.
67242         (__CLONE_SYSCALL_STRING): Delete.
67243         (__INTERNAL_SYSCALL_STRING): Delete.
67244         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67245         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67246         i386.
67247         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67248         (inline_syscall*): Add 'err' argument.
67249         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67250         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67251         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67252         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67254         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67255         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67257 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67259         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67261 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67263         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67264         directive.
67266 2011-08-24  David S. Miller  <davem@davemloft.net>
67268         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67270 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67272         * elf/Makefile: Add rules to build and run unload8 test.
67273         * elf/unload8.c: New file.
67274         * elf/unload8mod1.c: New file.
67275         * elf/unload8mod1x.c: New file.
67276         * elf/unload8mod2.c: New file.
67277         * elf/unload8mod3.c: New file.
67279         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67280         it wasn't used.
67282 2011-08-23  David S. Miller  <davem@davemloft.net>
67284         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67285         subtract stack bias.
67286         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67287         %sp not %fp in calculations.
67288         (_JMPBUF_UNWINDS_ADJ): Likewise.
67290         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67291         (aio_suspend): Call it to force an exception region around the
67292         AIO_MISC_WAIT() invocation.
67294 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67296         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67297         backslash.
67299 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67301         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67302         protection macro.
67303         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67304         and <dl-machine.h>.
67305         (Elf64_FuncDesc): Remove.
67307 2011-08-22  David S. Miller  <davem@davemloft.net>
67309         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67310         sigaltstack check, add missing cfi directives.
67311         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67312         missing cfi directives, and sigaltstack handling.
67314 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67316         [BZ #11724]
67317         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67318         object is seen twice.
67319         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67321         * elf/Makefile (distribute): Add tst-initorder2.c.
67322         (tests): Add tst-initorder2.
67323         (modules-names): Add tst-initorder2a tst-initorder2b
67324         tst-initorder2c tst-initorder2d.  Add rules to build them.
67325         ($(objpfx)tst-initorder2.out): New rule.
67326         * elf/tst-initorder2.c: New file.
67327         * elf/tst-initorder2.exp: New file.
67329 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67331         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67333         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67334         dependencies back to end of function.
67336         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67337         $(elfobjdir)/ld.so.
67339 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67341         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67342         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67343         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67344         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67345         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67346         of __vdso_gettimeofday.
67347         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67348         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67349         attribute_hidden.
67350         (_libc_vdso_platform_setup): Remove initialization of
67351         __vdso_gettimeofday and __vdso_time.
67353 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67355         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67356         and fgetc_unlocked.
67357         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67358         getc_unlocked.
67360         * elf/dl-open.c (add_to_global): Report additions to the global scope
67361         for LD_DEBUG=scopes.
67362         (dl_open_worker): Also print scope of newly loaded dependencies.
67363         (_dl_show_scope): Indicate if there is no scope.
67365         [BZ #13114]
67366         * stdio-common/Makefile (tests): Add bug24.
67367         * stdio-common/bug24.c: New file.
67369 2011-08-19  Andreas Jaeger  <aj@suse.de>
67371         [BZ #13114]
67372         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67373         non-existant file when using close-on-exec mode.
67375 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67377         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67378         the very first instruction.
67380         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67381         the CFI state in the end.
67382         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67383         inclusion of dl-trampoline.h.
67384         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67386 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67388         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67389         expectations for long double.
67391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67392         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67394 2011-08-14  David S. Miller  <davem@davemloft.net>
67396         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67397         artificual limit depends upon the system page size.
67399 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67401         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67402         * resolv/Makefile: Define CFLAGS-libresolv.
67404 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67406         * nss/makedb.c (compute_tables): Make variables used in nested
67407         function static.
67409 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67411         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67412         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67413         if buffer was too small.
67415         * elf/pldd.c (main): Attach to all threads in the process.
67416         Rewrite /proc handling to use *at functions.
67418 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67420         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67421         specifies first scope to show.
67422         (dl_open_worker): Update callers.  Move printing scope of new
67423         object to before the relocation.
67424         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67425         * sysdeps/generic/ldsodefs.h: Update declaration.
67427         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67428         string for the scope number.
67430 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67432         * nscd/servicescache.c (cache_addserv): Make sure written is always
67433         initialized.
67435 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67437         * sysdeps/i386/i486/bits/atomic.h
67438         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67439         statement expression, so as to suppress "set but not used" warning.
67440         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67442         * string/strncat.c (STRNCAT): Use prototype definition.
67444         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67445         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67446         -Iprograms here.
67447         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67448         (localedef-modules): Add localedef.
67449         (locale-modules): Add locale.
67451         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67452         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67453         to avoid a warning.
67455 2011-08-14  David S. Miller  <davem@davemloft.net>
67457         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67458         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67460 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67462         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67463         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67464         * elf/rtld.c (dl_main): Set l_name of vDSO.
67465         Call _dl_show_scope when DL_DEBUG_SCOPES.
67466         (process_dl_debug): Recognize scopes flag and also set it for all.
67467         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67468         Declare _dl_show_scope.
67470         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67471         (do_dlopen): Pass caller_dlopen to dl_open.
67472         (__libc_dlopen_mode): Initialize caller_dlopen.
67474         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67475         of libc.  Make tolower call locale-independent.  Optimize a bit by
67476         using isdigit instead of isalnum.
67477         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67479 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
67481         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67482         was a dependency or dynamically loaded.
67484 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
67486         * intl/l10nflist.c: Allow architecture-specific pop function.
67487         * sysdeps/x86_64/l10nflist.c: New file.
67489         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67490         classification.
67492 2011-08-10  Andreas Schwab  <schwab@redhat.com>
67494         * include/dirent.h: Add libc_hidden_proto for scandirat and
67495         scandirat64.  Don't declare __scandirat64.
67496         * dirent/scandirat.c: Add libc_hidden_def.
67497         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67498         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67500 2011-08-10  David S. Miller  <davem@davemloft.net>
67502         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67503         enum.
67504         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67505         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67506         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67508 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
67510         * Versions.def [libc]: Add GLIBC_2.15.
67511         * dirent/Makefile (routines): Add scandirat and scandirat64.
67512         * dirent/Versions [libc]: Export scandirat and scandirat64 for
67513         GLIBC_2.15.
67514         * dirent/dirent.h: Declare scandirat and scandirat64.
67515         * dirent/scandirat.c: New file.
67516         * dirent/scandirat64.c: New file.
67517         * sysdeps/wordsize-64/scandirat.c: New file.
67518         * sysdeps/wordsize-64/scandirat64.c: New file.
67519         * dirent/opendir.c: Define opendirat.
67520         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
67521         using scandirat.
67522         * dirent/scandir64.c: Adjust for scandir.c change.
67523         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
67524         __scandirat64, and __scandir_cancel_handler.
67525         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
67526         additional parameter and use openat instead of open (outside of ld.so).
67527         Add new __opendir as wrapper around __opendirat.
67528         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67529         here without requiring old scandirat implementation.
67531 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
67533         * dirent/scandir.c (cancel_handler): Renamed to
67534         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
67535         defined.  Adjust users.
67536         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67537         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67539 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
67541         * string/test-string.h (IMPL): Use __STRING to expand name and then
67542         stringify it.
67544         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67545         of cleanups.
67547 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67549         * string/Makefile: Update.
67550         (strop-tests): Append strncat.
67551         * string/test-wcscmp.c: New file.
67552         New comprehensive test for wcscmp.
67553         * string/test-strcmp.c: Update.
67554         (WIDE): New define.
67556 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67558         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67559         line.
67561 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67564         encoding to ACE if AI_IDN.
67566 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67568         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67569         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67571 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67573         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67574         Fix overflow bug in strncat.
67575         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67577         * string/test-strncat.c: Update.
67578         Add new tests for checking overflow bugs.
67580 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67582         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67583         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67584         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67585         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67586         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67587         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67588         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67589         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67590         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67592         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67593         (USE_AS_STRCAT): Define.
67594         Add strcat and strncat support.
67595         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67597 2011-07-25  Andreas Schwab  <schwab@redhat.com>
67599         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67600         __n bigger than INT_MAX+1.
67601         (__strncmp_g): Likewise.
67603 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
67605         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67606         * libio/stido.h: Likewise.
67608         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67609         (AF_NFC): Define.
67610         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67611         (AF_NFC): Define.
67613         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67614         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67615         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67616         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67617         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67619         [BZ #13021]
67620         * scripts/test-installation.pl: Don't expect libnss_test1 to be
67621         installed.
67623         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67624         typo.
67625         (_dl_x86_64_save_sse): Likewise.
67627 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
67629         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67630         OSXSAVE.
67631         (_dl_x86_64_save_sse): Likewise.
67633         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
67635         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
67637 2011-07-21  Andreas Schwab  <schwab@redhat.com>
67639         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
67640         change.
67641         (_dl_x86_64_save_sse): Use correct AVX check.
67643 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67645         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
67646         bug in strncpy/strncat.
67647         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
67649 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
67651         * string/tester.c (test_strcat): Add tests for different alignments
67652         of source and destination.
67653         (test_strncat): Likewise.
67655 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67657         [BZ #12852]
67658         * posix/glob.c (glob): Check passed in values before using them in
67659         expressions to avoid some overflows.
67660         (glob_in_dir): Likewise.
67662         [BZ #13007]
67663         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67664         check for AVX enablement so that we don't crash with old kernels and
67665         new hardware.
67666         * elf/tst-audit4.c: Add same checks here.
67667         * elf/tst-audit6.c: Likewise.
67669         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67671 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67673         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67675 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67677         * po/cs.po: Update from translation team.
67678         * po/bg.po: Likewise.
67680 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67682         * misc/sys/cdefs.h: Add support for const attribute.
67683         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67684         to gnu_dev_{major,minor,makedev} functions.
67686 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67688         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67690 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67692         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67693         strlen results.
67695 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67697         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67698         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67699         register in order to avoid conflicts with the soft frame pointer
67700         being held in r11 when necessary.
67701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67702         (INTERNAL_VSYSCALL_NCS): Likewise.
67704 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67706         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67707         * elf/dl-fini.c (_dl_fini): Adjust caller.
67708         * elf/dl-close.c (_dl_close_worker): Likewise.
67709         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67711 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67713         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67714         "aux_cache->nlibs < 0".
67716         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67717         in the reload-count case.
67719 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67722         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67723         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67724         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67725         * sysdeps/x86_64/multiarch/strcat.S: New file.
67726         * sysdeps/x86_64/multiarch/strncat.S: New file.
67727         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67728         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67729         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67730         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67731         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67732         (USE_AS_STRCAT): Define.
67733         Add strcat and strncat support.
67734         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67735         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67736         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67737         * string/strncat.c: Update.
67738         (USE_AS_STRNCAT): Define.
67739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67740         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67741         and i7.
67742         * sysdeps/x86_64/multiarch/init-arch.h
67743         (bit_Prefer_PMINUB_for_stringop): New.
67744         (index_Prefer_PMINUB_for_stringop): Likewise.
67745         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67746         bit_Prefer_PMINUB_for_stringop.
67748 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67750         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67751         buffer64.
67752         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67753         of casting of buffer.
67754         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67755         buffer32 and buffer64.
67756         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67757         writes instead of casting of buffer.
67758         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67759         buffer32.
67760         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67761         casting of buffer.
67763 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67765         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67767 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67769         * nscd/nscd.c (termination_handler): Don't do anything for a database
67770         if it has not yet been initialized.
67772 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67774         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67776 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67778         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67780 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67782         * po/nl.po: Update from translation team.
67783         * po/sv.po: Likewise.
67785 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67787         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67788         now disallowed by GCC.
67790         * configure.in (use-default-link): Default to yes if a test -shared
67791         link meets our qualifications.
67792         * configure: Regenerated.
67794         * config.make.in (output-format): New variable.
67795         * configure.in: Check for ld --print-output-format support.
67796         * configure: Regenerated.
67797         * Makerules ($(common-objpfx)format.lds)
67798         [$(output-format) != unknown]: Just use $(output-format),
67799         instead of the linker-script munging.
67801 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67803         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67804         of $(common-objpfx)shlib.lds.
67805         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67807         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67808         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67810         * configure.in (-z relro check): Adjust test code to add a large
67811         writable data section after it.
67812         * configure: Regenerated.
67814 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67816         * configure.in (-z relro check): Fix test code to make the variable
67817         truly const.
67818         * configure: Regenerated.
67820 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67822         * nscd/nscd.h (struct traced_file): Define.
67823         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67824         elements.  Add traced_files.
67825         (inotify_fd): Declare.
67826         (register_traced_file): Declare.
67827         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67828         (inotify_fd): Export.
67829         (resolv_conf_descr): Remove.
67830         (nscd_init): Move inotify descriptor creation to main.
67831         Don't register files for notification here.
67832         (register_traced_file): New function.
67833         (invalidate_cache): Don't use reset_res to determine whether to call
67834         res_init, go through the list of registered files.
67835         (main_loop_poll): The inotify descriptors are now stored in the
67836         structures for the traced files.
67837         (main_loop_epoll): Likewise
67838         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67839         to __nss_disable_nscd.
67840         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67841         for a database anymore.  Check the records for all the registered
67842         files instead.
67843         * nss/Makefile (libnss_files-routines): Add files-init.
67844         (libnss_db-routines): Add db-init.
67845         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67846         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67847         * nss/nss_db/db-init.c: New file.
67848         * nss/nss_files/files-init.c: New file.
67849         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67850         __nss_lookup_function.
67851         (__nss_lookup_function): Call nss_load_library.
67852         (nss_load_all_libraries): New function.
67853         (__nss_disable_nscd): Take parameter with callback function for files
67854         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67855         used for the cached services.
67856         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67857         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67858         options for features to all the files in nscd.
67860         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67862 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67864         * csu/elf-init.c (__libc_csu_init): Comment typo.
67866 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67868         * po/pl.po: Update from translation team.
67869         * po/ja.po: Likewise.
67870         * po/ru.po: Likewise.
67871         * po/ko.po: Likewise.
67872         * po/fr.po: Likewise.
67874 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67876         * configure.in (.ctors/.dtors header and trailer check):
67877         Use an empirical test on a built program.
67878         * configure: Regenerated.
67880         * configure.in (-z relro check): Use an empirical test on a built DSO.
67881         Detect, but do not require, on ia64.
67882         * configure: Regenerated.
67884         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67885         Update tests that use readelf to use $READELF instead.
67886         * configure: Regenerated.
67888 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67890         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67891         if the result is not used.
67893 2011-07-05  Andreas Jaeger  <aj@suse.de>
67895         [BZ#9696]
67896         * stdlib/tst-strtod.c: Add testcase.
67898 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67900         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67901         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67902         The latter has a higher limit.  Take additional parameter to pass to
67903         the new function.
67904         (__pathconf): Pass file to __statfs_link_max.
67905         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67906         __statfs_link_max.
67907         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67908         __statfs_link_max.
67910         [BZ #12868]
67911         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67912         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67913         Handle Lustre.
67914         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67915         (__statfs_filesize_max): Likewise.
67916         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67918 2011-07-05  Andreas Jaeger  <aj@suse.de>
67920         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67922 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67924         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67925         `status' variable.
67926         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67927         Likewise.
67929 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67931         * Makefile (strop-tests): Add strncat.
67932         * string/test-strncat.c: New file.
67934 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67936         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67938 2011-06-21  Andreas Jaeger  <aj@suse.de>
67940         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67941         Copy rule from iconvdata/Makefile.
67943 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67945         [BZ #12922]
67946         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67947         but no long options are defined, just return 'W'.
67949 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67951         [BZ #9696]
67952         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67954 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67956         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67957         netgroups to read.
67958         (innetgr): Likewise.
67960 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67962         * config.make.in (install_root): Default to $(DESTDIR).
67964 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67966         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67968 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67970         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67972         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67973         containing directory rather than embedding absolute directory names.
67975         * scripts/check-local-headers.sh: Rewritten using awk.
67976         Match by word, not by line.  Print error messages for matches.
67977         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67979         * Makerules [shlib-lds-flags empty]:
67980         ($(common-objpfx)libc_pic.opts): New target.
67981         ($(common-objpfx)libc_pic.os.clean): New target.
67982         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67984         * config.make.in (OBJCOPY): New variable.
67985         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67986         * configure: Regenerated.
67988         * config.make.in (use-default-link): New variable.
67989         * configure.in (use_default_link): Grok --with-default-link to set it.
67990         * configure: Regenerated.
67991         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67992         (shlib-lds, shlib-lds-flags): Define to empty.
67994         * Makerules (shlib-lds): New variable.
67995         (shlib-lds-flags): New variable.
67996         (build-shlib, build-moduile, build-module-asneeded): Use it.
67997         ($(common-objpfx)libc.so): Use $(shlib-lds).
67998         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67999         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68001         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68002         DT_FLAGS/DT_FLAGS_1 with zero flags.
68004         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68005         linker script munging.
68007 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68009         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68010         as 128-bit value.
68011         * crypt/sha512.c (sha512_process_block): Perform total addition using
68012         128-bit if possible.
68013         (__sha512_finish_ctx): Likewise.
68014         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68015         as 64-bit value.
68016         * crypt/sha256.c (SWAP64): Define.
68017         (sha256_process_block): Perform total addition using 64-bit if
68018         possible.
68019         (__sha256_finish_ctx): Likewise.
68021 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68023         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68024         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68025         * nscd/hstcache.c (cache_addhst): Likewise.
68026         * nscd/grpcache.c (cache_addgr): Likewise.
68027         * nscd/aicache.c (addhstaiX): Likewise
68028         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68030 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68032         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68034         * nscd/hstcache.c (cache_addhst): Likewise.
68035         * nscd/grpcache.c (cache_addgr): Likewise.
68036         * nscd/aicache.c (addhstaiX): Likewise
68038 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68040         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68041         domain only when needed.
68043 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68046         is always restored.
68048 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68050         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68051         are re-adding the entry.
68052         * nscd/servicescache.c (cache_addserv): Likewise.
68054 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68056         * sysdeps/generic/dl-irel.h: fix protection against multiple
68057         inclusions.
68058         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68060 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68062         [BZ #12935]
68063         * malloc/memusage.sh: Fix quoting in message.
68064         * debug/xtrace.sh: Likewise.
68066         * configure.in: Remove support for --experimental-malloc option, make
68067         it the default.
68068         * config.make.in: Likewise.
68069         * malloc/Makefile: Likewise.
68071 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68073         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68074         two-byte characters.
68076 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68078         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68079         AC_CACHE_CHECK invocation.
68080         * configure: Regenerated.
68082         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68084 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68086         [BZ #12350]
68087         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68088         bit from old_res_options.
68090         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68092         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68093         value type for setfct.
68095 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68097         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68098         __gettimeofday instead of gettimeofday.
68100 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68102         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68104 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68106         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68108         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68109         info.
68111 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68114         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68115         strcpy-sse2-unaligned strncpy-sse2-unaligned
68116         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68117         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68118         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68119         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68120         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68121         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68122         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68123         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68124         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68125         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68126         (STRCPY): Support SSE2 and SSSE3 versions.
68128 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68130         [BZ #12874]
68131         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68132         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68133         kernels which artificially limit size of requests.
68135 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68137         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68138         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68139         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68140         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68141         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68142         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68143         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68144         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68145         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68146         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68147         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68148         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68149         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68150         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68151         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68153         Enable unaligned load optimization for Intel Core i3, i5 and i7
68154         processors.
68155         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68156         Define.
68157         (index_Fast_Unaligned_Load): Define.
68158         (HAS_FAST_UNALIGNED_LOAD): Define.
68160 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68162         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68164 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68166         [BZ #12907]
68167         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68168         until it is clear that the information is realy needed.
68169         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68171 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68175 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68177         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68178         /sys/devices/system/cpu/online if it is usable.
68180         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68181         reading the information from the /proc filesystem to once a second.
68183 2011-06-21  Andreas Jaeger  <aj@suse.de>
68185         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68186         NULL after inclusion of kernel headers.
68188 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68190         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68191         calls to internal_setent.
68193         [BZ #12885]
68194         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68195         addresses using gethostbyname4_r ignore IPv4 addresses.
68197         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68198         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68200         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68202 2011-06-20  David S. Miller  <davem@davemloft.net>
68204         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68205         inclusions.
68206         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68208         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68209         (elf_irel): Use it.
68210         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68211         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68212         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68213         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68214         * sysdeps/x86_64/dl-irel.h: Likewise.
68216         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68217         * elf/dl-sym.c: Likewise.
68219 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68221         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68222         need to dereference resplen2.
68224 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68226         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68228 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68230         * Makeconfig: Define vardbdir and inst_vardbdir.
68231         * nss/Makefile: Add rules to install db-Makefile.
68233         * nss/nss_db/db-XXX.c: Cleanup.
68235         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68236         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68237         GLIBC_PRIVATE.
68238         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68239         * nss/makedb.c: Implement -g option to specify that value strings
68240         are generated and should not be added to table iterated over for
68241         get*ent calls.
68242         * nss/nss_db/db-initgroups.c: New file.
68244         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68245         interface.
68247         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68248         (internal_getgrouplist): Adjust to name change.
68249         Update use_initgroups_entry if this is not the first call.
68250         * nss/databases.def: Add initgroups entry.
68252         * nss/makedb.c (compute_tables): Check result of multiple hash table
68253         sizes to minimize maximum chain length.
68255 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68257         * Versions.def: Add entry for libnss_db.
68258         * shlib-versions: Likewise.
68259         * nss/Makefile: Add rules to build libnss_db.
68260         * nss/Versions: Add libnss_db information.  Organize libnss_files
68261         entries better.
68262         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68263         makedb progra.  Some minor improvements to generate smaller files.
68264         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68265         here from...
68266         * nss/makedb.c: ...here.
68267         Improve database format to be smaller and require less memory at
68268         runtime.
68269         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68270         db anymore.
68271         * nss/nss_db/db-netgrp.c: Likewise.
68272         * nss/nss_db/db-open.c: Likewise.
68273         * nss/nss_files/flies-XXX.x: Adjust comments.
68274         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68275         * nss/nss_files/files-grp.c: Likewise.
68276         * nss/nss_files/files-hosts.c: Likewise.
68277         * nss/nss_files/files-network.c: Likewise.
68278         * nss/nss_files/files-proto.c: Likewise.
68279         * nss/nss_files/files-pwd.c: Likewise.
68280         * nss/nss_files/files-rpc.c: Likewise.
68281         * nss/nss_files/files-service.c: Likewise.
68282         * nss/nss_files/files-sgrp.c: Likewise.
68283         * nss/nss_files/files-spwd.c: Likewise.
68284         * nss/nss_db/db-alias.c: Removed.
68285         * nss/nss_db/dummy-db.h: Removed.
68287 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68289         * nss/makedb.c: Rewritten to not use database library.
68290         * nss/Makefile: Update to build new makedb program.
68292 2011-06-14  Andreas Jaeger  <aj@suse.de>
68294         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68295         memset declaration.
68297 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68300         tmpbuf.
68302 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68304         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68305         * elf/Makefile ($(objpfx)ld.so): Likewise.
68307         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68308         Don't list ld.so twice in dependencies.
68310         * posix/bug-regex31.c: Include <stdlib.h>.
68312         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68314         * nis/nss_compat/compat-spwd.c
68315         (getspent_next_nss_netgr): Remove unused variable.
68316         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68318         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68319         nonmembers" output to use the right array.
68321         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68323         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68325         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68326         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68327         * catgets/gencat.c (read_input_file): Likewise.
68328         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68330         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68331         variable definition inside #if's controlling its use.
68333         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68335         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68337         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68339         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68340         unreachable code.
68342         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68344         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68345         * configure: Regenerated.
68347         * Makerules: Revert last change.
68348         * elf/Makefile: Likewise.
68350 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68352         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68353         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68354         (reloc-link): Likewise.
68356 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68358         * elf/Makefile: Add rules to build pldd.
68359         * elf/pldd.c: New file.
68360         * elf/pldd-xx.c: New file.
68362 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68364         * version.h: Update for 2.15 development version.
68366 2011-06-07  David S. Miller  <davem@davemloft.net>
68368         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68369         ifuncs.
68370         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68371         elf_machine_lazy_rel): Likewise.
68372         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68373         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68374         elf_machine_lazy_rel): Likewise.
68375         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68376         dl_hwcap via passed in argument.
68377         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68378         Likewise.
68380 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68382         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68384 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68386         [BZ #12849]
68387         * manual/fdl-1.1.texi: New file, verbatim from:
68388         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68389         * manual/lgpl-2.1.texi: New file, verbatim from:
68390         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68391         * manual/Makefile (licenses): New variable, list those new file names.
68392         (texis): Use it.
68393         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68395         * manual/fdl.texi: File removed.
68396         * manual/lesser.texi: File removed.
68397         * manual/libc.texinfo (Copying, Documentation License):
68398         Use new @include file names, put @appendix directive before @include.
68400 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68402         [BZ #12841]
68403         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68404         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68405         (mq_open): Add __NTH.
68407 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68410         Assume Intel Core i3/i5/i7 processor if AVX is available.
68412 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68414         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68415         typo.
68417 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68419         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68420         memory.  Use alloca_account.  Fix memory leak when retrying.
68422 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68424         * version.h (RELEASE): Bump for 2.14 release.
68425         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68427         * config.make.in (RANLIB): Remove entry.
68429 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68431         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68432         (libc.pot): Work around missing support for .ksh extension in xgettext.
68434         [BZ #12684]
68435         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68436         if both request failed.
68437         (send_dg): In case of server errors clear resplen or *resplen2.
68439         [BZ #12454]
68440         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68441         when there are multiple maps.
68442         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68443         (_dl_fini): Remove test here.
68445         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68447 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68449         [BZ #12350]
68450         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68451         bit from old_res_options.
68452         (gaih_inet): Likewise.
68454         [BZ #11099]
68455         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68456         as signed.
68458         * resolv/res_init.c (res_setoptions): Make the code more compact.
68460         [BZ #11558]
68461         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68462         set RES_USEVC.
68464         [BZ #11634]
68465         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68467         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68469         [BZ #11781]
68470         * malloc/malloc.h: Declare malloc hook variables as volatile.
68472         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68473         in last patch.
68475         [BZ #11799]
68476         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68477         raise in the comment.
68478         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68479         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68480         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68482 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
68484         [BZ #12811]
68485         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68486         grow the buffers more if it already has to be sufficient.
68487         (build_wcs_upper_buffer): Likewise.
68488         * posix/regexec.c (check_matching): Likewise.
68489         (clean_state_log_if_needed): Likewise.
68490         (extend_buffers): Don't enlarge buffers beyond size of the input
68491         buffer.
68492         Patches mostly by Emil Wojak <emil@wojak.eu>.
68493         * posix/bug-regex32.c: New file.
68494         * posix/Makefile (tests): Add bug-regex32.
68496         * locale/findlocale.c (_nl_find_locale): Return right away if
68497         _nl_explode_name failed.
68498         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68500         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68502         * debug/xtrace.sh: Unify messages.
68503         * malloc/memusage.sh: Likewise.
68505         [BZ #12813]
68506         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68507         time symbol from vDSO.  Substitute with vsyscall if not available.
68508         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68509         __vdso_time.
68511         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68512         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68513         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68514         Add sendmmsg and internal_sendmmsg.
68515         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68516         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68517         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68519         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68520         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68521         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68523 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
68525         [BZ #12813]
68526         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68527         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
68528         available.
68529         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68530         __vdso_getcpu.
68532         [BZ #12814]
68533         * iconvdata/Makefile (tests): Add bug-iconv9.
68534         * iconvdata/bug-iconv9.c: New file.
68536 2011-05-27  Andreas Schwab  <schwab@redhat.com>
68538         [BZ #12814]
68539         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68541 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68543         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68544         (struct user_regs_struct): Change intcs field back to cs.
68546 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68548         * po/ja.po: Update from translation team.
68550 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68552         [BZ #12795]
68553         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68554         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68556 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68558         * stdlib/longlong.h: Update from GCC.
68560 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68562         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68563         parameter name.
68564         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68565         Add parameter name.
68566         (__sysconf): Pass it down.
68568 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68570         [BZ #12671]
68571         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68572         some situations.
68573         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68574         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68575         add in in __libc_use_alloca calls.  Adjust callers.
68576         (glob): Use malloc in some situations.
68578         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68579         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68580         pltexit.
68582 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68584         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68585         and CLOCK_BOOTTIME_ALARM.
68587         [BZ #12782]
68588         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68589         is returned.
68591         * string/_strerror.c (__strerror_r): Print negative errors as signed
68592         numbers.
68594         [BZ #12777]
68595         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68596         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68597         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68599         * configure.in: Fix typo in redirection and correct removal of test
68600         files in two cases.
68602         [BZ #12788]
68603         * locale/setlocale.c (new_composite_name): Fix test to check for
68604         identical name of all categories.
68606         [BZ #12792]
68607         * libio/filedoalloc.c (local_isatty): New function.
68608         (_IO_file_doallocate): Use local_isatty.
68609         * stdio-common/perror.c (perror): In case a new stream is used
68610         forward the stream error.
68611         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68612         error flag.
68614 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
68616         [BZ #11884]
68617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68618         alloca.
68619         * include/alloca.h (extend_alloca_account): Define.
68621         [BZ #11857]
68622         * posix/regex.h: Fix comments with documentation of user-accessible
68623         fields after compilation and describe correct free'ing of pattern
68624         after re_compile_pattern.
68625         Patch by Reuben Thomas <rrt@sc3d.org>.
68627 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
68629         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68630         and -mno-altivec to prevent the compiler from using Altivec and/or
68631         VSX instructions when the corresponding registers are not available.
68633 2011-05-19  Andreas Schwab  <schwab@redhat.com>
68635         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
68637 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
68639         * libio/freopen.c (freopen): Use __dup2, not dup2.
68640         * libio/freopen64.c (freopen64): Likewise.
68642 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68644         [BZ #12775]
68645         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
68646         * math/Makefile (tests): Add test-powl.
68647         (CFLAGS-test-powl.c): Define.
68648         * math/test-powl.c: New file.
68650 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68652         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68654 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
68656         [BZ #11837]
68657         * iconvdata/gb18030.c: Update to GB18020-2005.
68659 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68661         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68662         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68663         Patch by Aharon Robbins <arnold@skeeve.com>.
68665         [BZ #11892]
68666         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68667         on the stack.
68669         [BZ #11895]
68670         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68671         through underflows.
68673         [BZ #12766]
68674         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68675         point to strings before performing equality test for error_one_per_line
68676         mode.
68678         [BZ #11697]
68679         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68681         [BZ #11820]
68682         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68683         (struct user_fpregs_struct): Avoid __uint*_t types.
68685         [BZ #6420]
68686         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68687         symbol info.  Use it instead of calling _dl_addr locally.
68688         (lock_and_info): New function.
68689         (tr_freehook): Call lock_and_info and pass symbol info as additional
68690         parameter to tr_where.
68691         (tr_mallochook): Likewise.
68692         (tr_reallochook): Likewise.
68693         (tr_memalignhook): Likewise.
68695         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68696         used and couldn't be at all thread-safe.
68698 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68700         * libio/freopen.c (freopen): Don't close old file descriptor
68701         before the new one is opened.  Instead dup the new file descriptor
68702         to the old one after the new stream is created.
68703         * libio/freopen64.c (freopen64): Likewise.
68704         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68705         * libio/fileops.c (_IO_new_file_close_it): Handle new
68706         _IO_FLAGS2_NOCLOSE flag.
68707         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68708         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68709         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68710         _IO_FLAGS2_NOCLOSE flag.
68711         * include/unistd.h: Add hidden_proto for dup3.
68712         Define __have_dup3.
68713         * io/dup3.c: Define hidden symbol.
68714         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68716         [BZ #7101]
68717         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68718         when an incomplete long option is used.
68719         * posix/tst-getopt_long1.c: New file.
68720         * posix/Makefile (tests): Add tst-getopt_long1.
68722         [BZ #10138]
68723         * scripts/config.guess: Update from autoconf-2.68.
68724         * scripts/config.sub: Likewise.
68726         [BZ #10157]
68727         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68728         tests into ...
68729         (has_cpuclock): ...this.  New function.
68730         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68731         macro here based on has_cpuclock code.
68733         [BZ #10149]
68734         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68735         First byte (not low byte) is now always NUL.
68736         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68738         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68739         Use non-cancelable interfaces.
68741         [BZ #9809]
68742         * locale/iso-639.def: Add entry for Sorani.
68744         [BZ #11901]
68745         * include/stdlib.h: Move include protection to the right place.
68746         Define abort_msg_s.  Declare __abort_msg with it.
68747         * stdlib/abort.c (__abort_msg): Adjust type.
68748         * assert/assert.c (__assert_fail_base): New function.  Majority
68749         of code from __assert_fail.  Allocate memory for __abort_msg with
68750         mmap.
68751         (__assert_fail): Now call __assert_fail_base.
68752         * assert/assert-perr.c: Remove bulk of implementation.  Use
68753         __assert_fail_base.
68754         * include/assert.hL Declare __assert_fail_base.
68755         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68756         mmap.
68757         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68759 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68761         [BZ #11952]
68762         [BZ #12453]
68763         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68764         until all modules are registered in the DTV.
68765         * elf/Makefile: Add rules to build and run tst-tls19.
68766         * elf/tst-tls19.c: New file.
68767         * elf/tst-tls19mod1.c: New file.
68768         * elf/tst-tls19mod2.c: New file.
68769         * elf/tst-tls19mod3.c: New file.
68770         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68772         [BZ #12083]
68773         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68774         correctly.
68776         [BZ #12601]
68777         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68778         two-byte sequence errors.
68779         * iconvdata/Makefile (tests): Add bug-iconv8.
68780         * iconvdata/bug-iconv8.c: New file.
68782         [BZ #12626]
68783         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68784         buf2 definition.
68786         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68788         [BZ #12432]
68789         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68790         (dummy_getcfa): New function.
68791         (init): Get _Unwind_GetCFA address, use dummy if not found.
68792         (backtrace_helper): In recursion check, also check whether CFA changes.
68793         (__backtrace): Completely initialize arg.
68795         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68796         storing incomplete byte sequence in state object.  Avoid testing for
68797         guaranteed too small input if we know there is enough data available.
68799 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68801         * Makeconfig (+link-pie): Indent.
68802         * Rules (binaries-pie): Define if $(have-fpie) and
68803         $(build-shared).
68804         (binaries-shared): Also filter out $(binaries-pie).
68805         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68806         * nscd/Makefile (others-pie): Add nscd.
68807         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68808         ($(objpfx)nscd): Remove command override.
68809         * login/Makefile (others-pie): Add pt_chown.
68810         ($(objpfx)pt_chown): Remove command override.
68811         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68812         remove command overrides.
68814 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68816         * libio/tst_putwc.c: Fix error messages.
68818         [BZ #12724]
68819         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68820         currently writing and seek to current position when not.
68821         * libio/Makefile (tests): Add bug-fclose1.
68822         * libio/bug-fclose1.c: New file.
68824 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68826         [BZ #12511]
68827         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68828         don't set DF_1_NODELETE here.
68829         (do_lookup_x): When entering new entry test for copy relocation
68830         and if necessary set DF_1_NODELETE flag.
68831         * elf/tst-unique4.cc: New file.
68832         * elf/tst-unique4.h: New file.
68833         * elf/tst-unique4lib.cc: New file.
68834         * elf/Makefile: Add rules to build and run tst-unique4.
68835         Patch by Piotr Bury <pbury@goahead.com>.
68837 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68839         [BZ #12052]
68840         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68842         [BZ #12625]
68843         * misc/mntent_r.c (addmntent): Flush the stream after the output
68845         [BZ #12393]
68846         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68847         (is_trusted_path_normalize): Skip initial colon.  Append slash
68848         to empty buffer.  Duplicate is_trusted_path code but allow
68849         constructed patch to be prefix.
68850         (is_dst): Allow $ORIGIN followed by /.
68851         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68852         Correct testing of result of is_trusted_path_normalize
68853         (decompose_rpath): Fix warning.
68855 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68857         [BZ #11257]
68858         * grp/initgroups.c (internal_getgrouplist): When we found the service
68859         list through the initgroups entry in nsswitch.conf do not always
68860         continue on a successful lookup.  Don't always use the
68861         __nss_group_database value if it is set.
68862         * nss/nsswitch.conf (initgroups): Change action for successful db
68863         lookup to continue for compatibility.
68865 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68867         [BZ #11532]
68868         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68869         and CP774 modules.
68870         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68871         and CP774 modules.
68872         * iconvdata/tst-tables.sh: Likewise.
68873         * iconvdata/cp770.c: New file.
68874         * iconvdata/cp771.c: New file.
68875         * iconvdata/cp772.c: New file.
68876         * iconvdata/cp773.c: New file.
68877         * iconvdata/cp774.c: New file.
68878         * iconvdata/testdata/CP770: New file.
68879         * iconvdata/testdata/CP770..UTF8: New file.
68880         * iconvdata/testdata/CP771: New file.
68881         * iconvdata/testdata/CP771..UTF8: New file.
68882         * iconvdata/testdata/CP772: New file.
68883         * iconvdata/testdata/CP772..UTF8: New file.
68884         * iconvdata/testdata/CP773: New file.
68885         * iconvdata/testdata/CP773..UTF8: New file.
68886         * iconvdata/testdata/CP774: New file.
68887         * iconvdata/testdata/CP774..UTF8: New file.
68889         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68890         END CHARMAP line.
68891         * iconvdata/gen-8bit-gap.sh: Likewise.
68892         * iconvdata/gen-8bit.sh: Likewise.
68894         * locale/iso-639.def: Add ary entry.
68896         [BZ #11258]
68897         * locale/C-translit.h.in: Add U20A1 transliteration.
68899         [BZ #12178]
68900         * locale/iso-639.def: Add wae entry.
68901         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68903         [BZ #12545]
68904         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68905         for n.
68907         [BZ #12711]
68908         * locale/C-translit.h.in: Add entry for U20B9.
68909         Patch by pravin.d.s@gmail.com.
68911 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68913         [BZ #12713]
68914         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68915         ENAMETOOLONG use generic getcwd.
68916         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68917         in rtld.  Use *stat64.
68918         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68919         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68920         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68921         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68922         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68923         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68924         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68925         __fstatat64 macros.
68926         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68927         * dirent/rewinddir.c: Add libc_hidden_def.
68928         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68929         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68931         * include/dirent.h (__alloc_dir): Add flags parameter.
68932         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68933         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68934         __alloc_dir.
68935         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68936         from fdopendir if O_CLOEXEC is already set.
68938 2011-03-15  Alan Modra  <amodra@gmail.com>
68940         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68941         l_tls_firstbyte_offset non-zero.  Save padding offset in
68942         l_tls_firstbyte_offset for later use.
68943         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68944         freeing static tls block.
68946 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68948         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68949         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68950         being defined by the kernel headers.
68952 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68954         [BZ #12734]
68955         * resolv/resolv.h: Define RES_NOTLDQUERY.
68956         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68957         no-tld-query and set RES_NOTLDQUERY.
68958         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68959         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68960         modern BIND to search name as TLD unless forbidden.
68962 2011-05-07  Petr Baudis  <pasky@suse.cz>
68963             Ulrich Drepper  <drepper@gmail.com>
68965         [BZ #12393]
68966         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68967         (is_trusted_path): ...to here.
68968         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68969         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68970         using is_trusted_path_normalize() in setuid scripts.
68972 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68974         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68975         __BEGIN/__END_DECLS.
68977 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68979         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68980         NSS_STATUS_NOTFOUND if no record was found.
68982 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68984         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68985         (headers-not-in-tirpc): Remove rpc/netdb.h
68986         * resolv/netdb.h: Revert last change.
68988 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68990         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68991         circular dependency between libgcc.a and libc.a.
68993 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68995         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68996         * nis/Makefile: Don't install rpcsvc/*.
68997         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68998         instead of <rpc/types.h>.
68999         (MAXHOSTNAMELEN): Define.
69001 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69003         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69005 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69007         [BZ #12714]
69008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69009         gethostbyname4_r when IPv6 results are possible.
69011 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69013         [BZ #12723]
69014         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69015         _PC_PIPE_BUF handling.
69017 2011-04-30  Bruno Haible  <bruno@clisp.org>
69019         [BZ #12717]
69020         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69021         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69022         to 'int'.
69023         * inet/getnameinfo.c (getnameinfo): Likewise.
69025 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69027         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69028         to groups setting in database lookup.
69029         * nss/nsswitch.conf: Add initgroups entry.
69031 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69033         [BZ #12685]
69034         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69035         mode string.
69036         Patch by Eric Blake <eblake@redhat.com>.
69038 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69040         * sunrpc/Makefile (need-export-routines): Add svc_run.
69041         (routines): Remove svc_run.
69042         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69043         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69044         * sunrpc/svc_run.c (svc_run): Likewise.
69045         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69047 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69049         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69050         problem in reallocation in last patch.
69052 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69054         * sunrpc/Makefile: Move inclusion of Rules.
69056 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69058         * nss/nss_files/files-initgroups.c: New file.
69059         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69060         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69061         _nss_files_initgroups_dyn.
69063 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69065         * elf/elf.h (R_ARM_IRELATIVE): Define.
69067 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69069         * po/ru.po: Update from translation team.
69071 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69073         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69074         dependencies.
69076 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69078         [BZ #12653]
69079         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69080         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69081         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69082         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69083         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69085 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69087         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69088         differing bytes.
69089         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69090         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69091         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69093 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69095         [BZ #12420]
69096         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69097         storing it.
69098         * stdlib/bug-getcontext.c: New file.
69099         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69101 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69103         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69104         instructions into .machine "z9-109".
69105         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69106         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69108 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69110         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69111         between environment variables and auxiliary vector.
69113 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69115         * Makefile: Add rules to build linkobj/libc.so.
69116         * include/libc-symbols.h: Define libc_hidden_nolink.
69117         * include/rpc/auth.h: Mark functions which are to be hidden.
69118         * include/rpc/auth_des.h: Likewise.
69119         * include/rpc/auth_unix.h: Likewise.
69120         * include/rpc/clnt.h: Likewise.
69121         * include/rpc/des_crypt.h: Likewise.
69122         * include/rpc/key_prot.h: Likewise.
69123         * include/rpc/pmap_clnt.h: Likewise.
69124         * include/rpc/pmap_prot.h: Likewise.
69125         * include/rpc/pmap_rmt.h: Likewise.
69126         * include/rpc/rpc_msg.h: Likewise.
69127         * include/rpc/svc.h: Likewise.
69128         * include/rpc/svc_auth.h: Likewise.
69129         * include/rpc/xdr.h: Likewise.
69130         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69131         * nss/Makefile: Likewise.
69132         * sunrpc/Makefile: Don't install headers.  Build library with normal
69133         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69134         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69135         for the compat linking library.  Remove use of INTDEF/INTUSE.
69136         * sunrpc/auth_none.c: Likewise.
69137         * sunrpc/auth_unix.c: Likewise.
69138         * sunrpc/authdes_prot.c: Likewise.
69139         * sunrpc/authuxprot.c: Likewise.
69140         * sunrpc/clnt_gen.c: Likewise.
69141         * sunrpc/clnt_perr.c: Likewise.
69142         * sunrpc/clnt_raw.c: Likewise.
69143         * sunrpc/clnt_simp.c: Likewise.
69144         * sunrpc/clnt_tcp.c: Likewise.
69145         * sunrpc/clnt_udp.c: Likewise.
69146         * sunrpc/clnt_unix.c: Likewise.
69147         * sunrpc/des_crypt.c: Likewise.
69148         * sunrpc/des_soft.c: Likewise.
69149         * sunrpc/get_myaddr.c: Likewise.
69150         * sunrpc/key_call.c: Likewise.
69151         * sunrpc/key_prot.c: Likewise.
69152         * sunrpc/netname.c: Likewise.
69153         * sunrpc/pm_getmaps.c: Likewise.
69154         * sunrpc/pm_getport.c: Likewise.
69155         * sunrpc/pmap_clnt.c: Likewise.
69156         * sunrpc/pmap_prot.c: Likewise.
69157         * sunrpc/pmap_prot2.c: Likewise.
69158         * sunrpc/pmap_rmt.c: Likewise.
69159         * sunrpc/publickey.c: Likewise.
69160         * sunrpc/rpc_cmsg.c: Likewise.
69161         * sunrpc/rpc_common.c: Likewise.
69162         * sunrpc/rpc_dtable.c: Likewise.
69163         * sunrpc/rpc_prot.c: Likewise.
69164         * sunrpc/rpc_thread.c: Likewise.
69165         * sunrpc/rtime.c: Likewise.
69166         * sunrpc/svc.c: Likewise.
69167         * sunrpc/svc_auth.c: Likewise.
69168         * sunrpc/svc_authux.c: Likewise.
69169         * sunrpc/svc_raw.c: Likewise.
69170         * sunrpc/svc_run.c: Likewise.
69171         * sunrpc/svc_simple.c: Likewise.
69172         * sunrpc/svc_tcp.c: Likewise.
69173         * sunrpc/svc_udp.c: Likewise.
69174         * sunrpc/svc_unix.c: Likewise.
69175         * sunrpc/svcauth_des.c: Likewise.
69176         * sunrpc/xcrypt.c: Likewise.
69177         * sunrpc/xdr.c: Likewise.
69178         * sunrpc/xdr_array.c: Likewise.
69179         * sunrpc/xdr_float.c: Likewise.
69180         * sunrpc/xdr_intXX_t.c: Likewise.
69181         * sunrpc/xdr_mem.c: Likewise.
69182         * sunrpc/xdr_rec.c: Likewise.
69183         * sunrpc/xdr_ref.c: Likewise.
69184         * sunrpc/xdr_sizeof.c: Likewise.
69185         * sunrpc/xdr_stdio.c: Likewise.
69187 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69189         [BZ #12650]
69190         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69191         * sysdeps/ia64/dl-tls.h: Likewise.
69192         * sysdeps/powerpc/dl-tls.h: Likewise.
69193         * sysdeps/s390/dl-tls.h: Likewise.
69194         * sysdeps/sh/dl-tls.h: Likewise.
69195         * sysdeps/sparc/dl-tls.h: Likewise.
69196         * sysdeps/x86_64/dl-tls.h: Likewise.
69197         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69199 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69201         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69202         rpath element also skip the following colon.
69203         (expand_dynamic_string_token): Add is_path parameter and pass
69204         down to DL_DST_REQUIRED and _dl_dst_substitute.
69205         (decompose_rpath): Call expand_dynamic_string_token with
69206         non-zero is_path.  Ignore empty rpaths.
69207         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69208         with zero is_path.
69210 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69213         Make cancelable.
69215 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69217         [BZ #12655]
69218         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69219         Patch by Filipe David Manana <fdmanana@apache.org>.
69221 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69223         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69224         Maintain aligned stack.
69225         (CHECK_RSP): Remove unused macro.
69227 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69229         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69230         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69232 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69234         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69236         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69238 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69240         [BZ #12518]
69241         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69242         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69243         * sysdeps/x86_64/memmove.c: New file.
69244         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69245         (memcpy): Renamed to ...
69246         (__new_memcpy): This.
69247         (memcpy): Provide GLIBC_2_14 memcpy.
69248         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69249         (memcpy): Provide GLIBC_2_2_5 memcpy.
69251 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69253         [BZ #12631]
69254         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69256 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69258         * misc/syncfs.c: New file.
69259         * misc/Makefile (routines): Add syncfs.
69260         * posix/unistd.h: Declare syncfs.
69261         * sysdeps/unix/syscalls.list: Add syncfs.
69263 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69265         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69266         open_by_handle_at.
69267         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69268         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69269         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69270         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69272         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69273         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69275 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69277         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69278         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69279         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69280         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69281         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69282         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69283         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69285         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69286         sync_file_range.c with -fexceptions.
69287         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69288         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69289         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69290         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69291         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69292         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69293         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69294         sync_file_range as cancellation point
69295         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69296         now a wrapper around __call_sync_file_range with cancellation handling.
69297         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69298         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69299         function name to __call_sync_file_range.
69300         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69301         Add call_sync_file_range.
69303 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69306         bits/timex.h.
69308 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69310         * iconv/iconv.h: Fix typo in comment.
69311         * io/fcntl.h: Likewise.
69312         * libio/stdio.h: Likewise.
69313         * posix/spawn.h: Likewise.
69314         * posix/unistd.h: Likewise.
69315         * stdlib/stdlib.h: Likewise.
69316         * time/time.h: Likewise.
69317         * wcsmbs/wchar.h: Likewise.
69319         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69320         open_by_handle): Add.
69321         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69322         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69323         Augment a few comments.
69324         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69325         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69326         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69328         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69329         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69330         open_by_handle.
69332         * io/fcntl.h (AT_EMPTY_PATH): Define.
69334 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69336         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69337         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69338         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69339         to...
69340         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69341         * Versions.def: Add GLIBC_2.14.
69342         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69343         Export.
69345 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69347         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69348         round counter.
69349         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69351 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69353         [BZ #12597]
69354         * string/test-strncmp.c (do_page_test): New function.
69355         (check2): Likewise.
69356         (test_main): Call check2.
69357         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69359 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69361         [BZ #12587]
69362         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69363         Handle cache information in CPU leaf 4.
69364         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69366 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69368         [BZ #12583]
69369         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69370         character representation.
69371         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69373 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69375         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69376         END(__isnan) to END(__isnanf) to match function entry point/label
69377         EALIGN(__isnanf,...).
69379 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69381         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69383 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69385         [BZ #12510]
69386         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69387         copy from the symbol referenced in the relocation to initialize the
69388         used variable.
69389         Patch by Piotr Bury <pbury@goahead.com>.
69390         * elf/Makefile: Add rules to build and tst-unique3.
69391         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69392         * elf/tst-unique3.cc: New file.
69393         * elf/tst-unique3.h: New file.
69394         * elf/tst-unique3lib.cc: New file.
69395         * elf/tst-unique3lib2.cc: New file.
69397         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69399 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69401         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69402         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69403         to _start.
69405 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69407         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69408         to-be-loaded object along a path to loader is ld.so.
69410 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69411             Ulrich Drepper  <drepper@gmail.com>
69413         * sysdeps/x86_64/memset.S: After aligning destination, code
69414         branches to different locations depending on the value of
69415         misalignment, when multiarch is enabled. Fix this.
69417 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69419         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69420         Set _x86_64_preferred_memory_instruction for AMD processsors.
69421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69422         Set bit_Prefer_SSE_for_memop for AMD processors.
69424 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69426         * libio/fmemopen.c (fmemopen): Optimize a bit.
69428 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69430         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69432 2011-03-03  Roland McGrath  <roland@redhat.com>
69434         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69436 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69438         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69439         __bzero_ultra1 instead of __memset_ultra1.
69441 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69442             Ulrich Drepper  <drepper@gmail.com>
69444         [BZ #12509]
69445         * include/link.h (struct link_map): Add l_orig_initfini.
69446         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69447         returning unsuccessfully.
69448         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69449         close of a file loaded at startup, restore the original l_initfini
69450         list.
69451         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69452         list, store the pointer.
69453         * elf/Makefile ($(objpfx)noload-mem): New rule.
69454         (noload-ENV): Define.
69455         (tests): Add $(objpfx)noload-mem.
69456         * elf/noload.c: Include <memcheck.h>.
69457         (main): Call mtrace.  Close all opened handles.
69459 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69461         [BZ #12454]
69462         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69463         dependencies are missing.
69465 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69467         Fix __if_freereq crash: Unlike the generic version which uses free,
69468         Hurd needs munmap.
69469         * sysdeps/mach/hurd/ifreq.h: New file.
69471 2011-01-27  Petr Baudis  <pasky@suse.cz>
69472             Ulrich Drepper  <drepper@gmail.com>
69474         [BZ 12445]#
69475         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69476         to extend_alloca().
69477         * stdio-common/bug23.c: New file.
69478         * stdio-common/Makefile (tests): Add bug23.
69480 2010-09-28  Andreas Schwab  <schwab@redhat.com>
69481             Ulrich Drepper  <drepper@gmail.com>
69483         [BZ #12489]
69484         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69485         before performing relro protection.  At old place add assertion
69486         to make sure nothing changed.
69488 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
69489             Glauber de Oliveira Costa  <glommer@gmail.com>
69491         * elf/elf.h: Add new ARM TLS relocs.
69493 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
69495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69496         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69497         cast from r3.
69498         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
69499         'tests' variable.
69500         * sysdeps/wordsize-64/tst-writev.c: New file.
69502 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
69504         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69505         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69506         insns in _dl_start to prevent a TOC reference before relocs are
69507         resolved.
69509 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
69511         [BZ #12469]
69512         * Makeconfig: Remove RANLIB definition.
69513         * Makerules: Don't use RANLIB.
69514         * aclocal.m4: Remove ranlib test.
69515         * configure.in: No need to check for ranlib.
69516         * elf/rtld-Rules: Don't use RANLIB.
69518 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69520         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69521         protection macro.
69522         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69523         inclusion protection macro.
69525         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69526         SIGRTMIN and SIGRTMAX and print information in that case only when
69527         SIGRTMIN is defined.
69529 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
69531         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69532         arginfo fn returning -1.
69534         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69535         and thousands string is zero terminated.
69537 2011-02-03  Andreas Schwab  <schwab@redhat.com>
69539         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69540         sysdeps/unix/sysv/linux/bits/socket.h.
69542 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69544         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69545         (__CPU_COUNT): Remove old macros.
69546         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69547         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69548         (__CPU_ALLOC, __CPU_FREE): Add macros.
69549         (__sched_cpualloc, __sched_cpufree): Add declarations.
69551 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69553         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69554         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69555         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69556         (readdhstai): Return value of addhstaiX call.
69557         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69558         (addgrbyX): Return value returned by cache_addgr.
69559         (readdgrbyname): Return value returned by addgrbyX.
69560         (readdgrbygid): Likewise.
69561         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69562         (addpwbyX): Return value returned by cache_addpw.
69563         (readdpwbyname): Return value returned by addhstbyX.
69564         (readdpwbyuid): Likewise.
69565         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69566         (addservbyX): Return value returned by cache_addserv.
69567         (readdservbyname): Return value returned by addservbyX:
69568         (readdservbyport): Likewise.
69569         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69570         (addhstbyX): Return value returned by cache_addhst.
69571         (readdhstbyname): Return value returned by addhstbyX.
69572         (readdhstbyaddr): Likewise.
69573         (readdhstbynamev6): Likewise.
69574         (readdhstbyaddrv6): Likewise.
69575         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69576         (readdinitgroups): Return value returned by addinitgroupsX.
69577         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69578         (prune_cache): Keep track of timeout value of re-added entries.
69579         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69580         * nscd/nscd.h: Adjust prototypes of readd* functions.
69582 2011-02-04  Roland McGrath  <roland@redhat.com>
69584         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69585         (nis_stats): Likewise.
69586         * nis/nis_modify.c (nis_modify): Likewise.
69587         * nis/nis_remove.c (nis_remove): Likewise.
69588         * nis/nis_add.c (nis_add): Likewise.
69590         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69592         * posix/fnmatch_loop.c: Add some consts.
69594         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69596 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69598         [BZ #12460]
69599         * config.make.in (config-cflags-novzeroupper): Define.
69600         * configure.in: Substitute libc_cv_cc_novzeroupper.
69601         * elf/Makefile (AVX-CFLAGS): Define.
69602         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69603         (CFLAGS-tst-auditmod4a.c): Likewise.
69604         (CFLAGS-tst-auditmod4b.c): Likewise.
69605         (CFLAGS-tst-auditmod6b.c): Likewise.
69606         (CFLAGS-tst-auditmod6c.c): Likewise.
69607         (CFLAGS-tst-auditmod7b.c): Likewise.
69608         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69610 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
69612         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69613         function to the callback.
69614         Patch partly by Jiri Olsa <jolsa@redhat.com>.
69616 2011-02-02  Andreas Schwab  <schwab@redhat.com>
69618         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69619         of errno.
69621 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
69623         [BZ #11724]
69624         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69625         of constructors.
69626         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69627         of destructors.
69628         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69630         [BZ #11724]
69631         * elf/Makefile: Add rules to build and run new test.
69632         * elf/tst-initorder.c: New file.
69633         * elf/tst-initorder.exp: New file.
69634         * elf/tst-initordera1.c: New file.
69635         * elf/tst-initordera2.c: New file.
69636         * elf/tst-initordera3.c: New file.
69637         * elf/tst-initordera4.c: New file.
69638         * elf/tst-initorderb1.c: New file.
69639         * elf/tst-initorderb2.c: New file.
69640         * elf/tst-order-a1.c: New file.
69641         * elf/tst-order-a2.c: New file.
69642         * elf/tst-order-a3.c: New file.
69643         * elf/tst-order-a4.c: New file.
69644         * elf/tst-order-b1.c: New file.
69645         * elf/tst-order-b2.c: New file.
69646         * elf/tst-order-main.c: New file.
69647         New test case by George Gensure <werkt0@gmail.com>.
69649 2010-10-01  Andreas Schwab  <schwab@redhat.com>
69651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69652         decoding ACE if AI_CANONIDN.
69654 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
69656         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69658 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69660         * version.h (RELEASE): Bump for 2.13 release.
69661         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69663         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69665         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69666         MADV_NOHUGEPAGE.
69667         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69668         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69669         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69670         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69671         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69672         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69674         * posix/getconf.c: Update copyright year.
69675         * catgets/gencat.c: Likewise.
69676         * csu/version.c: Likewise.
69677         * debug/catchsegv.sh: Likewise.
69678         * debug/xtrace.sh: Likewise.
69679         * elf/ldconfig.c: Likewise.
69680         * elf/ldd.bash.in: Likewise.
69681         * elf/sprof.c (print_version): Likewise.
69682         * iconv/iconv_prog.c: Likewise.
69683         * iconv/iconvconfig.c: Likewise.
69684         * locale/programs/locale.c: Likewise.
69685         * locale/programs/localedef.c: Likewise.
69686         * malloc/memusage.sh: Likewise.
69687         * malloc/mtrace.pl: Likewise.
69688         * nscd/nscd.c (print_version): Likewise.
69689         * nss/getent.c: Likewise.
69691         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69692         PF_CAIF, and PF_ALG.
69693         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69695 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69697         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69698         (modules-names): Use them.
69699         (ifunc-test-modules, ifunc-pie-tests): Define.
69700         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69701         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69702         (test-extras): Likewise.
69703         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69704         $(compile-command.c).
69705         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69706         (all-built-dso): Define.
69707         (check-textrel.out, check-execstack.out): Depend on it.
69709         * configure.in: Don't override --enable-multi-arch.
69711 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69713         [BZ #6812]
69714         * nscd/hstcache.c (tryagain): Define.
69715         (cache_addhst): Return tryagain not notfound for temporary errors.
69716         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69717         failed.
69719 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69721         [BZ #10563]
69722         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69723         to make the syscall.
69724         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69726         [BZ #12378]
69727         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69728         and fall back to matching as normal character if the string ends before
69729         the matching ']' is found.  This is what POSIX requires.
69730         * posix/testfnm.c: Adjust test result.
69731         * posix/globtest.sh: Adjust test result.  Add new test.
69732         * posix/tst-fnmatch.input: Likewise.
69733         * posix/tst-fnmatch2.c: Add new test.
69735 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69737         * elf/Makefile (check-execstack): Revert last change.  Depend on
69738         check-execstack.h.
69739         (check-execstack.h): New target.
69740         (generated): Add check-execstack.h.
69741         * elf/check-execstack.c: Include "check-execstack.h".
69742         (main): Revert last change.
69743         (handle_file): Return zero if GNU_STACK is absent and
69744         DEFAULT_STACK_PERMS doesn't include PF_X.
69746 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69748         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69749         in child fails because the descriptor is already closed.
69750         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69751         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69752         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69754         [BZ #12397]
69755         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69756         syscall.
69758         [BZ #10484]
69759         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69760         temporary buffer used to handle multi lookups locally.
69761         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69763 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69765         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69766         loader is ld.so.
69768 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69770         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69771         alignment for SSE2.
69773 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69775         [BZ #12394]
69776         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69777         characters.  When rounding increased number of integer digits recompute
69778         number of groups.
69779         * stdio-common/tst-grouping.c: New file.
69780         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69782 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69784         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69785         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69787         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69788         void.
69789         * bits/select.h: Likewise.
69791 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69793         * po/ja.po: Update from translation team.
69795 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69797         [BZ #11155]
69798         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69799         implementation just like for lxstat, fxstatat, et al.
69801 2010-12-27  Jim Meyering  <meyering@redhat.com>
69803         [BZ #12348]
69804         * posix/regexec.c (build_trtable): Return failure indication upon
69805         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69807 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69809         [BZ #12201]
69810         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69811         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69812         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69813         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69815         [BZ #12207]
69816         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69818         [BZ #12204]
69819         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69820         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69822 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69824         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69825         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69826         script has SORT_BY_INIT_PRIORITY.
69827         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69828         NO_CTORS_DTORS_SECTIONS is defined.
69829         * elf/soinit.c: Likewise.
69830         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69831         NO_CTORS_DTORS_SECTIONS is defined.
69832         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69833         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69834         * sysdeps/sh/init-first.c: Likewise.
69835         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69837 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69839         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69840         always use the slow path.
69842 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69844         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69845         similar rule which adds the sysdep directories to the header search in
69846         order to pick up the correct platform stackinfo.h.
69847         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69848         perform test if it is, otherwise return successfully without testing.
69849         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69850         DEFAULT_STACK_PERMS define in stackinfo.h.
69851         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69852         defined in stackinfo.h.
69853         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69854         DEFAULT_STACK_PERMS defined in stackinfo.h.
69855         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69856         * sysdeps/ia64/stackinfo.h: Likewise.
69857         * sysdeps/s390/stackinfo.h: Likewise.
69858         * sysdeps/sh/stackinfo.h: Likewise.
69859         * sysdeps/sparc/stackinfo.h: Likewise.
69860         * sysdeps/x86_64/stackinfo.h: Likewise.
69861         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69862         PF_X for powerpc64.  Retain PF_X for powerpc32.
69864 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69866         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69867         accurately.
69868         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69869         GETDENTS_64BIT_ALIGNED.
69871 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69873         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69875 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69877         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69878         _GNU_SOURCE.
69880         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69881         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69882         Remove __restrict.
69883         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69884         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69886 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69888         [BZ #11655]
69889         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69890         are initialized.
69892 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69894         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69896 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69898         * po/it.po: Update from translation team.
69900 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69902         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69903         unused codes.
69905 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69907         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69909 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69911         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69912         specially.
69913         (gaih_getanswer_slice): Likewise.
69915 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69919 2010-05-31  Petr Baudis  <pasky@suse.cz>
69921         [BZ #11149]
69922         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69923         silently even in the chroot mode.
69925 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69927         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69928         last patch a bit.  Pretty printing
69930 2010-05-31  Petr Baudis <pasky@suse.cz>
69932         [BZ #10085]
69933         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69934         initialization of skip_initgroups_dyn.
69936 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69938         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69939         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69941 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69943         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69945 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69947         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69948         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69949         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69950         ($(objpfx)tst-fnmatch-mem): New rule.
69951         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69952         * posix/tst-fnmatch.c (main): Call mtrace.
69954 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69957         Support Intel processor model 6 and model 0x2c.
69959 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69961         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69962           signed comparison.
69964 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69966         [BZ #12205]
69967         * string/test-strncasecmp.c (check_result): New function.
69968         (do_one_test): Use it.
69969         (check1): New function.
69970         (test_main): Use it.
69971         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69972         Support strcasecmp and strncasecmp.
69974 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69976         [BZ #12194]
69977         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69978         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69980 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69982         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69983         IFUNC support.
69984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69985         memset-x86-64.
69986         * sysdeps/x86_64/multiarch/bzero.S: New file.
69987         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69988         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69989         * sysdeps/x86_64/multiarch/memset.S: New file.
69990         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69992         Set bit_Prefer_SSE_for_memop for Intel processors.
69993         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69994         Define.
69995         (index_Prefer_SSE_for_memop): Define.
69996         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69998 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70000         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70001         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70003 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70005         [BZ #12191]
70006         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70007         (__x86_64_raw_data_cache_size_half): Likewise.
70008         (__x86_64_raw_shared_cache_size): Likewise.
70009         (__x86_64_raw_shared_cache_size_half): Likewise.
70011         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70012         (__x86_64_raw_data_cache_size_half): Likewise.
70013         (__x86_64_raw_shared_cache_size): Likewise.
70014         (__x86_64_raw_shared_cache_size_half): Likewise.
70015         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70016         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70017         and __x86_64_raw_shared_cache_size_half.  Round
70018         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70019         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70020         to multiple of 256 bytes.
70022 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70024         [BZ #12167]
70025         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70026         of inacessible symlinks.  Verify result of symlink before returning it.
70027         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70028         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70030 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70032         * math/math.h (isinf): Fix typo in comment.
70034 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70036         * po/da.po: Update from translation team.
70038 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70040         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70041         is added to the list.
70043 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70044             Ulrich Drepper  <drepper@gmail.com>
70046         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70047         the global list here.  Move code to...
70048         (_dl_add_to_namespace_list): ...here.  New function.
70049         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70050         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70051         * elf/dl-load.c (lose): Don't remove the element from the list.
70052         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70053         (_dl_map_object): Likewise.
70055 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70057         [BZ #12159]
70058         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70059         into all bytes of SSE register.
70060         Patch by Richard Li <richardpku@gmail.com>.
70062 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70064         [BZ #12140]
70065         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70066         perturbing.
70068 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70070         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70071         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70072         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70073         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70075         submachine.
70076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70078 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70080         * include/dlfcn.h (__RTLD_SECURE): Define.
70081         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70082         mode & __RTLD_SECURE instead.
70083         (open_path): Rename preloaded parameter to secure.
70084         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70085         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70086         * elf/dl-deps.c (openaux): Likewise.
70087         * elf/rtld.c (struct map_args): Remove is_preloaded.
70088         (map_doit): Don't use it.
70089         (dl_main): Likewise.
70090         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70091         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70093 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70095         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70096         (sysd-rules-targets): Remove duplicates.
70097         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70098         rtld-%.$o dependency.
70100 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70102         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70103         _dl_map_object do it.
70105 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70107         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70108         fast fma builtins, define the macros in the C99 standard.
70109         (FP_FAST_FMAF): Likewise.
70110         (FP_FAST_FMAL): Likewise.
70111         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70113         * bits/mathdef.h: Update copyright year.
70114         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70116 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70118         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70119         builtins, define the macros in the C99 standard.
70120         (FP_FAST_FMAF): Likewise.
70121         (FP_FAST_FMAL): Likewise.
70122         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70123         multiply/add.
70124         (FP_FAST_FMAF): Likewise.
70126 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70128         [BZ #3268]
70129         * math/libm-test.inc (fma_test): Some new testcases.
70130         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70131         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70132         y and infinite z.  Do multiplication by C already in long double.
70133         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70134         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70135         y and infinite z.  Do bitwise or of inexact bit into u.d.
70136         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70137         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70138         * sysdeps/i386/fpu/s_fma.S: Removed.
70139         * sysdeps/i386/fpu/s_fmal.S: Removed.
70141 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70143         [BZ #3268]
70144         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70145         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70146         computation is not scheduled after fetestexcept.  Fix value
70147         of minimum denormal long double.
70149 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70151         [BZ #3268]
70152         * math/libm-test.inc (fma_test): Add some more tests.
70153         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70154         correctly.
70156 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70158         * scripts/data/localplt-s390-linux-gnu.data: New file.
70159         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70161 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70163         [BZ #3268]
70164         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70165         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70166         instead of dbl-64.
70167         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70168         inlines.
70169         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70171         if one of x and y is very large and the other is subnormal.
70172         * sysdeps/s390/fpu/s_fmaf.c: New file.
70173         * sysdeps/s390/fpu/s_fma.c: New file.
70174         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70175         * sysdeps/powerpc/fpu/s_fma.S: New file.
70176         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70177         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70178         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70180 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70182         [BZ #3268]
70183         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70184         fma tests.
70185         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70186         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70187         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70188         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70189         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70190         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70191         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70193 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70195         [BZ #12078]
70196         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70197         * posix/bug-regex31.input: Add test case.
70199 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70201         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70202         * posix/bug-regex31.input: New file.
70204         [BZ #12078]
70205         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70206         (parse_sub_exp): Fix last change, use postorder.
70208         * posix/bug-regex31.c: New file.
70209         * posix/Makefile: Add rules to build and run bug-regex31.
70211         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70213         [BZ #12078]
70214         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70216         [BZ #12108]
70217         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70218         to have entries in sys_siglist.
70220         [BZ #12093]
70221         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70222         be NULL.
70224 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70226         [BZ #3268]
70227         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70228         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70229         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70230         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70231         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70232         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70233         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70234         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70235         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70236         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70237         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70238         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70239         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70240         * math/ftestexcept.c (fetestexcept): Likewise.
70241         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70242         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70243         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70244         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70245         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70246         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70247         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70249 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70251         [BZ #12107]
70252         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70253         newline.
70255 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70257         * string/bug-strstr1.c: New file.
70258         * string/Makefile: Add rules to build and run bug-strstr1.
70260 2010-10-05  Eric Blake  <eblake@redhat.com>
70262         [BZ #12092]
70263         * string/str-two-way.h (two_way_long_needle): Always clear memory
70264         when skipping input due to the shift table.
70266 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70268         [BZ #12005]
70269         * malloc/mcheck.c: Handle large requests.
70271         [BZ #12077]
70272         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70273         for strncmp and strncasecmp.
70274         * string/stratcliff.c: Add tests for strcmp and strncmp.
70275         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70277 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70279         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70280         __set_fpscr.
70282 2010-09-30  Andreas Jaeger  <aj@suse.de>
70284         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70285         (CGROUP_SUPER_MAGIC): Define.
70286         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70287         Handle btrfs and cgroup file systems.
70288         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70289         Likewise.
70291 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70293         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70294         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70296 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70298         [BZ #12067]
70299         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70300         trying to locate the ELF header.
70302 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70304         [BZ #11611]
70305         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70306         Mask out sign-bit copies when constructing f_fsid.
70308 2010-09-24  Petr Baudis <pasky@suse.cz>
70310         * debug/stack_chk_fail_local.c: Add missing licence exception.
70311         * debug/warning-nop.c: Likewise.
70313 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70315         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70316         implementing getdents64 using getdents syscall, set d_type if
70317         __ASSUME_GETDENTS32_D_TYPE.
70319 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70321         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70322         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70324 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70326         [BZ #12037]
70327         * posix/unistd.h: Undo change of feature selection for ftruncate from
70328         2010-01-11.
70330 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70332         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70333         detection.
70335 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70337         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70338         fanotify_mark.
70339         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70341 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70343         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70344         variables after CHECK_SP call.
70345         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70347 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70348             Ulrich Drepper  <drepper@redhat.com>
70350         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70351         re-relocationg ld.so.
70352         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70353         _dl_init_paths call.
70354         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70355         here anymore.
70357 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70359         * resolv/res_init.c (__res_vinit): Count the default server we added.
70361 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70362             Ulrich Drepper  <drepper@redhat.com>
70364         [BZ #11968]
70365         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70366         (____longjmp_chk): Use %ebx for saving value across system call.
70367         Add unwind info.
70369 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70371         * manual/Makefile: Don't mix pattern rules with normal rules.
70373 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70375         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70376         operation.
70377         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70378         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70379         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70380         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70381         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70382         Likewise.
70384 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70386         [BZ #11979]
70387         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70388         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70390 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70392         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70393         * sysdeps/x86_64/addmul_1.S: Likewise.
70394         * sysdeps/x86_64/lshift.S: Likewise.
70395         * sysdeps/x86_64/mul_1.S: Likewise.
70396         * sysdeps/x86_64/rshift.S: Likewise.
70397         * sysdeps/x86_64/sub_n.S: Likewise.
70398         * sysdeps/x86_64/submul_1.S: Likewise.
70400 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70402         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70403         Define __sched_param instead of SCHED_* and sched_param when
70404         <bits/sched.h> is included with __need_schedparam defined.
70405         * bits/sched.h [__need_schedparam]
70406         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70407         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70408         (__defined_schedparam): Define to 1.
70409         (__sched_param): New structure, identical to sched_param.
70410         (__need_schedparam): Undefine.
70412 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70414         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70415         (epoll_create1): Declare.
70417         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70419 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70421         [BZ #7066]
70422         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70423         shifting retval into place.
70425 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70427         * nis/rpcsvc/nis.h: Update copyright notice.
70428         * nis/rpcsvc/nis.x: Likewise.
70429         * nis/rpcsvc/nis_callback.h: Likewise.
70430         * nis/rpcsvc/nis_callback.x: Likewise.
70431         * nis/rpcsvc/nis_object.x: Likewise.
70432         * nis/rpcsvc/nis_tags.h: Likewise.
70433         * nis/rpcsvc/yp.h: Likewise.
70434         * nis/rpcsvc/yp.x: Likewise.
70435         * nis/rpcsvc/ypupd.h: Likewise.
70436         * nis/yp_xdr.c: Likewise.
70437         * nis/ypupdate_xdr.c: Likewise.
70439         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70440         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70441         (pmap_getport): Use __libc_rpc_getport.
70442         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70443         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70444         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70446 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70449         fanotify_mark.
70451 2010-08-27  Roland McGrath  <roland@redhat.com>
70453         * sysdeps/i386/i686/multiarch/Makefile
70454         (CFLAGS-varshift.c): New variable.
70456 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70458         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70459         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70461         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70463         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70465 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70467         * sysdeps/x86_64/strlen.S: Unroll the loop.
70468         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70469         strlen-sse2 strlen-sse2-bsf.
70470         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70471         __strlen_no_bsf if bit_Slow_BSF is set.
70472         (__strlen_sse42): Removed.
70473         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70474         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70476 2010-08-25  Roland McGrath  <roland@redhat.com>
70478         * sysdeps/x86_64/multiarch/varshift.S: File removed.
70479         * sysdeps/x86_64/multiarch/varshift.c: New file.
70480         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70481         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70482         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70483         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70485 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
70487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70488         strlen-sse2 strlen-sse2-bsf.
70489         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70490         __strlen_sse2_bsf if bit_Slow_BSF is unset.
70491         (__strlen_sse2): Removed.
70492         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70493         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70495         bit_Slow_BSF for Atom.
70496         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70497         (index_Slow_BSF): Define.
70498         (HAS_SLOW_BSF): Define.
70500 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
70502         [BZ #10851]
70503         * resolv/res_init.c (__res_vinit): When no server address at all
70504         is given default to loopback.
70506 2010-08-24  Roland McGrath  <roland@redhat.com>
70508         * configure.in: Remove config-name.h generation.
70509         * configure: Regenerated.
70510         * config-name.in: File removed.
70511         * scripts/config-uname.sh: New file.
70512         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70513         ($(objdir)config-name.h): New target.
70515         * sunrpc/rpc_parse.h: Avoid nested comment.
70517 2010-08-24  Richard Henderson  <rth@redhat.com>
70518             Ulrich Drepper  <drepper@redhat.com>
70519             H.J. Lu  <hongjiu.lu@intel.com>
70521         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70523         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70524         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
70525         _mm_alignr_epi8 with _mm_loadu_si128.
70526         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70527         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70528         (__m128i_shift_right): Removed.
70529         * sysdeps/i386/i686/multiarch/varshift.h: New file.
70530         * sysdeps/i386/i686/multiarch/varshift.S: New file.
70531         * sysdeps/x86_64/multiarch/varshift.h: New file.
70532         * sysdeps/x86_64/multiarch/varshift.S: New file.
70534 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
70536         * configure.in: Move assembler checks to before sysdep dir checking.
70538 2010-08-20  Petr Baudis  <pasky@suse.cz>
70540         * LICENSES: Sync the sunrpc license.
70542 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70544         * sunrpc/auth_des.c: Update copyright notice once again.
70545         * sunrpc/auth_none.c: Likewise.
70546         * sunrpc/auth_unix.c: Likewise.
70547         * sunrpc/authdes_prot.c: Likewise.
70548         * sunrpc/authuxprot.c: Likewise.
70549         * sunrpc/bindrsvprt.c: Likewise.
70550         * sunrpc/clnt_gen.c: Likewise.
70551         * sunrpc/clnt_perr.c: Likewise.
70552         * sunrpc/clnt_raw.c: Likewise.
70553         * sunrpc/clnt_simp.c: Likewise.
70554         * sunrpc/clnt_tcp.c: Likewise.
70555         * sunrpc/clnt_udp.c: Likewise.
70556         * sunrpc/clnt_unix.c: Likewise.
70557         * sunrpc/des_crypt.c: Likewise.
70558         * sunrpc/des_soft.c: Likewise.
70559         * sunrpc/get_myaddr.c: Likewise.
70560         * sunrpc/getrpcport.c: Likewise.
70561         * sunrpc/key_call.c: Likewise.
70562         * sunrpc/key_prot.c: Likewise.
70563         * sunrpc/openchild.c: Likewise.
70564         * sunrpc/pm_getmaps.c: Likewise.
70565         * sunrpc/pm_getport.c: Likewise.
70566         * sunrpc/pmap_clnt.c: Likewise.
70567         * sunrpc/pmap_prot.c: Likewise.
70568         * sunrpc/pmap_prot2.c: Likewise.
70569         * sunrpc/pmap_rmt.c: Likewise.
70570         * sunrpc/rpc/auth.h: Likewise.
70571         * sunrpc/rpc/auth_unix.h: Likewise.
70572         * sunrpc/rpc/clnt.h: Likewise.
70573         * sunrpc/rpc/des_crypt.h: Likewise.
70574         * sunrpc/rpc/key_prot.h: Likewise.
70575         * sunrpc/rpc/netdb.h: Likewise.
70576         * sunrpc/rpc/pmap_clnt.h: Likewise.
70577         * sunrpc/rpc/pmap_prot.h: Likewise.
70578         * sunrpc/rpc/pmap_rmt.h: Likewise.
70579         * sunrpc/rpc/rpc.h: Likewise.
70580         * sunrpc/rpc/rpc_des.h: Likewise.
70581         * sunrpc/rpc/rpc_msg.h: Likewise.
70582         * sunrpc/rpc/svc.h: Likewise.
70583         * sunrpc/rpc/svc_auth.h: Likewise.
70584         * sunrpc/rpc/types.h: Likewise.
70585         * sunrpc/rpc/xdr.h: Likewise.
70586         * sunrpc/rpc_clntout.c: Likewise.
70587         * sunrpc/rpc_cmsg.c: Likewise.
70588         * sunrpc/rpc_common.c: Likewise.
70589         * sunrpc/rpc_cout.c: Likewise.
70590         * sunrpc/rpc_dtable.c: Likewise.
70591         * sunrpc/rpc_hout.c: Likewise.
70592         * sunrpc/rpc_main.c: Likewise.
70593         * sunrpc/rpc_parse.c: Likewise.
70594         * sunrpc/rpc_parse.h: Likewise.
70595         * sunrpc/rpc_prot.c: Likewise.
70596         * sunrpc/rpc_sample.c: Likewise.
70597         * sunrpc/rpc_scan.c: Likewise.
70598         * sunrpc/rpc_scan.h: Likewise.
70599         * sunrpc/rpc_svcout.c: Likewise.
70600         * sunrpc/rpc_tblout.c: Likewise.
70601         * sunrpc/rpc_util.c: Likewise.
70602         * sunrpc/rpc_util.h: Likewise.
70603         * sunrpc/rpcinfo.c: Likewise.
70604         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70605         * sunrpc/rpcsvc/key_prot.x: Likewise.
70606         * sunrpc/rpcsvc/klm_prot.x: Likewise.
70607         * sunrpc/rpcsvc/mount.x: Likewise.
70608         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70609         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70610         * sunrpc/rpcsvc/rex.x: Likewise.
70611         * sunrpc/rpcsvc/rstat.x: Likewise.
70612         * sunrpc/rpcsvc/rusers.x: Likewise.
70613         * sunrpc/rpcsvc/sm_inter.x: Likewise.
70614         * sunrpc/rpcsvc/spray.x: Likewise.
70615         * sunrpc/rpcsvc/yppasswd.x: Likewise.
70616         * sunrpc/rtime.c: Likewise.
70617         * sunrpc/svc.c: Likewise.
70618         * sunrpc/svc_auth.c: Likewise.
70619         * sunrpc/svc_authux.c: Likewise.
70620         * sunrpc/svc_raw.c: Likewise.
70621         * sunrpc/svc_run.c: Likewise.
70622         * sunrpc/svc_simple.c: Likewise.
70623         * sunrpc/svc_tcp.c: Likewise.
70624         * sunrpc/svc_udp.c: Likewise.
70625         * sunrpc/svc_unix.c: Likewise.
70626         * sunrpc/svcauth_des.c: Likewise.
70627         * sunrpc/xcrypt.c: Likewise.
70628         * sunrpc/xdr.c: Likewise.
70629         * sunrpc/xdr_array.c: Likewise.
70630         * sunrpc/xdr_float.c: Likewise.
70631         * sunrpc/xdr_mem.c: Likewise.
70632         * sunrpc/xdr_rec.c: Likewise.
70633         * sunrpc/xdr_ref.c: Likewise.
70634         * sunrpc/xdr_sizeof.c: Likewise.
70635         * sunrpc/xdr_stdio.c: Likewise.
70637         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
70638         handling.
70640 2010-08-19  Andreas Schwab  <schwab@redhat.com>
70642         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
70644 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
70646         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
70647         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
70648         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
70649         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
70650         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70651         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70652         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70653         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70654         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70655         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70656         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70657         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70658         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70659         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70661 2010-07-26  Anton Blanchard  <anton@samba.org>
70663         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70664         * malloc/arena.c (heap_trim): Likewise.
70666 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70668         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70669         here.  Not...
70670         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70671         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70673 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70675         * sysdeps/i386/elf/Makefile: New file.
70677 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70679         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70680         from fanotify_init.
70681         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70682         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70684 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70686         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70687         of strncasecmp_l.
70688         * sysdeps/multiarch/strcmp.S: Likewise.
70690 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70692         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70693         strncase_l-nonascii.
70694         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70695         Add strncase_l-ssse3.
70696         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70697         * sysdeps/x86_64/strcmp.S: Likewise.
70698         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70699         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70700         * sysdeps/x86_64/strncase.S: New file.
70701         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70702         * sysdeps/x86_64/strncase_l.S: New file.
70703         * string/Makefile (strop-tests): Add strncasecmp.
70704         * string/test-strncasecmp.c: New file.
70706         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70707         warning.
70709         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70710         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70712 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70714         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70716 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70718         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70719         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70720         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70722 2010-05-01  Alan Modra  <amodra@gmail.com>
70724         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70725         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70726         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70727         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70728         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70729         tidying.  Don't tail-call __sigjmp_save for static lib.
70730         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70731         save location.
70732         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70733         (CALL_MCOUNT): Add eh info, and nop after bl.
70734         (TAIL_CALL_SYSCALL_ERROR): New macro.
70735         (PSEUDO_RET): Use it.
70736         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70737         Correct save location of integer regs and cr.
70738         (_dl_profile_resolve): Correct cr save location.  Delete nops
70739         after bl when SHARED.  Reduce cfi size a little by better
70740         placement of cfi directives.
70741         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70742         make a stack frame.  Instead use parm save area as a temp.
70743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70744         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70746         Don't make a stack frame for parent, use parm save area.
70747         Increase child stack frame to 112 bytes.  Don't save unused reg,
70748         and adjust reg usage.  Set up cfi on error recovery and
70749         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70751         (__makecontext): Add dummy nop after jump to exit.
70752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70753         Use correct parm save area and cr save, reduce stack frame.
70754         Correct cfi for possible PSEUDO_RET frame setup.
70755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70756         Branch to local label emitted by PSEUDO_RET rather than
70757         __syscall_error.
70759 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70761         [BZ #11904]
70762         * locale/programs/locale.c (print_assignment): New function.
70763         (show_locale_vars): Use it.
70765 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70767         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70768         field.
70769         (struct statfs64): Likewise.
70770         (_STATFS_F_FLAGS): Define.
70771         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70772         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70773         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70774         (ST_VALID): Define locally.
70775         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70776         __statvfs_getflags, use the provided value.
70777         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70778         __ASSUME_STATFS_F_FLAGS.
70780         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70782         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70783         Add sys/fanotify.h.
70784         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70785         fanotify_mask for GLIBC_2.13.
70786         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70787         fanotify_init and fanotify_mark.
70788         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70789         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70791         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70792         Add prlimit.
70793         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70794         prlimit64 for GLIBC_2.13.
70795         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70796         prlimit64.
70797         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70798         syscall.
70799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70800         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70801         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70802         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70803         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70804         add prlimit alias.
70805         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70807         [BZ #11903]
70808         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70809         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70811         * nss/Makefile: Add rules to build and run tst-nss-test1.
70812         * shlib-versions: Add entry for libnss_test1.
70813         * nss/nss_test1.c: New file.
70814         * nss/tst-nss-test1.c: New file.
70816         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70817         (__nss_configure_lookup): Set appropriate entry in
70818         __nss_configure_lookup to true.
70819         * nss/nsswitch.h: Define enum with indeces of databases in
70820         databases and __nss_database_custom arrays.  Declare
70821         __nss_database_custom.
70822         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70823         to avoid using nscd when custom rules are installed.
70824         * nss/getXXbyYY_r.c: Likewise.
70825         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70827         * nss/nss_files/files-parse.c: Whitespace fixes.
70829 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70831         [BZ #11883]
70832         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70833         * posix/fnmatch_loop.c: Likewise.
70835 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70837         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70838         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70839         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70840         * Versions.def [GLIBC_2.13]: Add.
70842 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70844         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70845         Also fail if tpwd after pwuid call is NULL.
70847 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70849         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70850         when converting to ms.
70852 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70854         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70855         EOPNOTSUPP errors with ENOTTY.
70856         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70857         EOPNOTSUPP errors with ENOTTY.
70859 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70861         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70862         Add strcasecmp_l-ssse3.
70863         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70864         strcasecmp.
70865         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70866         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70867         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70869 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70871         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70873         * string/Makefile (strop-tests): Add strcasecmp.
70874         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70875         strcasecmp_l-nonascii.
70876         (gen-as-const-headers): Add locale-defines.sym.
70877         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70878         * sysdeps/x86_64/strcasecmp.S: New file.
70879         * sysdeps/x86_64/strcasecmp_l.S: New file.
70880         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70881         * sysdeps/x86_64/locale-defines.sym: New file.
70882         * string/test-strcasecmp.c: New file.
70884         * string/test-strcasestr.c: Test both ends of the range of characters.
70885         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70887 2010-07-29  Roland McGrath  <roland@redhat.com>
70889         [BZ #11856]
70890         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70892 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70894         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70895         for ld.so.
70897 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70899         * manual/memory.texi (Malloc Tunable Parameters): Document
70900         M_PERTURB.
70902 2010-07-26  Roland McGrath  <roland@redhat.com>
70904         [BZ #11840]
70905         * configure.in (-fgnu89-inline check): Set and substitute
70906         gnu89_inline, not libc_cv_gnu89_inline.
70907         * configure: Regenerated.
70908         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70910 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70912         * string/test-strnlen.c: New file.
70913         * string/Makefile (strop-tests): Add strnlen.
70914         * string/tester.c (test_strnlen): Add a few more test cases.
70915         * string/tst-strlen.c: Better error reporting.
70917         * sysdeps/x86_64/strnlen.S: New file.
70919 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70921         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70922         lower-latency instructions.
70924 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70926         * string/test-strcasestr.c: New file.
70927         * string/test-strstr.c: New file.
70928         * string/Makefile (strop-tests): Add strstr and strcasestr.
70929         * string/str-two-way.h: Don't undefine MAX.
70930         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70932 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70934         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70935         strcasestr-nonascii.
70936         (CFLAGS-strcasestr-nonascii.c): Define.
70937         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70938         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70939         Remove unused attribute.
70941 2010-07-20  Roland McGrath  <roland@redhat.com>
70943         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70944         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70945         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70946         like LD_HWCAP_MASK can disable hwcaps.
70948 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70950         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70952 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70954         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70955         call in strcasestr.
70956         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70957         __strcasestr_sse42_nonascii.
70958         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70959         strcasestr-nonascii.c.
70960         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70962 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70964         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70965         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70966         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70967         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70969 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70971         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70972         fcntl.
70974 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70976         [BZ #11577]
70977         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70978         dl_signal_cerror.
70980 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70982         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70983         _PC_PIPE_BUF using F_GETPIPE_SZ.
70985 2010-07-05  Roland McGrath  <roland@redhat.com>
70987         * manual/arith.texi (Rounding Functions): Fix rint description
70988         implicit in round description.
70990 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70992         * elf/Makefile: Fix linking for a few tests to make recent linker
70993         happy.
70995 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70997         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70998         $(common-objpfx)libc_nonshared.a.
71000 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71002         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71003         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71004         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71005         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71006         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71007         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71008         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71009         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71024         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71025         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71026         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71027         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71028         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71029         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71030         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71031         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71032         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71033         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71034         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71035         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71051 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71053         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71054         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71055         * string/memmove.c (memmove): Renamed to ...
71056         (MEMMOVE): ...this.  Default to memmove.
71057         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71058         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71059         (END_CHK): Define.
71060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71061         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71062         mempcpy-ssse3-back memmove-ssse3-back.
71063         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71064         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71065         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71066         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71067         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71068         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71069         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71070         * sysdeps/x86_64/multiarch/memmove.c: New file.
71071         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71072         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71073         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71074         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71075         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71076         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71077         Define.
71078         (index_Fast_Copy_Backward): Define.
71079         (HAS_ARCH_FEATURE): Define.
71080         (HAS_FAST_REP_STRING): Define.
71081         (HAS_FAST_COPY_BACKWARD): Define.
71083 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71085         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71086         Restore proper fallback handling.
71088 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71090         [BZ #11701]
71091         * posix/group_member.c (__group_member): Correct checking loop.
71093         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71094         OOM in getpwuid_r correctly.  Return error number when the caller
71095         should return, otherwise -1.
71096         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71097         call returning > 0 value.
71098         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71100 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71102         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71103         libc_nonshared.a from targets in modules-names.
71105 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71107         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71108         requires it.
71110 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71112         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71113         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71114         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71115         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71117 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71119         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71121 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71123         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71124         and F_GETPIPE_SZ.
71125         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71126         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71128         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71129         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71130         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71132 2010-06-14  Roland McGrath  <roland@redhat.com>
71134         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71136 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71138         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71139         __REDIRECT followed by __THROW.
71140         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71141         * posix/getopt.h (getopt): Likewise.
71143 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71145         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71146         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71147         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71148         in AT_FLAGS.
71149         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71150         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71152 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71154         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71156 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71158         [BZ #11640]
71159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71160         Properly check family and model.
71162 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71164         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71166 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71168         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71170 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71172         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71173         symbol reference.
71175 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71177         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71178         symbol reference.
71180 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71182         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71183         and internal_recvmmsg.
71184         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71185         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71186         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71187         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71189         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71190         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71191         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71193 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71195         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71197 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71199         POWER7 optimizations.
71200         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71201         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71203 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71205         * version.h: Update for 2.13 development version.
71207 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71209         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71210         exceptions.  Return 0.
71212 2010-05-07  Roland McGrath  <roland@redhat.com>
71214         * elf/ldconfig.c (main): Add a const.
71216 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71218         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71219         (args_options): Add no-idn option.
71220         (ahosts_keys_int): Add idn_flags to ai_flags.
71221         (parse_option): Handle 'i' option to clear idn_flags.
71223         * malloc/malloc.c (_int_free): Possible race in the most recently
71224         added check.  Only act on the data if no current modification
71225         happened.
71227 See ChangeLog.17 for earlier changes.