Fix a typo in linux lxstat.c
[glibc.git] / ChangeLog
blob64ef2aebd2f27ff057002dbac88330f19f552abe
1 2015-08-21  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Fix a typo.
5 2015-08-21  H.J. Lu  <hongjiu.lu@intel.com>
7         * sysdeps/unix/sysdep.h (INLINE_SYSCALL_RETURN): New.
8         (INLINE_SYSCALL_ERROR_RETURN): Likewise.
9         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10         INLINE_SYSCALL_RETURN and INLINE_SYSCALL_ERROR_RETURN.
11         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12         Likewise.
13         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
15         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18         * sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Likewise.
19         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Likewise.
20         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
21         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Likewise.
25         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28         Likewise.
29         * sysdeps/unix/sysv/linux/getpriority.c (__getpriority): Likewise.
30         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Likewise.
31         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
33         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
36         * sysdeps/unix/sysv/linux/mq_close.c (mq_close): Likewise.
37         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
38         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
40         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
41         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
42         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
43         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
44         * sysdeps/unix/sysv/linux/reboot.c (reboot): Likewise.
45         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
46         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
47         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
48         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
49         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
50         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
52         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
53         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
54         * sysdeps/unix/sysv/linux/sigprocmask.c ( __sigprocmask): Likewise.
55         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
57         * sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Likewise.
58         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
59         * sysdeps/unix/sysv/linux/tcsendbrk.c (tcsendbreak): Likewise.
60         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
61         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
62         Likewise.
63         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
64         Likewise.
65         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
66         Likewise.
67         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
68         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
69         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
70         * sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.
71         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
72         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
73         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
74         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
75         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
76         (__xstat64_conv): Likewise.
77         (__xstat32_conv): Likewise.
78         * sysdeps/unix/sysv/linux/sched_getaffinity.c
79         (__sched_getaffinity_new): Add libc_hidden_proto and
80         libc_hidden_def.  Use INLINE_SYSCALL_ERROR_RETURN.
82 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
84         * timezone/Makefile (CFLAGS-zdump.c): Remove
85         -Wno-strict-prototypes.
86         (CFLAGS-zic.c): Likewise.
87         (CFLAGS-ialloc.c): Likewise.
88         (CFLAGS-scheck.c): Likewise.
90         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
91         -Wno-error=undef.
93 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
95         * i386/i686/multiarch/strcasestr-c.c: Removed.
96         * x86_64/multiarch/strcasestr.c: Likewise.
97         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
98         Remove strcasestr.
100 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
102         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
104         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
105         variables for high and low parts before possibly modifying them.
107 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
109         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
110         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
111         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
112         of "multiarch/init-arch.h".
113         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
114         * sysdeps/x86/init-arch.h: This.
116 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
118         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
119         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
121 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
123         [BZ #17787]
124         * manual/macros.texi: Add twoexp macro.
125         * manual/filesys.texi: Fix exponents.
126         * manual/llio.texi: Likewise.
127         * manual/stdio.texi: Likewise.
129 2015-08-20  Florian Weimer  <fweimer@redhat.com>
131         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
132         incorrect use.
134 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
136         [BZ #18370]
137         * math/s_csqrt.c (__csqrt): Force underflow exception for results
138         whose real or imaginary part has small absolute value.
139         * math/s_csqrtf.c (__csqrtf): Likewise.
140         * math/s_csqrtl.c (__csqrtl): Likewise.
141         * math/auto-libm-test-in: Add more tests of csqrt.
142         * math/auto-libm-test-out: Regenerated.
143         * sysdeps/i386/fpu/libm-test-ulps: Update.
145 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
147         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
148         __ppc_set_ppr_very_low): New functions.
149         * manual/platform.texi: Add documentation about
150         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
152 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
154         * string/stpncpy.c (stpncpy): Improve performance using
155         __strnlen/memcpy/memset.
157 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
159         [BZ #18796]
160         * scripts/test-installation.pl: Don't add -lmvec to build options if
161         libmvec wasn't built.
163 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
165         [BZ #14341]
166         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
167         case when there is a gap between DT_REL and DT_JMPREL sections.
168         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
169         (LDFLAGS-tst-split-dynreloc): New.
170         (tst-split-dynreloc-ENV): Likewise.
171         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
172         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
174 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
176         [BZ #18822]
177         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
178         attribute_hidden.
179         (__xstat64_conv): Likewise.
180         (__xstat32_conv): Likewise.
182 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
184         [BZ #18822]
185         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
186         Don't load %ebx when calling __setcontext.  Call __setcontext
187         with HIDDEN_JUMPTARGET.
188         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
189         libc_hidden_def.
191 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
193         * sysdeps/i386/i686/Makefile
194         [$(subdir) == string] (sysdep_routines): Moved to ...
195         * sysdeps/i386/Makefile: Here.
196         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
197         * sysdeps/i386/cacheinfo.c: Here.
198         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
199         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
200         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
201         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
203 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
205         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
206         __i586__ is defined.
207         (HAS_I686): Defined to 1 if __i686__ is defined.
209 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
211         * elf/Makefile [$(have-z-execstack) = yes]
212         (CPPFLAGS-tst-execstack.c): New variable.
214         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
215         conditional to [defined UTMPX || _HAVE_UT_TYPE].
216         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
217         UTMPX || _HAVE_UT_TV].
218         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
219         UTMPX || _HAVE_UT_TV - 0].
221 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
223         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
224         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
225         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
227 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
229         * sysdeps/powerpc/dl-procinfo.c:
230         (_dl_powerpc_cap_flags): Added missing strings for some
231         hwcap features.
232         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
234 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
236         Port the 0x7efe...feff pattern to GCC 6.
237         See Steve Ellcey's bug report in:
238         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
239         * string/memrchr.c (MEMRCHR):
240         * string/rawmemchr.c (RAWMEMCHR):
241         * string/strchr.c (strchr):
242         * string/strchrnul.c (STRCHRNUL):
243         Rewrite code to avoid issues with signed shift overflow.
245 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
247         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
248         whether cpuid is available only if HAS_CPUID is 0.
249         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
250         (HAS_I586): Likewise.
251         (HAS_I686): Likewise.
253 2015-08-18  Zack Weinberg  <zackw@panix.com>
255         * misc/Versions (libc): Add GLIBC_2.23.
257 2015-08-18  Alan Modra  <amodra@gmail.com>
259         [BZ #18421]
260         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
261         .Lp__global.
262         (_start): Load %dp via .Lp__global.
263         [!SHARED]: Use .section .rodata.
265 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
267         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
268         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
270 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
272         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
273         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
275 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
277         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
278         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
280 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
282         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
283         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
285 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
287         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
288         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
290 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
292         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
293         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
295 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
297         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
299 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
301         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
302         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
303         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
304         (__ASSUME_LWS_CAS): Delete.
306 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
308         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
309         * sysdeps/hppa/configure: Regenerated.
310         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
311         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
312         * sysdeps/hppa/nptl/tls.h: Likewise.
314 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
316         [BZ #18823]
317         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
318         for scaling up small arguments.
319         * math/s_csqrtf.c (__csqrtf): Likewise.
320         * math/s_csqrtl.c (__csqrtl): Likewise.
321         * math/auto-libm-test-in: Add more tests of csqrt.
322         * math/auto-libm-test-out: Regenerated.
324 2015-08-17  Andreas Schwab  <schwab@suse.de>
326         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
327         version set GLIBC_2.19.
329 2015-08-16  Zack Weinberg  <zackw@panix.com>
331         [BZ #18681]
332         * misc/regexp.h: This interface is no longer supported.
333         Remove all contents, leaving only an #error directive.
334         * misc/regexp.c (loc1, loc2, locs, step, advance):
335         Demote to compatibility symbols.
337 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
339         [BZ #18084]
340         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
341         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
342         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
343         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
344         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
345         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
346         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
347         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
348         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
350 2015-08-15  Zack Weinberg  <zackw@panix.com>
352         [BZ #18795]
353         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
354         buffer length is known to be too large, not if it's known to be
355         small enough.
356         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
357         overflow at runtime, involving a length parameter, twice: once
358         with a compile-time constant length parameter, once without.
360 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
362         [BZ #18824]
363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
364         scaling x * y up instead of down.
365         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
366         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
367         * math/auto-libm-test-in: Add more tests of fma.
368         * math/auto-libm-test-out: Regenerated.
370 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
372         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
374 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
376         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
377         unnecessary movq.
378         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
379         Likewise.
381 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
383         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
384         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
385         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
386         and tgamma.
387         * math/auto-libm-test-out: Regenerated.
388         * sysdeps/i386/fpu/libm-test-ulps: Update.
389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
391         [BZ #16520]
392         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
393         (__tanh): Force underflow exception for arguments with small
394         absolute value.
395         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
396         (__tanhf): Force underflow exception for arguments with small
397         absolute value.
398         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
399         (__tanhl): Force underflow exception for arguments with small
400         absolute value.
401         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
402         (__tanhl): Force underflow exception for arguments with small
403         absolute value.
404         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
405         (__tanhl): Force underflow exception for arguments with small
406         absolute value.
407         * math/auto-libm-test-in: Add more tests of tanh.
408         * math/auto-libm-test-out: Regenerated.
409         * sysdeps/i386/fpu/libm-test-ulps: Update.
411 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
413         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
414         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
416 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
418         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
419         <cpuid.h>.
421 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
423         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
424         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
426 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
428         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
429         Remove $(objpfx)init-arch.o.
430         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
431         init-arch.
432         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
433         (INIT_ARCH_EXT): Defined as empty.
434         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
435         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
436         __init_cpu_features call.  Replace HAS_XXX with
437         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
438         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
439         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
440         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
441         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
442         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
443         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
444         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
445         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
446         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
447         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
448         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
449         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
450         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
451         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
452         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
453         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
454         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
455         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
456         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
457         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
458         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
459         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
460         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
461         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
462         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
463         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
464         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
465         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
466         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
467         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
468         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
469         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
470         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
471         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
472         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
474 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
476         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
477         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
478         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
479         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
480         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
481         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
482         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
483         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
484         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
485         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
486         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
487         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
488         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
489         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
490         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
491         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
492         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
493         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
494         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
495         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
496         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
497         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
498         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
499         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
500         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
501         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
502         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
503         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
504         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
505         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
506         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
507         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
508         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
509         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
510         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
511         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
512         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
513         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
514         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
515         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
516         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
517         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
518         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
520 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
522         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
523         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
524         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
525         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
526         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
527         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
528         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
529         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
530         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
531         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
532         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
533         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
534         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
535         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
536         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
537         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
538         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
539         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
540         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
541         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
543         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
544         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
545         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
546         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
547         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
548         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
549         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
550         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
551         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
552         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
553         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
554         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
555         * sysdeps/x86_64/multiarch/memset.S: Likewise.
556         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
557         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
558         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
559         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
560         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
561         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
562         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
563         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
564         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
566 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
568         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
569         (dl_platform_init): Call init_cpu_features.
570         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
571         * sysdeps/i386/i686/cacheinfo.c
572         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
573         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
574         * sysdeps/i386/i686/multiarch/Versions: Removed.
575         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
576         Removed.
577         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
578         * sysdeps/unix/sysv/linux/x86/Makefile
579         (libpthread-sysdep_routines): Remove init-arch.
580         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
581         <sysdeps/x86_64/dl-procinfo.c> instead of
582         sysdeps/generic/dl-procinfo.c>.
583         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
584         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
585         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
586         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
587         [$(subdir) == elf] (tests-static): Add
588         tst-get-cpu-features-static.
589         * sysdeps/x86/Versions: New file.
590         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
591         * sysdeps/x86/cpu-features.c: Likewise.
592         * sysdeps/x86/cpu-features.h: Likewise.
593         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
594         * sysdeps/x86/libc-start.c: Likewise.
595         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
596         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
597         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
598         * sysdeps/x86_64/dl-procinfo.c: Likewise.
599         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
600         Assume USE_MULTIARCH is defined and don't check it.
601         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
602         (is_amd): Likewise.
603         (max_cpuid): Likewise.
604         (intel_check_word): Likewise.
605         (__cache_sysconf): Don't call __init_cpu_features.
606         (__x86_preferred_memory_instruction): Removed.
607         (init_cacheinfo): Don't call __init_cpu_features. Replace
608         __cpu_features with GLRO(dl_x86_cpu_features).
609         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
610         (dl_platform_init): Call init_cpu_features.
611         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
612         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
613         * sysdeps/x86_64/multiarch/Versions: Removed.
614         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
615         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
616         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
617         Removed.
618         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
620 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
622         [BZ #18820]
623         * libio/Makefile (test-fmemopen-mem): New test.
624         * libio/test-fmemopen.c (do_bz18820): New test.
625         * libio/fmemopen.c (__fmemopen): Fix memory leak.
626         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
628 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
630         [BZ #16734]
631         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
632         (FREE_BUF): Delete.
633         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
634         * libio/genops.c (_IO_setb): Use malloc and free directly.
635         (_IO_default_doallocate, _IO_default_finish): Likewise.
636         ( _IO_unbuffer_all): Likewise.
637         ( libc_freeres_fn): Likewise.
638         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
639         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
640         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
641         (_IO_wdefault_doallocate): Likewise.
643 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
645         [BZ #18086]
646         * sysdeps/posix/nice.c (nice): Restore old errno.
647         * posix/tst-nice.c (do_test): Add test for BZ #18086.
649 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
651         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
653 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
655         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
656         __bcopy and add a weak_alias to bcopy.
657         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
658         for static build.
660         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
661         cleanup macro usage.
662         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
663         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
664         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
665         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
666         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
667         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
668         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
669         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
670         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
671         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
673         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
675         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
676         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
677         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
678         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
679         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
680         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
682         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
683         libc_hidden_def.
684         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
686         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
687         (sysdep_routines): Add strstr-ppc64.
688         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
690 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
692         [BZ #18778]
693         * elf/Makefile (tests): Add Add tst-nodelete2.
694         (modules-names): Add tst-nodelete2mod.
695         (tst-nodelete2mod.so-no-z-defs): New.
696         ($(objpfx)tst-nodelete2): Likewise.
697         ($(objpfx)tst-nodelete2.out): Likewise.
698         (LDFLAGS-tst-nodelete2): Likewise.
699         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
700         out of loop through all loaded libraries.
701         * elf/tst-nodelete2.c: New file.
702         * elf/tst-nodelete2mod.c: Likewise.
704 2015-08-11  Andreas Schwab  <schwab@suse.de>
706         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
707         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
708         (__openat64_nocancel): Likewise.
710 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
712         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
713         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
714         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
715         * math/auto-libm-test-out: Regenerated.
716         * sysdeps/i386/fpu/libm-test-ulps: Update.
717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
719 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
721         [BZ #18790]
722         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
723         threshold for returning +/- 1.
724         * math/auto-libm-test-in: Add more tests of tanh.
725         * math/auto-libm-test-out: Regenerated.
726         * sysdeps/i386/fpu/libm-test-ulps: Update.
728 2015-08-10  Andreas Schwab  <schwab@suse.de>
730         [BZ #18781]
731         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
732         MORE_OFLAGS to oflag.
733         * io/test-lfs.c (do_test): Test openat64.
735 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
737         [BZ #18789]
738         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
739         smaller threshold for returning the argument.
740         * math/auto-libm-test-in: Add more tests of sinh.
741         * math/auto-libm-test-out: Regenerated.
742         * sysdeps/i386/fpu/libm-test-ulps: Update.
744 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
746         [BZ #18674]
747         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
748         break.
750 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
752         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
753         (generated): Don't add $(addprefix z.,$(tzfiles)).
755 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
757         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
758         * scripts/sysd-rules.awk: Likewise.
760 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
762         * iconvdata/tst-tables.sh: Change echo -n to printf.
763         * nss/db-Makefile: Likewise.
764         * posix/tst-getconf.sh: Likewise.
765         * stdio-common/tst-unbputc.sh: Likewise.
767 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
769         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
770         MADV_*_PAGES defines behind this feature check.
772 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
774         [BZ #18480]
775         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
776         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
777         Define.
778         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
779         LOAD_REGS_5, LOAD_REGS_6): Update.
780         (INTERNAL_SYSCALL): Update using new LOAD defines.
781         (INTERNAL_SYSCALL_NCS): Likewise.
782         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
784 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
786         [BZ #16734]
787         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
789 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
791         [BZ #17905]
792         * catgets/Makefile (tst-catgets-mem): New test.
793         * catgets/catgets.c (catopen): Don't use unbounded alloca.
794         * catgets/open_catalog.c (__open_catalog): Likewise.
795         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
797 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
799         [BZ #18787]
800         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
801         clobber registers.
802         (atomic_compare_and_exchange_val_acq): Use register asms to assign
803         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
804         Cast return to __typeof (oldval).
806 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
808         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
809         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
810         and delete sys/syscall.h include.
812 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
814         [BZ #16517]
815         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
816         (tan): Force underflow exception for arguments with small absolute
817         value.
818         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
819         (__kernel_tanf): Force underflow exception for arguments with
820         small absolute value.
821         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
822         (__kernel_tanl): Force underflow exception for arguments with
823         small absolute value.
824         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
825         (__kernel_tanl): Force underflow exception for arguments with
826         small absolute value.
827         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
828         (__kernel_tanl): Force underflow exception for arguments with
829         small absolute value.
830         * math/auto-libm-test-in: Add more tests of tan.
831         * math/auto-libm-test-out: Regenerated.
833 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
835         Fix sysdeps/i386/fpu/s_scalbn.S build
837         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
839 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
841         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
843 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
845         Fix gcrt0.o compilation
847         When static-start-installed-name is different from
848         start-installed-name, we must not use the shared objects.
850         * csu/Makefile
851         (extra-objs): Add gmon-start.o when building shared library and
852         $(static-start-installed-name) is different from
853         $(start-installed-name).
854         $(objpfx)g$(static-start-installed-name): When building shared
855         library and $(static-start-installed-name) is different from
856         $(static-start-installed-name), revert to non-shared rule,
857         i.e. using $(objpfx)% and gmon-start.o.
859 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
861         [BZ #16519]
862         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
863         (__ieee754_sinh): Force underflow exception for arguments with
864         small absolute value.
865         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
866         (__ieee754_sinhf): Force underflow exception for arguments with
867         small absolute value.
868         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
869         (__ieee754_sinhl): Force underflow exception for arguments with
870         small absolute value.
871         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
872         (__ieee754_sinhl): Force underflow exception for arguments with
873         small absolute value.
874         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
875         (__ieee754_sinhl): Force underflow exception for arguments with
876         small absolute value.
877         * math/auto-libm-test-in: Add more tests of sinh.
878         * math/auto-libm-test-out: Regenerated.
879         * sysdeps/i386/fpu/libm-test-ulps: Update.
881 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
883         * libio/oldfileops.c: Include unistd.h.
885 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
887         * stdlib/isomac.c: Include ctype.h.
889 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
891         * dirent/tst-seekdir.c (main): Converted to ...
892         (do_test): ... this.
893         (TEST_FUNCTION): New macro.
894         Include test-skeleton.c.
895         * elf/tst-dlmodcount.c (main): Converted to ...
896         (do_test): ... this.
897         (TEST_FUNCTION): New macro.
898         Include test-skeleton.c.
899         * elf/tst-order-main.c (main): Converted to ...
900         (do_test): ... this.
901         (TEST_FUNCTION): New macro.
902         Include test-skeleton.c.
903         * elf/tst-pie2.c (main): Converted to ...
904         (do_test): ... this.
905         (TEST_FUNCTION): New macro.
906         Include test-skeleton.c.
907         * inet/tst-ether_aton.c (main): Converted to ...
908         (do_test): ... this.
909         (TEST_FUNCTION): New macro.
910         Include test-skeleton.c.
911         * misc/tst-mntent.c (main): Converted to ...
912         (do_test): ... this.
913         (TEST_FUNCTION): New macro.
914         Include test-skeleton.c.
915         * misc/tst-tsearch.c (main): Converted to ...
916         (do_test): ... this.
917         (TEST_FUNCTION): New macro.
918         Include test-skeleton.c.
919         * posix/tst-regexloc.c (main): Converted to ...
920         (do_test): ... this.
921         (TEST_FUNCTION): New macro.
922         Include test-skeleton.c.
923         * resolv/tst-aton.c (main): Converted to ...
924         (do_test): ... this.
925         (TEST_FUNCTION): New macro.
926         Include test-skeleton.c.
927         * stdio-common/test-fwrite.c (main): Converted to ...
928         (do_test): ... this.
929         (TEST_FUNCTION): New macro.
930         Include test-skeleton.c.
931         * stdio-common/tst-ferror.c (main): Converted to ...
932         (do_test): ... this.
933         (TEST_FUNCTION): New macro.
934         Include test-skeleton.c.
935         * stdio-common/tst-printf.c (main): Converted to ...
936         (do_test): ... this.
937         (TEST_FUNCTION): New macro.
938         Include test-skeleton.c.
939         * stdio-common/tst-printfsz.c (main): Converted to ...
940         (do_test): ... this.
941         (TEST_FUNCTION): New macro.
942         Include test-skeleton.c.
943         * stdlib/tst-strtod.c (main): Converted to ...
944         (do_test): ... this.
945         (TEST_FUNCTION): New macro.
946         Include test-skeleton.c.
947         * string/tst-strlen.c (main): Converted to ...
948         (do_test): ... this.
949         (TEST_FUNCTION): New macro.
950         Include test-skeleton.c.
951         * string/tst-svc.c (main): Converted to ...
952         (do_test): ... this.
953         (TEST_FUNCTION): New macro.
954         Include test-skeleton.c.
955         * time/tst-strptime.c (main): Converted to ...
956         (do_test): ... this.
957         (TEST_FUNCTION): New macro.
958         Include test-skeleton.c.
959         * timezone/tst-timezone.c (main): Converted to ...
960         (do_test): ... this.
961         (TEST_FUNCTION): New macro.
962         Include test-skeleton.c.
964 2015-08-05  Zack Weinberg  <zackw@panix.com>
966         * misc/regexp.h: Update comments.
968 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
970         [BZ #18635]
971         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
972         before return label.
974 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
976         [BZ #18661]
977         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
978         when calling __errno_location.
979         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
980         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
982 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
984         [BZ #18661]
985         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
986         (__lll_timedwait_tid): Align stack to 16 bytes when calling
987         __gettimeofday.
989 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
991         [BZ #18661]
992         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
993         (__start_context): Don't use pop to restore %rdi so that stack
994         is aligned to 16 bytes when calling __setcontext.
996 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
998         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
999         only for libc.
1000         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1002 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1004         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1005         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1006         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1008 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1010         * string/memccpy.c (memccpy):
1011         Improve performance by using memchr/memcpy/__mempcpy.
1013 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1015         * string/strncpy.c (strncpy):
1016         Improve performance by using __strnlen/memcpy.
1018 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1020         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1021         Optimize to avoid an unnecessary FPCR read.
1023 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1025         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1026         Optimize to reduce FPCR/FPSR accesses.
1028 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1030         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1031         dead->data[category] != NULL.
1033 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1035         [BZ #18647]
1036         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1037         and |x| close to 1, use absolute value of x when computing log.
1038         * math/auto-libm-test-in: Add more tests of pow.
1039         * math/auto-libm-test-out: Regenerated.
1041 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1043         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1044         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1045         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1047 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1049         [BZ #18525]
1050         * locales/km_KH: Remove timezone definition.
1051         * locales/lo_LA: Likewise.
1052         * locales/my_MM: Likewise.
1053         * locales/nan_TW@latin: Likewise.
1054         * locales/th_TH: Likewise.
1055         * locales/uk_UA: Likewise.
1057 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1059         [BZ #18265]
1060         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1061         (wcsncat): Likewise.
1062         (wcscmp): Likewise.
1063         (wcsncmp): Likewise.
1065 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1067         * test-skeleton.c (usage): New function.
1068         (main): Call usage when opt is '?'.
1070 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1072         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1073         before first use.
1075 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1077         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1078         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1079         in there too.
1081 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1083         * version.h (RELEASE): Set to "development".
1084         (VERSION): Set to "2.22.90"
1086         * version.h (RELEASE): Set to "stable".
1087         (VERSION): Set to "2.22"
1088         * include/features.h (__GLIBC_MINOR__): Set to 22.
1090 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1092         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1093         Restructure macro to avoid "value computed is not used" warning.
1094         (atomic_compare_and_exchange_val_acq): Likewise.
1096 2015-08-04  Andreas Schwab  <schwab@suse.de>
1098         [BZ #18635]
1099         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1100         ret.
1101         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1103 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1105         * po/pl.po: Updated translation.
1106         * po/uk.po: Likewise.
1107         * po/fi.po: Likewise.
1108         * po/ko.po: Likewise.
1109         * po/ru.po: Likewise.
1110         * po/vi.po: Likewise.
1112 2015-07-31  Zack Weinberg  <zackw@panix.com>
1114         [BZ #18681]
1115         * regexp.h: Add unconditional #warning stating that this header
1116         will be removed soon.  Revise banner comment to match.
1117         (compile): Consistently use ERROR instead of RETURN to report
1118         errors (partial fix for bz#18681).
1119         * regexp.c: Don't include regexp.h. Remove some unnecessary
1120         declarations.
1122 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1124         * po/libc.pot: Regenerated.
1126 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1128         [BZ #18740]
1129         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1130         float-vlen4-arch-ext-cflags): Removed.
1131         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1132         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1134 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1136         [BZ #14113]
1137         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1138         aligned to __aligned__.
1139         (pthread_cond_t, pthread_rwlock_t): Likewise.
1141 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1143         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1145 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1147         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1148         (struct sigaction): Change sa_flags from a long to an int, and add
1149         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1151 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1153         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1154         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1155         sysdeps/generic/sysdep.h include.
1156         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1157         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1158         sysdeps/hppa/sysdep.h.
1159         (ENTRY, PSEUDO): Undefine before defining.
1161 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1163         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1164         from scratch to use INTERNAL_SYSCALL.
1166 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1168         [BZ #18078]
1169         * scripts/check-localplt.awk: Support alternate relocations.
1170         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1171         sections.
1172         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1173         malloc entries with + REL R_386_GLOB_DAT.
1174         * sysdeps/x86_64/localplt.data: New file.
1176 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1178         [BZ #18731]
1179         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1180         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1181         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1183 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1185         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1187 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1189         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1190         directly in terms of __sync_fetch_and_add and delete (int) cast.
1192 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1194         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1195         the -D_ASM_IA64_CURRENT_H flag.
1197 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1199         [BZ #18641]
1200         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1202 2015-07-27  Andreas Schwab  <schwab@suse.de>
1204         * conform/conformtest.pl (checknamespace): Filter out string
1205         literals while tokenizing.
1207 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1209         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1210         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1211         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1213 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1215         * nptl/tst-join7mod.c: Add #include <string.h>.
1217 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1219         * sysdeps/nios2/libm-test-ulps: Update.
1221 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1223         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1224         Fix order of arguments to the rt_sigprocmask syscall.
1225         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1226         Likewise.
1228 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1230         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1232 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1234         [BZ #18457]
1235         * nptl/Makefile (tests): New test case tst-join7.
1236         (modules-names): New test case module tst-join7mod.
1237         * nptl/tst-join7.c: New file.
1238         * nptl/tst-join7mod.c: New file.
1239         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1240         all translation units in libc.so, libpthread.so and rtld.
1242 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1246 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1248         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1249         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1250         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1251         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1252         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1253         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1255         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1256         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1257         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1258         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1259         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1260         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1261         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1262         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1263         implementation.
1265 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1267         [BZ #17711]
1268         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1269         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1270         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1271         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1272         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1273         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1275 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1277         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1278         instead of just saying load lock in the comments.
1280 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1282         * sysdeps/unix/Subdirs: Moved ...
1283         * sysdeps/posix/Subdirs: ... here.
1284         * login/pty.h (struct termios, struct winsize): Add forward decls.
1285         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1286         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1287         * sysdeps/arm/nacl/libc.abilist: Updated.
1288         * sysdeps/nacl/libutil.abilist: New file.
1290         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1291         (SIGWINCH): New macro.
1293         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1294         * sysdeps/arm/nacl/libc.abilist: Add it.
1296 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1298         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1300 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1302         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1303         Swap __glibc_reserved0 and sa_flags order.
1305 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1307         [BZ #18657]
1308         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1309         are pending TLS destructor calls.
1310         * include/link.h (struct link_map): Add concurrency note for
1311         L_TLS_DTOR_COUNT.
1312         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1313         Don't touch the link map flag.  Atomically increment
1314         l_tls_dtor_count.
1315         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1316         Avoid taking the load lock and don't touch the link map flag.
1317         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1318         * stdlib/Makefile (tests): Use it.
1319         * stdlib/tst-tls-atexit.c (do_test): dlopen
1320         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1321         to allow tst-tls-atexit-nodelete test case to use it.
1323 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1325         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1326         to bits/types.h.
1327         (msgqnum_t): New typedef.
1328         (msglen_t): Likewise.
1329         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1330         and msg_qbytes type to msglen_t.
1332 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1334         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1335         pad0 to __glibc_reserved0.
1336         (struct stat64): Likewise.
1338 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1340         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1341         Change sa_flags from a long to an int and add __glibc_reserved0 before
1342         it for padding.
1344 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1346         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1347         anonymous by deleting "siginfo" name.
1349 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1351         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1352         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1353         rather than __nacl_irt_filename.
1354         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1356         * NEWS: New item for arm-nacl port.
1357         * sysdeps/arm/nacl/libc.abilist: New file.
1358         * sysdeps/nacl/ld.abilist: New file.
1359         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1360         * sysdeps/nacl/libanl.abilist: New file.
1361         * sysdeps/nacl/libcrypt.abilist: New file.
1362         * sysdeps/nacl/libdl.abilist: New file.
1363         * sysdeps/nacl/libm.abilist: New file.
1364         * sysdeps/nacl/libpthread.abilist: New file.
1365         * sysdeps/nacl/libresolv.abilist: New file.
1366         * sysdeps/nacl/librt.abilist: New file.
1368 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1370         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1371         __startcontext to initialize the new context.
1372         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1373         up CFI directive to forbid further backtracing.
1375 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1377         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1378         reference.
1379         * charmaps/ANSI_X3.4-1968: Likewise.
1380         * charmaps/BS_4730: Likewise.
1381         * charmaps/BS_VIEWDATA: Likewise.
1382         * charmaps/CP1250: Likewise.
1383         * charmaps/CP1251: Likewise.
1384         * charmaps/CP1252: Likewise.
1385         * charmaps/CP1253: Likewise.
1386         * charmaps/CP1254: Likewise.
1387         * charmaps/CP1255: Likewise.
1388         * charmaps/CP1256: Likewise.
1389         * charmaps/CSN_369103: Likewise.
1390         * charmaps/EBCDIC-DK-NO: Likewise.
1391         * charmaps/GB_1988-80: Likewise.
1392         * charmaps/GREEK-CCITT: Likewise.
1393         * charmaps/GREEK7: Likewise.
1394         * charmaps/INIS-8: Likewise.
1395         * charmaps/ISIRI-3342: Likewise.
1396         * charmaps/ISO_2033-1983: Likewise.
1397         * charmaps/ISO_5427-EXT: Likewise.
1398         * locales/POSIX: Likewise.
1399         * locales/ar_SA: Likewise.
1400         * locales/be_BY: Likewise.
1401         * locales/be_BY@latin: Likewise.
1402         * locales/ca_ES: Likewise.
1403         * locales/cs_CZ: Likewise.
1404         * locales/da_DK: Likewise.
1405         * locales/de_BE: Likewise.
1406         * locales/de_CH: Likewise.
1407         * locales/de_LU: Likewise.
1408         * locales/en_AU: Likewise.
1409         * locales/en_BW: Likewise.
1410         * locales/en_CA: Likewise.
1411         * locales/en_DK: Likewise.
1412         * locales/en_GB: Likewise.
1413         * locales/en_IE: Likewise.
1414         * locales/en_NZ: Likewise.
1415         * locales/en_ZA: Likewise.
1416         * locales/en_ZW: Likewise.
1417         * locales/es_AR: Likewise.
1418         * locales/es_BO: Likewise.
1419         * locales/es_CL: Likewise.
1420         * locales/es_CO: Likewise.
1421         * locales/es_DO: Likewise.
1422         * locales/es_EC: Likewise.
1423         * locales/es_ES: Likewise.
1424         * locales/es_HN: Likewise.
1425         * locales/es_MX: Likewise.
1426         * locales/es_PA: Likewise.
1427         * locales/es_PE: Likewise.
1428         * locales/es_PY: Likewise.
1429         * locales/es_SV: Likewise.
1430         * locales/es_US: Likewise.
1431         * locales/es_UY: Likewise.
1432         * locales/es_VE: Likewise.
1433         * locales/et_EE: Likewise.
1434         * locales/fa_IR: Likewise.
1435         * locales/fo_FO: Likewise.
1436         * locales/fr_CA: Likewise.
1437         * locales/fr_CH: Likewise.
1438         * locales/gv_GB: Likewise.
1439         * locales/he_IL: Likewise.
1440         * locales/hr_HR: Likewise.
1441         * locales/id_ID: Likewise.
1442         * locales/is_IS: Likewise.
1443         * locales/it_CH: Likewise.
1444         * locales/iw_IL: Likewise.
1445         * locales/kl_GL: Likewise.
1446         * locales/ko_KR: Likewise.
1447         * locales/kw_GB: Likewise.
1448         * locales/lg_UG: Likewise.
1449         * locales/lt_LT: Likewise.
1450         * locales/lv_LV: Likewise.
1451         * locales/mi_NZ: Likewise.
1452         * locales/nhn_MX: Likewise.
1453         * locales/nl_BE: Likewise.
1454         * locales/pl_PL: Likewise.
1455         * locales/sk_SK: Likewise.
1456         * locales/sl_SI: Likewise.
1457         * locales/sv_FI: Likewise.
1458         * locales/tl_PH: Likewise.
1459         * locales/tr_TR: Likewise.
1460         * locales/vi_VN: Likewise.
1462 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1464         [BZ #17475]
1465         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1466         of tu_IN and bh_IN.
1468 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1470         [BZ #18694]
1471         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1472         bits/wordsize.h.
1473         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1475 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1477         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1478         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1479         (spawn_thread): New function.
1480         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1481         (do_test): ... here.  Use IS_LOADED to test for its
1482         availability.
1484 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1486         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1488 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1490         [BZ #18696]
1491         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1492         si_addr_bnd.
1493         (si_lower): New.
1494         (si_upper): Likewise.
1496 2015-07-16  David S. Miller  <davem@davemloft.net>
1498         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1500 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1502         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1503         buffer.
1504         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1505         fail output information.
1507 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1510         and strstr-ppc64..
1511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1512         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1513         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1514         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1515         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1517 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1519         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1520         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1521         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1522         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1524 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1526         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1527         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1528         rtld_hidden_proto.
1529         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1531 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1533         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1534         the test can fail.
1536         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1538         [BZ #18676]
1539         * elf/tst-nodelete-opened.c: New test case.
1540         * elf/tst-nodelete-opened-lib.c: New test case module.
1541         * elf/Makefile (tests, modules-names): Use them.
1542         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1543         early.
1545 2015-07-15  David S. Miller  <davem@davemloft.net>
1547         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1548         futex-intenal.h
1549         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1550         * sysdeps/sparc/sparc64/Makefile: Likewise.
1551         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1552         Remove space from macro define.
1553         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1555 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1557         [BZ #17475]
1558         * locale/iso-639.def: Update Bhili and Tulu language codes as
1559         per iso639-3.
1561 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1563         * elf/tst-leaks1.c (main): Converted to ...
1564         (do_test): ... this.
1565         (TEST_FUNCTION): New macro.
1566         Include test-skeleton.c.
1567         * localedata/tst-langinfo.c (main): Converted to ...
1568         (do_test): ... this.
1569         (TEST_FUNCTION): New macro.
1570         Include test-skeleton.c.
1571         * math/test-fpucw.c (main): Converted to ...
1572         (do_test): ... this.
1573         (TEST_FUNCTION): New macro.
1574         Include test-skeleton.c.
1575         * math/test-tgmath.c (main): Converted to ...
1576         (do_test): ... this.
1577         (TEST_FUNCTION): New macro.
1578         Include test-skeleton.c.
1579         * math/test-tgmath2.c (main): Converted to ...
1580         (do_test): ... this.
1581         (TEST_FUNCTION): New macro.
1582         Include test-skeleton.c.
1583         * setjmp/tst-setjmp.c (main): Converted to ...
1584         (do_test): ... this.
1585         (TEST_FUNCTION): New macro.
1586         Include test-skeleton.c.
1587         * stdio-common/tst-sscanf.c (main): Converted to ...
1588         (do_test): ... this.
1589         (TEST_FUNCTION): New macro.
1590         Include test-skeleton.c.
1591         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1592         (do_test): ... this.
1593         (TEST_FUNCTION): New macro.
1594         Include test-skeleton.c.
1596         * elf/tst-audit9.c (main): Converted to ...
1597         (do_test): ... this.
1598         (TEST_FUNCTION): New macro.
1599         Include test-skeleton.c.
1601 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1603         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1605 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1607         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1608         New variable.
1610 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1612         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1614 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1616         * sysdeps/generic/dl-fileid.h: New file.
1617         * sysdeps/posix/dl-fileid.h: New file.
1618         * sysdeps/nacl/dl-fileid.h: New file.
1619         * include/link.h: Include <dl-fileid.h>.
1620         (struct link_map): Replace l_dev and l_ino with l_file_id.
1621         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1622         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1623         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1625 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1627         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1629 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1631         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1632         Add iff $CXX is set.
1633         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1634         Likewise.
1635         (tst-nodelete-zmodiff): Likewise.
1636         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1638 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1640         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1642 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1644         * sysdeps/aarch64/fpu/math_private.h
1645         (define math_opt_barrier): Add AArch64 version.
1646         (math_force_eval): Likewise.
1648 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1650         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1652 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1654         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1655         %ld with %jd and cast to intmax_t.
1656         (do_test_length_zero): Likewise.
1658 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1660         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1662 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1664         * sysdeps/tile/libm-test-ulps: Regenerated.
1666         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1667         Comment out the whole function, not just its body.
1669 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1671         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1672         locks.
1674         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1676 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1678         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1679         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1681 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1683         * sysdeps/nptl/futex-internal.h: New file.
1684         * sysdeps/nacl/futex-internal.h: New file.
1685         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1686         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1687         error checking.
1688         (setxid_unmark_thread): Likewise.
1689         (__nptl_setxid): Likewise.
1690         (__wait_lookup_done): Likewise.
1691         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1692         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1693         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1694         * nptl/pthread_once.c (clear_once_control): Likewise.
1695         (__pthread_once_slow): Likewise.
1696         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1697         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1698         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1699         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1700         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1701         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1702         Likewise.
1703         (__pthread_rwlock_rdlock): Likewise.
1704         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1705         Likewise.
1706         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1707         Likewise.
1708         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1709         Likewise.
1710         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1711         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1712         Likewise.
1713         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1714         __ASSUME_PRIVATE_FUTEX check.
1715         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1716         Check that shared futexes are supported.
1717         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1718         wrappers with error checking.
1719         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1720         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1721         * nptl/pthread_barrierattr_setpshared.c
1722         (pthread_barrierattr_setpshared): Check that shared futexes are
1723         supported.
1724         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1725         Likewise.
1726         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1727         Likewise.
1728         * nptl/sem_init.c (futex_private_if_supported): Remove.
1729         (__new_sem_init): Adapt and check that shared futexes are supported.
1730         * nptl/sem_open.c (sem_open): Likewise.
1731         * nptl/sem_post.c (futex_wake): Remove.
1732         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1733         (do_futex_wait): Use futex wrappers with error checking.
1734         * nptl/sem_wait.c: Include lowlevellock.h.
1735         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1736         Use futex_supports_pshared.
1737         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1738         Use futex wrappers with error checking.
1739         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1740         Likewise.
1741         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1742         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1743         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1744         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1745         (futex_wake): Likewise.
1746         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1747         (do_futex_wait): Use futex wrappers with error checking.
1748         (__new_sem_wait_slow): Update EINTR handling.
1749         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1751 2015-07-09  Martin Sebor  <msebor@redhat.com>
1753         [BZ #18435]
1754         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1755         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1756         * nptl/Makefile (test-xfail-tst-once5): Define.
1758 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1760         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1761         * elf/dl-minimal.c: For readability, reorder some definitions and
1762         introduce more page breaks.  Include <stdio.h>.
1763         (__libc_fatal): New function.
1765         * include/unistd.h: Add rtld_hidden_proto for _exit.
1766         * posix/_exit.c: Add rtld_hidden_def.
1767         * sysdeps/mach/hurd/_exit.c: Likewise.
1768         * sysdeps/nacl/_exit.c: Likewise.
1769         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1770         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1772 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1774         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1775         bndmov encoding with zero displacement.
1777 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1778             H.J. Lu  <hongjiu.lu@intel.com>
1780         [BZ #18134]
1781         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1782         * sysdeps/i386/configure: Regenerated.
1783         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1784         (_dl_runtime_profile): Save and restore Intel MPX return bound
1785         registers when calling _dl_call_pltexit.  Add
1786         PRESERVE_BND_REGS_PREFIX before return.
1787         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1788         (LRV_BND1_OFFSET): Likewise.
1789         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1790         lrv_bnd1.
1791         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1792         typo in bndmov encoding.
1793         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1794         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1795         branch instructions to preserve bounds.
1797 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1800         [GLIBC_2.22]: Add fmemopen.
1802 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1804         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1805         returns an error, also try to use host port from __mach_host_self for
1806         the __vm_wire call.
1807         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1809 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1811         [BZ #18400]
1812         [BZ #18648]
1813         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1814         Fix pr_uid and pr_gid members.
1815         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1816         definition to elf_greg_t.
1818 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1820         [BZ #18383]
1821         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1822         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1823         * sysdeps/arm/configure: Regenerated.
1824         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1825         (test-xfail-tst-tlsalign-static): Variable removed.
1827         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1828         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1829         rather than explicit 'ln -s'.
1831         * resolv/rpc/netdb.h: New file.
1832         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1834 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1836         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1837         length buffers.
1838         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1839         test-skeleton.c.
1841         [BZ #6544]
1842         [BZ #11216]
1843         [BZ #12836]
1844         [BZ #13151]
1845         [BZ #13152]
1846         [BZ #14292]
1847         * include/stdio.h (fmemopen): Remove hidden prototype.
1848         (__fmemopen): Add new hidden prototype.
1849         * libio/Makefile: Add oldfmemopen object.
1850         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1851         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1852         compliance.
1853         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1854         symbol compatibility.
1855         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1856         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1857         fmemopen.
1858         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1859         on append and read mode.
1860         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1861         fmemopen.
1862         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1863         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1864         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1865         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1866         Likewise.
1867         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1868         [GLIBC_2.22]: Likewise.
1869         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1870         Likewise.
1871         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1872         Likewise.
1873         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1874         [GLIBC_2.22]: Likewise.
1875         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1876         [GLIBC_2.22]: Likewise.
1877         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1878         [GLIBC_2.22]: Likewise.
1879         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1880         [GLIBC_2.22]: Likewise.
1881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1882         [GLIBC_2.22]: Likewise.
1883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1884         [GLIBC_2.22]: Likewise.
1885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1886         [GLIBC_2.22]: Likewise.
1887         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1888         Likewise.
1889         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1890         Likewise.
1891         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1892         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1893         [GLIBC_2.22]: Likewise.
1894         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1895         [GLIBC_2.22]: Likewise.
1896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1897         [GLIBC_2.22]: Likewise.
1898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1899         [GLIBC_2.22]: Likewise.
1900         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1901         Likewise.
1902         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1903         Likewise.
1904         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1905         Likewise.
1906         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1907         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1909 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1911         [BZ #18643]
1912         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1913         IPV6_PATHMTU, and IPV6_DONTFRAG.
1915 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1917         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1918         and _IO_UNBUFFERED.
1919         * libio/oldfileops.c: Likewise.
1920         * libio/wfileops.c: Likewise.
1922 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1924         * nscd/selinux.c: Delete selinux/flask.h include.
1926 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1928         [BZ #18641]
1929         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1930         (putpwent): Likewise.
1931         (getpwnam): Likewise.
1932         (getpwent_r): Likewise.
1933         (getpwuid_r): Likewise.
1934         (getpwnam_r): Likewise.
1935         (fgetpwent_r): Likewise.
1937 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1939         [BZ #18557]
1940         * inet/rcmd.c (__validuser2_sa): Check user first to
1941         short-circuit host check.
1943 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1944             Mikhail Ilin  <m.ilin@samsung.com>
1946         [BZ #17833]
1947         * elf/Makefile (tests): Add tst-nodelete.
1948         (modules-names): Add tst-nodelete-uniquemod.
1949         (tst-nodelete-uniquemod.so-no-z-defs): New.
1950         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1951         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1952         ($(objpfx)tst-nodelete): Likewise.
1953         ($(objpfx)tst-nodelete.out): Likewise.
1954         (LDFLAGS-tst-nodelete): Likewise.
1955         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1956         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1957         implement forced object deletion.
1958         (_dl_close): Pass false to _dl_close_worker.
1959         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1960         * elf/tst-nodelete.cc: New file.
1961         * elf/tst-nodeletelib.cc: Likewise.
1962         * elf/tst-znodeletelib.cc: Likewise.
1963         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1965 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1967         [BZ #18508]
1968         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1969         Depend on $(libdl).
1970         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1971         is not called infinitely times.
1972         (backtrace_helper): New function.
1973         (trace_arg): New struct.
1974         (st1): Enlarge stack size.
1975         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1976         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1977         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1978         Likewise.
1980 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1982         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1984 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1986         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1987         Include sys/types.h instead of bits/types.h.
1988         Remove inclusion of bits/wordsize.h.
1990 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1992         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1993         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1994         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1995         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1996         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1997         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1999 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2001         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2002         link-defines.sym.
2003         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2004         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2005         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2006         and LR_SIZE.
2007         * sysdeps/i386/link-defines.sym: New file.
2009 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2011         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2012         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2013         ($(objpfx)tst-audit3): New rule.
2014         ($(objpfx)tst-audit3.out): Likewise.
2015         * sysdeps/i386/tst-audit3.c: New file.
2016         * sysdeps/i386/tst-audit3.h: Likewise.
2017         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2018         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2020 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2022         [BZ #18633]
2023         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2024         pointer in C code.
2025         (__strcat_c): Likewise.
2026         (__strcat_g): Likewise.
2028 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2030         [BZ #18592]
2031         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2033 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2035         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2036         New function.  (__ieee754_sqrtf): New function.
2037         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2038         New function.
2039         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2040         New function.
2042 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2044         * sysdeps/ieee754/support.c: Remove unused file.
2046 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2048         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2049         registers instead of d ones so the layout is kernel abi compatible.
2050         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2051         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2052         Likewise.
2054 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2056         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2058 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2060         [BZ #18619]
2061         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2062         and return argument in case of subnormal argument.
2064 2015-07-01  Martin Sebor  <msebor@redhat.com>
2066         [BZ #18435]
2067         * nptl/Makefile: Add tst-once5.cc.
2068         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2069         Remove macro redefinitions.
2070         * nptl/tst-once5.cc: New test.
2072 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2074         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2076         * sysdeps/arm/libm-test-ulps: Regenerated.
2078         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2079         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2081 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2083         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2084         lll_lock_wait_private and lll_futex_wake probes.
2086         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2087         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2088         Likewise.
2089         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2090         atomic_spin_nop.
2091         * sysdeps/x86_64/bits/atomic.h: Likewise.
2092         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2093         to atomic_spin_nop and move ...
2094         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2095         ... here and ...
2096         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2097         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2098         atomic_spin_nop instead of BUSY_WAIT_NOP.
2099         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2100         Likewise.
2101         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2102         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2103         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2104         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2105         instead of atomic_delay.
2107 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2109         [BZ #18613]
2110         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2111         X_ADJ not X when adjusting exponent.
2112         (__ieee754_gamma_r): Do intermediate computations in
2113         round-to-nearest then adjust overflowing and underflowing results
2114         as needed.
2115         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2116         of X_ADJ not X when adjusting exponent.
2117         (__ieee754_gammaf_r): Do intermediate computations in
2118         round-to-nearest then adjust overflowing and underflowing results
2119         as needed.
2120         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2121         log of X_ADJ not X when adjusting exponent.
2122         (__ieee754_gammal_r): Do intermediate computations in
2123         round-to-nearest then adjust overflowing and underflowing results
2124         as needed.  Use 1.0L not 1.0f as numerator of division.
2125         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2126         log of X_ADJ not X when adjusting exponent.
2127         (__ieee754_gammal_r): Do intermediate computations in
2128         round-to-nearest then adjust overflowing and underflowing results
2129         as needed.  Use 1.0L not 1.0f as numerator of division.
2130         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2131         of X_ADJ not X when adjusting exponent.
2132         (__ieee754_gammal_r): Do intermediate computations in
2133         round-to-nearest then adjust overflowing and underflowing results
2134         as needed.  Use 1.0L not 1.0f as numerator of division.
2135         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2136         to auto-libm-test-in.
2137         (tgamma_test): Use ALL_RM_TEST.
2138         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2139         tests of tgamma with spurious-overflow.
2140         * math/auto-libm-test-out: Regenerated.
2141         * math/gen-libm-have-vector-test.sh: Do not check for START.
2142         * sysdeps/i386/fpu/libm-test-ulps: Update.
2143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2145         [BZ #18612]
2146         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2147         arguments, just return 0.5 times the argument, with underflow
2148         forced as needed.
2149         * math/auto-libm-test-in: Add more tests of j1.
2150         * math/auto-libm-test-out: Regenerated.
2152         [BZ #16559]
2153         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2154         (__ieee754_j1): Force underflow exception for small results.
2155         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2156         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2157         (__ieee754_j1f): Force underflow exception for small results.
2158         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2159         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2160         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2161         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2162         (__ieee754_j1l): Force underflow exception for small results.
2163         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2164         * math/auto-libm-test-in: Add more tests of j1 and jn.
2165         * math/auto-libm-test-out: Regenerated.
2167         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2168         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2169         (PF_MPLS): Likewise.
2170         (AF_IB): Likewise.
2171         (AF_MPLS): Likewise.
2172         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2173         value and macro.
2174         (MS_RMT_MASK): Include MS_LAZYTIME.
2176 2015-06-26  Mel Gorman  <mgorman@suse.de>
2178         [BZ #18502]
2179         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2180         already minimal.
2182 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2184         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2185         (DT_MIPS_NUM): Update.
2186         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2187         DT_MIPS_RLD_MAP_REL.
2189 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2191         [BZ #16559]
2192         [BZ #18602]
2193         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2194         round-to-nearest internally then recompute results that
2195         underflowed to zero in the original rounding mode.
2196         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2197         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2199         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2200         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2201         * sysdeps/i386/fpu/libm-test-ulps: Update.
2202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2204 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2206         * NEWS: Fixed description of link with vector math library.
2208 2015-06-25  Andreas Schwab  <schwab@suse.de>
2210         [BZ #18549]
2211         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2212         * libio/test-fmemopen.c (do_test): Add test for it.
2214 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2216         [BZ #17841]
2217         * Makeconfig (no-pie-ldflag): New.
2218         (+link): Set to $(+link-pie) if default to PIE.
2219         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2220         * config.make.in (build-pie-default): New.
2221         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2222         is default.  AC_SUBST.
2223         * configure: Regenerated.
2224         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2226 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2228         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2229         to 'unsigned int'.
2231         * resolv/gai_misc.h (struct waitlist): Change type of field
2232         counterp to 'volatile unsigned int *'.
2233         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2234         FUTEXADDR and OLDVAL.
2235         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2236         Give local variable TOTAL type 'volatile unsigned int'.
2237         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2238         * resolv/gai_suspend.c (gai_suspend):
2239         Give local variable CNTR type 'unsigned int'.
2241         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2242         counterp to 'volatile unsigned int *'.
2243         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2244         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2245         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2246         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2247         Give local variable TOTAL type 'volatile unsigned int'.
2248         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2250 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2252         [BZ #18383]
2253         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2254         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2255         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2256         comment for i386/x86-64.
2257         (test-xfail-tst-tlsalign-extern-static): Removed.
2259 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2261         * math/test-double.h: New file.
2262         * math/test-float.h: Likewise.
2263         * math/test-ldouble.h: Likewise.
2264         * math/test-math-inline.h: Likewise.
2265         * math/test-math-no-inline.h: Likewise.
2266         * math/test-math-scalar.h: Likewise.
2267         * math/test-math-vector.h: Likewise.
2268         * math/test-vec-loop.h: Remove file.  Contents moved into
2269         test-math-vector.h.
2270         * math/libm-test.inc (MATHCONST): Do not document macro.
2271         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2272         and test-math-scalar.h.
2273         (FUNC): Remove macro.
2274         (FUNC_TEST): Likewise.
2275         (FLOAT): Likewise.
2276         (MATHCONST): Likewise.
2277         (PRINTF_EXPR): Likewise.
2278         (PRINTF_XEXPR): Likewise.
2279         (PRINTF_NEXPR): Likewise.
2280         (TEST_DOUBLE): Likewise.
2281         (TEST_MATHVEC): Likewise.
2282         (__NO_MATH_INLINES): Likewise.
2283         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2284         and test-math-scalar.h.
2285         (FUNC): Remove macro.
2286         (FUNC_TEST): Likewise.
2287         (FLOAT): Likewise.
2288         (MATHCONST): Likewise.
2289         (PRINTF_EXPR): Likewise.
2290         (PRINTF_XEXPR): Likewise.
2291         (PRINTF_NEXPR): Likewise.
2292         (TEST_FLOAT): Likewise.
2293         (TEST_MATHVEC): Likewise.
2294         (__NO_MATH_INLINES): Likewise.
2295         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2296         and test-math-scalar.h.
2297         (FUNC): Remove macro.
2298         (FUNC_TEST): Likewise.
2299         (FLOAT): Likewise.
2300         (MATHCONST): Likewise.
2301         (PRINTF_EXPR): Likewise.
2302         (PRINTF_XEXPR): Likewise.
2303         (PRINTF_NEXPR): Likewise.
2304         (TEST_DOUBLE): Likewise.
2305         (TEST_MATHVEC): Likewise.
2306         (TEST_INLINE): Likewise.
2307         (__NO_MATH_INLINES): Likewise.
2308         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2309         test-math-scalar.h.
2310         (FUNC): Remove macro.
2311         (FUNC_TEST): Likewise.
2312         (FLOAT): Likewise.
2313         (MATHCONST): Likewise.
2314         (PRINTF_EXPR): Likewise.
2315         (PRINTF_XEXPR): Likewise.
2316         (PRINTF_NEXPR): Likewise.
2317         (TEST_FLOAT): Likewise.
2318         (TEST_MATHVEC): Likewise.
2319         (TEST_INLINE): Likewise.
2320         (__NO_MATH_INLINES): Likewise.
2321         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2322         and test-math-scalar.h.
2323         (FUNC): Remove macro.
2324         (FUNC_TEST): Likewise.
2325         (FLOAT): Likewise.
2326         (MATHCONST): Likewise.
2327         (PRINTF_EXPR): Likewise.
2328         (PRINTF_XEXPR): Likewise.
2329         (PRINTF_NEXPR): Likewise.
2330         (TEST_LDOUBLE): Likewise.
2331         (TEST_MATHVEC): Likewise.
2332         (TEST_INLINE): Likewise.
2333         (__NO_MATH_INLINES): Likewise.
2334         * math/test-ldouble.c: Include test-ldouble.h,
2335         test-math-no-inline.h and test-math-scalar.h.
2336         (FUNC): Remove macro.
2337         (FUNC_TEST): Likewise.
2338         (FLOAT): Likewise.
2339         (MATHCONST): Likewise.
2340         (PRINTF_EXPR): Likewise.
2341         (PRINTF_XEXPR): Likewise.
2342         (PRINTF_NEXPR): Likewise.
2343         (TEST_LDOUBLE): Likewise.
2344         (TEST_MATHVEC): Likewise.
2345         (__NO_MATH_INLINES): Likewise.
2346         * math/test-double-vlen2.h: Include test-double.h,
2347         test-math-no-inline.h and test-math-vector.h.
2348         (FLOAT): Remove macro.
2349         (FUNC): Likewise.
2350         (MATHCONST): Likewise.
2351         (PRINTF_EXPR): Likewise.
2352         (PRINTF_XEXPR): Likewise.
2353         (PRINTF_NEXPR): Likewise.
2354         (TEST_DOUBLE): Likewise.
2355         (TEST_MATHVEC): Likewise.
2356         (__NO_MATH_INLINES): Likewise.
2357         (CNCT): Likewise.
2358         (CONCAT): Likewise.
2359         (WRAPPER_NAME): Likewise.
2360         (WRAPPER_DECL): Likewise.
2361         (WRAPPER_DECL_ff): Likewise.
2362         (WRAPPER_DECL_fFF): Likewise.
2363         (VECTOR_WRAPPER): Likewise.
2364         (VECTOR_WRAPPER_ff): Likewise.
2365         (VECTOR_WRAPPER_fFF): Likewise.
2366         (VEC_LEN): New macro.
2367         * math/test-double-vlen4.h: Include test-double.h,
2368         test-math-no-inline.h and test-math-vector.h.
2369         (FLOAT): Remove macro.
2370         (FUNC): Likewise.
2371         (MATHCONST): Likewise.
2372         (PRINTF_EXPR): Likewise.
2373         (PRINTF_XEXPR): Likewise.
2374         (PRINTF_NEXPR): Likewise.
2375         (TEST_DOUBLE): Likewise.
2376         (TEST_MATHVEC): Likewise.
2377         (__NO_MATH_INLINES): Likewise.
2378         (CNCT): Likewise.
2379         (CONCAT): Likewise.
2380         (WRAPPER_NAME): Likewise.
2381         (WRAPPER_DECL): Likewise.
2382         (WRAPPER_DECL_ff): Likewise.
2383         (WRAPPER_DECL_fFF): Likewise.
2384         (VECTOR_WRAPPER): Likewise.
2385         (VECTOR_WRAPPER_ff): Likewise.
2386         (VECTOR_WRAPPER_fFF): Likewise.
2387         (VEC_LEN): New macro.
2388         * math/test-double-vlen8.h: Include test-double.h,
2389         test-math-no-inline.h and test-math-vector.h.
2390         (FLOAT): Remove macro.
2391         (FUNC): Likewise.
2392         (MATHCONST): Likewise.
2393         (PRINTF_EXPR): Likewise.
2394         (PRINTF_XEXPR): Likewise.
2395         (PRINTF_NEXPR): Likewise.
2396         (TEST_DOUBLE): Likewise.
2397         (TEST_MATHVEC): Likewise.
2398         (__NO_MATH_INLINES): Likewise.
2399         (CNCT): Likewise.
2400         (CONCAT): Likewise.
2401         (WRAPPER_NAME): Likewise.
2402         (WRAPPER_DECL): Likewise.
2403         (WRAPPER_DECL_ff): Likewise.
2404         (WRAPPER_DECL_fFF): Likewise.
2405         (VECTOR_WRAPPER): Likewise.
2406         (VECTOR_WRAPPER_ff): Likewise.
2407         (VECTOR_WRAPPER_fFF): Likewise.
2408         (VEC_LEN): New macro.
2409         * math/test-float-vlen4.h: Include test-float.h,
2410         test-math-no-inline.h and test-math-vector.h.
2411         (FLOAT): Remove macro.
2412         (FUNC): Likewise.
2413         (MATHCONST): Likewise.
2414         (PRINTF_EXPR): Likewise.
2415         (PRINTF_XEXPR): Likewise.
2416         (PRINTF_NEXPR): Likewise.
2417         (TEST_FLOAT): Likewise.
2418         (TEST_MATHVEC): Likewise.
2419         (__NO_MATH_INLINES): Likewise.
2420         (CNCT): Likewise.
2421         (CONCAT): Likewise.
2422         (WRAPPER_NAME): Likewise.
2423         (WRAPPER_DECL): Likewise.
2424         (WRAPPER_DECL_ff): Likewise.
2425         (WRAPPER_DECL_fFF): Likewise.
2426         (VECTOR_WRAPPER): Likewise.
2427         (VECTOR_WRAPPER_ff): Likewise.
2428         (VECTOR_WRAPPER_fFF): Likewise.
2429         (VEC_LEN): New macro.
2430         * math/test-float-vlen8.h: Include test-float.h,
2431         test-math-no-inline.h and test-math-vector.h.
2432         (FLOAT): Remove macro.
2433         (FUNC): Likewise.
2434         (MATHCONST): Likewise.
2435         (PRINTF_EXPR): Likewise.
2436         (PRINTF_XEXPR): Likewise.
2437         (PRINTF_NEXPR): Likewise.
2438         (TEST_FLOAT): Likewise.
2439         (TEST_MATHVEC): Likewise.
2440         (__NO_MATH_INLINES): Likewise.
2441         (CNCT): Likewise.
2442         (CONCAT): Likewise.
2443         (WRAPPER_NAME): Likewise.
2444         (WRAPPER_DECL): Likewise.
2445         (WRAPPER_DECL_ff): Likewise.
2446         (WRAPPER_DECL_fFF): Likewise.
2447         (VECTOR_WRAPPER): Likewise.
2448         (VECTOR_WRAPPER_ff): Likewise.
2449         (VECTOR_WRAPPER_fFF): Likewise.
2450         (VEC_LEN): New macro.
2451         * math/test-float-vlen16.h: Include test-float.h,
2452         test-math-no-inline.h and test-math-vector.h.
2453         (FLOAT): Remove macro.
2454         (FUNC): Likewise.
2455         (MATHCONST): Likewise.
2456         (PRINTF_EXPR): Likewise.
2457         (PRINTF_XEXPR): Likewise.
2458         (PRINTF_NEXPR): Likewise.
2459         (TEST_FLOAT): Likewise.
2460         (TEST_MATHVEC): Likewise.
2461         (__NO_MATH_INLINES): Likewise.
2462         (CNCT): Likewise.
2463         (CONCAT): Likewise.
2464         (WRAPPER_NAME): Likewise.
2465         (WRAPPER_DECL): Likewise.
2466         (WRAPPER_DECL_ff): Likewise.
2467         (WRAPPER_DECL_fFF): Likewise.
2468         (VECTOR_WRAPPER): Likewise.
2469         (VECTOR_WRAPPER_ff): Likewise.
2470         (VECTOR_WRAPPER_fFF): Likewise.
2471         (VEC_LEN): New macro.
2472         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2473         test-vec-loop.h.
2474         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2475         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2476         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2477         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2478         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2479         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2480         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2482 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2484         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2485         (__getlogin_r): ... this.
2487 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2489         [BZ #18594]
2490         * math/s_ccosh.c (__ccosh): Compare with least normal value
2491         instead of comparing class with FP_SUBNORMAL.
2492         * math/s_ccoshf.c (__ccoshf): Likewise.
2493         * math/s_ccoshl.c (__ccoshl): Likewise.
2494         * math/s_cexp.c (__cexp): Likewise.
2495         * math/s_cexpf.c (__cexpf): Likewise.
2496         * math/s_cexpl.c (__cexpl): Likewise.
2497         * math/s_csin.c (__csin): Likewise.
2498         * math/s_csinf.c (__csinf): Likewise.
2499         * math/s_csinh.c (__csinh): Likewise.
2500         * math/s_csinhf.c (__csinhf): Likewise.
2501         * math/s_csinhl.c (__csinhl): Likewise.
2502         * math/s_csinl.c (__csinl): Likewise.
2503         * math/s_ctan.c (__ctan): Likewise.
2504         * math/s_ctanf.c (__ctanf): Likewise.
2505         * math/s_ctanh.c (__ctanh): Likewise.
2506         * math/s_ctanhf.c (__ctanhf): Likewise.
2507         * math/s_ctanhl.c (__ctanhl): Likewise.
2508         * math/s_ctanl.c (__ctanl): Likewise.
2509         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2510         csin, csinh, ctan and ctanh.
2511         * math/auto-libm-test-out: Regenerated.
2512         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2513         * sysdeps/i386/fpu/libm-test-ulps: Update.
2514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2516 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2518         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2519         return value is wrong, print the expected value too.
2521 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2523         [BZ #18585]
2524         * elf/readlib.c (is_gdb_python_file): New.
2525         (process_file): Don't issue errors on filenames with -gdb.py
2526         suffix.
2528 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2530         * math/auto-libm-test-in: Add more tests of csin and csinh.
2531         * math/auto-libm-test-out: Regenerated.
2532         * math/libm-test.inc (csin_test_data): Remove tests moved to
2533         auto-libm-test-in.
2534         (csinh_test_data): Likewise.
2536         [BZ #18593]
2537         * math/s_csin.c (__csin): Negate before rather than after possibly
2538         overflowing multiplication.
2539         * math/s_csinf.c (__csinf): Likewise.
2540         * math/s_csinh.c (__csinh): Likewise.
2541         * math/s_csinhf.c (__csinhf): Likewise.
2542         * math/s_csinhl.c (__csinhl): Likewise.
2543         * math/s_csinl.c (__csinl): Likewise.
2544         * math/auto-libm-test-in: Add some tests of csin and csinh.
2545         * math/auto-libm-test-out: Regenerated.
2546         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2547         (csinh_test_data): Likewise.
2548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2550         [BZ #18586]
2551         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2552         underflow exception for small results.
2554 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2556         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2558         variable and included header.
2559         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2560         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2561         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2562         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2563         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2564         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2565         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2566         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2567         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2568         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2569         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2570         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2571         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2572         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2573         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2574         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2576 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2578         [BZ #16526]
2579         [BZ #16538]
2580         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2581         (__sin): Force underflow exception for arguments with small
2582         absolute value.
2583         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2584         (__kernel_sinf): Force underflow exception for arguments with
2585         small absolute value.
2586         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2587         (__kernel_sincosl): Force underflow exception for arguments with
2588         small absolute value.
2589         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2590         (__kernel_sinl): Force underflow exception for arguments with
2591         small absolute value.
2592         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2593         (__kernel_sincosl): Force underflow exception for arguments with
2594         small absolute value.
2595         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2596         (__kernel_sinl): Force underflow exception for arguments with
2597         small absolute value.
2598         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2599         (__kernel_sinl): Force underflow exception for arguments with
2600         small absolute value.
2601         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2602         (__kernel_sinf): Force underflow exception for arguments with
2603         small absolute value.
2604         * math/auto-libm-test-in: Add more tests of sin and sincos.
2605         * math/auto-libm-test-out: Regenerated.
2607         [BZ #18245]
2608         [BZ #18583]
2609         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2610         (__kernel_standard_l): Use feholdexcept and fesetenv around
2611         conversion to double instead of special-casing overflow and
2612         underflow.
2613         * math/libm-test.inc (fmod_test_data): Add more tests.
2614         (remainder_test_data): Likewise.
2615         (sqrt_test_data): Likewise.
2617 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2619         [BZ #17403]
2620         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2621         atomic_read_barrier, atomic_write_barrier): Define.
2622         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2623         atomic_read_barrier, atomic_write_barrier): Define.
2625 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2627         * math/Makefile [$(PERL) != no]
2628         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2629         dependency on libm-test.stmp below the inclusion of Rules.
2631 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2633         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2635         and included header.
2636         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2637         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2638         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2639         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2640         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2641         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2642         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2643         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2644         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2645         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2646         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2647         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2648         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2649         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2650         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2651         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2652         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2653         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2654         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2656 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2658         [BZ #18371]
2659         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2660         intermediate but not final result might underflow.
2661         * math/s_csqrtf.c (__csqrtf): Likewise.
2662         * math/s_csqrtl.c (__csqrtl): Likewise.
2663         * math/auto-libm-test-in: Add more tests of csqrt.
2664         * math/auto-libm-test-out: Regenerated.
2665         * sysdeps/i386/fpu/libm-test-ulps: Update.
2667         [BZ #18219]
2668         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2669         threshold on absolute value of exponent for which scaling is used.
2670         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2671         * math/auto-libm-test-in: Add more tests of exp2.
2672         * math/auto-libm-test-out: Regenerated.
2674 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2676         [BZ #17977]
2677         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2678         when initializing interface list, based on the bug analysis
2679         and the patch proposed by Eric Newton.
2680         * resolv/tst-res_hconf_reorder.c: New test.
2681         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2682         tst-res_hconf_reorder.
2683         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2684         and $(shared-thread-library).
2685         (tst-res_hconf_reorder-ENV): New variable.
2687         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2688         in comment.
2690 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2692         [BZ #16353]
2693         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2694         (__expm1): Force underflow exception for arguments with small
2695         absolute value.
2696         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2697         (__expm1f): Force underflow exception for arguments with small
2698         absolute value.
2699         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2700         (__expm1): Force underflow exception for arguments with small
2701         absolute value.
2702         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2703         (__expm1f): Force underflow exception for arguments with small
2704         absolute value.
2705         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2706         Check for small arguments before calling __expm1.
2707         * math/auto-libm-test-in: Do not mark underflow exceptions as
2708         possibly missing for bug 16353.
2709         * math/auto-libm-test-out: Regenerated.
2711 2015-06-22  Andreas Schwab  <schwab@suse.de>
2713         [BZ #18513]
2714         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2715         PTR queries.
2717 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2719         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2721         * string/strcoll_l.c: Remove unused struct element idxnow.
2723 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2725         [BZ #18569]
2726         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2727         underflow and return argument in case of subnormal argument.
2728         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2729         Likewise.
2730         * math/auto-libm-test-in: Add more tests of expm1.
2731         * math/auto-libm-test-out: Regenerated.
2733         [BZ #16361]
2734         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2735         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2736         tiny results.
2737         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2738         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2739         tiny results.
2740         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2741         mark underflow exceptions as possibly missing for bug 16361.
2742         * math/auto-libm-test-out: Regenerated.
2744 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2746         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2747         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2748         Remove variable.
2749         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2750         (test-xfail-XOPEN2K8/utmpx.h/conform).
2752         * conform/conformtest.pl ($xerrors): New variable.
2753         (note_error): New function.
2754         (compiletest): New argument $xfail.  Use not_error.
2755         (runtest): Likewise.
2756         (top level): Handle xfail- lines.  Update calls to compiletest and
2757         runtest.  Handle xfail- and optional- in headers listed with
2758         allow-header.
2759         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2760         (O_EXEC): Likewise.
2761         (O_SEARCH): Likewise.
2762         * conform/data/stropts.h-data (ioctl): Likewise.
2763         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2764         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2765         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2766         (msghdr.msg_controllen): Likewise.
2767         (cmsghdr.cmsg_len): Likewise.
2768         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2769         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2770         variable.
2771         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2772         (test-xfail-XPG4/stropts.h/conform): Likewise.
2773         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2774         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2775         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2776         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2777         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2778         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2779         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2780         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2781         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2782         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2783         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2784         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2785         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2786         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2787         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2788         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2789         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2790         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2791         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2793 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2795         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2796         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2797         definitions for proper unfolding of __MATHDECL_VEC.
2799 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2801         * benchtests/bench-strcoll.c:
2802         Include string.h.
2803         (main): Remove unused variable res.
2805 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2807         * timezone/Makefile (%/UTC %/Universal):
2808         Generate test-result files for UTC and Universal.
2810 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2812         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2814 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2816         [BZ #16350]
2817         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2818         for arguments with small absolute value.
2819         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2820         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2821         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2822         (__asinh): Force underflow exception for arguments with small
2823         absolute value.
2824         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2825         (__asinhf): Force underflow exception for arguments with small
2826         absolute value.
2827         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2828         (__asinhl): Force underflow exception for arguments with small
2829         absolute value.
2830         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2831         (__asinhl): Force underflow exception for arguments with small
2832         absolute value.
2833         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2834         (__asinhl): Force underflow exception for arguments with small
2835         absolute value.
2836         * math/auto-libm-test-in: Do not mark underflow exceptions as
2837         possibly missing for bug 16350.
2838         * math/auto-libm-test-out: Regenerated.
2840         * include/bits/ipc.h: Remove file.
2841         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2842         variable.
2843         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2844         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2845         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2846         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2847         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2848         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2849         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2850         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2851         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2853         * math/auto-libm-test-in: Remove spurious underflow allowance for
2854         tests of cexp.
2855         * math/auto-libm-test-out: Regenerated.
2857         [BZ #18558]
2858         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2859         unconditional definition.
2860         (MCAST_BLOCK_SOURCE): Likewise.
2861         (MCAST_UNBLOCK_SOURCE): Likewise.
2862         (MCAST_LEAVE_GROUP): Likewise.
2863         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2864         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2865         (MCAST_MSFILTER): Likewise.
2866         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2867         Remove variable.
2868         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2869         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2870         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2871         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2872         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2874 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2876         * NEWS: Mention addition of x86_64 vector sincosf.
2877         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2878         * math/test-float-vlen4.h: Likewise.
2879         * math/test-float-vlen8.h: Likewise.
2880         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2881         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2882         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2883         * sysdeps/x86_64/fpu/Versions: New versions added.
2884         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2885         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2886         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2887         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2888         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2889         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2890         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2891         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2892         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2893         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2894         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2895         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2896         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2897         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2898         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2899         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2900         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2901         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2902         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2903         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2904         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2905         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2906         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2907         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2909         * NEWS: Mention addition of x86_64 vector sincos.
2910         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2911         * math/math.h (__MATHDECL_VEC): New macro.
2912         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2913         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2914         declaration under condition.
2915         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2916         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2917         TEST_VEC_LOOP change.
2918         * math/test-double-vlen4.h: Likewise.
2919         * math/test-double-vlen8.h: Likewise.
2920         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2921         * math/test-float-vlen4.h: Likewise.
2922         * math/test-float-vlen8.h: Likewise.
2923         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2924         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2925         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2926         * sysdeps/x86_64/fpu/Versions: New versions added.
2927         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2928         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2929         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2930         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2931         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2932         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2933         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2934         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2935         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2936         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2937         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2938         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2939         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2940         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2941         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2942         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2943         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2944         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2945         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2946         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2947         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2948         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2949         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2950         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2952         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2953         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2954         redirections for powf.
2955         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2956         * sysdeps/x86_64/fpu/Versions: New versions added.
2957         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2958         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2959         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2960         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2961         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2962         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2963         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2964         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2965         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2966         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2967         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2968         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2969         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2970         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2971         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2972         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2973         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2974         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2975         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2976         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2977         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2978         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2979         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2980         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2981         * math/test-float-vlen16.h: Fixed 2 argument macro.
2982         * math/test-float-vlen4.h: Likewise.
2983         * math/test-float-vlen8.h: Likewise.
2984         * NEWS: Mention addition of x86_64 vector powf.
2986 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2988         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2989         and redefine.
2990         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2991         and redefine.
2992         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2993         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2994         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2996         [BZ #18553]
2997         * resource/getpriority.c (getpriority): Rename to __getpriority
2998         and define as weak alias of __getpriority.
2999         * resource/setpriority.c (setpriority): Rename to __setpriority
3000         and define as weak alias of __setpriority.
3001         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3002         __getpriority and define as weak alias of __getpriority.
3003         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3004         __setpriority and define as weak alias of __setpriority.
3005         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3006         strong name.
3007         (setpriority): Use __setpriority as strong name.
3008         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3009         __getpriority and define as weak alias of __getpriority.
3010         * include/sys/resource.h (__getpriority): Declare.  Use
3011         libc_hidden_proto.
3012         (__setpriority): Likewise.
3013         (getpriority): Don't use libc_hidden_proto.
3014         (setpriority): Likewise.
3015         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3016         getpriority.  Call __setpriority instead of setpriority.
3017         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3018         Remove variable.
3020         [BZ #18547]
3021         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3022         as weak alias of __getttynam.  Use prototype function definition.
3023         Call __setttyent, __getttyent and __endttyent instead of
3024         setttyent, getttyent and endttyent.
3025         (getttyent): Rename to __getttyent and define as weak alias of
3026         __getttyent.  Call __setttyent instead of setttyent.  Call
3027         __fgets_unlocked instead of fgets_unlocked.
3028         (setttyent): Rename to __setttyent and define as weak alias of
3029         __setttyent.
3030         (endttyent): Rename to __endttyent and define as weak alias of
3031         __endttyent.
3032         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3033         (__setttyent): Likewise.
3034         (__endttyent): Likewise.
3035         (getttyent): Don't use libc_hidden_proto.
3036         (setttyent): Likewise.
3037         (endttyent): Likewise.
3038         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3039         __endttyent instead of setttyent, getttyent and endttyent.
3040         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3041         Remove variable.
3043         [BZ #18546]
3044         * socket/recv.c (__recv): Use libc_hidden_def.
3045         * socket/socket.c (__socket): Likewise.
3046         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3047         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3048         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3049         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3050         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3051         libc_hidden_def.
3052         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3053         libc_hidden_weak.
3054         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3055         Use libc_hidden_proto.
3056         (__recv): Likewise.
3057         * socket/Versions (libc): Export __recv and __socket at version
3058         GLIBC_PRIVATE.
3059         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3060         instead of recv.
3061         (init_mq_netlink): Call __socket instead of socket.
3062         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3063         Remove variable.
3065         [BZ #18545]
3066         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3067         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3068         hidden_weak.
3069         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3070         define as alias of __mq_timedsend.  Use hidden_weak.
3071         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3072         __mq_timedsend as strong name.
3073         (mq_timedreceive): Use __mq_timedreceive as strong name.
3074         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3075         (__mq_timedreceive): Likewise.
3076         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3077         __mq_timedreceive instead of mq_timedreceive.
3078         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3079         instead of mq_timedsend.
3080         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3081         Remove variable.
3083         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3084         hidden_def and hidden_weak instead of libc_hidden_def and
3085         libc_hidden_weak.
3086         (top level): Refer to hidden_def in comment.
3087         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3088         macro.  Use it instead of libc_hidden_def.
3089         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3090         specify __GI_* name explicitly.
3091         (mq_timedreceive): Likewise.
3092         (mq_setattr): Likewise.
3094         [BZ #18544]
3095         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3096         __pthread_barrier_init and define as weak alias of
3097         __pthread_barrier_init.
3098         * sysdeps/sparc/nptl/pthread_barrier_init.c
3099         (pthread_barrier_init): Likewise.
3100         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3101         __pthread_barrier_wait and define as weak alias of
3102         __pthread_barrier_wait.
3103         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3104         (pthread_barrier_wait): Likewise.
3105         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3106         (pthread_barrier_wait): Likewise.
3107         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3108         (pthread_barrier_wait): Likewise.
3109         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3110         (pthread_barrier_wait): Likewise.
3111         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3112         __pthread_barrier_wait at version GLIBC_PRIVATE.
3113         * include/pthread.h (__pthread_barrier_init): Declare.
3114         (__pthread_barrier_wait): Likewise.
3115         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3116         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3117         (helper_thread): Likewise.
3118         (init_mq_netlink): Call __pthread_barrier_init instead of
3119         pthread_barrier_init.
3121         [BZ #18542]
3122         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3123         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3124         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3125         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3126         vswscanf.
3127         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3128         Remove variable.
3130         [BZ #18540]
3131         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3132         strong alias of _IO_fflush.  Use libc_hidden_def.
3133         * libio/iofflush_u.c (fflush_unlocked): Rename to
3134         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3135         Use libc_hidden_weak.
3136         * include/stdio.h (__fflush_unlocked): Declare.  Use
3137         libc_hidden_proto.
3138         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3139         fflush_unlocked.
3140         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3141         Remove variable.
3143         [BZ #18539]
3144         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3145         define as weak alias of __addseverity.
3146         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3147         Remove variable.
3148         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3149         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3150         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3152         [BZ #18536]
3153         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3154         (__tfind): Likewise.
3155         (__tdelete): Likewise.
3156         (__twalk): Likewise.
3157         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3158         __twalk to GLIBC_PRIVATE.
3159         * include/search.h (__tsearch): Use libc_hidden_proto.
3160         (__tfind): Likewise.
3161         (__tdelete): Likewise.
3162         (__twalk): Likewise.
3163         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3164         Call __tdelete instead of tdelete.
3165         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3166         tfind.  Call __tsearch instead of tsearch.
3167         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3168         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3169         Remove variable.
3170         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3172         [BZ #18534]
3173         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3174         (dprintf): Define as a weak alias of __dprintf, not a strong
3175         alias.
3176         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3177         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3178         dprintf.
3179         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3180         Remove variable.
3181         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3182         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3184         [BZ #18533]
3185         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3186         not a strong alias.
3187         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3188         Remove variable.
3190         [BZ #18532]
3191         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3192         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3193         (in6addr_loopback): Rename to __in6addr_loopback and define as
3194         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3195         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3196         libc_hidden_proto.
3197         (__in6addr_any): Likewise.
3198         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3199         in6addr_any.
3200         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3201         variable.
3202         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3204 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3206         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3207         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3208         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3209         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3210         redirections for pow.
3211         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3212         * sysdeps/x86_64/fpu/Versions: New versions added.
3213         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3214         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3215         build of SSE, AVX2 and AVX512 IFUNC versions.
3216         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3217         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3218         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3219         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3220         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3221         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3222         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3223         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3224         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3225         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3226         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3227         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3228         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3229         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3230         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3231         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3232         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3233         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3234         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3235         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3236         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3237         * NEWS: Mention addition of x86_64 vector pow.
3239         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3240         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3241         redirections for expf.
3242         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3243         * sysdeps/x86_64/fpu/Versions: New versions added.
3244         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3245         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3246         build of SSE, AVX2 and AVX512 IFUNC versions.
3247         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3248         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3249         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3250         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3251         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3252         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3253         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3254         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3255         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3256         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3257         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3258         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3259         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3260         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3261         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3262         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3263         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3264         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3265         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3266         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3267         * NEWS: Mention addition of x86_64 vector expf.
3269         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3270         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3271         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3272         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3273         redirections for exp.
3274         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3275         * sysdeps/x86_64/fpu/Versions: New versions added.
3276         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3277         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3278         build of SSE, AVX2 and AVX512 IFUNC versions.
3279         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3280         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3281         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3282         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3283         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3284         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3285         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3286         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3287         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3288         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3289         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3290         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3291         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3292         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3293         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3294         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3295         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3296         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3297         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3298         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3299         * NEWS: Mention addition of x86_64 vector exp.
3301         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3302         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3303         redirections for logf.
3304         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3305         * sysdeps/x86_64/fpu/Versions: New versions added.
3306         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3307         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3308         build of SSE, AVX2 and AVX512 IFUNC versions.
3309         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3310         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3311         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3312         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3313         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3314         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3315         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3316         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3317         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3318         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3319         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3320         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3321         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3322         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3323         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3324         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3325         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3326         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3327         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3328         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3329         * NEWS: Mention addition of x86_64 vector logf.
3331         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3332         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3333         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3334         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3335         redirections for log.
3336         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3337         * sysdeps/x86_64/fpu/Versions: New versions added.
3338         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3339         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3340         build of SSE, AVX2 and AVX512 IFUNC versions.
3341         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3342         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3343         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3344         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3345         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3346         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3347         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3348         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3349         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3350         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3351         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3352         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3353         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3354         test.
3355         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3356         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3357         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3358         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3359         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3360         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3361         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3362         * NEWS: Mention addition of x86_64 vector log.
3364 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3366         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3367         cfi_adjust_cfa_offset argument.
3368         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3369         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3371         [BZ #18034]
3372         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3373         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3374         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3375         ordering using ldar.
3376         (_dl_tlsdesc_dynamic): Likewise.
3377         (_dl_tlsdesc_return_lazy): Likewise.
3378         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3379         relaxed atomics instead of volatile and synchronize with release store.
3380         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3381         volatile.
3382         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3384 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3386         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3387         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3388         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3389         * sysdeps/x86_64/fpu/Versions: New versions added.
3390         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3391         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3392         build of SSE, AVX2 and AVX512 IFUNC versions.
3393         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3394         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3395         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3396         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3397         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3398         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3399         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3400         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3401         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3402         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3403         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3404         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3405         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3406         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3407         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3408         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3409         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3410         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3411         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3412         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3413         * NEWS: Mention addition of x86_64 vector sinf.
3415 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3417         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3418         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3419         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3420         Remove variable.
3421         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3422         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3424 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3426         [BZ #18530]
3427         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3428         strong alias of _IO_fputs.  Use libc_hidden_def.
3429         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3430         and define as weak alias of __fputs_unlocked.  Use
3431         libc_hidden_weak.
3432         * include/stdio.h (__fputs_unlocked): Declare.  Use
3433         libc_hidden_proto.
3434         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3435         fputs_unlocked.
3437         [BZ #18529]
3438         * resolv/netdb.h [__USE_POSIX]: Change condition to
3439         [__USE_XOPEN2K].
3440         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3441         not expect.
3442         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3443         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3444         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3445         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3446         [XPG4 || UNIX98] (AI_ALL): Likewise.
3447         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3448         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3449         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3450         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3451         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3452         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3453         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3454         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3455         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3456         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3457         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3458         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3459         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3460         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3461         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3462         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3463         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3464         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3465         [XPG4 || UNIX98] (gai_strerror): Likewise.
3466         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3467         [XPG4 || UNIX98] (getnameinfo): Likewise.
3469         [BZ #18528]
3470         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3471         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3472         __USE_XOPEN2K8].
3473         (getgrent): Likewise.
3474         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3475         expect.
3476         [XPG3 || POSIX2008] (endgrent): Likewise.
3477         [XPG3] (setgrent): Likewise.
3478         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3479         variable.
3480         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3482         [BZ #18527]
3483         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3484         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3485         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3486         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3487         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3488         * include/unistd.h (__getlogin_r): Declare.  Use
3489         libc_hidden_proto.
3490         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3491         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3492         variable.
3493         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3494         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3495         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3497 2015-06-12  Martin Sebor  <msebor@redhat.com>
3499         [BZ #18512]
3500         * Makerules (check-install-supported): New target.
3501         (install): Add check-install-supported as a dependency.
3502         * manual/install.texi (Installing the C Library): Document
3503         that overriding prefix and exec_prefix is not supported.
3504         Mention DESTDIR.
3505         * INSTALL: Regenerate from the above.
3507 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3509         [BZ #18519]
3510         * posix/Versions (libc): Export __libc_pread at version
3511         GLIBC_PRIVATE.
3512         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3513         instead of pread.
3514         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3515         variable.
3517         [BZ #18522]
3518         * misc/efgcvt_r.c
3519         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3520         (cvt_symbol): Use weak_alias instead of strong_alias.
3521         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3522         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3523         Remove variable.
3524         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3525         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3527         [BZ #18520]
3528         * inet/herrno.c (h_errno): Rename to __h_errno.
3529         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3530         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3531         to __h_errno instead of h_errno.
3532         * nptl/herrno.c (h_errno): Rename to __h_errno.
3533         (__h_errno_location): Refer to __h_errno not h_errno.
3534         * resolv/Versions (h_errno): Rename to __h_errno.
3535         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3536         Remove variable.
3537         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3539 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3541         * configure.ac: More strict check for AVX512 assembler support.
3542         * configure: Regenerated.
3544         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3545         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3546         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3547         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3548         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3549         * sysdeps/x86_64/fpu/Versions: New versions added.
3550         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3551         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3552         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3553         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3554         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3555         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3556         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3557         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3558         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3559         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3560         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3561         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3562         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3563         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3564         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3565         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3566         test.
3567         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3568         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3569         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3570         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3571         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3572         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3573         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3574         * NEWS: Mention addition of x86_64 vector sin.
3576 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3578         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3579         comment.
3581 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3583         [BZ #18479]
3584         * nptl/pt-interp.c: New file.
3585         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3586         Add pt-interp.
3587         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3588         $(common-objpfx)runtime-linker.h.
3590 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3592         * Makeconfig (+interp): Remove unused variable.
3593         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3594         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3595         $(elf-objpfx)runtime-linker.h.
3596         ($(elf-objpfx)runtime-linker.h): Rename to
3597         $(common-objpfx)runtime-linker.h and move ...
3598         * Makerules [$(build-shared) = yes]: ... here.
3599         * elf/interp.c: Include <runtime-linker.h> instead of
3600         <elf/runtime-linker.h>.
3602 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3604         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3605         (__gettimeofday_syscall): Remove vsyscall fallback.
3606         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3607         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3608         Add syscall fallback function.
3609         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3610         if vDSO is not present.
3611         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3612         fallback function.
3613         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3614         present.
3615         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3616         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3618 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3620         [BZ #18497]
3621         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3622         of wcscmp.
3623         (wcscmp): Define as weak alias of WCSCMP.
3624         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3625         wcscoll.
3626         (USE_HIDDEN_DEF): Define.
3627         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3628         __wcscoll.  Don't use libc_hidden_weak.
3629         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3630         wcscmp.
3631         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3632         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3633         __GI_wcscmp.
3634         (weak_alias): Undefine and redefine.
3635         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3636         __wcscmp and define as weak alias of __wcscmp.
3637         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3638         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3639         (__wcscoll): Likewise.
3640         (wcscmp): Don't use libc_hidden_proto.
3641         (wcscoll): Likewise.
3642         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3643         wcscoll.
3644         * posix/regexec.c (check_node_accept_bytes): Likewise.
3645         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3646         variable.
3647         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3648         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3650         [BZ #18507]
3651         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3652         __fstatvfs and define as weak alias of __fstatvfs.  Use
3653         libc_hidden_weak.
3654         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3655         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3656         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3657         Define as alias of __fstatvfs, not fstatvfs.
3658         (fstatvfs64): Likewise.
3659         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3660         Define as alias of __statvfs, not statvfs.
3661         (statvfs64): Likewise.
3662         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3663         Remove variable.
3665 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3668         (HAVE_GETCPU_VSYSCALL): Define.
3669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3670         (HAVE_GETCPU_VSYSCALL): Likewise.
3671         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3672         * sysdeps/unix/sysv/linux/sched_getcpu.c
3673         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3674         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3675         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3676         prototype.
3677         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3678         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3679         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3681         Define.
3682         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3683         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3684         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3685         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3687 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3689         * sysdeps/x86_64/fpu/Makefile: New file.
3690         * sysdeps/x86_64/fpu/Versions: New file.
3691         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3692         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3693         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3694         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3695         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3696         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3697         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3698         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3699         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3700         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3701         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3702         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3703         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3704         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3705         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3706         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3707         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3708         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3709         * sysdeps/x86_64/configure: Regenerated.
3710         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3711         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3712         * manual/install.texi (Configuring and compiling): Document
3713         --disable-mathvec.
3714         * INSTALL: Regenerated.
3715         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3717         * math/Makefile: Added rules for vector tests.
3718         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3719         declaration under condition.
3720         * math/test-double-vlen2.h: New file.
3721         * math/test-double-vlen4.h: New file.
3722         * math/test-double-vlen8.h: New file.
3723         * math/test-vec-loop.h: Added initialization macro.
3724         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3725         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3726         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3727         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3728         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3729         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3730         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3731         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3732         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3733         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3734         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3737         * sysdeps/x86_64/fpu/Versions: New versions added.
3738         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3739         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3740         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3741         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3742         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3743         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3744         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3745         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3746         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3747         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3748         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3749         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3750         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3751         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3752         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3753         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3754         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3755         * NEWS: Mention addition of x86_64 vector cosf.
3757         * math/Makefile: Added CFLAGS for new tests.
3758         * math/test-float-vlen16.h: New file.
3759         * math/test-float-vlen4.h: New file.
3760         * math/test-float-vlen8.h: New file.
3761         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3762         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3763         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3764         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3765         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3766         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3767         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3768         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3769         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3770         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3771         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3773 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3775         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3776         * locale/programs/ld-ctype.c: Likewise.
3778 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3780         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3781         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3782         bit_ZMM16_31_state): New macro.
3783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3784         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3786 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3788         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3790 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3792         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3794 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3796         [BZ #18498]
3797         * libio/memstream.c (open_memstream): Rename to __open_memstream
3798         and define as weak alias of __open_memstream.
3799         * include/stdio.h (__open_memstream): Declare.  Use
3800         libc_hidden_proto.
3801         (open_memstream): Don't use libc_hidden_proto.
3802         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3803         open_memstream.
3804         * posix/getopt.c (_getopt_internal_r): Likewise.
3805         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3806         variable.
3807         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3808         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3809         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3811         [BZ #18496]
3812         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3813         instead of wcrtomb.
3815         [BZ #18483]
3816         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3817         [__USE_XOPEN2K8].  Remove redundant #endif.
3818         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3819         Remove redundant #if.
3820         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3821         Remove variable.
3822         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3823         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3825         [BZ #18495]
3826         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3827         (__iswlower): Likewise.
3828         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3829         (__iswlower): Likewise.
3830         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3831         instead of towlower.
3832         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3833         instead of iswlower.  Call __towupper instead of towupper.
3834         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3835         instead of iswalnum.
3837 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3839         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3840         errors to stderr.
3842 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3844         [BZ #15661]
3845         [BZ #17322]
3846         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3847         Check for overflow properly.  Check for O_APPEND.  Ignore large
3848         file system block sizes.  Add comments about problems.
3849         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3850         * manual/filesys.texi (Storage Allocation): New node.
3852 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3854         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3855         cancellable syscalls.
3856         (SYS_ify): Add guard to no redefine it.
3857         (INLINE_SYSCALL): Likewise.
3858         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3859         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3860         SYSCALL_CANCEL instead.
3861         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3862         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3863         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3864         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3865         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3866         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3867         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3868         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3869         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3870         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3871         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3872         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3873         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3874         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3875         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3876         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3877         Likewise.
3878         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3879         (__libc_pread64): Likewise.
3880         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3881         (__libc_preadv): Likewise.
3882         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3883         (__libc_readv64): Likewise.
3884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3885         (__libc_pwrite): Likewise.
3886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3887         (__libc_pwrite64): Likewise.
3888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3889         (__libc_pwritev): Likewise.
3890         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3891         (__libc_pwritev64): Likewise.
3892         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3893         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3894         (sync_file_range): Likewise.
3895         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3896         Likewise.
3897         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3898         Likewise.
3899         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3900         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3901         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3902         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3903         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3904         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3905         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3906         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3908         Likewise.
3909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3910         (__libc_read64): Likewise.
3911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3912         Likewise.
3913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3914         Likewise.
3915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3916         Likewise.
3917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3918         Likewise.
3919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3920         (__libc_pread64): Likewise.
3921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3922         Likewise.
3923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3924         (__libc_pwrite64): Likewise.
3925         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3926         (sync_file_range): Likewise.
3927         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3928         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3929         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3930         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3931         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3932         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3933         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3934         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3935         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3936         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3937         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3938         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3939         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3940         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3941         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3942         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3943         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3944         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3945         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3946         Likewise.
3947         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3948         Likewise.
3949         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3950         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3951         Likewise.
3952         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3953         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3954         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3955         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3956         Likewise.
3957         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3958         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3959         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3960         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3961         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3963 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3965         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3966         Include dl-vdso.
3967         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3968         Use VDSO routines for gettimeofday, clock_gettime if
3969         available.
3970         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3971         Declare VDSO symbols.
3972         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3973         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3974         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3975         * sysdeps/unix/sysv/linux/arm/Versions: Add
3976         __vdso_clock_gettime.
3978 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3980         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3981         be an inline implementation regardless of library is built within.
3982         (open_not_cancel_2): Likewise.
3983         (__read_nocancel): Likewise.
3984         (__write_nocancel): Likewise.
3985         (openat_not_cancel): Likewise.
3986         (openat_not_cancel_3): Likewise.
3987         (openat64_not_cancel): Likewise.
3988         (openat64_not_cancel_3): Likewise.
3989         (__close_nocancel): Likewise.
3990         (pause_not_cancel): Likewise.
3991         (nanosleep_not_cancel): Likewise.
3992         (sigsuspend_not_cancel): Likewise.
3994 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3996         [BZ #14958]
3997         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3998         wake-up.
3999         (__pthread_rwlock_rdlock_slow): Likewise.
4000         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4001         Likewise.
4002         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4003         Likewise.
4004         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4005         * nptl/tst-rwlock16.c: New file.
4006         * nptl/Makefile (tests): Add new test.
4008 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4010         [BZ #18324]
4011         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4012         missing wake-up of readers.
4013         * nptl/tst-rwlock15.c: New file.
4014         * nptl/Makefile (tests): Add new test.
4016 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4018         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4019         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4020         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4021         and __nacl_supply_interface_rtld.
4022         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4023         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4024         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4025         Add __nacl_supply_interface_rtld.
4026         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4028 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4030         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4031         isfinite.
4032         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4033         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4035 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4037         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4038         __signbit* with standard C99 macros.
4039         * math/e_exp10l.c: Likewise.
4040         * math/e_exp2l.c: Likewise.
4041         * math/e_scalb.c: Likewise.
4042         * math/e_scalbf.c: Likewise.
4043         * math/e_scalbl.c: Likewise.
4044         * math/s_ldexp.c: Likewise.
4045         * math/s_ldexpf.c: Likewise.
4046         * math/s_ldexpl.c: Likewise.
4047         * math/w_atan2.c: Likewise.
4048         * math/w_atan2f.c: Likewise.
4049         * math/w_atan2l.c: Likewise.
4050         * math/w_cosh.c: Likewise.
4051         * math/w_coshf.c: Likewise.
4052         * math/w_coshl.c: Likewise.
4053         * math/w_exp10.c: Likewise.
4054         * math/w_exp10f.c: Likewise.
4055         * math/w_exp10l.c: Likewise.
4056         * math/w_exp2.c: Likewise.
4057         * math/w_exp2f.c: Likewise.
4058         * math/w_exp2l.c: Likewise.
4059         * math/w_fmod.c: Likewise.
4060         * math/w_fmodf.c: Likewise.
4061         * math/w_fmodl.c: Likewise.
4062         * math/w_hypot.c: Likewise.
4063         * math/w_hypotf.c: Likewise.
4064         * math/w_hypotl.c: Likewise.
4065         * math/w_jnl.c: Likewise.
4066         * math/w_lgamma.c: Likewise.
4067         * math/w_lgamma_r.c: Likewise.
4068         * math/w_lgammaf.c: Likewise.
4069         * math/w_lgammaf_r.c: Likewise.
4070         * math/w_lgammal.c: Likewise.
4071         * math/w_lgammal_r.c: Likewise.
4072         * math/w_pow.c: Likewise.
4073         * math/w_powf.c: Likewise.
4074         * math/w_powl.c: Likewise.
4075         * math/w_remainder.c: Likewise.
4076         * math/w_remainderf.c: Likewise.
4077         * math/w_remainderl.c: Likewise.
4078         * math/w_scalb.c: Likewise.
4079         * math/w_scalbf.c: Likewise.
4080         * math/w_scalbl.c: Likewise.
4081         * math/w_scalbln.c: Likewise.
4082         * math/w_scalblnf.c: Likewise.
4083         * math/w_scalblnl.c: Likewise.
4084         * math/w_sinh.c: Likewise.
4085         * math/w_sinhf.c: Likewise.
4086         * math/w_sinhl.c: Likewise.
4087         * math/w_tgamma.c: Likewise.
4088         * math/w_tgammaf.c: Likewise.
4089         * math/w_tgammal.c: Likewise.
4090         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4091         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4092         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4093         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4094         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4095         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4096         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4097         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4098         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4099         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4100         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4101         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4102         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4103         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4104         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4105         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4106         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4107         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4108         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4109         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4110         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4111         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4112         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4114         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4115         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4116         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4117         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4118         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4119         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4120         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4121         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4122         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4123         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4124         * stdio-common/printf_fp.c: Likewise.
4125         * stdio-common/printf_fphex.c: Likewise.
4126         * stdio-common/printf_size.c: Likewise.
4128 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4130         [BZ #18470]
4131         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4132         strnlen.
4133         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4134         Remove variable.
4135         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4136         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4137         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4138         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4139         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4140         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4141         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4142         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4143         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4144         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4146         [BZ #18468]
4147         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4148         weak alias of __wmemchr.  Use libc_hidden_weak.
4149         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4150         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4151         instead of wmemchr.
4153 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4155         [BZ #18383]
4156         * elf/tst-tlsalign-extern.c: New file.
4157         * elf/tst-tlsalign-extern-static.c: New file.
4158         * elf/tst-tlsalign-vars.c: New file.
4159         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4160         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4161         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4162         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4163         (test-xfail-tst-tlsalign-extern-static): New variable.
4165 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4167         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4168         Use variable name _sc_err instead of err.
4169         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4170         instead of ret.
4171         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4172         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4173         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4174         (INLINE_SYSCALL): Likewise.
4176         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4177         * include/string.h (__strnlen): Use libc_hidden_proto.
4178         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4179         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4180         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4181         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4182         (libc_hidden_def): Undefine and redefine.
4183         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4184         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4185         __GI_strnlen.
4186         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4187         libc_hidden_def.
4188         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4190         [BZ #18469]
4191         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4192         weak alias of __towlower.  Use libc_hidden_weak.
4193         (towupper): Rename to __towupper and define as weak alias of
4194         __towupper.  Use libc_hidden_weak.
4195         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4196         (__towupper): Likewise.
4197         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4198         __towlower instead of towlower.
4200 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4202         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4203         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4205 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4207         * sysdeps/aarch64/libm-test-ulps: Update.
4209 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4211         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4212         Define.
4213         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4215         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4216         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4217         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4218         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4219         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4221 2015-06-01  Martin Sebor  <msebor@redhat.com>
4223         [BZ #18116]
4224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4225         (__setcontext): Use extended four-operand version of mtsf whenever
4226         possible.
4227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4228         (__novec_swapcontext): Likewise.
4230 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4232         * benchtests/scripts/compare_bench.py: New file.
4233         * benchtests/scripts/import_bench.py (mean): New function.
4234         (split_list): Likewise.
4235         (do_for_all_timings): Likewise.
4236         (compress_timings): Likewise.
4238         * benchtests/scripts/import_bench.py: New file.
4239         * benchtests/scripts/validate_benchout.py: Import import_bench
4240         instead of jsonschema.
4241         (validate_bench): Remove function.
4242         (main): Use import_bench.
4244 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4246         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4247         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4249 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4253 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4255         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4256         set THREAD_SELF->tid to a magic value and futex-wake it.
4257         Pass its address to the thread_exit system call.
4258         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4259         bit is clear.
4260         * sysdeps/nacl/lowlevellock.h: New file.
4261         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4263         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4264         Add TIMEOUT to current time, don't subtract it.
4266 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4268         [BZ #2981]
4269         [BZ #18422]
4270         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4271         ($(objpfx)tst-audit2.out): Also depend on
4272         $(objpfx)tst-auditmod9b.so.
4273         * elf/tst-audit2.c: Include <dlfcn.h>.
4274         (calloc_called): New.
4275         (calloc): Allow to be called more than once.
4276         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4278 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4280         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4281         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4283 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4285         * stdlib/monetary.h: Fix comment.
4287 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4289         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4290         Avoid using variables in #defines that might cause shadowing.
4291         (INTERNAL_VSYSCALL_CALL): Likewise.
4293 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4295         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4297         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4298         * nptl/lll_timedlock_wait.c: ... to this new file.
4299         * nptl/Makefile (libpthread-routines): Add it.
4300         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4301         * nptl/lll_timedwait_tid.c: ... to this new file.
4302         * nptl/Makefile (libpthread-routines): Add it.
4303         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4304         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4305         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4306         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4307         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4308         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4309         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4310         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4311         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4312         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4314 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4316         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4317         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4318         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4320         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4322         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4324         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4325         * sysdeps/unix/sysv/linux/tile/sysdep.h
4326         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4327         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4328         using vDSO syscall macro.
4330 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4332         [BZ #17293]
4333         * uk_UA: Fix sorting order for Ukrainian locale
4335 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4337         * stdlib/monetary.h: Fix comment.
4339 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4341         [BZ #18234]
4342         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4343         st_mtim and st_ctim members.
4344         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4345         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4346         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4347         (struct stat64): Likewise.
4348         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4349         (struct stat64): Likewise.
4350         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4351         (struct stat64): Likewise.
4353 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4355         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4356         Define and include sysdep-vdso.h.
4357         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4358         Likewise.
4359         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4360         Likewise.
4361         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4362         Define with VDSO_SYMBOL and use PTR_MANGLE.
4363         (__vdso_clock_gettime): Likewise.
4364         (__vdso_clock_getres): Likewise.
4365         (_libc_vdso_platform_setup): Likewise.
4366         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4367         Likewise.
4368         (_libc_vdso_platform_setup): Likewise.
4369         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4370         Likewise.
4371         (__vdso_clock_gettime): Likewise.
4372         (__vdso_clock_getres): Likewise.
4373         (__vdso_get_tbfreq): Likewise.
4374         (__vdso_getcpu): Likewise.
4375         (__vdso_time): Likewise.
4376         (__vdso_sigtramp_rt64): Likewise.
4377         (__vdso_signtramp32): Likewise.
4378         (__vdso_sigtramp_rt32): Likewise.
4379         (_libc_vdso_platform_setup): Likewise.
4380         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4381         Likewise.
4382         (__vdso_clock_gettime): Likewise.
4383         (__vdso_clock_getres): Likewise.
4384         (_libc_vdso_platform_setup): Likewise.
4385         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4386         Likewise.
4387         (__vdso_clock_gettime): Likewise.
4388         (_libc_vdso_platform_setup): Likewise.
4389         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4390         Likewise.
4391         (__vdso_getcpu): Likewise.
4392         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4393         Use VDSO_SYMBOL macro to define.
4394         (__vdso_clock_gettime): Likewise.
4395         (__vdso_clock_getres): Likewise.
4396         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4397         Likewise.
4398         (__vdso_clock_gettime): Likewise.
4399         (__vdso_clock_getres): Likewise.
4400         (__vdso_get_tbfreq): Likewise.
4401         (__vdso_getcpu): Likewise.
4402         (__vdso_time): Likewise.
4403         (__vdso_sigtramp_rt64): Likewise.
4404         (__vdso_signtramp32): Likewise.
4405         (__vdso_sigtramp_rt32): Likewise.
4406         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4407         Likewise.
4408         (__vdso_clock_gettime): Likewise.
4409         (__vdso_clock_getres): Likewise.
4410         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4411         Likewise.
4412         (__vdso_clock_gettime): Likewise.
4413         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4414         Likewise.
4415         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4416         macro.
4417         (INTERNAL_VSYSCALL): Likewise.
4418         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4419         Remove macro.
4420         (INTERNAL_VSYSCALL): Likewise.
4421         (INTERNAL_VSYSCALL_NCS): Likewise.
4422         (INTERNAL_VSYSCALL_CALL): New macro.
4423         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4424         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4425         Likewise.
4426         (INTERNAL_VSYSCALL): Likewise.
4427         (INTERNAL_VSYSCALL_NCS): Likewise.
4428         (INTERNAL_VSYSCALL_CALL): New macro.
4429         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4431         (INLINE_VSYSCALL): Remove macro.
4432         (INTERNAL_VSYSCALL): Remove macro.
4433         (INTERNAL_VSYSCALL_NCS): Remove macro.
4434         (INTERNAL_VSYSCALL_CALL): New macro.
4435         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4436         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4437         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4438         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4439         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4441         (INLINE_VSYSCALL): Remove macro.
4442         (INTERNAL_VSYSCALL): Likewise.
4443         (INTERNAL_VSYSCALL_NCS): Likewise.
4444         (INTERNAL_VSYSCALL_CALL): New macro.
4445         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4446         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4447         PTR_DEMANGLE on vDSO pointer.
4448         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4449         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4450         macro.
4451         (INTERNAL_SYSCALL): Likewise.
4452         (INTERNAL_VSYSCALL_NCS): Remove macro.
4453         (INTERNAL_VSYSCALL_CALL): New macro.
4454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4455         Remove macro.
4456         (INTERNAL_VSYSCALL): Likewise.
4457         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4458         sysdep-vdso.h instead of libc-vdso.h.
4459         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4460         definition.
4461         (INLINE_VSYSCALL): Likewise.
4462         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4463         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4464         definition.
4465         (INLINE_VSYSCALL): Likewise.
4466         (INTERNAL_VSYSCALL): Likewise.
4467         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4468         * sysdeps/unix/sysv/linux/timespec_get.c
4469         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4470         (timespec_get): Use ANSI prototype.
4471         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4472         and definition for Linux.
4474 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4476         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4477         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4479 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4481         [BZ #2981]
4482         [BZ #18410]
4483         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4484         for missing DT_PLTRELSZ.
4486 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4488         Remove obsolete aliases that broke 'locale -a'
4489         [BZ #18412]
4490         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4491         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4492         breaking some applications that use 'locale -a' output.
4493         Change the encoding of this file from Latin-1 to ASCII to avoid
4494         other potential problems with people grepping this file.
4496 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4498         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4499         -fasynchronous-unwind-tables.
4500         (CFLAGS-sendto.c): Likewise.
4501         (CFLAGS-sendmsg.c): Likewise.
4502         (CFLAGS-connect.c): Likewise.
4503         (CFLAGS-recvmsg.c): Likewise.
4504         (CFLAGS-recvfrom.c): Likewise.
4505         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4506         (SOCKETCALL): New macro: non-cancellable socketcall.
4507         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4508         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4509         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4510         * sysdeps/unix/sysv/linux/accept.c: New file.
4511         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4512         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4513         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4514         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4515         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4516         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4517         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4518         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4519         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4520         * sysdeps/unix/sysv/linux/send.c: Likewise.
4521         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4522         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4523         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4524         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4525         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4526         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4527         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4528         prototype.
4529         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4530         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4531         instead of __internal_xxx function.
4532         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4533         prototype.
4534         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4535         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4536         instead of __internal_xxx function.
4537         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4538         prototype.
4539         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4540         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4541         instead of __internal_xxx function.
4542         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4543         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4544         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4545         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4546         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4547         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4548         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4549         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4550         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4551         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4552         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4553         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4554         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4555         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4556         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4557         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4558         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4559         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4560         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4561         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4564         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4565         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4566         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4567         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4568         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4569         * sysdeps/unix/sysv/linux/send.S: Likewise.
4570         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4571         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4572         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4573         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4574         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4575         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4576         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4577         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4578         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4579         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4580         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4581         socketcall is implemented in GLIBC.
4583 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4585         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4586         (__fma): Ignore uninitialized warnings around packing.
4587         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4588         (__fmaf): Ignore uninitialized warnings around packing.
4589         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4590         (__fmal): Ignore uninitialized warnings around packing.
4592         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4593         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4594         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4595         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4597         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4598         switch statement into default case.
4599         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4601         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4602         a conditional in forcing "inexact".
4603         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4604         Likewise.
4606 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4608         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4609         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4610         for each INTERNAL_SYSCALL use.
4612 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4614         [BZ #438]
4615         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4616         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4617         variable.
4619         [BZ #18444]
4620         * string/basename.c (basename): Rename to __basename and define as
4621         weak alias of __basename.  Use libc_hidden_weak.
4622         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4623         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4624         __basename instead of basename.
4625         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4626         Remove variable.
4627         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4629 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4631         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4632         (_IO_JUMPS_FILE_plus): New.
4633         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4634         _IO_CAST_FIELD_ACCESS.
4635         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4636         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4637         * libio/freopen.c (freopen): Likewise.
4638         * libio/freopen64.c (freopen64): Likewise.
4639         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4640         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4641         * libio/iofwide.c (_IO_fwide): Likewise.
4642         * libio/memstream.c (open_memstream): Likewise.
4643         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4644         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4645         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4647 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4649         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4650         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4651         NADJ.
4652         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4653         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4654         NADJ.
4655         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4656         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4657         NADJ.
4659         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4660         (p == 4) case.
4662         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4663         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4664         Remove variable.
4665         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4666         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4667         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4669 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4671         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4672         Adjust jump table label generation macros.
4674 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4676         * stdio-common/vfprintf.c (vfprintf): Move local variables
4677         args_malloced, specs, specs_malloced, and the code after
4678         do_positional to the printf_positional function.
4679         (printf_positional): New function.
4681 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4683         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4684         function.
4685         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4686         STEP4_TABLE, process_arg): Move macro definitions
4687         out of the vfprintf function.  (Cosmetic change only.)
4689 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4691         * benchtests/Makefile (stdio-common-bench): Define.
4692         (benchset): Add stdio-common-bench.
4693         * sprintf-inputs: New file.
4694         * sprintf-source.c: New file.
4696 2015-05-21  Andreas Schwab  <schwab@suse.de>
4698         [BZ #13028]
4699         [BZ #17053]
4700         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4701         of struct __res_state.
4702         * resolv/res_send.c (__libc_res_nsend): Likewise.
4703         (get_nsaddr): New function.
4704         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4705         statp directly.
4707 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4709         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4710         -D_POSIX_C_SOURCE=199506L.
4712         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4714         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4715         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4716         Do not mention otherwise.
4717         [POSIX] (_XOPEN_VERSION): Do not expect.
4718         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4719         [POSIX] (_POSIX2_C_BIND): Likewise.
4720         [POSIX] (_POSIX2_VERSION): Likewise.
4721         [POSIX] (_XOPEN_XPG2): Likewise.
4722         [POSIX] (_XOPEN_XPG3): Likewise.
4723         [POSIX] (_XOPEN_XPG4): Likewise.
4724         [POSIX] (_XOPEN_UNIX): Likewise.
4725         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4726         [POSIX] (_POSIX_BARRIERS): Likewise.
4727         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4728         [POSIX] (_POSIX_CPUTIME): Likewise.
4729         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4730         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4731         [POSIX] (_POSIX_SHELL): Likewise.
4732         [POSIX] (_POSIX_SPAWN): Likewise.
4733         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4734         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4735         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4736         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4737         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4738         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4739         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4740         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4741         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4742         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4743         [POSIX] (_POSIX2_PBS): Likewise.
4744         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4745         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4746         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4747         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4748         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4749         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4750         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4751         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4752         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4753         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4754         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4755         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4756         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4757         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4758         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4759         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4760         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4761         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4762         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4763         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4764         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4765         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4766         [POSIX] (_SC_2_C_BIND): Likewise.
4767         [POSIX] (_SC_2_C_VERSION): Likewise.
4768         [POSIX] (_SC_2_PBS): Likewise.
4769         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4770         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4771         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4772         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4773         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4774         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4775         [POSIX] (_SC_BARRIERS): Likewise.
4776         [POSIX] (_SC_BASE): Likewise.
4777         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4778         [POSIX] (_SC_DEVICE_IO): Likewise.
4779         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4780         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4781         [POSIX] (_SC_FD_MGMT): Likewise.
4782         [POSIX] (_SC_FIFO): Likewise.
4783         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4784         [POSIX] (_SC_FILE_LOCKING): Likewise.
4785         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4786         [POSIX] (_SC_IOV_MAX): Likewise.
4787         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4788         [POSIX] (_SC_NETWORKING): Likewise.
4789         [POSIX] (_SC_PAGE_SIZE): Likewise.
4790         [POSIX] (_SC_PASS_MAX): Likewise.
4791         [POSIX] (_SC_PIPE): Likewise.
4792         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4793         [POSIX] (_SC_REGEXP): Likewise.
4794         [POSIX] (_SC_SHELL): Likewise.
4795         [POSIX] (_SC_SIGNALS): Likewise.
4796         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4797         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4798         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4799         [POSIX] (_SC_USER_GROUPS): Likewise.
4800         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4801         [POSIX] (_SC_STREAMS): Likewise.
4802         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4803         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4804         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4805         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4806         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4807         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4808         [POSIX] (_PC_FILESIZEBITS): Likewise.
4809         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4810         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4811         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4812         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4813         [POSIX] (uid_t): Likewise.
4814         [POSIX] (gid_t): Likewise.
4815         [POSIX] (off_t): Likewise.
4816         [POSIX] (pid_t): Likewise.
4817         [POSIX] (cuserid): Allow.
4818         (_SC_2_CHAR_TERM): Require constant.
4819         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4820         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4821         variable.
4823 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4825         * sysdeps/nacl/pthread-pids.h: New file.
4826         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4827         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4829         * nptl/pthread-pids.h: New file.
4830         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4831         * nptl/nptl-init.c: Include <pthread-pids.h>.
4832         (__pthread_initialize_minimal_internal):
4833         Call __pthread_initialize_pids instead of set_tid_address syscall.
4835         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4836         * sysdeps/posix/usleep.c: ... here.
4838 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4840         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4841         call_pselect6 object.
4842         [$(subdir) = io]: Remove call_sync_file_range object.
4843         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4844         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4845         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4846         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4848 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4850         * math/s_cproj.c: Add include "math_private.h".
4851         * math/s_cprojf.c: Likewise.
4852         * math/s_cprojl.c: Likewise.
4854 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4856         [BZ #18244]
4857         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4858         high mantissa bit when testing whether P is a NaN.
4859         * math/libm-test.inc (remainder_test_data): Add more tests.
4860         (remquo_test_data): Likewise.
4862         [BZ #18049]
4863         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4864         below -32, return the argument, with underflow if subnormal.
4865         * math/auto-libm-test-in: Add more tests of atanh.
4866         * math/auto-libm-test-out: Regenerated.
4868 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4870         [BZ #18434]
4871         * nptl/tst-sem15.c: New file.
4872         * nptl/Makefile (tests): Add it.
4873         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4874         s/<</>>/ to fix typo in EOVERFLOW check.
4875         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4877 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4879         * manual/strings.texi (envz_remove): Fix typo in safety
4880         annotations.
4882 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4883             Steve Ellcey  <sellcey@imgtec.com>
4885         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4886         in order to avoid strict alias warnings.
4887         (iruserok_af): Ditto for ra.
4889 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4891         [BZ #17581]
4892         * malloc/hooks.c
4893         (magicbyte): Convert to a function and avoid returning 0x01.
4894         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4895         (mem2chunk_check): Fix unsigned comparisons to zero.
4896         Hoist defs of sz and magic.
4898 2015-05-19  Richard Henderson  <rth@redhat.com>
4900         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4902         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4904 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4906         [BZ #16159]
4907         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4908         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4909         (reused_arena): Find a non-corrupt arena.
4910         (heap_trim): Pass arena to unlink.
4911         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4912         malloc_printerr.
4913         (top_check): Likewise.
4914         (free_check): Likewise.
4915         (realloc_check): Likewise.
4916         * malloc/malloc.c (malloc_printerr): Add arena argument.
4917         (unlink): Likewise.
4918         (munmap_chunk): Adjust.
4919         (ARENA_CORRUPTION_BIT): New macro.
4920         (arena_is_corrupt): Likewise.
4921         (set_arena_corrupt): Likewise.
4922         (sysmalloc): Use mmap if there are no usable arenas.
4923         (_int_malloc): Likewise.
4924         (__libc_malloc): Don't fail if arena_get returns NULL.
4925         (_mid_memalign): Likewise.
4926         (__libc_calloc): Likewise.
4927         (__libc_realloc): Adjust for additional argument to
4928         malloc_printerr.
4929         (_int_free): Likewise.
4930         (malloc_consolidate): Likewise.
4931         (_int_realloc): Likewise.
4932         (_int_memalign): Don't touch corrupt arenas.
4933         * malloc/tst-malloc-backtrace.c: New test case.
4935         * Makefile (summarize-tests): Fix return value on success.
4937         * manual/string.texi (Envz Functions): Add envz_remove.
4939 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4941         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4942         (invalid_name): New function, broken out of ...
4943         (__opendirat): ... here.  Call it.
4944         (need_isdir_precheck): New function, broken out of ...
4945         (__opendirat): ... here.  Call it.
4946         Use __fxstatat64, not __xstatat64.
4947         (opendir_oflags): New function, broken out of ...
4948         (__opendirat): ... here.  Call it.
4949         (opendir_tail): New function, broken out of ...
4950         (__opendirat): ... here.  Call it.
4951         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4952         opendir_tail, rather than punting to __opendirat.
4953         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4955 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4957         * .gitignore: Ignore generated *.pyc.
4959 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4961         * include/stdio.h: Define __need_wint_t.
4962         * test-skeleton.c: Avoid `for' loop initial declaration.
4963         * nptl/tst-initializers1.c: Use test-skeleton.c.
4965 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4967         [BZ #18418]
4968         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4970 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4972         [BZ #16352]
4973         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4974         (__ieee754_atanh): Force underflow exception for results with
4975         small absolute value.
4976         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4977         (__ieee754_atanhf): Force underflow exception for results with
4978         small absolute value.
4979         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4980         (__ieee754_atanh): Force underflow exception for results with
4981         small absolute value.
4982         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4983         (__ieee754_atanhf): Force underflow exception for results with
4984         small absolute value.
4985         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4986         (__ieee754_atanhl): Force underflow exception for results with
4987         small absolute value.
4988         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4989         (__ieee754_atanhl): Force underflow exception for results with
4990         small absolute value.
4991         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4992         (__ieee754_atanhl): Force underflow exception for results with
4993         small absolute value.
4994         * math/auto-libm-test-in: Do not allow missing underflow
4995         exceptions from atanh.
4996         * math/auto-libm-test-out: Regenerated.
4998         [BZ #18221]
4999         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5000         2**-28 as threshold for returning x or +/- 1/x.
5001         * math/auto-libm-test-in: Add more tests of tan.
5002         * math/auto-libm-test-out: Regenerated.
5004         [BZ #18220]
5005         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5006         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5007         * math/auto-libm-test-in: Add another test of lgamma.
5008         * math/auto-libm-test-out: Regenerated.
5010 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5012         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5013         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5014         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5015         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5016         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5017         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5018         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5020         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5021         (log1): Use fabs.  (my_log2): Use fabs.
5022         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5023         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5024         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5025         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5026         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5027         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5028         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5029         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5030         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5031         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5032         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5034 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5036         [BZ #18217]
5037         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5038         as threshold for returning 1 - x.
5039         * math/auto-libm-test-in: Add more tests of erfc.
5040         * math/auto-libm-test-out: Regenerated.
5042 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5044         [BZ #18196]
5045         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5046         threshold for large arguments.
5047         * math/auto-libm-test-in: Add another test of atan.
5048         * math/auto-libm-test-out: Regenerated.
5050         [BZ #16339]
5051         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5052         (__log1p): Force underflow exception for results with small
5053         absolute value.
5054         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5055         (__log1pf): Force underflow exception for results with small
5056         absolute value.
5057         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5058         (__log1p): Force underflow exception for results with small
5059         absolute value.
5060         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5061         (__log1pf): Force underflow exception for results with small
5062         absolute value.
5063         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5064         (__log1pl): Force underflow exception for results with small
5065         absolute value.
5066         * math/auto-libm-test-in: Do not allow missing underflow
5067         exceptions from log1p.
5068         * math/auto-libm-test-out: Regenerated.
5070 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5071             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5073         [BZ #16704]
5074         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5076 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5078         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5079         (libmvec): New variable.
5080         * configure.ac: Added option for mathvec build.
5081         * configure: Regenerated.
5082         * mathvec/Depend: New file.
5083         * mathvec/Makefile: New file.
5084         * shlib-versions: Added libmvec.
5085         * math/Makefile: Added rule for libm.so installation.
5087         * bits/math-vector.h: New file.
5088         * bits/libm-simd-decl-stubs.h: New header.
5089         * math/Makefile (headers): Added new header
5090         libm-simd-decl-stubs.h.
5091         * math/math.h (__MATHCALL_VEC): New macro.
5093         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5094         for conditions in testing functions.
5095         * math/Makefile: Added call of libm-have-vector-test.sh.
5096         * math/libm-test.inc (HAVE_VECTOR): New macros.
5098         * math/libm-test.inc: START refactored.
5099         * math/test-double.c (TEST_MATHVEC): Add define.
5100         * math/test-float.c: Likewise.
5101         * math/test-idouble.c: Likewise.
5102         * math/test-ifloat.c: Likewise.
5103         * math/test-ildoubl.c: Likewise.
5104         * math/test-ldouble.c: Likewise.
5105         * sysdeps/generic/math-tests-arch.h
5106         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5107         architecture check.
5109         * math/test-double.c (FUNC_TEST): New macro.
5110         * math/test-float.c: Likewise.
5111         * math/test-idouble.c: Likewise.
5112         * math/test-ifloat.c: Likewise.
5113         * math/test-ildoubl.c: Likewise.
5114         * math/test-ldouble.c: Likewise.
5115         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5117 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5119         * sysdeps/nacl/fdopendir.c: New file.
5121         * dirent/scandir-tail.c: New file.
5122         * dirent/scandir64-tail.c: New file.
5123         * dirent/Makefile (routines): Add them.
5124         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5125         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5126         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5127         [!SCANDIR] (SCANDIR_TAIL): New macro.
5128         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5129         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5130         (SCANDIRAT): Macro removed.
5131         (SCANDIR_TAIL): New macro.
5132         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5133         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5134         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5135         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5136         (READDIR): Macro removed.
5137         (SCANDIR_TAIL): New macro.
5138         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5139         (SCANDIR_TAIL): New macro.
5141         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5142         * dirent/scandir-cancel.c: ... to this new file.
5143         * dirent/Makefile (routines): Add it.
5144         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5145         * sysdeps/unix/sysv/linux/i386/scandir64.c
5146         (SKIP_SCANDIR_CANCEL): Macro removed.
5147         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5149         * dirent/tst-scandir.c: New file.
5150         * dirent/tst-scandir64.c: New file.
5151         * dirent/Makefile (tests): Add them.
5153 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5155         [BZ #18409]
5156         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5158 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5160         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5161         list.
5163 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5165         * benchtests/bench-strcoll.c: New benchmark.
5166         * benchtests/Makefile: Generate locales and run benchmark.
5167         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5168         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5169         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5170         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5171         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5172         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5173         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5174         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5175         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5176         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5177         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5178         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5179         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5180         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5181         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5182         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5183         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5184         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5185         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5186         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5187         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5188         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5189         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5190         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5192 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5194         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5195         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5197 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5199         * posix/uname-values.h: New file.
5200         * posix/uname.c: Include that instead of <config-name.h>.
5201         * sysdeps/nacl/uname-values.h: New file.
5202         * sysdeps/arm/nacl/uname-values.h: New file.
5204 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5206         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5207         splitting into fields.
5209 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5211         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5212         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5213         * locale/localeinfo.h: Add enum collation_encoding_type.
5214         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5215         * programs/ld-collate.c (collate_output): Add encoding type info.
5216         * string/strcoll_l.c (STRDIFF): New function.
5217         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5218         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5220 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5222         [BZ #18397]
5223         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5224         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5225         <fpu_control.h> instead of <math/fpu_control.c>.
5226         * sysdeps/mips/mips32/fpu/Makefile: New file.
5228 2015-05-11  Andreas Schwab  <schwab@suse.de>
5230         [BZ #18007]
5231         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5232         nss_endgrent.
5233         (_nss_compat_endgrent): Call nss_endgrent.
5234         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5235         nss_endpwent.
5236         (_nss_compat_endpwent): Call nss_endpwent.
5237         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5238         needent, call nss_setspent only if non-zero.
5239         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5240         (internal_endspent): Don't call nss_endspent.
5241         (_nss_compat_endspent): Call nss_endspent.
5242         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5243         Remove.  All uses removed.
5244         (internal_setent): Remove parameter stayopen, add parameter
5245         stream.  Use it instead of global variable.
5246         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5247         (internal_endent, internal_getent): Add parameter stream.  Use it
5248         instead of global variable.
5249         (CONCAT(_nss_files_end,ENTNAME))
5250         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5251         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5252         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5253         uses removed.
5254         (internal_setent, internal_endent): Add parameter stream.  Use it
5255         instead of global variable.
5256         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5257         stream.
5258         (get_next_alias): Add parameter stream.
5259         (_nss_files_getaliasent_r): Pass global stream.
5260         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5261         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5262         (_nss_files_gethostbyname4_r): Pass local stream to
5263         internal_setent, internal_getent and internal_endent.  Remove
5264         locking.
5266 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5268         * tst-strfmon1.c (tests): Update expected currency symbol.
5270 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5272         * sysdeps/nacl/gethostname.c: New file.
5274 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5276         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5277         and sinh.
5278         * math/auto-libm-test-out: Regenerated.
5279         * sysdeps/i386/fpu/libm-test-ulps: Update.
5280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5282 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5284         [BZ #18125]
5285         * stdlib/tst-setcontext3.c: New file.
5286         * stdlib/tst-setcontext3.sh: New file.
5287         * stdlib/Makefile (tests): Add tst-setcontext3.
5288         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5289         to verify test program created output file.
5290         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5291         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5292         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5293         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5295 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5297         [BZ #18383]
5298         * elf/tst-tlsalign.c: New file.
5299         * elf/tst-tlsalign-static.c: New file.
5300         * elf/tst-tlsalign-lib.c: New file.
5301         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5302         (tests-static): Add tst-tlsalign-static.
5303         (modules-names): Add tst-tlsalign-lib.
5304         (test-xfail-tst-tlsalign): New variable.
5305         (test-xfail-tst-tlsalign-static): New variable.
5307         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5308         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5310 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5312         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5313         csqrt, erfc, sin and sincos.
5314         * math/auto-libm-test-out: Regenerated.
5315         * sysdeps/i386/fpu/libm-test-ulps: Update.
5316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5320         * sysdeps/aarch64/libm-test-ulps: Update.
5322 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5324         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5325         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5326         * math/auto-libm-test-out: Regenerated.
5327         * sysdeps/i386/fpu/libm-test-ulps: Update.
5328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5330 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5332         [BZ #18265]
5333         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5334         (wcsncpy): Likewise.
5336 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5338         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5339         Assume __ASSUME_FALLOCATE is always true.
5340         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5341         (__posix_fallocate64_l64): Likweise.
5342         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5343         (posix_fallocate): Likewise.
5344         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5345         (__posix_fallocate64_l64): Likewise.
5346         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5347         [!__ASSUME_FALLOCATE]: Add comment.
5349 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5351         * sysdeps/unix/sysv/linux/i386/Makefile
5352         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5353         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5354         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5355         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5356         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5357         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5358         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5360 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5362         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5363         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5364         tgamma.
5365         * math/auto-libm-test-out: Regenerated.
5366         * sysdeps/i386/fpu/libm-test-ulps: Update.
5367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5369 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5371         * math/auto-libm-test-in: Add more tests of tgamma.
5372         * math/auto-libm-test-out: Regenerated.
5373         * sysdeps/i386/fpu/libm-test-ulps: Update.
5374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5376         * math/auto-libm-test-in: Add more tests of tanh.
5377         * math/auto-libm-test-out: Regenerated.
5378         * sysdeps/i386/fpu/libm-test-ulps: Update.
5379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5381         * math/auto-libm-test-in: Add more tests of tan.
5382         * math/auto-libm-test-out: Regenerated.
5383         * sysdeps/i386/fpu/libm-test-ulps: Update.
5384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5386         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5387         * math/auto-libm-test-out: Regenerated.
5388         * sysdeps/i386/fpu/libm-test-ulps: Update.
5389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5391         * math/auto-libm-test-in: Add another test of pow.
5392         * math/auto-libm-test-out: Regenerated.
5393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5395         * math/auto-libm-test-in: Add more tests of lgamma.
5396         * math/auto-libm-test-out: Regenerated.
5397         * sysdeps/i386/fpu/libm-test-ulps: Update.
5398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5400         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5401         log1p.
5402         * math/auto-libm-test-out: Regenerated.
5403         * sysdeps/i386/fpu/libm-test-ulps: Update.
5404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5406 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5408         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5409         Elf64_Chdr structs and ELFCOMPRESS constants.
5411 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5413         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5414         expm1.
5415         * math/auto-libm-test-out: Regenerated.
5416         * sysdeps/i386/fpu/libm-test-ulps: Update.
5417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5419         * math/auto-libm-test-in: Add more tests of erf and erfc.
5420         * math/auto-libm-test-out: Regenerated.
5421         * sysdeps/i386/fpu/libm-test-ulps: Update.
5422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5424 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5426         * config.h.in (HAVE_AARCH64_BE): Add.
5428 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5430         * math/auto-libm-test-in: Add more tests of csqrt.
5431         * math/auto-libm-test-out: Regenerated.
5432         * sysdeps/i386/fpu/libm-test-ulps: Update.
5433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5435         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5436         * math/auto-libm-test-out: Regenerated.
5437         * sysdeps/i386/fpu/libm-test-ulps: Update.
5438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5440         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5442 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5444         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5445         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5447         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5448         (euidaccess, eaccess): Define as weak aliases.
5450         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5451         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5452         but __suseconds_t is often 'long int' so some sources assume that
5453         type is being used (e.g. they use %ld to print tv_usec).
5455 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5457         [BZ #18007]
5458         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5459         (CVE-2014-8121)
5460         * nss/tst-nss-getpwent.c: New file.
5461         * nss/Makefile (tests): Add new test.
5463 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5465         [BZ #18346]
5466         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5467         exponents less than 48 as cases where high part of mantissa needs
5468         examining to determine whether argument is integral.
5469         * math/libm-test.inc (round_test_data): Add more tests.
5471 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5473         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5475 2015-04-27  David S. Miller  <davem@davemloft.net>
5477         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5478         __tls_get_addr.
5479         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5481 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5483         [BZ#18333]
5484         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5486 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5488         [BZ#18333]
5489         * time/tzset.c (parse_tzname): Return error on memory allocation
5490         failure.
5491         * test-skeleton.c (struct temp_name_list): Change type of name
5492         member to non-const.
5493         (add_temp_file): Create a copy of the file name.
5494         (delete_temp_files): Deallocate memory.
5495         (create_temp_file): Add comment.
5497 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5499         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5500         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5502 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5504         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5505         * sysdeps/arm/configure: Regenerated.
5507 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5509         [BZ #17715]
5510         * time/tzfile.c (__tzfile_read): Check for large values of
5511         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5512         * time/tzset.c (__tzstring_len): New function, based on the old
5513         __tzstring function.
5514         (__tzstring): Call __tzstring_len.
5515         (parse_tzname): New helper function extracted from
5516         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5517         the input string.
5518         (parse_offset): New helper function extracted from
5519         __tzset_parse_tz.  Replace switch with fallthrough with
5520         initialization before sscanf.
5521         (parse_rule): Likewise.
5522         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5523         new-style function definition.
5524         * timezone/Makefile (tests): Add tst-tzset.
5525         (tst-tzset.out): Dependencies on time zone files.
5526         (tst-tzset-ENV): Set TZDIR.
5527         (testdata/XT%): Copy crafted time zone files.
5528         * timezone/README: Mention crafted time zone files.
5529         * timezone/testdata/XT1, timezone/testdata/XT2,
5530         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5531         files.
5532         * timezone/tst-tzset.c: New test.
5534 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5536         * Makeconfig (+gccwarn): Remove -Winline.
5538 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5540         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5542 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5544         * NEWS: Mention sysconf() cache information support for s390.
5545         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5547 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5549         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5550         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5551         (__nearbyint): Likewise.
5552         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5553         (copysignl): Likewise.
5555 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5557         [BZ #18287]
5558         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5559         based on padding.  (CVE-2015-1781)
5561 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5563         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5564         libc-vdso.h.
5565         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5566         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5567         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5568         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5569         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5570         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5571         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5572         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5573         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5574         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5575         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5576         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5577         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5578         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5579         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5580         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5581         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5582         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5583         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5584         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5585         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5586         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5587         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5589 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5591         * stdlib/setenv.c (__add_to_environ):
5592         Dump core quickly if setenv (..., NULL, ...) is called.
5593         This time, do it the right way, and pacify GCC with a pragma.
5595 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5597         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5598         IMAP->l_prev cannot be null, and #if out the code for the contrary
5599         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5600         believe that NS (&_dl_ns[NSID]) could point outside the array.
5602         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5603         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5604         before using NSID as an index.
5606 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5608         [BZ #17825]
5609         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5610         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5611         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5613 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5615         Add preliminary port to Google Native Client on ARM.
5616         * abi-tags (.*-.*-nacl.*): New entry.
5617         * sysdeps/arm/nacl: New directory.
5618         * sysdeps/nacl: New directory.
5620 2015-04-16  David S. Miller  <davem@davemloft.net>
5622         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5623         lowlevellock-futex.h
5625 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5627         * sysdeps/tile/configure.ac: New file.
5628         * sysdeps/tile/configure: Regenerated.
5630 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5632         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5633         conditionals for weak_alias and libc_hidden_weak.
5634         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5635         libc_hidden_weak and weak_alias.
5636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5637         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5638         and weak_alias for static one.
5640 2015-04-15  David S. Miller  <davem@davemloft.net>
5642         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5644 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5646         [BZ #18206]
5647         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5648           Use signed comparision instead of substraction to avoid
5649           overflow bug.
5650         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5651           Take the sign of ret.
5652         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5653           Do not expect precise return values. Only the sign matters.
5654         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5655         * wcsmbs/test-wcsncmp.c: New File.
5656         * string/test-strncmp.c: Add wcsncmp support.
5658 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5660         [BZ #6792]
5661         * math/w_log1p.c: New file.
5662         * math/w_log1pf.c: Likewise.
5663         * math/w_log1pl.c: Likewise.
5664         * math/Makefile (libm-calls): Add w_log1p.
5665         * math/s_log1pl.c (log1pl): Remove weak_alias.
5666         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5667         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5668         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5669         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5670         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5671         [NO_LONG_DOUBLE] (log1pl): Likewise.
5672         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5673         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5674         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5675         (log1p): Remove long_double_symbol.
5676         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5677         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5678         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5679         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5680         remove weak_alias for corresponding log1p function.
5681         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5682         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5683         * sysdeps/ia64/fpu/w_log1p.c: New file.
5684         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5685         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5686         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5688 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5690         [BZ #18247]
5691         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5692         decimal exponent by 1.
5693         * stdlib/tst-strtod-round-data: Add more tests.
5694         * stdlib/tst-strtod-round.c (tests): Regenerated.
5696 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5698         * math/auto-libm-test-in: Add more tests of clog and clog10.
5699         * math/auto-libm-test-out: Regenerated.
5700         * sysdeps/i386/fpu/libm-test-ulps: Update.
5701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5703 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5705         * Makeconfig (module-cppflags): Exclude all .v.i files.
5706         (skip-module-cppflags): Variable removed.
5708         * configure.ac (libc_config_ok): Initialize before reading
5709         preconfigure scripts, not after.
5710         * configure: Regenerated.
5712         * test-skeleton.c (TIMEOUT): Move #define to top level.
5713         (main): Grok environment variable TEST_DIRECT.  If set, print
5714         test expectation details into that file and then behave as if
5715         given --direct.
5717 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5719         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5720         warning on 32-bit.
5722 2015-04-08  David S. Miller  <davem@davemloft.net>
5724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5726 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5728         * math/auto-libm-test-in: Add more tests of atanh.
5729         * math/auto-libm-test-out: Regenerated.
5730         * sysdeps/i386/fpu/libm-test-ulps: Update.
5731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5733         * math/auto-libm-test-in: Add more tests of atan.
5734         * math/auto-libm-test-out: Regenerated.
5735         * sysdeps/i386/fpu/libm-test-ulps: Update.
5736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5738 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5740         * elf/pldd.c (main): Rewrite to use struct
5741         scratch_buffer instead of extend_alloca.
5742         * elf/pldd-xx.c (find_maps): Likewise.
5743         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5744         <alloca.h>.
5745         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5746         scratch_buffer instead of extend_alloca.
5747         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5748         grp/compat-initgroups.c.
5749         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5750         Rewrite to use struct scratch_buffer instead of extend_alloca.
5751         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5752         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5754 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5756         * math/auto-libm-test-in: Add more tests of cbrt.
5757         * math/auto-libm-test-out: Regenerated.
5758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5760         * math/auto-libm-test-in: Add more tests of cabs.
5761         * math/auto-libm-test-out: Regenerated.
5762         * sysdeps/i386/fpu/libm-test-ulps: Update.
5763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5765         [BZ #18210]
5766         [BZ #18211]
5767         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5768         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5769         computations.
5770         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5771         clog10.
5772         * math/auto-libm-test-out: Regenerated.
5773         * sysdeps/i386/fpu/libm-test-ulps: Update.
5774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5776         [BZ #18197]
5777         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5778         (atan): Set FE_TONEAREST mode for internal computations.
5779         * math/auto-libm-test-in: Add more tests of atan.
5780         * math/auto-libm-test-out: Regenerated.
5782 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5784         [BZ #17930]
5785         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5787 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5789         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5791 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5793         * include/scratch_buffer.h: New file.
5794         * malloc/scratch_buffer_grow.c: Likewise.
5795         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5796         * malloc/scratch_buffer_set_array_size.c: Likewise.
5797         * malloc/tst-scratch_buffer.c: Likewise.
5798         * malloc/Makefile (routines): Add scratch_buffer_grow.
5799         (tests): Add test case.
5800         * malloc/Versions (GLIBC_PRIVATE): Export
5801         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5802         __libc_scratch_buffer_set_array_size.
5804 2015-04-06  Richard Henderson  <rth@redhat.com>
5806         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5807         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5809         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5810         unsigned int before printing.
5812 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5814         [BZ #17596]
5815         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5816         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5818 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5820         * include/libc-internal.h (libc_max_align_t): Define.
5822 2015-04-02  Andreas Schwab  <schwab@suse.de>
5824         [BZ #16850]
5825         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5827 2015-04-02  Mel Gorman  <mgorman@suse.de>
5829         [BZ #17195]
5830         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5831         as well as the main arena.
5833 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5835         [BZ #18185]
5836         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5837         sharing L2 cache to 2 for Silvermont/Knights Landing.
5839 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5841         [BZ #17711]
5842         * config.make.in (have-protected-data): New.
5843         * configure.ac: Check linker support for protected data symbol.
5844         * configure: Regenerated.
5845         * elf/Makefile (modules-names): Add tst-protected1moda and
5846         tst-protected1modb if $(have-protected-data) is yes.
5847         (tests): Add tst-protected1a and tst-protected1b if
5848         $(have-protected-data) is yes.
5849         ($(objpfx)tst-protected1a): New.
5850         ($(objpfx)tst-protected1b): Likewise.
5851         (tst-protected1modb.so-no-z-defs): Likewise.
5852         * elf/tst-protected1a.c: New file.
5853         * elf/tst-protected1b.c: Likewise.
5854         * elf/tst-protected1mod.h: Likewise.
5855         * elf/tst-protected1moda.c: Likewise.
5856         * elf/tst-protected1modb.c: Likewise.
5858 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5860         [BZ #17711]
5861         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5862         indicates it is called from do_lookup_x on relocation against
5863         protected data, skip the data definion in the executable from
5864         copy reloc.
5865         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5866         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5867         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5868         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5869         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5870         otherwise to 0.
5871         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5872         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5873         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5874         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5875         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5876         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5878 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5880         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5881         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5883 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5885         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5886         THREAD_SETMEM_NC.
5887         * sysdeps/x86_64/nptl/tls.h: Ditto.
5889 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5891         * dlfcn/tststatic.c (main): Converted to ...
5892         (do_test): ... this.
5893         (TEST_FUNCTION): New macro.
5894         Include test-skeleton.c.
5896 2015-03-26  Alan Modra  <amodra@gmail.com>
5898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5899         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5900         zero for undefined weak.
5901         (elf_machine_plt_conflict): Similarly.
5903 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5905         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5906         atanh.
5907         * math/auto-libm-test-out: Regenerated.
5908         * sysdeps/i386/fpu/libm-test-ulps: Update.
5909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5911         * math/auto-libm-test-in: Add another test of asin.
5912         * math/auto-libm-test-out: Regenerated.
5913         * sysdeps/i386/fpu/libm-test-ulps: Update.
5914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5916         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5917         Remove macro.
5918         (LLL_EBX_REG): Likewise.
5919         (LLL_ENTER_KERNEL): Likewise.
5921         * math/auto-libm-test-in: Add more tests of asin.
5922         * math/auto-libm-test-out: Regenerated.
5923         * sysdeps/i386/fpu/libm-test-ulps: Update.
5924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5926         [BZ #18138]
5927         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5928         libc_do_syscall_args): New structure.
5929         (INTERNAL_SYSCALL_MAIN_0): New macro.
5930         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5931         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5932         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5933         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5934         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5935         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5936         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5937         Replace conditional definitions by conditional definitions of ....
5938         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5939         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5940         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5941         (libpthread-sysdep_routines): Add libc-do-syscall.
5942         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5943         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5944         to __NR_futex not 240.
5946 2015-03-25  Alan Modra  <amodra@gmail.com>
5948         * NEWS: Advertise TLS optimization.
5949         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5950         (DT_PPC_NUM): Increment.
5951         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5952         (CHECK_STATIC_TLS): Use here.
5953         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5954         TLS descriptors.
5955         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5956         * sysdeps/powerpc/dl-tls.c: New file.
5957         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5958         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5959         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5960         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5965 2015-03-25  Alan Modra  <amodra@gmail.com>
5967         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5968         for overlapping .opd entries" to "support...".
5969         * sysdeps/powerpc/powerpc64/configure: Regenerate
5971 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5973         * math/auto-libm-test-in: Add more tests of acos.
5974         * math/auto-libm-test-out: Regenerated.
5975         * sysdeps/i386/fpu/libm-test-ulps: Update.
5976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5978         * math/auto-libm-test-in: Add more tests of expm1.
5979         * math/auto-libm-test-out: Regenerated.
5980         * sysdeps/i386/fpu/libm-test-ulps: Update.
5981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5983 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5985         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5986         * math/auto-libm-test-out: Regenerated.
5987         * sysdeps/i386/fpu/libm-test-ulps: Update.
5988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5990         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993         * math/auto-libm-test-in: Add more tests of log2.
5994         * math/auto-libm-test-out: Regenerated.
5995         * sysdeps/i386/fpu/libm-test-ulps: Update.
5996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5998 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6000         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6001         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6002         _IO_IS_APPENDING bit in READ_WRITE instead.
6004 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6006         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6007         (__determine_cpumask_size): Replace extend_alloca with a
6008         variable-length array.  Do not treat res == 0 as an error.
6010 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6012         [BZ #18100]
6013         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6014         and integer overflow.
6015         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6016         (main): Add integer overflow tests.
6017         * manual/pattern.texi (Calling Wordexp): Document additional use
6018         for WRDE_SYNTAX.
6020 2015-03-23  Alan Modra  <amodra@gmail.com>
6022         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6023         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6024         and false branch of conditional.
6025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6026         Likewise.
6028 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6030         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6031         libc-modules.h
6032         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6033         unused declaration of _hurd_intr_rpc_msg_in_trap.
6034         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6035         defined instead of whether it is non-zero.
6036         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6037         input constraint instead of both input and output constraint.  Use ecx
6038         clobber instead of %ecx.
6039         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6040         mutex_unlock): Use a statement expression instead of an expression list.
6041         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6042         type to vm_size_t instead of vm_address_t.
6043         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6044         defined instead of whether it is non-zero.
6045         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6046         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6047         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6048         comparisons with mapaddr.
6049         * nscd/nscd-client.h: Include <time.h>.
6050         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6051         9th parameter to __vm_region instead of int.
6052         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6053         * scripts/check-local-headers.sh (exclude): Add device/,
6054         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6055         cthreads.h.
6057 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6059         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6060         to account for alignment padding.
6061         * sysdeps/arm/memmove.S: Likewise.
6063 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6065         * sysdeps/unix/sysv/linux/generic/README: New file.
6067 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6069         [BZ #18138]
6070         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6071         (futex_abstimed_wait)
6072         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6073         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6074         of lll_futex_timed_wait.
6076 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6078         [BZ #17542]
6079         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6081 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6083         [BZ #17090]
6084         [BZ #17620]
6085         [BZ #17621]
6086         [BZ #17628]
6087         * NEWS: Update.
6088         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6089         entries with Static TLS too.  Skip entries past the end of the
6090         allocated DTV, from Alan Modra.
6091         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6092         Static TLS DTV entry set up from...
6093         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6094         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6095         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6096         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6097         for Static TLS.
6098         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6099         that the slot we find is associated with the given map before
6100         using its generation count.
6101         * nptl_db/db_info.c: Include ldsodefs.h.
6102         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6103         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6104         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6105         (link_map::l_tls_offset): New struct field.
6106         (dtv_t::counter): Likewise.
6107         (rtld_global): New struct.
6108         (_rtld_global): New rtld variable.
6109         (dl_tls_dtv_slotinfo_list): New rtld global field.
6110         (dtv_slotinfo_list): New struct.
6111         (dtv_slotinfo): Likewise.
6112         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6113         (td_lookup): Rename to...
6114         (td_mod_lookup): ... this.  Use new mod parameter instead of
6115         LIBPTHREAD_SO.
6116         * nptl_db/td_thr_tlsbase.c: Include link.h.
6117         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6118         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6119         addresses even if the DTV is out of date or missing them.
6120         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6121         index zero-length arrays.
6122         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6123         (td_lookup): Make it a macro implemented in terms of...
6124         (td_mod_lookup): ... this declaration.
6125         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6126         (DB_MAIN_VARIABLE): Likewise.
6128 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6130         [BZ #18134]
6131         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6133 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6135         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6137 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6139         [BZ #18128]
6140         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6141         (atomic_add, atomic_increment_and_test)
6142         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6144 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6146         * stdlib/setenv.c (__add_to_environ):
6147         Dump core quickly if setenv (..., NULL, ...) is called.
6149 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6151         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6152         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6153         all the necessary asm magic in one place.
6154         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6155         using those.
6157 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6159         [BZ #14906]
6160         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6161         traced file mtime. Use consistent log message.
6162         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6163         (register_traced_file): Call install_watches. Always set mtime.
6164         (invalidate_cache): Iterate over all trace files. Call install_watches.
6165         (inotify_check_files): Don't inline. Handle watching parent
6166         directories and configuration file movement in and out.
6167         (handle_inotify_events): New function.
6168         (main_loop_poll): Call handle_inotify_events.
6169         (main_loop_epoll): Likewise.
6170         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6171         (struct traced_file): Use array of inotify fds. Add parent directory,
6172         and basename.
6173         (struct database_dyn): Remove unused file_mtime.
6174         (init_traced_file): New inline function.
6175         (define_traced_file): New macro.
6176         * nss/nss_db/db-init.c: Use define_traced_file.
6177         (_nss_db_init): Use init_traced_file.
6178         * nss/nss_files/files-init.c: Use define_traced_file.
6179         (_nss_files_init): Use init_traced_file.
6181 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6183         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6184         [_LIBC]: Do not include <stdlib.h>.
6185         [!_LIBC] (abort): Remove declaration.
6186         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6187         _FP_STATIC_ASSERT instead of conditionally calling abort.
6188         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6189         (_FP_EXTEND_CNAN): Likewise.
6190         (FP_TRUNC): Likewise.
6191         (__FP_CLZ): Likewise.
6192         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6194 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6196         * manual/string.texi (XPG basename): Fix prototype.
6198 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6200         [BZ #18080]
6201         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6202         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6203         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6204         (__setcontext): Likewise.
6205         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6206         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6207         Call rt_sigprocmask syscall one time to set new signal mask
6208         and retrieve the current signal mask instead of two calls.
6209         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6210         (__swapcontext): Likewise.
6211         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6212         * stdlib/tst-setcontext2.c: New file.
6214 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6216         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6218 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6220         [BZ #18093]
6221         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6222         the wrong size.
6224 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6226         [BZ #18043]
6227         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6229 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6231         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6232         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6233         Remove define.
6234         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6235         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6236         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6237         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6238         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6239         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6240         define.
6241         * nptl_db/td_symbol_list.c (td_lookup): Remove
6242         HAVE_ASM_GLOBAL_DOT_NAME code.
6243         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6244         HAVE_ASM_GLOBAL_DOT_NAME check.
6245         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6246         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6247         (DOT_LABEL): Remove define.
6248         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6249         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6250         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6251         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6252         (__TLS_GET_ADDR): Likewise.
6253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6254         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6256 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6258         [BZ #18111]
6259         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6260         (_FPU_SETCW): Initialize cw from fpsr before storing.
6261         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6262         (fesetexceptflag): Rewrite using fpu_control.h.
6263         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6265 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6267         [BZ #18110]
6268         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6269         asms.
6270         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6272 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6274         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6275         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6276         abort.
6277         (_FP_FMA): Likewise.
6278         (_FP_DIV): Likewise.
6280 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6282         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6283         with 0 in that case.
6284         * Makefile (summarize-tests): New canned sequence, factored out of
6285         commands for targets tests and xtests.  Display summary lines that
6286         don't start with PASS: or XFAIL: rather than ones that do start with
6287         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6288         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6289         do start with ERROR: or FAIL:.
6290         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6291         (except for [$(build-shared) = yes]).
6292         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6293         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6294         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6295         * nptl/Makefile: Revert 2015-03-04 changes.
6296         [$(CXX) empty] (tests-unsupported): New variable.
6297         * debug/Makefile: Likewise.
6299         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6300         gnulib file.  Replace __attribute with __attribute__ throughout.
6302 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6304         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6306 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6308         [BZ #18104]
6309         * math/auto-libm-test-in: Add another test of pow.
6310         * math/auto-libm-test-out: Regenerated.
6312 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6314         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6315         $(config-cflags-nofma).
6317 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6319         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6320         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6321         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6322         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6323         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6324         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6325         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6326         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6327         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6328         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6329         Add comment on closing #endif.
6331 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6333         * posix/wordexp.c (CHAR_IN_SET): New macro.
6334         (parse_param): Use it.
6336 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6338         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6340 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6342         [BZ #18043]
6343         * posix/wordexp.c (parse_param): Fix buffer overflow.
6344         * posix/wordexp-test.c (test_case): Add test case.
6346 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6348         [BZ #18042]
6349         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6350         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6352 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6354         [BZ #18043]
6355         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6356         (do_bz18043): Delete.
6357         (at_page_end): New.
6358         (testit): Refactor to have words at the edge of unreadable page.
6360 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6362         [BZ #16734]
6363         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6364         Cleanup read-only streams as well.
6365         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6367 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6369         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6370         <bits/libc-lockP.h>
6372 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6374         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6375         on [__KERNEL__].
6376         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6377         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6378         * soft-fp/op-common.h (_FP_DECL): Likewise.
6380 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6382         * elf/ifuncdep2.c (global): Replace
6383         __attribute__((visibility("protected"))) with
6384         asm (".protected global").
6385         * elf/ifuncmod1.c (global): Likewise.
6386         * elf/ifuncmod5.c (global): Likewise.
6388 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6390         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6391         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6393 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6395         * manual/install.texi (Configuring and compiling):
6396         Document test-wrapper-env-only.
6397         * INSTALL: Regenerated.
6399 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6401         [BZ #18043]
6402         * posix/wordexp.c (parse_param): Fix buffer overflow.
6403         * posix/wordexp-test.c (do_bz18043): Add test case.
6405 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6407         * time/tst-strptime2.c (do_test): Ensure failing tests are
6408         reported correctly.
6409         * time/tst-strptime3.c (do_test): Likewise.
6411 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6413         Fix aio_error thread-safety.
6414         * sysdeps/pthread/aio_error.c: New file
6415         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6416         synchronization.
6418 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6420         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6421         (group_number, vfprintf): Use it.
6422         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6423         (JUMP, REF): Use it.
6424         (WORK_BUFFER_SIZE): New enum constant.
6425         (process_arg, vfprintf): Use it.
6427 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6429         * manual/errno.texi (Error Messages): Complete example function
6430         by adding missing #define.
6431         (program_invocation_name): Add statement indicating GNU
6432         extension and reference which header file declares the variable.
6433         (program_invocation_short_name): Likewise.
6435 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6437         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6438         compatibility note.
6440 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6442         * Makeconfig (test-wrapper-env-only): New variable.
6443         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6444         then use that with $(test-wrapper-env-only) rather than using
6445         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6447 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6449         [BZ #18082]
6450         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6451         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6452         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6453         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6454         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6455         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6456         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6457         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6458         Likewise.
6459         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6460         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6461         Likewise.
6462         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6463         Likewise.
6464         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6465         Likewise.
6466         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6467         Likewise.
6468         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6469         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6470         Likewise.
6471         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6472         Likewise.
6473         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6474         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6476 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6478         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6479         (ETH_ALEN): New macro.
6480         (struct ether_addr): Use it for length of ether_addr_octet.
6482         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6483         (setdb): Don't call __nss_configure_lookup for "rpc".
6484         (do_test): Don't call test_rpc.
6485         (output_rpcent, test_rpc): Functions moved ...
6486         * sunrpc/test-rpcent.c: ... to this new file.
6487         * sunrpc/Makefile (tests): Add it.
6489         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6490         __xpg_sigpause.
6491         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6492         * nptl/tst-signal6.c: Likewise.
6493         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6494         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6496         * configure.ac (libc_cv_cxx_link_ok): New check.
6497         Reset CXX to empty if it fails to link.
6498         * configure: Regenerated.
6499         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6500         bug-atexit3-lib only if $(CXX) is nonempty.
6501         * nptl/Makefile (tests): Likewise for tst-cancel24.
6502         (tests, tests-static): Likewise for tst-cancel24-static.
6503         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6504         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6505         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6506         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6508 2015-03-04  Andreas Schwab  <schwab@suse.de>
6510         [BZ #17631]
6511         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6512         for non-GCC compilers.
6513         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6514         Likewise.
6516 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6518         [BZ #17776]
6519         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6520         integer before bitwise and assembly operations.
6521         (feclearexcept): Likewise.
6522         * math/test-fenvinline.c: New file.
6523         * math/Makefile: Add test-fenvinline test.
6525 2015-03-03  Alan Modra  <amodra@gmail.com>
6527         [BZ #16512]
6528         * scripts/localplt.awk: Strip off symbol version.
6529         * NEWS: Mention bug fix.
6531 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6533         * sysdeps/pthread/timer_routines.c
6534         (timer_free_list, thread_free_list, thread_active_list): Make static.
6536 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6538         [BZ #17779]
6539         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6540         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6541         Undefine.
6542         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6543         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6544         Likewise.
6545         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6546         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6547         Likewise.
6549 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6551         [BZ #18036]
6552         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6553         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6555 2015-03-02  Andreas Schwab  <schwab@suse.de>
6557         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6558         variable name.
6560 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6562         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6563         Return error status.
6565 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6567         [BZ #15969]
6568         * locale/findlocale.c (_nl_find_locale): Introduce const
6569         version of loc_name and drop unsafe type casts.
6571 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6573         * dlfcn/tststatic2.c (main): Converted to ...
6574         (do_test): ... this.
6575         (TEST_FUNCTION): New macro.
6576         Include test-skeleton.c.
6578 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6580         [BZ #17711]
6581         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6582         (tests-pie): Add vismain.
6583         (CFLAGS-vismain.c): New.
6584         * elf/vismain.c: Add comments for PIE requirement.
6586 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6588         [BZ #18046]
6589         [BZ #18047]
6590         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6591         0x1p-56L as threshold for just returning the argument.
6592         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6593         0x1p-32L as threshold for just returning the argument.
6594         * math/auto-libm-test-in: Add more tests of atanh.
6595         * math/auto-libm-test-out: Regenerated.
6596         * sysdeps/i386/fpu/libm-test-ulps: Update.
6597         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6599 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6601         * string/bcopy.c (bcopy): Call memmove for performance.
6603 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6605         * string/bzero.c (__bzero): Call memset for performance.
6607 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6609         [BZ #18068]
6610         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6611         to 00100000.
6613 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6615         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6617 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6619         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6620         (__kernel_standard): Use CSTR macro when setting exc.name.
6621         * sysdeps/ieee754/Makefile [$(subdir) = math]
6622         (CFLAGS-k_standard.c): Remove variable.
6624         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6625         setting p and q from "else if" to "else".
6626         (qzero): Likewise.
6627         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6628         (qone): Likewise.
6629         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6630         (qzerof): Likewise.
6631         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6632         (qonef): Likewise.
6633         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6634         (qzero): Likewise.
6635         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6636         (qone): Likewise.
6638         [BZ #18038]
6639         [BZ #18039]
6640         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6641         return pi/2 for arguments below 0x1p-113L.
6642         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6643         return pi/2 for arguments below 0x1p-106L.
6644         * math/auto-libm-test-in: Add more tests of acos.
6645         * math/auto-libm-test-out: Regenerated.
6647         [BZ #16351]
6648         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6649         (MO): New macro.
6650         (__ieee754_asin): Force underflow exception for results with small
6651         absolute value.
6652         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6653         (MO): New macro.
6654         (__ieee754_asinf): Force underflow exception for results with
6655         small absolute value.
6656         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6657         (__ieee754_asin): Force underflow exception for results with small
6658         absolute value.
6659         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6660         (__ieee754_asinf): Force underflow exception for results with
6661         small absolute value.
6662         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6663         (__ieee754_asinl): Force underflow exception for results with
6664         small absolute value.
6665         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6666         (__ieee754_asinl): Force underflow exception for results with
6667         small absolute value.
6668         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6669         (__ieee754_asinl): Force underflow exception for results with
6670         small absolute value.
6671         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6672         Include <math.h>.
6673         * math/auto-libm-test-in: Do not mark underflow exceptions as
6674         possibly missing for bug 16351.
6675         * math/auto-libm-test-out: Regenerated.
6677         [BZ #18030]
6678         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6679         of power of 2 down when low part has opposite sign.
6680         * math/libm-test.inc (logb_test_data): Add more tests.
6682 2015-02-26  Andreas Schwab  <schwab@suse.de>
6684         [BZ #18032]
6685         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6686         over collating symbol inside a bracket expression.  Minor cleanup.
6687         * posix/tst-fnmatch3.c (do_test): Add test case.
6689 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6691         [BZ #18029]
6692         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6693         Adjust exponent of power of 2 down when low part has opposite
6694         sign.
6695         * math/libm-test.inc (ilogb_test_data): Add more tests.
6697 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6699         [BZ #15969]
6700         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6701         the previous change.
6703         [BZ #15969]
6704         * locale/findlocale.c (_nl_find_locale): Retry archive search
6705         after alias expansion.
6707 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6709         * iconv/tst-iconv3.c (main): Converted to ...
6710         (do_test): ... this.
6711         (TEST_FUNCTION): New macro.
6712         Include test-skeleton.c.
6714         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6715         (convert): Make function static.
6716         (test_unalign): Likewise.  Add const to argument pointee types.
6717         (main): Replace with static function do_test.
6718         Print "Succeeded." only if RET is zero.
6719         (TEST_FUNCTION): New macro.
6720         Include test-skeleton.c.
6722         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6723         returns a null pointer.
6725 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6727         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6728         to __memcpy_ppc only for static builds.
6730 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6732         [BZ #18020]
6733         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6734         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6735         * math/auto-libm-test-in: Add more tests of asinh.
6736         * math/auto-libm-test-out: Regenerated.
6737         * sysdeps/i386/fpu/libm-test-ulps: Update.
6738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6740 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6742         [BZ #15850]
6743         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6744         and ip6_mtuinfo definitions here.
6745         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6746         in this define too.  Update comment.
6748 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6750         * elf/sprof.c (load_shobj): Tweak error message to match others.
6752 2015-02-24  Kevin Easton  <kevin@guarana.org>
6754         [BZ #16145] (partial fix)
6755         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6756         to reduce lock contention.
6758 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6760         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6761         (struct timex): Update time comment.
6762         (ADJ_SETOFFSET): Define.
6764 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6766         [BZ #18019]
6767         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6768         2**56 not 2**28 as threshold for log (2x) formula.
6769         * math/auto-libm-test-in: Add more tests of acosh.
6770         * math/auto-libm-test-out: Regenerated.
6771         * sysdeps/i386/fpu/libm-test-ulps: Update.
6772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6774 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6776         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6777         parenthesis around the buf assignment.
6778         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6780 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6782         [BZ #16783]
6783         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6784         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6785         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6786         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6787         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6788         * math/libm-test.inc (scalb_test_data): Add more tests.
6790 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6792         [BZ #17916]
6793         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6794         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6796 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6798         [BZ #17523]
6799         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6800         * io/bits/fcntl2.h (open): Use it.
6801         (openat): Likewise.
6802         * io/open.c (__libc_open): Likewise.
6803         * io/open64.c (__libc_open64): Likewise.
6804         * io/open64_2.c (__open64_2): Likewise.
6805         * io/open_2.c (__open_2): Likewise.
6806         * io/openat.c (__openat): Likewise.
6807         * io/openat64.c (__openat64): Likewise.
6808         * io/openat64_2.c (__openat64_2): Likewise.
6809         * io/openat_2.c (__openat_2): Likewise.
6810         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6811         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6812         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6813         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6814         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6815         (__open_nocancel): Likewise.
6816         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6817         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6818         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6820 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6822         [BZ #14841]
6823         * resolv/gethnamaddr.c (getanswer): Skip logging if
6824         RES_USE_DNSSEC is set.
6825         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6827 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6829         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6831 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6833         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6834         201304L, for Unicode 7.
6836 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6838         [BZ #17836]
6839         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6840         shared library.  Add gmon-start.os otherwise.
6841         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6842         $(objpfx)gmon-start.os if builing shared library.
6843         ($(objpfx)g$(static-start-installed-name)): Likewise.
6845 2015-02-23  Andreas Schwab  <schwab@suse.de>
6847         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6849 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6851         [BZ #17269]
6852         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6853         (enlarge_userbuf): Likewise.
6855 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6857         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6858         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6859         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6860         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6862 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6864         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6865         expression inside statement expression.
6867 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6869         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6870         <sysdeps/nptl/lowlevellock.h> and remove macros and
6871         functions that are now defined there.
6872         (SYS_futex): Remove.
6873         (lll_compare_and_swap): Remove.
6874         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6876 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6878         [BZ #17999]
6879         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6880         instead of scandirat.
6881         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6882         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6883         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6884         __scandirat.
6885         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6886         (__scandirat): Declare.  Use libc_hidden_proto.
6887         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6888         Remove variable.
6889         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6891 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6893         [BZ #15319]
6894         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6895         (MO): New macro.
6896         (__ieee754_atan2): For results with small absolute value, force
6897         underflow exception and remove excess range and precision from
6898         return value.
6899         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6900         (MO): New macro.
6901         (__ieee754_atan2f): For results with small absolute value, force
6902         underflow exception and remove excess range and precision from
6903         return value.
6904         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6905         (MO): New macro.
6906         (__atan): For results with small absolute value, force underflow
6907         exception and remove excess range and precision from return value.
6908         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6909         (MO): New macro.
6910         (__atanf): For results with small absolute value, force underflow
6911         exception and remove excess range and precision from return value.
6912         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6913         <math.h>.
6914         (__ieee754_atan2): Force underflow exception for results with
6915         small absolute value.
6916         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6917         <math_private.h>.
6918         (atan): Force underflow exception for results with small absolute
6919         value.
6920         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6921         (__atanf): Force underflow exception for results with small
6922         absolute value.
6923         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6924         <math.h>.
6925         (__atanl): Force underflow exception for results with small
6926         absolute value.
6927         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6928         (__atanl): Force underflow exception for results with small
6929         absolute value.
6930         * sysdeps/x86/fpu/bits/mathinline.h
6931         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6932         (__ieee754_atan2): Only define inline for long double.
6933         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6934         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6935         * math/auto-libm-test-in: Do not mark underflow exceptions as
6936         possibly missing for bug 15319.  Add more tests of atan2.
6937         * math/auto-libm-test-out: Regenerated.
6938         * math/libm-test.inc (casin_test_data): Do not mark underflow
6939         exceptions as possibly missing for bug 15319.
6940         (casinh_test_data): Likewise.
6941         * sysdeps/i386/fpu/libm-test-ulps: Update.
6943 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6945         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6946         * sysdeps/mips/bits/endian.h: Fix comments.
6948 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6950         [BZ #17996]
6951         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6952         (hdestroy_r): Likewise.
6953         (hsearch_r): Likewise.
6954         (__hcreate_r): Declare and use libc_hidden_proto.
6955         (__hdestroy_r): Likewise.
6956         (__hsearch_r): Likewise.
6957         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6958         (hcreate): Call __hcreate_r instead of hcreate_r.
6959         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6960         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6961         as weak alias of __hcreate_r.
6962         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6963         __hdestroy_r.
6964         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6965         __hsearch_r.
6966         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6967         Remove variable.
6968         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6969         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6970         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6971         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6973 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6975         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6976         arena_lock into a single arena_get.
6978 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6980         * dl-reloc.c: Inlucde libc-internal.h.
6981         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6982         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6983         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6984         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6985         (grow_heap): Likewise.
6986         * malloc/malloc.c: Include libc-internal.h.
6987         (do_check_malloc): Call powerof2.
6988         (sysmalloc): Use pagesize. Call ALIGN_UP.
6989         (systrim): Use pagesize.
6990         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6991         (__libc_valloc): Use pagesize.
6992         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6994 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6996         [BZ #17991]
6997         * include/sys/resource.h (__getrlimit64): Declare.  Use
6998         libc_hidden_proto.
6999         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7000         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7001         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7002         getrlimit64.
7003         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7004         __getrlimit64.
7005         [!getrlimit64] (getrlimit64): Define as weak alias of
7006         __getrlimit64.  Use libc_hidden_weak.
7007         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7008         using __getrlimit64 not __new_getrlimit64.
7009         (__GI_getrlimit64): Likewise.
7010         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7011         Likewise.
7012         (__GI_getrlimit64): Likewise.
7013         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7015         (getrlimit): Add __getrlimit64 alias.
7016         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7017         Likewise.
7018         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7019         Remove variable.
7020         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7021         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7023 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7025         * libio/fileops.c: Add missing sys/mman.h
7026         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7028 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7030         * manual/math.texi (Errors in Math Functions): Clarify goals
7031         regarding inexact and underflow exceptions.
7033 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7035         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7036         * sysdeps/mips/memset.S: Ditto.
7038 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7040         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7042 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7044         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7045         (__v1longjmp): Remove versioned symbol.
7046         (__v1siglongjmp): Remove alias and versioned symbol.
7047         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7048         (__v2siglongjmp): Likewise.
7050 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7052         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7054 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7056         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7058 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7060         [BZ #17987]
7061         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7062         zero result does not depend on the sign resulting from
7063         subtraction.
7064         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7065         Likewise.
7066         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7067         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7068         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7069         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7070         * math/libm-test.inc (remquo_test_data): Add more tests.
7072 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7074         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7075         Problem reported by J William Piggott.
7077 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7079         [BZ #17978]
7080         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7081         products 4 * y and 2 * y where those would overflow.
7082         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7083         Likewise.
7084         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7085         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7086         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7087         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7088         * math/libm-test.inc (remquo_test_data): Add more tests.
7090         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7092         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7093         [defined _COMPILING_NEWLIB].
7094         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7095         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7097         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7098         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7100 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7102         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7103         acquired.
7105 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7107         [BZ #17792]
7108         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7109         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7110         HOST_STACK_END_ADDR): Likewise.
7112 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7114         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7115         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7116         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7118 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7120         * sysdeps/generic/c++-types.data: New file.
7121         * sysdeps/generic/ld.abilist: New file.
7122         * sysdeps/generic/libBrokenLocale.abilist: New file.
7123         * sysdeps/generic/libanl.abilist: New file.
7124         * sysdeps/generic/libc.abilist: New file.
7125         * sysdeps/generic/libcrypt.abilist: New file.
7126         * sysdeps/generic/libdl.abilist: New file.
7127         * sysdeps/generic/libm.abilist: New file.
7128         * sysdeps/generic/libpthread.abilist: New file.
7129         * sysdeps/generic/libresolv.abilist: New file.
7130         * sysdeps/generic/librt.abilist: New file.
7132 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7134         [BZ #17569]
7135         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7136         Compute absolute value of x as modified by fmod, not original
7137         value of x.
7138         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7139         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7140         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7141         RUN_TEST_ffI_f1_mod8.
7142         (remquo_test_data): Add more tests.
7144 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7146         * sysdeps/init_array/pt-crti.S: New file.
7148 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7150         [BZ #17967]
7151         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7152         __builtin_fmaf instead of relying on contraction of a * b + c.
7154 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7156         [BZ #17969]
7157         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7158         node.
7160 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7162         [BZ #17964]
7163         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7164         __builtin_fma instead of relying on contraction of a * b + c.
7166 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7168         * Makeconfig (ASFLAGS): Add -Werror=undef.
7169         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7170         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7171         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7173         * Makeconfig (after-link): New variable.
7174         (+link-pie, +link-pie-tests): Use it.
7175         (+link-static, +link-static-tests): Likewise.
7176         (+link, +link-tests): Likewise.
7177         * Makerules (build-module, build-module-asneeded): Likewise.
7178         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7179         Likewise.
7180         * elf/Makefile ($(objpfx)ld.so): Likewise.
7182 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7184         [BZ #17965]
7185         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7186         both struct timeval and struct timespec.
7188 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7190         [BZ #16560]
7191         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7192         and redefine.
7193         (__ieee754_exp2l): Do not multiply small fractional parts by
7194         M_LN2l.
7195         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7196         small argument.
7197         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7198         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7199         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7200         * math/auto-libm-test-in: Add more tests of exp2.
7201         * math/auto-libm-test-out: Regenerated.
7203 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7205         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7206         unaligned path.
7208 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7210         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7211         little endian.
7213 2015-02-12  Andreas Schwab  <schwab@suse.de>
7215         [BZ #15790]
7216         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7217         Filter out elision flags from value returned in kind.
7218         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7219         * nptl/tst-pthread-mutexattr.c: New file.
7221 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7223         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7224         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7225         into gnu-gnu, and update comment to refer to abi-tags.
7227 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7229         [BZ #15467]
7230         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7231         (__sincos): Set errno to EDOM for infinite argument.
7232         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7233         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7234         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7235         (__sincosl): Set errno to EDOM for infinite argument.
7236         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7237         (__sincosl): Set errno to EDOM for infinite argument.
7238         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7239         (__sincosl): Set errno to EDOM for infinite argument.
7240         * math/libm-test.inc (sincos_test_data): Test errno setting.
7242 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7244         * string/strxfrm_l.c: Remove #define STRCMP.
7245         * string/strcoll_l.c: Remove #define STRLEN.
7246         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7247         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7249 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7251         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7252         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7253         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7254         * sysdeps/mips/mips64/Makefile: ... here.
7255         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7256         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7257         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7258         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7259         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7260         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7261         * sysdeps/mips/mips64/n64/Implies: Likewise.
7263 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7265         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7266         <sys/time.h>, <string.h>, and <errno.h>.
7267         (dest_offset, dest_address, value, zero): Remove unused variables.
7268         (ldouble): Remove typedef.
7269         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7270         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7271         1).  Fix code style.
7272         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7273         (check): Function removed.
7274         (CHECK): New macro.
7275         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7276         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7277         Don't call set_sigaction_FP and remove_sigaction_FP here.
7278         (ldouble_test): Just use 'long double' as macro argument, no need for
7279         the 'ldouble' typedef.
7280         (do_test): Set up SIGFPE handler at start, using plain signal rather
7281         than sigaction.  Fix code style.
7283 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7285         [BZ #17949]
7286         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7287         jump label.
7289 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7291         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7292         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7294         * sysdeps/powerpc/configure.ac: Remove file.
7295         * sysdeps/powerpc/configure: Likewise.
7297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7298         [sysdep_routines]: Remove wordcopy-power6 object.
7299         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7300         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7301         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7302         (__memmove_ppc32): Likewise.
7303         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7304         file.
7305         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7306         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7307         Remove preprocessor.
7309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7310         [sysdep_routines]: Remove wide chars objects.
7311         [wcsmbs]: New rule for wide char objects.
7313         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7314         Remove wordcopy-power6 obejct.
7315         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7316         Use local call for wordcopy and memcpy symbols.
7317         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7318         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7319         implementation for loader.
7320         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7322         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7323         Remove wordcopy-power7 object.
7324         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7325         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7326         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7327         (_wordcopy_fwd_dest_aligned): Likewise.
7328         (_wordcopy_bwd_aligned): Likewise.
7329         (_wordcopy_bwd_dest_aligned): Likewise.
7331         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7332         Rewrite to call __memmove_ppc instead of include default
7333         implementation.
7335         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7336         Remove wide chars objects.
7337         [wcsmbs]: New rule for wide char objects.
7339 2015-02-09  Andreas Schwab  <schwab@suse.de>
7341         [BZ #17912]
7342         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7343         in terms of __O_DIRECTORY.
7345 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7347         * time/getdate.c: Include <stdbool.h>.
7348         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7349         call PTR_MANGLE.
7350         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7351         PTR_DEMANGLE.
7353 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7355         Add ersatz _Static_assert on older C hosts
7356         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7357         pre-C11 C platform that is not known to support _Static_assert.
7359 2015-02-07  Richard Braun  <rbraun@sceen.net>
7361         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7362         sigstate.
7363         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7365 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7367         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7368         priority against unexistent AIO_PRIO_DELTA_MAX.
7369         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7370         instead of int.
7371         * misc/fchflags.c (fchflags): Likewise.
7372         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7373         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7374         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7375         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7376         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7377         Declare macros.
7378         [__USE_MISC] (chflags, fchflags): Declare functions.
7379         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7380         EINVAL when nfds is greater than FD_SETSIZE.
7381         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7382         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7383         45.
7384         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7385         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7386         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7387         MACH_RCV_TIMED_OUT.
7388         * hurd/hurd/signal.h (_hurd_self_sigstate,
7389         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7390         Explicit casts from void *.
7391         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7392         * abi-tags: Rename gnu-gnu os into gnu.
7394         [BZ #4719]
7395         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7396         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7397         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7398         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7399         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7400         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7402         [BZ #17944]
7403         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7404         duplicates ADDR->sun_path with sockaddr LEN limitation.
7405         * sysdeps/mach/hurd/connect.c: Include <string.h>
7406         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7407         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7408         * sysdeps/mach/hurd/sendto.c: Likewise.
7409         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7410         implementing it by hand.
7412 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7414         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7415         Use sfi_breg on ldr.
7416         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7417         Likewise.
7419         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7420         it's defined.
7421         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7422         Test SIGSETXID only if it's defined.
7424         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7426         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7427         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7429         * nptl/tst-align2.c: Moved ...
7430         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7431         * nptl/Makefile (tests): Remove tst-align2.
7432         * sysdeps/unix/sysv/linux/Makefile
7433         [$(subdir) = nptl] (tests): Add tst-align-clone.
7434         * nptl/tst-getpid1.c: Moved ...
7435         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7436         * nptl/tst-getpid2.c: Moved ...
7437         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7438         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7439         * sysdeps/unix/sysv/linux/Makefile
7440         [$(subdir) = nptl] (tests): ... here.
7441         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7442         * sysdeps/unix/sysv/linux/Makefile
7443         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7445         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7446         Drop trailing \n from perror argument.  Use return rather than exit.
7448         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7449         on [SA_SIGINFO].
7450         * nptl/tst-cancel21.c (do_test): Likewise.
7451         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7452         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7453         [!SA_SIGINFO]: Make it a stub test.
7455         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7456         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7458         * posix/tst-getlogin.c: Move to ...
7459         * login/tst-getlogin.c: ... here.
7460         * posix/Makefile (tests): Move tst-getlogin to ...
7461         * login/Makefile (tests): ... here.
7463         * libio/tst-atime.c (do_test): Move local variables SV and E
7464         inside [ST_NOATIME] conditional.
7466         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7468         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7470         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7471         (wait_code): New function replaces macro.
7472         Call nanosleep rather than syscall.
7474         * nptl/pt-system.c: Rewritten.  Put everything under
7475         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7476         Use IFUNC to redirect when possible.
7478         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7479         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7480         Use IFUNC to redirect when possible.
7482         * nptl/pt-fork.c: Rewritten.  Put everything under
7483         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7484         Use IFUNC to redirect when possible.
7485         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7487         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7488         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7489         unconditionally nowadays.  This included the only reference to
7490         __vdso_clock_gettime that appears outside libc proper.
7491         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7492         Remove version set (containing only __vdso_clock_gettime).
7493         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7494         Add attribute_hidden.
7495         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7496         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7497         libc_hidden_data_def.
7498         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7499         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7501         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7502         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7503         setrpcent, and getrpcport to ...
7504         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7505         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7506         getrpcbynumber_r, and getrpcent_r to ...
7507         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7508         * inet/getrpcbyname.c: Moved ...
7509         * sunrpc/getrpcbyname.c: ... here.
7510         * inet/getrpcbyname_r.c: Moved ...
7511         * sunrpc/getrpcbyname_r.c: ... here.
7512         * inet/getrpcbynumber.c: Moved ...
7513         * sunrpc/getrpcbynumber.c: ... here.
7514         * inet/getrpcbynumber_r.c: Moved ...
7515         * sunrpc/getrpcbynumber_r.c: ... here.
7516         * inet/getrpcent.c: Moved ...
7517         * sunrpc/getrpcent.c: ... here.
7518         * inet/getrpcent_r.c: Moved ...
7519         * sunrpc/getrpcent_r.c: ... here.
7520         * inet/Makefile (routines): Move those to ...
7521         * sunrpc/Makefile (routines): ... here.
7522         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7523         the $(subdirs) list.
7524         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7525         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7526         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7527         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7529         * elf/Makefile (routines): Include $(all-dl-routines), not just
7530         $(dl-routines).
7531         (rtld-routines): Likewise.  Use = rather than :=.
7532         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7533         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7534         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7535         * sysdeps/arm/Makefile: Likewise.
7536         * sysdeps/i386/Makefile: Likewise.
7537         * sysdeps/x86_64/Makefile: Likewise.
7538         * sysdeps/hppa/Makefile [$(subdir) = elf]
7539         (sysdep_routines, sysdep-rtld-routines): Don't add
7540         $(sysdep-dl-routines) to these.
7541         * sysdeps/ia64/Makefile: Likewise.
7542         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7543         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7544         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7545         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7546         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7547         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7548         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7549         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7550         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7551         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7552         these; sysdep-dl-routines alone is enough.
7554 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7556         [BZ #17932]
7557         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7558         where multiplication results in zero and third argument is finite
7559         and nonzero.
7560         * math/auto-libm-test-in: Add more tests of fma.
7561         * math/auto-libm-test-out: Regenerated.
7563         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7564         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7565         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7566         (_FP_CMP_EQ): Likewise.
7567         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7569         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7570         extra argument CHECK_NAN.  Redefine as wrapper around
7571         _FP_EXTEND_CNAN.
7573 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7575         * version.h (RELEASE): Set to "stable".
7576         (VERSION): Set to "2.21"
7577         * include/features.h (__GLIBC_MINOR__): Set to 21.
7579         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7581 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7582             Paul Eggert  <eggert@cs.ucla.edu>
7584         [BZ #16618]
7585         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7586         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7587         size in bytes. Store needed elements in wpmax. Use needed size
7588         in bytes for extend_alloca.
7590 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7592         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7593         binutls 2.25, and texinfo 5.2.
7594         * INSTALL: Regenerate.
7595         * sysdeps/nios2/configure: Regenerate.
7596         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7597         * manual/contrib.texi: Update.
7598         * po/be.po: Update.
7599         * po/bg.po: Update.
7600         * po/ca.po: Update.
7601         * po/cs.po: Update.
7602         * po/da.po: Update.
7603         * po/de.po: Update.
7604         * po/el.po: Update.
7605         * po/eo.po: Update.
7606         * po/es.po: Update.
7607         * po/fi.po: Update.
7608         * po/fr.po: Update.
7609         * po/gl.po: Update.
7610         * po/hr.po: Update.
7611         * po/hu.po: Update.
7612         * po/ia.po: Update.
7613         * po/id.po: Update.
7614         * po/it.po: Update.
7615         * po/ja.po: Update.
7616         * po/ko.po: Update.
7617         * po/lt.po: Update.
7618         * po/nb.po: Update.
7619         * po/nl.po: Update.
7620         * po/pl.po: Update.
7621         * po/pt_BR.po: Update.
7622         * po/ru.po: Update.
7623         * po/rw.po: Update.
7624         * po/sk.po: Update.
7625         * po/sl.po: Update.
7626         * po/sv.po: Update.
7627         * po/tr.po: Update.
7628         * po/uk.po: Update.
7629         * po/vi.po: Update.
7630         * po/zh_CN.po: Update.
7631         * po/zh_TW.po: Update.
7633         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7634         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7635         * sysdeps/hppa/dl-irel.h: Remove #warning.
7636         * sysdeps/hppa/entry.h: Provide prototype for
7637         __canonicalize_funcptr_for_compare and cast argument.
7638         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7639         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7640         * sysdeps/hppa/sotruss-lib.c: New file.
7641         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7642         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7643         (atomic_compare_and_exchange_bool_acq): Likewise.
7644         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7645         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7647         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7648         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7649         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7651 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7653         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7654         called function in non-PIC case.
7656 2015-01-31  David S. Miller  <davem@davemloft.net>
7658         * sysdeps/sparc/sparc32/bits/atomic.h
7659         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7660         unlock not after it.
7661         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7662         volatile register usage warnings from the compiler.
7664         * sysdeps/sparc/nptl/sem_init.c: Delete.
7665         * sysdeps/sparc/nptl/sem_post.c: Delete.
7666         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7667         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7668         * sysdeps/sparc/sparc32/sem_init.c: New file.
7669         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7670         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7671         padding explicitly initialized.
7672         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7673         padding for in-semaphore spinlock.
7674         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7675         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7676         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7677         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7678         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7679         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7680         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7681         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7682         version.
7683         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7684         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7686 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7688         [BZ #17801]
7689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7690         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7691         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7692         New.
7693         (index_AVX_Fast_Unaligned_Load): Likewise.
7694         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7696         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7697         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7698         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7699         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7700         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7701         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7702         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7704 2015-01-29  Andreas Schwab  <schwab@suse.de>
7706         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7708 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7710         [BZ #17892]
7711         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7713 2015-01-28  Martin Sebor  <msebor@redhat.com>
7715         * math/README.libm-test: Clarify. Add "How to read the test output."
7717 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7719         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7720         Define to 0.
7722 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7724         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7725         (__HAVE_64B_ATOMICS): Define to 0.
7727 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7729         [BZ #17885]
7730         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7731         value to set as new flag.
7733         [BZ #16576]
7734         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7735         and use _ARCH_PPCSQ instead.
7736         (__ieee754_sqrt): Likewise.
7737         (__ieee754_sqrtf): Likewise.
7738         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7739         _ARCH_PPCSQ is defined.
7740         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7741         fsqrt instruction.
7742         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7743         _ARCH_PPCSQ is defined.
7744         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7745         fsqrts instruction.
7746         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7748 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7750         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7751         bug (GCC BZ #64739).
7753 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7755         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7756         Mark _retval as used.
7757         (lll_futex_wake_unlock): Likewise.
7758         (lll_futex_timed_wait_requeue_pi): Likewise.
7760         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7761         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7762         register variables.
7764         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7765         libm_hidden_def.
7767         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7768         (__bswap_64): Mark as __always_inline.
7770 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7772         [BZ #15378]
7773         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7774         when none of the search directories exist.
7776 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7778         [BZ #17869]
7779         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7780         power8 in .machine directive.
7782         [BZ #17868]
7783         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7784         set dependency from opd value.
7786 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7789         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7790         architecture.
7792 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7794         [BZ #17870]
7795         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7796         with uint64_t.
7797         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7798         (uint64_t) 1.
7799         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7800         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7801         Replace 1UL with (uint64_t) 1.
7802         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7803         int with uint64_t.
7805 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7807         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7808         (if_freenameindex): Likewise.
7810         * resource/getrlimit64.c: Add missing libc_hidden_def.
7812 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7814         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7815         __label__.
7816         (_FP_FMA): Likewise.
7817         (_FP_TO_INT_ROUND): Likewise.
7818         (_FP_FROM_INT): Likewise.
7820 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7822         [BZ #16418]
7823         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7824         Make code racy and cancel safe.
7826 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7828         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7829         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7830         attribution.
7832         * pwd/tst-getpw.c: Rewrite.
7834         [BZ #17702]
7835         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7836         (modules-names): Add moddummy1 and moddummy2.
7837         ($(objpfx)tst-rec-dlopen): Define.
7838         * dlfcn/moddummy1.c: New file.
7839         * dlfcn/moddummy2.c: New file.
7840         * dlfcn/tst-rec-dlopen.c: New file.
7841         * elf/dl-cache.c (_dl_load_cache_lookup):
7842         Return char*. Copy result with alloca/strcpy/strdup.
7843         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7844         returns char*. Free cached. If not saving realname
7845         free cached.
7846         * elf/dl-open.c (dl_open_worker): Do not assert that
7847         _r_debug->r_state is RT_CONSISTENT.
7848         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7849         returns char*.
7851 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7852             Carlos O'Donell  <carlos@redhat.com>
7854         [BZ #12674]
7855         * nptl/sem_waitcommon.c: New file.
7856         * nptl/sem_wait.c: Include sem_waitcommon.c.
7857         (__sem_wait_cleanup, do_futex_wait): Remove.
7858         (__new_sem_wait): Adapt.
7859         (__new_sem_trywait): New function.
7860         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7861         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7862         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7863         (sem_timedwait): Adapt.
7864         * nptl/sem_post.c (__new_sem_post): Adapt.
7865         (futex_wake): New function.
7866         (__old_sem_post): Add release MO fence.
7867         * nptl/sem_open.c (sem_open): Adapt.
7868         * nptl/sem_init.c (__new_sem_init): Adapt.
7869         (futex_private_if_supported): New function.
7870         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7871         (__old_sem_getvalue): Add using previous code.
7872         * sysdeps/nptl/internaltypes.h: Adapt.
7873         * nptl/tst-sem13.c (do_test): Adapt.
7874         * nptl/tst-sem11.c (main): Adapt.
7875         * nptl/sem_trywait.c: Remove.
7876         * nptl/DESIGN-sem.txt: Remove.
7877         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7878         (gen-as-const-headers): Remove structsem.sym.
7879         * nptl/structsem.sym: Remove.
7880         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7881         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7882         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7883         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7884         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7885         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7886         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7887         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7888         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7889         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7890         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7891         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7892         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7893         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7894         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7895         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7896         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7897         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7898         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7899         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7900         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7901         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7903 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7905         * INSTALL: Regenerated.
7907         * po/libc.pot: Regenerated.
7909 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7910             Sandra Loosemore  <sandra@codesourcery.com>
7911             Andrew Jenner  <andrew@codesourcery.com>
7912             Joseph Myers  <joseph@codesourcery.com>
7913             Nathan Sidwell  <nathan@codesourcery.com>
7915         * NEWS: Mention new Nios II port.
7916         * sysdeps/nios2/Implies: New file.
7917         * sysdeps/nios2/Makefile: New file.
7918         * sysdeps/nios2/Subdirs: New file.
7919         * sysdeps/nios2/Versions: New file.
7920         * sysdeps/nios2/__longjmp.S: New file.
7921         * sysdeps/nios2/abort-instr.h: New file.
7922         * sysdeps/nios2/backtrace.c: New file.
7923         * sysdeps/nios2/bits/endian.h: New file.
7924         * sysdeps/nios2/bits/fenv.h: New file.
7925         * sysdeps/nios2/bits/link.h: New file.
7926         * sysdeps/nios2/bits/setjmp.h: New file.
7927         * sysdeps/nios2/bsd-_setjmp.S: New file.
7928         * sysdeps/nios2/bsd-setjmp.S: New file.
7929         * sysdeps/nios2/configure: New generated file.
7930         * sysdeps/nios2/configure.ac: New file.
7931         * sysdeps/nios2/crti.S: New file.
7932         * sysdeps/nios2/crtn.S: New file.
7933         * sysdeps/nios2/dl-init.c: New file.
7934         * sysdeps/nios2/dl-machine.h: New file.
7935         * sysdeps/nios2/dl-sysdep.h: New file.
7936         * sysdeps/nios2/dl-tls.h: New file.
7937         * sysdeps/nios2/dl-trampoline.S: New file.
7938         * sysdeps/nios2/gccframe.h: New file.
7939         * sysdeps/nios2/gmp-mparam.h: New file.
7940         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7941         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7942         * sysdeps/nios2/ldsodefs.h: New file.
7943         * sysdeps/nios2/libc-tls.c: New file.
7944         * sysdeps/nios2/libm-test-ulps: New file.
7945         * sysdeps/nios2/machine-gmon.h: New file.
7946         * sysdeps/nios2/math-tests.h: New file.
7947         * sysdeps/nios2/math_private.h: New file.
7948         * sysdeps/nios2/memusage.h: New file.
7949         * sysdeps/nios2/nptl/Makefile: New file.
7950         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7951         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7952         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7953         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7954         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7955         * sysdeps/nios2/nptl/tls.h: New file.
7956         * sysdeps/nios2/preconfigure: New file.
7957         * sysdeps/nios2/s_fma.c: New file.
7958         * sysdeps/nios2/s_fmaf.c: New file.
7959         * sysdeps/nios2/setjmp.S: New file.
7960         * sysdeps/nios2/sfp-machine.h: New file.
7961         * sysdeps/nios2/sotruss-lib.c: New file.
7962         * sysdeps/nios2/stackguard-macros.h: New file.
7963         * sysdeps/nios2/stackinfo.h: New file.
7964         * sysdeps/nios2/start.S: New file.
7965         * sysdeps/nios2/sysdep.h: New file.
7966         * sysdeps/nios2/tls-macros.h: New file.
7967         * sysdeps/nios2/tst-audit.h: New file.
7968         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7969         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7970         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7971         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7972         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7973         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7974         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7975         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7976         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7977         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7978         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7979         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7980         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7981         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7982         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7983         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7984         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7985         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7986         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7987         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7988         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7989         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7990         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7991         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7992         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7993         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7994         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7995         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7996         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7997         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7998         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7999         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8000         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8001         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8002         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8003         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8004         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8005         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8006         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8007         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8008         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8009         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8010         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8011         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8013 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8015         [BZ #17844]
8016         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8017         (getutent): Use weak_alias in non SHARED case
8018         and default_symbol_version in SHARED case.
8019         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8020         (getutent_r, pututline): Likewise.
8021         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8022         (getutid): Likewise.
8023         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8024         (getutid_r): Likewise.
8025         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8026         (getutline): Likewise.
8027         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8028         (getutline_r): Likewise.
8029         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8030         (updwtmp): Likewise.
8032 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8034         [BZ #17848]
8035         * sysdeps/s390/s390-32/memcmp.S
8036         (memcmp_g5): Rename to __memcmp_g5.
8037         * sysdeps/s390/s390-32/memcpy.S
8038         (memcpy_g5): Rename to __memcpy_g5.
8039         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8040         (memcpy_mvcle) Rename to __memcpy_mvcle.
8041         * sysdeps/s390/s390-32/memset.S
8042         (memset_g5): Rename to __memset_g5.
8043         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8044         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8045         and use prefixed functions.
8046         * sysdeps/s390/s390-32/multiarch/memcmp.S
8047         (memcmp_z196): Rename to __memcmp_z196.
8048         (memcmp_z10): Rename to __memcmp_z10.
8049         (memcmp): Set alias to __memcmp_g5.
8050         (bcmp): Set alias to __memcmp_g5.
8051         * sysdeps/s390/s390-32/multiarch/memcpy.S
8052         (memcpy_z196): Rename to __memcpy_z196.
8053         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8054         (memcpy_z10): Rename to __memcpy_z10.
8055         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8056         (memcpy): Set alias to __memcpy_g5.
8057         * sysdeps/s390/s390-32/multiarch/memset.S
8058         (memset_z196): Rename to __memset_z196.
8059         Jump to __memset_mvcle instead of memset_mvcle.
8060         (memset_z10): Rename to __memset_z10.
8061         Jump to __memset_mvcle instead of memset_mvcle.
8062         (memset_mvcle) Rename to __memset_mvcle.
8063         (memset): Set alias to __memset_g5.
8064         * sysdeps/s390/s390-64/memcmp.S
8065         (memcmp_z900): Rename to __memcmp_z900.
8066         * sysdeps/s390/s390-64/memcpy.S
8067         (memcpy_z900): Rename to __memcpy_z900.
8068         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8069         (memcpy_mvcle) Rename to __memcpy_mvcle.
8070         * sysdeps/s390/s390-64/memset.S
8071         (memset_z900): Rename to __memset_z900.
8072         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8073         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8074         and use prefixed functions.
8075         * sysdeps/s390/s390-64/multiarch/memcmp.S
8076         (memcmp_z196): Rename to __memcmp_z196.
8077         (memcmp_z10): Rename to __memcmp_z10.
8078         (memcmp): Set alias to __memcmp_z900.
8079         (bcmp): Set alias to __memcmp_z900.
8080         * sysdeps/s390/s390-64/multiarch/memcpy.S
8081         (memcpy_z196): Rename to __memcpy_z196.
8082         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8083         (memcpy_z10): Rename to __memcpy_z10.
8084         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8085         (memcpy): Set alias to __memcpy_z900.
8086         * sysdeps/s390/s390-64/multiarch/memset.S
8087         (memset_z196): Rename to __memset_z196.
8088         Jump to __memset_mvcle instead of memset_mvcle.
8089         (memset_z10): Rename to __memset_z10.
8090         Jump to __memset_mvcle instead of memset_mvcle.
8091         (memset_mvcle) Rename to __memset_mvcle.
8092         (memset): Set alias to __memset_z900.
8094 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8096         [BZ #17748]
8097         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8098         __fesetenv instead of fesetenv.
8100 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8102         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8103         macro.
8105 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8107         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8108         regression on LE.
8110         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8111         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8113         strncmp-power8 object.
8114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8115         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8116         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8117         * NEWS: Update.
8119 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8120             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8122         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8123         trailing byte check.
8125 2015-01-13  David S. Miller  <davem@davemloft.net>
8127         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8129 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8131         * login/logout.c (logout): Use memset rather than bzero.
8132         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8133         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8134         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8135         (_gethtbyaddr): Likewise.
8136         * locale/programs/simple-hash.c (bcopy): Macro removed.
8138 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8140         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8141         Add strcmp-power8 object.
8142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8143         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8144         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8145         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8146         __strcmp_power8 implementation.
8147         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8148         * NEWS: Update.
8150         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8151         Add strncpy-power8 and stpncpy-power8 objects.
8152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8153         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8154         implementations.
8155         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8156         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8157         __stpncpy_power8 implementation.
8158         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8159         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8160         __strncpy_power8 implementation.
8161         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8162         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8163         * NEWS: Update.
8165         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8166         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8167         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8170         strncat-power8 object.
8171         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8172         __strcat_power8 implementation.
8173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8174         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8175         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8176         optimized strcat for power8.
8178         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8179         strcpy-power8 and stpcpy-power8 objects.
8180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8181         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8182         implementations.
8183         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8184         multiarch stpcpy implementation for POWER8.
8185         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8186         multiarch strcpy implementation for POWER8.
8187         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8188         __strcpy_power8 function.
8189         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8190         stpcpy for POWER8.
8191         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8192         strcpy for POWER8.
8193         * NEWS: Update.
8195 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8197         [BZ #16009]
8198         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8199         weights and rules. Use do_xfrm_cached if data fits in cache,
8200         do_xfrm otherwise.  Moved former main loop to...
8201         * (do_xfrm_cached): New function.
8202         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8203         find_idx, find_position and stack_push.
8204         * (find_idx): New function.
8205         * (find_position): Likewise.
8206         * localedata/sort-test.sh: Added test run for do_xfrm.
8207         * localedata/xfrm-test.c (main): Added command line option
8208         -nocache to run the test with strings that are too large for
8209         the STRXFRM cache.
8211 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8213         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8214         variable to lll_futex_wake call, not the value itself.
8216 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8218         [BZ #17803]
8219         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8220         twom64.  Adjust value to 0x1p-64L.
8221         (__scalblnl): Only return standard underflowing result for K <=
8222         -64 not K <= -63; adjust exponent for underflowing result by 64
8223         not 63.
8224         * math/libm-test.inc (scalbn_test_data): Add more tests.
8225         (scalbln_test_data): Likewise.
8227         [BZ #17834]
8228         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8229         0x1p63L.
8230         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8231         not HX.
8232         * math/libm-test.inc (scalbn_test_data): Add more tests.
8233         (scalbln_test_data): Likewise.
8235 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8236             Stefani Seibold  <stefani@seibold.net>
8238         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8239         (sysdep_routines): Add dl-vdso here, ...
8240         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8241         (sysdep_routines): ... not here.
8242         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8243         fallback when vDSO is not presented.
8244         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8245         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8246         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8247         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8248         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8249         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8250         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8251         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8252         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8253         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8254         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8255         fallback configurable symbol when vDSO is not available.
8256         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8257         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8258         be able to redefine fallback symbol when vDSO is not available.
8259         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8260         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8262 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8264         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8265         (TLS_INIT_TP): Add tm_capable initialization.
8266         (TLS_DEFINE_INIT_TP): Likewise.
8267         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8268         TCB.
8269         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8270         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8271         calculation.
8272         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8273         transactoion is lock elision is built and TCB tm_capable is set.
8274         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8276         (INTERNAL_SYSCALL_NCS): Likewise.
8277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8278         (INTERNAL_SYSCALL_NCS): Likewise.
8279         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8281         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8282         for powerpc.
8283         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8284         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8285         and remove it for 32 bits case.
8286         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8288         initialization.
8289         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8290         Disable lock elision with rdlocks if elision is not available.
8292         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8293         (sysdep_routines): Add lock elision objects.
8294         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8295         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8296         [pthread_mutex_t] (__elision): Add field.
8297         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8298         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8299         elision definitions for powerpc.
8300         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8301         implementation of lock elision for powerpc.
8302         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8303         implementation of timed lock elision for powerpc.
8304         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8305         implementation of trylock with lock elision for powerpc.
8306         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8307         implementaion of unlock for lock elision for powerpc.
8308         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8309         automatic enable lock elision for mutexes.
8310         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8311         transaction execution definitions for powerpc.
8312         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8313         definitions.
8314         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8315         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8316         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8317         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8318         * NEWS: Update.
8320 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8322         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8323         for #include of <shm-directory.h>.
8325 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8327         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8328         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8330 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8332         [BZ #17791]
8333         * NEWS: Mention bug fix.
8334         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8335         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8336         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8338 2015-01-09  Torvald Riegel <triegel@redhat.com>
8340         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8342 2015-01-09  Torvald Riegel <triegel@redhat.com>
8344         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8346 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8348         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8349         pointer and cast to uintptr_t.
8351 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8353         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8354         removed.
8355         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8357 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8359         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8360         of 0.
8362 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8364         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8365         <nptl/pthreadP.h> instead.
8366         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8368         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8369         already defined.
8370         [__SIGRTMIN] (init): Function removed.
8371         [__SIGRTMIN] (initialized): Variable removed.
8372         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8373         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8374         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8375         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8376         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8377         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8378         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8379         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8380         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8381         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8382         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8383         * sysdeps/nptl/allocrtsig.c: New file.
8384         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8385         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8386         * sysdeps/generic/testrtsig.h: File removed.
8388         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8389         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8391         * nptl/nptl-init.c (pthread_functions): Conditionalize
8392         .ptr__nptl_setxid initialization on [SIGSETXID].
8394         * sysdeps/nptl/sys/procfs.h: New file.
8395         * nptl_db/Makefile (headers): Add it.
8396         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8398         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8399         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8400         * nptl/pthread_attr_setaffinity.c: Include it.
8401         * nptl/pthread_setattr_default_np.c: Likewise.
8402         * nptl/check-cpuset.h: New file.
8404 2015-01-08  Richard Henderson  <rth@redhat.com>
8406         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8407         (CFLAGS-tst-execstack-prog.c): Likewise.
8408         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8410 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8411             Sandra Loosemore  <sandra@codesourcery.com>
8412             Andrew Jenner  <andrew@codesourcery.com>
8413             Joseph Myers  <joseph@codesourcery.com>
8414             Nathan Sidwell  <nathan@codesourcery.com>
8416         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8417         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8418         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8419         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8420         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8421         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8422         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8423         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8424         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8425         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8426         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8427         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8428         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8429         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8430         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8431         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8432         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8434 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8436         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8437         timespec struct member in syscall macro.
8438         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8439         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8440         first timeval struct member in syscall macro.
8441         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8443 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8445         [BZ #17748]
8446         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8447         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8448         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8449         __feupdateenv and define as weak alias of __feupdateenv.  Use
8450         libm_hidden_weak.
8451         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8452         libm_hidden_def.
8453         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8454         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8455         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8456         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8457         libm_hidden_def.
8458         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8459         __feupdateenv and define as weak alias of __feupdateenv.  Use
8460         libm_hidden_weak.
8461         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8462         libm_hidden_def.
8463         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8464         __feupdateenv and define as weak alias of __feupdateenv.  Use
8465         libm_hidden_weak.
8466         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8467         libm_hidden_def.
8468         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8469         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8470         (__feupdateenv): Likewise.
8471         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8472         __feupdateenv and define as weak alias of __feupdateenv.  Use
8473         libm_hidden_weak.
8474         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8475         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8476         libm_hidden_def.
8477         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8478         function.
8479         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8480         libm_hidden_def.
8481         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8482         __feupdateenv instead of feupdateenv.
8483         (default_libc_feupdateenv_test): Likewise.
8484         (libc_feresetround_ctx): Likewise.
8486 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8488         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8489         prototype.
8491 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8493         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8494         COLL_SYM in a couple of places to avoid uninitialized variable
8495         wanings on tilegx gcc 4.8.2.
8497 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8499         * sysdeps/aarch64/strcpy.S: New file.
8500         * sysdeps/aarch64/stpcpy.S: New file.
8501         * NEWS: Updated.
8503 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8505         * sysdeps/aarch64/strrchr.S: New file.
8506         * NEWS: Updated.
8508 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8510         [BZ #17658]
8511         * stdlib/setenv.c: Fix memory leak when setting large,
8512         duplicate string.
8514 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8516         [BZ #17273]
8517         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8518         and tabs from buffer before parsing fstab entry.
8519         * misc/tst-mntent.c (main): Add test for mount entry with
8520         trailing spaces and tabs.
8522 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8524         [BZ #17748]
8525         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8526         * math/fesetround.c (fesetround): Rename to __fesetround and
8527         define as weak alias of __fesetround.  Use libm_hidden_weak.
8528         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8529         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8530         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8531         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8532         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8533         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8534         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8535         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8536         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8537         __fesetround_inline.
8538         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8539         __fesetround_inline instead of __fesetround.
8540         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8541         __fesetround and define as weak alias of __fesetround.  Use
8542         libm_hidden_weak.  Call __fesetround_inline instead of
8543         __fesetround.
8544         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8545         __fesetround and define as weak alias of __fesetround.  Use
8546         libm_hidden_weak.
8547         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8548         Likewise.
8549         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8550         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8551         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8552         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8553         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8554         __fesetround and define as weak alias of __fesetround.  Use
8555         libm_hidden_weak.
8556         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8557         __fesetround instead of fesetround.
8558         (default_libc_feholdexcept_setround): Likewise.
8559         (libc_feholdsetround_ctx): Likewise.
8560         (libc_feholdsetround_noex_ctx): Likewise.
8562         [BZ #17748]
8563         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8564         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8565         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8566         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8567         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8568         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8569         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8570         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8571         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8572         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8573         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8574         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8575         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8576         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8577         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8578         libm_hidden_def.
8579         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8580         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8581         Likewise.
8582         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8583         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8584         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8585         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8586         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8587         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8588         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8589         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8590         __fesetenv instead of fesetenv.
8591         (libc_feresetround_noex_ctx): Likewise.
8592         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8593         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8594         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8595         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8596         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8597         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8598         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8599         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8600         (__feupdateenv): Likewise.
8601         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8602         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8603         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8604         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8606 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8608         [BZ #17806]
8609         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8610         addresses have been freed.
8612 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8614         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8615         and nservall.
8617 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8619         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8620         Clean up check_pf allocation pattern. addresses
8622 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8624         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8625         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8626         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8627         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8628         * nptl/pthread_join.c (pthread_join): Likewise.
8629         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8630         * sysdeps/posix/waitid.c (__waitid): Likewise.
8631         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8632         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8633         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8634         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8635         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8636         Likewise.
8637         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8638         (__libc_pread64): Likewise.
8639         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8640         (__libc_pwrite): Likewise.
8641         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8642         (__libc_pwrite64): Likewsie.
8643         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8644         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8645         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8646         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8647         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8648         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8649         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8651         Likewise.
8652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8653         (__libc_pread64): Likewise.
8654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8655         Likewise.
8656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8657         (__libc_pwrite64): Likewise.
8658         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8659         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8660         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8661         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8662         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8663         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8664         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8665         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8666         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8667         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8668         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8669         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8670         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8671         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8672         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8673         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8674         Likewise.
8676 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8678         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8679         (CFLAGS-test-double.c): Likewise.
8680         (CFLAGS-test-ldouble.c): Likewise.
8681         (CPPFLAGS-test-ifloat.c): Likewise.
8682         (CPPFLAGS-test-idouble.c): Likewise.
8683         (CPPFLAGS-test-ildoubl.c): Likewise.
8684         (CFLAGS-test-test-fenv.c): Remove variable.
8685         (CFLAGS-test-misc.c): Likewise.
8687 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8689         [BZ #17797]
8690         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8691         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8692         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8693         CLOCKS_PER_SEC == 1000000.
8694         * time/clocktest.c (main): Replace %ld with %jd and cast to
8695         intmax_t.
8697 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8699         * sysdeps/generic/unwind-resume.h: New file.
8700         * sysdeps/gnu/unwind-resume.c: Include it.
8701         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8702         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8703         argument list.
8704         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8705         global rather than static.
8706         (_Unwind_Resume): Update user.
8707         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8708         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8709         rather than static.  Add __attribute__ ((cold)).
8710         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8711         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8712         * sysdeps/arm/arm-unwind-resume.S: New file.
8713         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8714         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8715         * sysdeps/arm/Makefile [$(subdir) = csu]
8716         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8717         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8718         Add rt-arm-unwind-resume.
8719         [$(subdir) = nptl]
8720         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8721         Add pt-arm-unwind-resume.
8722         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8723         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8725 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8727         [BZ #17748]
8728         * include/fenv.h (__feholdexcept): Declare.  Use
8729         libm_hidden_proto.
8730         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8731         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8732         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8733         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8734         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8735         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8736         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8737         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8738         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8739         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8740         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8741         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8742         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8743         (feholdexcept): Likewise.
8744         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8745         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8746         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8747         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8748         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8749         __feholdexcept instead of feholdexcept.
8750         (default_libc_feholdexcept_setround): Likewise.
8752 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8754         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8755         to avoid using stl/str to align destination.
8757 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8759         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8761 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8763         [BZ #17796]
8764         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8765         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8766         Define as weak alias not strong alias.
8768 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8770         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8771         bltzal with addiupc.
8772         (RTLD_START): Ditto.
8774 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8776         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8777         for __vdso_* functions in declarations.
8778         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8779         definitions.
8780         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8781         INTERNAL_VSYSCALL): Use struct return types to check for error.
8783         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8784         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8785         function with cast from llround().
8786         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8787         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8788         Define.
8790 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8792         [BZ #17793]
8793         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8794         Define as weak alias not strong alias.
8796         [BZ #17635]
8797         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8798         ...
8799         * ctype/ctype-extn.c: ... here.
8800         (__isblank_l): Move to ...
8801         * ctype/ctype-c99_l.c: ... here.  New file.
8802         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8803         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8804         Remove variable.
8805         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8806         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8807         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8808         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8809         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8811         [BZ #17777]
8812         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8813         (posix_fadvise64): Define as weak alias not strong alias.
8814         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8815         (posix_fallocate64): Likewise.
8816         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8817         Remove variable.
8818         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8819         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8820         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8821         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8822         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8824 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8826         [BZ #16191]
8827         * NEWS: Mention bug fix.
8828         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8829         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8830         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8831         (HOST_STACK_END_ADDR): Likewise.
8833 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8835         [BZ #17748]
8836         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8837         * math/fegetround.c (fegetround): Rename to __fegetround and
8838         define as weak alias of __fegetround.  Use libm_hidden_weak.
8839         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8840         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8841         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8842         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8843         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8844         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8845         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8846         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8847         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8848         Undefine after rather than before function definition; use
8849         parentheses around function name in definition.
8850         (__fegetround): Also undefine macro after function definition.
8851         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8852         __fegetround and define as weak alias of __fegetround.  Use
8853         libm_hidden_weak.  Do not undefine as macro.
8854         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8855         Likewise.
8856         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8857         __fegetround and define as weak alias of __fegetround.  Use
8858         libm_hidden_weak.
8859         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8860         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8861         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8862         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8863         __fegetround and define as weak alias of __fegetround.  Use
8864         libm_hidden_weak.
8865         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8866         __fegetround instead of fegetround.
8868         [BZ #17782]
8869         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8870         Condition macro definition on [__USE_MISC].
8872         [BZ #17781]
8873         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8874         (struct sigaction): Change type of sa_flags field to int.
8876         [BZ #17780]
8877         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8878         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8879         __glibc_reserved0.
8881         * nptl/version.c (banner): Use single year in copyright notice.
8883         * NEWS: Update copyright dates.
8884         * catgets/gencat.c (print_version): Likewise.
8885         * csu/version.c (banner): Likewise.
8886         * debug/catchsegv.sh: Likewise.
8887         * debug/pcprofiledump.c (print_version): Likewise.
8888         * debug/xtrace.sh (do_version): Likewise.
8889         * elf/ldconfig.c (print_version): Likewise.
8890         * elf/ldd.bash.in: Likewise.
8891         * elf/pldd.c (print_version): Likewise.
8892         * elf/sotruss.sh: Likewise.
8893         * elf/sprof.c (print_version): Likewise.
8894         * iconv/iconv_prog.c (print_version): Likewise.
8895         * iconv/iconvconfig.c (print_version): Likewise.
8896         * locale/programs/locale.c (print_version): Likewise.
8897         * locale/programs/localedef.c (print_version): Likewise.
8898         * login/programs/pt_chown.c (print_version): Likewise.
8899         * malloc/memusage.sh (do_version): Likewise.
8900         * malloc/memusagestat.c (print_version): Likewise.
8901         * malloc/mtrace.pl: Likewise.
8902         * manual/libc.texinfo: Likewise.
8903         * nptl/version.c (banner): Likewise.
8904         * nscd/nscd.c (print_version): Likewise.
8905         * nss/getent.c (print_version): Likewise.
8906         * nss/makedb.c (print_version): Likewise.
8907         * posix/getconf.c (main): Likewise.
8908         * scripts/test-installation.pl: Likewise.
8909         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8911 2015-01-02  Will Newton  <will.newton@linaro.org>
8913         * sysdeps/arm/armv7/configure: Removed.
8914         * sysdeps/arm/armv7/configure.ac: Likewise.
8916 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8918         * All files with FSF copyright notices: Update copyright dates
8919         using scripts/update-copyrights.
8920         * intl/plural.c: Regenerated.
8921         * locale/programs/charmap-kw.h: Likewise.
8922         * locale/programs/locfile-kw.h: Likewise.
8924 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8926         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8928 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8930         [BZ #17748]
8931         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8932         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8933         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8934         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8935         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8936         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8937         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8938         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8939         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8940         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8941         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8942         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8943         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8944         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8945         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8946         libm_hidden_def.
8947         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8948         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8949         Likewise.
8950         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8951         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8952         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8953         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8954         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8955         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8956         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8957         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8958         __fegetenv instead of fegetenv.
8959         (libc_feholdsetround_noex_ctx): Likewise.
8961 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8963         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8964         (Elf_MIPS_ABIFlags_v0): New structure.
8965         (EF_MIPS_FP64): Define.
8966         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8967         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8968         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8969         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8970         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8971         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8972         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8973         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8974         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8975         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8976         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8977         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8978         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8979         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8980         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8981         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8982         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8983         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8984         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8985         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8986         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8987         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8988         field.
8989         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8990         EF_MIPS_FP64.
8991         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8992         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8993         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8994         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8995         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8996         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8997         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8998         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8999         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9000         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9001         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9002         record the current FP ABI extension.
9003         (mips-mode-switch): Define to show if kernel headers support mode
9004         switching.
9005         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9006         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9007         supported SYSV ABI version to 3.
9008         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9009         feature.
9011 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9012             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9014         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9015         path.
9016         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9018 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9020         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9021         __fegetround and redefine to call __fegetround.  Remove condition
9022         on [!__NO_MATH_INLINES].
9023         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9024         function.
9025         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9026         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9027         Remove macro.
9028         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9029         instead of <fenv_libc.h>.
9030         (__llrintl): Call fegetround instead of __fegetround.
9031         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9032         instead of <fenv_libc.h>.
9033         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9034         (__lrintl): Call fegetround instead of __fegetround.
9035         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9036         instead of <fenv_libc.h>.
9037         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9038         (__rintl): Call fegetround instead of __fegetround.
9040 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9042         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9043         arrays.
9045 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9047         [BZ #17775]
9048         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9049         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9050         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9052 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9054         * sysdeps/i386/tls-macros.h: Include <features.h>.
9055         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9056         (TLS_IE): Likewise.
9057         (TLS_LD): Likewise.
9058         (TLS_GD): Likewise.
9059         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9060         define for GCC >= 5.0.
9062 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9064         * math/test-fenv.c (test_single_exception, set_single_exc,
9065         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9066         feexcp_mask_test, feenable_test, fe_single_test): Add
9067         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9068         case where they are not used.
9069         * math/libm-test.inc: Likewise.
9070         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9071         unused in the absence of FP rounding/exception support.
9072         * stdio-common/tst-printf-round.c: Likewise.
9073         * stdlib/tst-strtod-round.c: Likewise.
9074         * stdlib/tst-strtod-underflow.c: Likewise.
9076 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9078         [BZ #17723]
9079         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9080         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9081         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9082         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9083         libm_hidden_weak.
9084         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9085         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9086         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9087         libm_hidden_def.
9088         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9089         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9090         libm_hidden_weak.
9091         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9092         Likewise.
9093         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9094         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9095         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9096         libm_hidden_weak.
9097         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9098         libm_hidden_def.
9099         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9100         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9101         (__feraiseexcept): Likewise.
9102         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9103         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9104         libm_hidden_weak.
9105         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9106         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9107         libm_hidden_def.
9108         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9109         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9110         Use libm_hidden_def.
9111         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9112         libm_hidden_def.
9113         (feraiseexcept): Define as weak not strong alias.  Use
9114         libm_hidden_weak.
9115         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9116         New inline function.  Factored out of ...
9117         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9118         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9119         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9120         feraiseexcept.
9121         * math/w_acos.c (__acos): Likewise.
9122         * math/w_asin.c (__asin): Likewise.
9123         * math/w_ilogb.c (__ilogb): Likewise.
9124         * math/w_j0.c (y0): Likewise.
9125         * math/w_j1.c (y1): Likewise.
9126         * math/w_jn.c (yn): Likewise.
9127         * math/w_log.c (__log): Likewise.
9128         * math/w_log10.c (__log10): Likewise.
9129         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9130         * sysdeps/aarch64/fpu/math_private.h
9131         (libc_feupdateenv_test_aarch64): Likewise.
9132         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9133         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9134         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9135         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9136         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9137         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9138         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9139         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9140         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9141         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9143 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9145         [BZ #17732]
9146         * io/test-utime.c (main): Replace %ld with %jd and cast to
9147         intmax_t.
9148         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9149         * nptl/tst-mutex5.c: Include <stdint.h>.
9150         (do_test): Replace %ld with %jd and cast to intmax_t.
9151         * posix/tst-regex.c (run_test): Likewise.
9152         (run_test_backwards): Likewise.
9153         * rt/tst-clock.c: Include <stdint.h>.
9154         (clock_test): Replace %ld with %jd and cast to intmax_t.
9155         * rt/tst-cpuclock1.c: Include <stdint.h>.
9156         (do_test): Replace %lu with %ju and cast to uintmax_t.
9157         * rt/tst-cpuclock2.c: Include <stdint.h>.
9158         (do_test): Replace %lu with %ju and cast to uintmax_t.
9159         * rt/tst-mqueue1.c: Include <stdint.h>.
9160         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9161         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9162         intmax_t.
9163         * rt/tst-mqueue4.c (do_test): Likewise.
9164         * rt/tst-timer4.c: Include <stdint.h>.
9165         (check_ts): Replace %ld with %jd and cast to intmax_t.
9166         (do_test): Likewise.
9167         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9168         and cast to intmax_t.
9169         * sysdeps/pthread/tst-timer.c (main): Likewise.
9170         * time/clocktest.c (main): Likewise.
9171         * time/tst-posixtz.c (do_test): Likewise.
9172         * timezone/tst-timezone.c (main): Likewise.
9174 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9175             H.J. Lu  <hongjiu.lu@intel.com>
9177         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9178         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9179         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9180         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9181         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9182         version if bit_Fast_Unaligned_Load is set.
9183         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9184         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9185         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9186         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9187         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9188         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9190         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9191         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9192         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9193         to 4.
9194         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9195         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9196         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9197         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9199 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9201         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9202         instead of #if to avoid a Wundef warning.
9203         * stdlib/tst-limits.c (do_test): Likewise.
9205         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9206         parallel other exception macros.
9207         (fegetenv): Convert from macro to extern inline so that it applies
9208         retroactively to inline functions already seen by the compiler.
9209         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9211         * posix/Makefile (before-compile): Use $(objpfx) for
9212         posix-conf-vars-def.h.
9214 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9216         * posix/getconf.c (main): Use size_t for type of I.
9217         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9218         NSPEC.
9220         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9221         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9222         * posix/posix-envs.def: Likewise.
9223         * sysdeps/posix/sysconf.c: Likewise.
9224         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9225         (specs): Remove array.
9226         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9227         array.
9229         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9230         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9231         (__sysconf): Use CONF_IS_* macros.
9233         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9234         ($(objpfx)posix-conf-vars-def.h): New target.
9235         * posix/posix-conf-vars.list: New file.
9236         * posix/posix-conf-vars.h: New file.
9237         * posix/confstr.c: Include posix-conf-vars.h.
9238         (confstr): Use CONF_IS_* macros.
9239         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9240         CONF_IS_* macros.
9241         * scripts/gen-posix-conf-vars.awk: New file.
9243 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9245         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9246         fegetround): Add no-op macros to avoid linknamespace issues.
9248         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9249         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9251         * sysdeps/unix/sysv/linux/tile/sysdep.h
9252         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9253         assembly-specific section to avoid a redefinition warning.
9255         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9256         long before casting to pointer to avoid a cast warning.
9258 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9260         * sysdeps/tile/tilegx/Implies: New file.
9262 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9264         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9266 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9268         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9270 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9272         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9273         not define.
9274         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9275         <kernel-features.h>.
9276         (__utimes) [__NR_utimes]: Make code unconditional.
9277         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9278         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9279         (__ASSUME_UTIMES): Do not undefine.
9280         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9281         (__ASSUME_UTIMES): Likewise.
9282         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9283         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9284         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9285         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9287 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9289         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9291 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9293         [BZ #17747]
9294         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9295         alias to weak alias for j0l, y0l.
9296         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9297         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9299         [BZ #17746]
9300         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9301         conversion.
9303 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9305         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9306         to zero if not already defined.
9308 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9310         [BZ #17724]
9311         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9312         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9313         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9314         (char *) casts added.
9315         * sysdeps/ieee754/k_standardf.c: New file.
9316         * sysdeps/ieee754/k_standardl.c: Likewise.
9317         * math/Makefile (libm-support): Remove k_standard.
9318         (libm-calls): Add k_standard.
9320 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9322         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9323         Optimize to avoid an unnecessary FPCR read.
9325 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9327         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9328         Optimize to reduce FPCR/FPSR accesses.
9330 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9332         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9333         Call libc_fetestexcept_aarch64.
9335 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9337         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9338         Call libc_fesetround_aarch64.
9340 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9342         [BZ #17733]
9343         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9344         (__bind): Do not define as weak alias.
9345         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9346         define.
9347         (__getsockname): Do not define as weak alias.
9349 2014-12-22  Will Newton  <will.newton@linaro.org>
9351         * manual/install.texi: Document that we require bison 2.7
9352         or above.
9353         * INSTALL: Regenerate.
9354         * configure.ac: Use AC_CHECK_PROG_VER instead of
9355         AC_PATH_PROG when checking for bison and check for
9356         version 2.7 or above.
9357         * configure: Regenerate.
9359 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9361         [BZ #17745]
9362         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9363         * sysdeps/tile/ffsll.c (ffsll): To here.
9365         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9367 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9369         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9370         if not defined.
9371         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9372         definition.
9373         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9374         hidden ___tls_get_addr.
9375         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9376         hidden __tls_get_addr.
9377         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9378         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9379         Likewise.
9381 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9383         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9384         _dl_init call.
9386 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9388         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9389         from "call _dl_init@PLT".
9390         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9392 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9394         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9395         guarantees.
9397 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9399         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9401 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9403         [BZ #17744]
9404         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9405         strnlen.
9407 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9409         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9410         of multu on MIPSr6.
9411         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9412         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9413         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9414         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9415         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9417 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9419         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9420         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9421         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9422         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9423         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9424         mips32r6/mips64r6.
9425         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9427 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9429         * string/strncat.c (STRNCAT): Simplify implementation.
9431 2014-12-19  David S. Miller  <davem@davemloft.net>
9433         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9434         access the quad as both a long double and as a series of 4 words.
9436         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9437         link_map->l_info array access.
9439 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9441         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9443         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9444         * math/atest-exp2.c (TIMEOUT): Likewise.
9445         * math/atest-sincos.c (TIMEOUT): Likewise.
9447 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9449         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9450         -Wno-error with -fno-builtin-lround.
9452 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9454         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9455         Contains futex constants and functions moved over from ...
9456         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9457         <lowlevellock-futex.h>.
9458         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9459         (lll_timedwait_tid): Add comments and parentheses around macro
9460         arguments.
9462 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9464         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9465         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9466         (__lll_private_flag): Remove.
9467         (lll_futex_wait): Likewise.
9468         (lll_futex_timed_wait): Likewise.
9469         (lll_futex_wake): Likewise.
9470         (lll_futex_requeue): Likewise.
9471         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9472         (__lll_timedwait_tid): Spell out argument names.
9473         (lll_timedwait_tid): Add comments and parentheses around macro
9474         arguments.
9475         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9476         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9478 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9480         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9481         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9482         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9483         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9484         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9485         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9486         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9487         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9488         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9489         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9490         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9491         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9492         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9493         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9494         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9495         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9496         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9497         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9498         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9500 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9502         * sysdeps/x86_64/x32/Makefile: New file.
9504 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9506         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9507         1L with (mp_limb_t) 1.
9509 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9511         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9512         * nptl/libc_pthread_init.c: ... here.
9513         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9514         * nptl/register-atfork.c: ... here.
9516         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9517         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9518         Use assert_perror to check its return value.
9519         (__gai_create_helper_thread): Likewise.
9521         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9523         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9525 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9527         [BZ #17725]
9528         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9529         __profil_counter.
9530         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9531         Likewise.
9532         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9533         Likewise.
9534         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9535         Likewise.
9536         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9537         (profil_counter): Likewise.
9538         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9539         (profil_counter): Likewise.
9540         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9541         Likewise.
9542         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9543         Likewise.
9544         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9545         (profil_counter): Likewise.
9546         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9547         Likewise.
9548         [!__profil_counter] (profil_counter): Define as weak alias of
9549         __profil_counter.
9550         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9551         (profil_counter): Rename to __profil_counter.
9552         [!__profil_counter] (profil_counter): Define as weak alias of
9553         __profil_counter.
9554         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9555         (profil_counter): Rename to __profil_counter.
9556         [!__profil_counter] (profil_counter): Define as weak alias of
9557         __profil_counter.
9558         * sysdeps/posix/profil.c: Update comment referring to
9559         profil_counter.
9560         (__profil): Use __profil_counter instead of profil_counter.
9561         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9562         __profil_counter.  Use __profil_counter_ushort and
9563         __profil_counter_uint in definitions.
9564         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9565         instead of profil_counter_uint and profil_counter_ushort.
9567         [BZ #17722]
9568         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9569         define as weak alias of __inet_makeaddr.
9570         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9571         as weak alias of __inet_addr.
9572         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9573         as weak alias of __inet_pton.  Use libc_hidden_weak.
9574         * include/arpa/inet.h (__inet_pton): Declare.  Use
9575         libc_hidden_proto.
9576         (inet_makeaddr): Don't use libc_hidden_proto.
9577         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9578         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9579         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9580         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9581         Remove variable.
9582         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9583         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9585 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9587         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9589 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9591         * stdio-common/bug-vfprintf-nargs.c (do_test):
9592         Cast value to intptr_t to avoid format warning
9593         for usage with PRIdPTR printing macro.
9595 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9597         * libio/tst-widetext.c (do_test):
9598         Use format type %td instead of %Zd for ptrdiff_t
9599         in order to avoid format warning.
9601 2014-12-17  Andreas Schwab  <schwab@suse.de>
9603         * nscd/mem.c (gc): Add size_t cast to match printf format.
9605 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9607         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9608         (init): Apply PTR_MANGLE to pointers before storing them.
9609         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9610         before using them.
9612 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9614         [BZ #17719]
9615         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9616         define as weak alias of __memrchr.
9617         (__memrchr): Do not define as strong alias of memrchr.
9618         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9619         Remove variable.
9620         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9621         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9622         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9624         [BZ #17717]
9625         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9626         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9627         (if_indextoname): Rename to __if_indextoname and define as weak
9628         alias of __if_indextoname.  Use libc_hidden_weak.
9629         (if_freenameindex): Rename to __if_freenameindex and define as
9630         weak alias of __if_freenameindex.
9631         (if_nameindex): Rename to __if_nameindex and define as weak alias
9632         of __if_nameindex.
9633         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9634         __if_nametoindex and define as weak alias of __if_nametoindex.
9635         Use libc_hidden_weak.
9636         (if_freenameindex): Rename to __if_freenameindex and define as
9637         weak alias of __if_freenameindex.
9638         (if_nameindex): Rename to __if_nameindex and define as weak alias
9639         of __if_nameindex.
9640         (if_indextoname): Rename to __if_indextoname and define as weak
9641         alias of __if_indextoname.  Use libc_hidden_weak.
9642         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9643         __if_nametoindex and define as weak alias of __if_nametoindex.
9644         Use libc_hidden_weak.
9645         (if_freenameindex): Rename to __if_freenameindex and define as
9646         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9647         (if_nameindex_netlink): Use __if_freenameindex instead of
9648         if_freenameindex.
9649         (if_nameindex): Rename to __if_nameindex and define as weak alias
9650         of __if_nameindex.  Use libc_hidden_weak.
9651         (if_indextoname): Rename to __if_indextoname and define as weak
9652         alias of __if_indextoname.  Use libc_hidden_weak.
9653         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9654         libc_hidden_proto.
9655         [!_ISOMAC] (__if_freenameindex): Likewise.
9656         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9657         if_nametoindex.
9658         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9659         variable.
9660         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9661         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9662         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9663         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9664         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9665         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9666         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9668         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9669         Remove variable.
9670         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9671         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9673 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9675         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9676         subscript above bounds'
9678         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9679         bounds.
9681 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9683         * libio/tst-fopenloc.c: Use test-skeleton.c.
9685         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9686         (entry): Rename to ITEM.
9687         (do_test, comp): Adjust.
9689         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9691 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9693         * string/tester.c: Include <libc-internal.h>.
9694         (test_memset): Ignore -Wmemset-transposed-args.
9696 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9698         * misc/tst-mntent2.c (do_test): Fix warning.
9700 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9702         * elf/tst-unique4lib.cc(a): Mark as used.
9704 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9706         [BZ #17630]
9707         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9708         names.
9710 2014-12-16  Allan McRae  <allan@archlinux.org>
9712         * stdio-common/Makefile (tests): Re-add bug26.
9714 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9716         [BZ #17657]
9717         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9718         static array.
9720 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9722         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9723         (__lll_lock_wait): Likewise.
9724         (__lll_timedlock_wait): Likewise.
9725         (__lll_timedwait_tid): Likewise.
9726         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9727         (__lll_robust_timedlock_wait): Likewise.
9728         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9729         (lll_cond_trylock): Likewise.
9730         (__lll_lock): Likewise.
9731         (__lll_robust_lock): Likewise.
9732         (__lll_cond_lock): Likewise.
9733         (lll_robust_cond_lock): Likewise.
9734         (__lll_timedlock): Likewise.
9735         (__lll_robust_timedlock): Likewise.
9736         (__lll_unlock): Likewise.
9737         (__lll_robust_unlock): Likewise.
9738         (lll_wait_tid): Likewise.
9739         (lll_timedwait_tid): Likewise.
9741 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9743         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9745 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9747         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9749 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9751         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9752         * stdio-common/tst-sprintf.c: Likewise.
9754 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9756         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9758 2014-12-15  Jeff Law  <law@redhat.com>
9760         [BZ #16617]
9761         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9762         on the heap.  (CVE-2012-3406)
9763         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9764         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9765         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9767 2014-12-15  Will Newton  <will.newton@linaro.org>
9769         * manual/install.texi: Bump required version of texinfo
9770         to 4.7 from 4.5.
9771         * INSTALL: Regenerated.
9772         * configure.ac: Check for makeinfo version 4.7 and above.
9773         * configure: Regenerated.
9775 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9777         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9778         PREFIX, string constant to insert between directory and name.
9779         * sysdeps/posix/shm_open.c: Update caller.
9780         * sysdeps/posix/shm_unlink.c: Likewise.
9781         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9782         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9783         (SEM_SHM_PREFIX): New macro.
9784         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9785         [$(have-thread-library) = no].
9786         * nptl/Makefile (libpthread-routines): Add shm-directory.
9787         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9788         * sysdeps/nptl/shm-directory.h: New file.
9789         * sysdeps/posix/shm-directory.c
9790         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9791         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9792         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9793         INTERNAL_SYSCALL.
9794         (__where_is_shmfs): Function removed.
9795         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9796         Variables removed.
9797         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9798         Use SHM_GET_NAME.
9799         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9801         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9802         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9803         unconditional for use inside libpthread.
9804         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9806 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9808         * nptl/pthread_getaffinity.c: New file.
9809         * nptl/pthread_setaffinity.c: New file.
9810         * nptl/pthread_getname.c: New file.
9811         * nptl/pthread_setname.c: New file.
9813         * nptl/pthread_create.c (START_THREAD_DEFN)
9814         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9816 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9817             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9819         * resolv/res_send.c (send_vc): Disable warning resplen may
9820         be used uninitialized.
9822 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9824         * nptl/tst-mutex6.c
9825         (ATTR_NULL): New define checks ATTR against NULL.
9826         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9827         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9829 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9831         [BZ #17581]
9832         * malloc/hooks.c
9833         (mem2mem_check): Revert my previous change.
9834         (malloc_check_get_size): Revert my previous change.
9835         (mem2chunk_check): Revert my previous change.
9837 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9839         * sysdeps/posix/shm-directory.c: New file.
9840         * sysdeps/posix/shm-directory.h: New file.
9841         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9842         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9843         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9844         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9845         Transmute EPERM to EACCES.
9846         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9847         from ...
9848         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9849         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9851 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9853         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9854         pointer and cast to uintptr_t.
9855         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9856         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9857         Add cast to avoid warning.
9858         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9860 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9862         * nptl/semaphore.h: Move to ...
9863         * sysdeps/pthread/semaphore.h: ... here.
9864         * Makefile (installed-headers): Change nptl/semaphore.h to
9865         sysdeps/pthread/semaphore.h.
9867 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9869         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9870         generated error format strings.
9872         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9873         -Wformat-extra-args warnings for scanf formats.
9874         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9875         test of zero-length format (duh).
9876         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9877         corner-case scanf format test.
9878         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9879         generated fprintf format string.
9880         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9881         corner-case sprintf format tests.
9882         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9883         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9884         -Wformat-extra-args warnings throughout.
9885         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9886         (CFLAGS-scanf4.c): Likewise.
9887         (CFLAGS-scanf7.c): Likewise.
9888         (CFLAGS-tst-sprintf.c): Likewise.
9889         (CFLAGS-tst-printf.c): Likewise.
9890         (CFLAGS-tst-printfsz.c): Likewise.
9892 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9894         * include/cpio.h: New file.
9895         * include/fmtmsg.h: Likewise.
9897         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9898         corresponding format argument to size_t.
9899         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9900         arguments.
9901         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9902         corresponding format argument to size_t.
9903         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9904         arguments.
9905         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9906         corresponding format argument to size_t.
9907         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9908         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9909         (CFLAGS-tst-mbswcs2.c): Likewise.
9910         (CFLAGS-tst-mbswcs3.c): Likewise.
9911         (CFLAGS-tst-mbswcs4.c): Likewise.
9912         (CFLAGS-tst-mbswcs5.c): Likewise.
9913         (CFLAGS-tst-trans.c): Likewise
9915 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9917         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9918         rather than assuming they won't contain any '%'s.
9920 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9922         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9923         inhibit_loop_to_libcall to avoid recursive calls.
9924         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9925         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9927 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9929         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9930         prototype.
9932 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9934         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9935         integer value instead of boolean.
9937 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9939         * malloc/malloc.c: Fix powerof2 check.
9941 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9943         * locale/programs/locfile.h (maybe_swap_uint32):
9944         Remove inline and add unused attribute.
9946 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9948         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9949         Truncating assembler expression to a .long expression.
9951 2014-12-11  Andreas Schwab  <schwab@suse.de>
9953         * elf/rtld.c (struct map_args): Constify str member.
9954         (do_preload): Constify fname argument.
9956 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9958         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9959         constants definition.
9961 2014-12-11  Andreas Schwab  <schwab@suse.de>
9963         [BZ #16657]
9964         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9965         FORCE_ELISION instead of DO_ELISION.
9966         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9967         Remove.
9968         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9969         Likewise.
9971         * iconvdata/gconv-modules: Remove duplicate entry.
9973 2014-12-11  Will Newton  <will.newton@linaro.org>
9975         Merge gettext 0.19.3 into intl/.
9977         This involves a number of cosmetic changes to comments
9978         and ANSI function definitions and prototypes throughout
9979         all the files. The gettext copyright header is used but
9980         with the date ranges taken from the glibc copy.
9982         * NEWS: Add gettext merge to 2.21.
9983         * intl/bindtextdom.c: Switch to gettext copyright.
9984         Use ANSI definitions and prototypes.
9985         Use gl_* locking primitives rather than __libc_* ones.
9986         Use __builtin_expect rather than __glibc_likely/unlikely.
9987         * intl/dcgettext.c: Switch to gettext copyright.
9988         Use ANSI definitions and prototypes.
9989         * intl/dcigettext.c: Switch to gettext copyright.
9990         Use ANSI definitions and prototypes.
9991         (INTDIV0_RAISES_SIGFPE): New define.
9992         Use gl_* locking primitives rather than __libc_* ones.
9993         Include eval-plural.h instead of plural-eval.c.
9994         Use __builtin_expect rather than __glibc_likely/unlikely.
9995         * intl/dcngettext.c: Switch to gettext copyright.
9996         Use ANSI definitions and prototypes.
9997         * intl/dgettext.c: Likewise.
9998         * intl/dngettext.c: Likewise.
9999         * intl/plural-eval.c: Renamed to...
10000         * intl/eval-plural.h: ...this.
10001         * intl/explodename.c: Switch to gettext copyright.
10002         Use ANSI definitions and prototypes.
10003         (_nl_explode_name): Use strchr instead of __rawmemchr.
10004         * intl/finddomain.c: Switch to gettext copyright.
10005         Use ANSI definitions and prototypes.
10006         Use gl_* locking primitives rather than __libc_* ones.
10007         (_nl_find_domain): Use malloc rather than alloca for
10008         allocation of temporary locale name.
10009         * intl/gettext.c: Switch to gettext copyright.
10010         Use ANSI definitions and prototypes.
10011         * intl/gettextP.h: Switch to gettext copyright.
10012         Use ANSI definitions and prototypes.
10013         Use gl_* locking primitives rather than __libc_* ones.
10014         * intl/gmo.h: Switch to gettext copyright.
10015         (struct sysdep_string): Move struct segment_pair outside of
10016         struct definition.
10017         * intl/hash-string.c: Use ANSI definitions and prototypes.
10018         * intl/hash-string.h: Switch to gettext copyright.
10019         Use ANSI definitions and prototypes.
10020         * intl/l10nflist.c: Switch to gettext copyright.
10021         Use ANSI definitions and prototypes.
10022         (_nl_normalize_codeset): Avoid integer overflow.
10023         * intl/loadinfo.h: Switch to gettext copyright.
10024         Use ANSI definitions and prototypes.
10025         (LIBINTL_DLL_EXPORTED): New define.
10026         (PATH_SEPARATOR): New define.
10027         * intl/loadmsgcat.c: Switch to gettext copyright.
10028         * intl/localealias.c: Switch to gettext copyright.
10029         Use ANSI definitions and prototypes.
10030         (_nl_expand_alias): Use PATH_SEPARATOR.
10031         * intl/ngettext.c: Switch to gettext copyright.
10032         Use ANSI definitions and prototypes.
10033         * intl/plural-exp.c: Likewise.
10034         * intl/plural-exp.h: Switch to gettext copyright.
10035         Use ANSI definitions and prototypes.
10036         (struct expression): Move definition of enum operator outside
10037         of struct definition.
10038         * intl/plural.c: Regenerate.
10039         * intl/plural.y: Switch to gettext copyright.
10040         Use ANSI definitions and prototypes.
10041         Port to bison 3.0.
10042         * intl/textdomain.c: Switch to gettext copyright.
10043         Use ANSI definitions and prototypes.
10044         Use gl_* locking primitives rather than __libc_* ones.
10046 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10048         * debug/warning-nop.c: Add used atrribute.
10050 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10052         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10054         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10055         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10056         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10058 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10059             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10061         [BZ #17634]
10062         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10063         Undefine after defining function.  Define as weak alias of
10064         __wcschr.  Use libc_hidden_weak.
10065         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10066         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10067         (libc_hidden_def): Also define __GI___wcschr alias.
10068         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10069         __wcschr and define as weak alias of __wcschr.
10070         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10071         __wcschr.
10072         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10073         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10074         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10075         libc_hidden_weak.  Do not use libc_hidden_def.
10076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10077         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10078         __GI___wcschr alias.
10079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10080         [IS_IN (libc)] (wcschr): Define as macro expanding to
10081         __redirect_wcschr.
10082         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10083         [IS_IN (libc)] (__wcschr_power6): Likewise.
10084         [IS_IN (libc)] (__wcschr_power7): Likewise.
10085         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10086         instead of wcschr.
10087         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10088         __libc_wcschr.
10089         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10090         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10091         __wcschr and define as weak alias of __wcschr.  Use
10092         libc_hidden_builtin_def.
10093         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10094         as weak alias of __wcschr.  Use libc_hidden_weak.
10095         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10096         wcschr.
10097         * time/era.c (_nl_init_era_entries): Likewise.
10098         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10099         variable.
10100         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10101         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10103 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10105         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10106         format for long int variable.
10108 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10110         [BZ #10672]
10111         * manual/search.texi: (Array Sort Function): Remove claim how to make
10112         qsort stable.
10114 2014-12-10  Andreas Schwab  <schwab@suse.de>
10116         [BZ #12847]
10117         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10118         user-controlled locks.
10120 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10122         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10123         register.
10125 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10127         * configure.ac (--disable-werror): New configure option.
10128         (enable_werror): New AC_SUBST.
10129         * configure: Regenerated.
10130         * config.make.in (enable-werror): New variable.
10131         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10132         -Wno-error=undef.
10133         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10134         * manual/install.texi (Configuring and compiling): Document
10135         --disable-werror.
10136         * INSTALL: Regenerated.
10137         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10138         (CFLAGS-tst-chk2.c): Likewise.
10139         (CFLAGS-tst-chk3.c): Likewise.
10140         (CFLAGS-tst-chk4.cc): Likewise.
10141         (CFLAGS-tst-chk5.cc): Likewise.
10142         (CFLAGS-tst-chk6.cc): Likewise.
10143         (CFLAGS-tst-lfschk1.c): Likewise.
10144         (CFLAGS-tst-lfschk2.c): Likewise.
10145         (CFLAGS-tst-lfschk3.c): Likewise.
10146         (CFLAGS-tst-lfschk4.cc): Likewise.
10147         (CFLAGS-tst-lfschk5.cc): Likewise.
10148         (CFLAGS-tst-lfschk6.cc): Likewise.
10150         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10151         (main): Disable -Wdeprecated-declarations around calls to
10152         register_printf_function.
10154         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10155         (do_test): Disable -Wdiv-by-zero around some calls to
10156         fwrite_unlocked and fread_unlocked.
10158         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10159         (DIAG_POP_NEEDS_COMMENT): Likewise.
10160         (_DIAG_STR1): Likewise.
10161         (_DIAG_STR): Likewise.
10162         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10163         * stdio-common/bug21.c: Include <libc-internal.h>.
10164         (do_test): Disable -Wformat around call to sscanf.
10165         * stdio-common/scanf14.c: Include <libc-internal.h>.
10166         (main): Disable -Wformat around some calls to scanf functions.
10168 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10170         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10172 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10174         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10175         stack variable alignment.
10177 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10179         [BZ #17682]
10180         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10181         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10182         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10183         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10184         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10185         __getrlimit instead of getrlimit.
10186         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10187         __gettimeofday instead of gettimeofday.
10188         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10189         Likewise.
10190         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10191         Likewise.
10192         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10193         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10194         Remove variable.
10195         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10196         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10198 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10200         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10201         for wide-character tests.
10203 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10205         * io/openat64.c: #include <libc-internal.h>
10206         (__openat64): Prototypify.  Use ignore_value on MODE.
10207         * io/openat.c: Likewise.
10208         * misc/reboot.c: #include <libc-internal.h>
10209         (reboot): Prototypify.  Use ignore_value on HOWTO.
10210         * misc/ptrace.c: #include <libc-internal.h>
10211         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10213 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10215         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10216         XPG4, UNIX98 and XOPEN2K.
10217         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10218         Remove variable.
10219         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10221 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10223         * libio/fileops.c: Use ISO C style for function definitions.
10224         * libio/iofopen.c: Likewise.
10225         * libio/wfileops.c: Likewise.
10227         [BZ #17653]
10228         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10229         offset on EOF.
10230         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10231         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10232         (fgets_func): Function pointer to fgets and fgetws.
10233         (do_ftell_test): Add test to verify ftell value after read
10234         EOF.
10235         (do_test): Set fgets_func.
10237         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10238         O_TRUNC flag for w and w+ modes.
10239         (do_rewind_test): Likewise.
10240         (do_ftell_test): Likewise.
10241         (do_write_test): Likewise.
10243         [BZ #17647]
10244         * libio/fileops.c (do_ftell): Seek only when there are
10245         unflushed writes.
10246         * libio/wfileops.c (do_ftell_wide): Likewise.
10247         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10248         test case.
10249         (do_one_test): Call it.
10251 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10253         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10254         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10255         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10256         Remove variable.
10257         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10258         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10259         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10261 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10263         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10264         Remove variable.
10265         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10267         [BZ #17668]
10268         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10269         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10270         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10271         __freeifaddrs.  Use libc_hidden_weak.
10272         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10273         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10274         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10275         __freeifaddrs.  Use libc_hidden_weak.
10276         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10277         __getifaddrs and define as weak alias of __getifaddrs.  Use
10278         libc_hidden_weak.
10279         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10280         __freeifaddrs.  Use libc_hidden_weak.
10281         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10282         Remove variable.
10283         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10284         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10286 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10288         [BZ #17601]
10289         * sysdeps/mips/start.S (__start): Use indirect jump to call
10290         __libc_start_main.
10292 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10294         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10296         * nptl/tst-mutex1.c: Include <stdbool.h>.
10297         [!ATTR] (ATTR_NULL): New macro.
10298         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10299         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10300         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10302         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10303         to char *.
10305         [BZ #17665]
10306         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10307         Change conditional to [__USE_MISC].
10309         [BZ #17664]
10310         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10311         fgets_unlocked.
10312         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10313         __fgets_unlocked.
10314         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10315         fgets_unlocked.
10316         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10317         Remove variable.
10318         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10319         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10320         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10321         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10322         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10323         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10324         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10325         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10326         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10328         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10330 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10332         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10333         Remove strpbrk objects.
10334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10335         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10336         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10337         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10338         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10339         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10341         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10342         Remove strcspn objects.
10343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10344         (__libc_ifunc_impl_list): Remove strcspn implementation.
10345         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10346         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10347         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10348         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10350         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10351         Remove strspn objetcs.
10352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10353         (__libc_ifunc_impl_list): Remove strspn implementation.
10354         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10355         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10356         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10357         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10359 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10361         [BZ #17581]
10362         * malloc/hooks.c
10363         (mem2mem_check): Add a terminator to the chain of checking blocks.
10364         (malloc_check_get_size): Use it here.
10365         (mem2chunk_check): Ditto.
10367 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10369         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10370         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10372 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10374         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10376         * nptl/nptl-init.c: Include libc-internal.h.
10377         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10379         * elf/ldconfig.c (search_dir): Expand comment.
10381 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10383         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10384         variable.
10385         (linknamespace-symlist-stdlibs-tests): Likewise.
10386         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10387         instead of $(objpfx)symlist-stdlibs.
10388         (linknamespace-libs-isoc): New variable.
10389         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10390         (linknamespace-libs-ISO): New variable.
10391         (linknamespace-libs-ISO99): Likewise.
10392         (linknamespace-libs-ISO11): Likewise.
10393         (linknamespace-libs-XPG3): Likewise.
10394         (linknamespace-libs-XPG4): Likewise.
10395         (linknamespace-libs-POSIX): Likewise.
10396         (linknamespace-libs-UNIX98): Likewise.
10397         (linknamespace-libs-XOPEN2K): Likewise.
10398         (linknamespace-libs-POSIX2008): Likewise.
10399         (linknamespace-libs-XOPEN2K8): Likewise.
10400         ($(objpfx)symlist-stdlibs): Replace by
10401         $(linknamespace-symlist-stdlibs-tests).  Use
10402         $(linknamespace-libs-$*) as set of libraries.
10403         ($(linknamespace-header-tests)): Update dependencies.  Use
10404         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10405         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10406         * conform/linknamespace.pl: Remove comment about considering
10407         definitions of symbols from irrelevant libraries.
10409 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10411         [BZ #13862]
10412         * elf/dl-tls.c: Include <atomic.h>.
10413         (oom): Remove #ifdef SHARED/#endif.
10414         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10415         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10416         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10417         big enough.
10418         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10419         * nptl/Makefile (tests): Add tst-stack4.
10420         (modules-names): Add tst-stack4mod.
10421         ($(objpfx)tst-stack4): New.
10422         (tst-stack4mod.sos): Likewise.
10423         ($(objpfx)tst-stack4.out): Likewise.
10424         ($(tst-stack4mod.sos)): Likewise.
10425         (clean): Likewise.
10426         * nptl/tst-stack4.c: New file.
10427         * nptl/tst-stack4mod.c: Likewise.
10429 2014-11-27  J. Brown  <jb999@gmx.de>
10431         * sysdeps/x86/bits/string.h: Add recent CPUs.
10433 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10435         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10436         sigblock.
10438         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10439         feof.
10441         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10442         variable.
10444 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10446         * nscd/connections.c: Include libc-internal.h because of macro
10447         usage ignore_value.
10449 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10451         * string/bits/string3.h (__warn_memset_zero_len): Don't
10452         declare for gcc newer than 5.0.
10453         (memset): Don't test for zero-length __LEN for gcc newer than
10454         5.0.
10456 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10458         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10459         size_t for %zu format.
10461         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10462         difference, not %ju.
10464 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10466         * include/libc-internal.h (ignore_value): New macro.
10467         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10468         with ignore_value.
10470         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10471         definition.
10473         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10474         pthread_cleanup_push to void *.
10476         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10477         Undefine.
10479         [BZ #16619]
10480         [BZ #16740]
10481         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10482         instead of 1L << 52.
10484         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10485         * libio/bug-rewind2.c (do_test): Likewise.
10487         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10488         * debug/test-strcpy_chk-ifunc.c: Likewise.
10489         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10490         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10491         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10492         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10493         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10494         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10495         * Rules [$(multi-arch) = no] (tests): Do not filter out
10496         $(tests-ifunc).
10497         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10498         * debug/Makefile (tests-ifunc): Remove variable.
10499         (tests): Do not add $(tests-ifunc).
10500         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10501         (tests): Do not add $(tests-ifunc).
10502         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10503         [TEST_IFUNC]: Remove conditionals.
10504         * string/test-string.h (TEST_IFUNC): Remove macro.
10505         [TEST_IFUNC]: Remove conditionals.
10507         * string/test-strchr.c [!WIDE] (L): New macro.
10508         [WIDE] (L): Likewise.
10509         (check1): Use CHAR instead of char.  Use L on string and character
10510         constants.
10512 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10514         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10515         tests.
10516         * sysdeps/powerpc/bits/atomic.h
10517         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10518         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10519         (atomic_exchange_and_add_acq): Likewise.
10520         (atomic_exchange_and_add_rel): Likewise.
10521         * sysdeps/powerpc/powerpc32/bits/atomic.h
10522         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10523         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10524         * sysdeps/powerpc/powerpc64/bits/atomic.h
10525         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10526         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10528 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10530         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10531         Change synchronization of __sched_fifo_min_prio and
10532         __sched_fifo_max_prio.
10533         * nptl/pthread_mutexattr_getprioceiling.c
10534         (pthread_mutexattr_getprioceiling): Likewise.
10535         * nptl/pthread_mutexattr_setprioceiling.c
10536         (pthread_mutexattr_setprioceiling): Likewise.
10537         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10538         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10539         Likewise.
10541 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10543         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10544         void.
10546 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10548         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10549         third argument const.
10551 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10553         fnmatch: work around GCC compiler warning bug with uninit var
10554         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10555         This works around a bug with x86-64 GCC 4.9.2 and earlier
10556         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10557         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10558         used uninitialized in this function [-Wmaybe-uninitialized]".
10560 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10562         * posix/bug-regex31.c (main): Return RES not 0.
10564 2014-11-25  Anton Blanchard <anton@samba.org>
10566         * sysdeps/powerpc/bits/atomic.h
10567         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10569 2014-11-24  Sterling Augustine  <saugustine@google.com>
10571         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10573 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10575         [BZ #17608]
10576         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10578 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10580         [BZ #17633]
10581         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10582         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10583         variable.
10584         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10585         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10587 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10589         * string/strncpy.c (strncpy): Improve performance by using memset.
10591 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10593         * string/strcpy.c (strcpy):
10594         Improve performance by using strlen and memcpy.
10596 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10598         * string/strcoll_l.c (get_next_seq): __always_inline.
10599         * string/strcoll_l.c (do_compare): __always_inline.
10601 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10603         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10604         defined.
10605         * include/mqueue.h: Likewise.
10606         * include/stdlib.h: Likewise.
10608         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10609         (get_null_defines): Adjust.
10610         * sunrpc/Makefile: Adjust comment.
10611         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10612         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10613         (CFLAGS-interp.c): Likewise.
10614         (CFLAGS-ldconfig.c): Likewise.
10615         (CPPFLAGS-.os): Likewise.
10616         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10617         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10618         * extra-modules.mk (extra-modules.mk): Likewise.
10619         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10620         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10621         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10622         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10623         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10624         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10625         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10626         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10627         * iconvdata/Makefile (CPPFLAGS): Likewise.
10628         (cpp-srcs-left): Add libof for all iconvdata routines.
10629         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10630         * include/assert.h: Likewise.
10631         * include/ctype.h: Likewise.
10632         * include/errno.h: Likewise.
10633         * include/libc-symbols.h: Likewise.
10634         * include/math.h: Likewise.
10635         * include/netdb.h: Likewise.
10636         * include/resolv.h: Likewise.
10637         * include/stdio.h: Likewise.
10638         * include/stdlib.h: Likewise.
10639         * include/string.h: Likewise.
10640         * include/sys/stat.h: Likewise.
10641         * include/wctype.h: Likewise.
10642         * intl/l10nflist.c: Likewise.
10643         * libidn/idn-stub.c: Likewise.
10644         * libio/libioP.h: Likewise.
10645         * nptl/libc_multiple_threads.c: Likewise.
10646         * nptl/pthreadP.h: Likewise.
10647         * posix/regex_internal.h: Likewise.
10648         * resolv/res_hconf.c: Likewise.
10649         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10650         * sysdeps/arm/memmove.S: Likewise.
10651         * sysdeps/arm/sysdep.h: Likewise.
10652         * sysdeps/generic/_itoa.h: Likewise.
10653         * sysdeps/generic/symbol-hacks.h: Likewise.
10654         * sysdeps/gnu/errlist.awk: Likewise.
10655         * sysdeps/gnu/errlist.c: Likewise.
10656         * sysdeps/i386/i586/memcpy.S: Likewise.
10657         * sysdeps/i386/i586/memset.S: Likewise.
10658         * sysdeps/i386/i686/memcpy.S: Likewise.
10659         * sysdeps/i386/i686/memmove.S: Likewise.
10660         * sysdeps/i386/i686/mempcpy.S: Likewise.
10661         * sysdeps/i386/i686/memset.S: Likewise.
10662         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10663         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10664         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10665         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10666         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10667         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10668         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10669         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10670         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10671         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10672         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10673         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10674         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10675         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10676         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10677         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10678         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10679         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10680         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10681         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10682         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10683         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10684         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10685         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10686         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10687         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10688         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10689         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10690         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10691         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10692         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10693         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10694         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10695         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10696         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10697         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10698         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10699         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10700         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10701         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10702         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10703         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10704         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10705         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10706         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10707         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10708         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10709         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10710         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10711         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10712         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10713         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10714         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10715         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10716         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10717         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10718         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10719         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10720         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10721         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10722         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10723         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10724         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10725         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10726         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10727         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10728         * sysdeps/posix/closedir.c: Likewise.
10729         * sysdeps/posix/opendir.c: Likewise.
10730         * sysdeps/posix/readdir.c: Likewise.
10731         * sysdeps/posix/rewinddir.c: Likewise.
10732         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10733         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10734         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10735         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10736         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10737         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10738         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10739         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10740         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10741         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10742         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10743         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10744         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10745         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10746         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10747         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10748         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10749         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10750         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10751         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10752         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10753         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10754         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10755         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10756         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10757         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10758         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10759         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10760         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10764         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10765         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10766         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10767         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10768         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10769         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10770         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10771         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10772         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10773         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10774         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10775         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10776         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10777         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10778         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10779         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10780         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10781         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10782         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10783         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10784         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10785         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10786         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10787         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10788         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10789         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10790         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10791         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10792         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10793         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10794         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10795         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10796         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10797         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10798         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10799         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10800         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10801         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10802         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10803         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10804         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10805         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10806         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10807         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10808         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10809         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10810         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10811         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10812         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10813         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10814         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10815         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10816         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10817         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10818         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10819         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10820         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10821         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10822         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10823         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10824         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10825         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10826         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10827         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10828         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10829         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10830         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10831         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10832         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10833         * sysdeps/unix/alpha/sysdep.S: Likewise.
10834         * sysdeps/unix/alpha/sysdep.h: Likewise.
10835         * sysdeps/unix/make-syscalls.sh: Likewise.
10836         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10838         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10839         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10840         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10841         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10842         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10843         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10844         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10845         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10846         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10847         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10848         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10849         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10850         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10851         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10852         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10853         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10854         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10855         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10856         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10857         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10858         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10859         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10860         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10861         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10862         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10865         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10866         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10867         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10869         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10870         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10872         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10873         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10874         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10875         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10876         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10877         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10878         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10879         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10880         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10881         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10882         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10883         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10884         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10885         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10886         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10887         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10888         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10889         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10890         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10891         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10892         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10894         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10895         * sysdeps/x86_64/memcpy.S: Likewise.
10896         * sysdeps/x86_64/memmove.c: Likewise.
10897         * sysdeps/x86_64/memset.S: Likewise.
10898         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10899         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10900         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10901         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10902         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10903         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10904         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10905         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10906         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10907         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10908         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10909         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10910         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10911         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10912         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10913         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10914         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10915         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10916         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10917         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10918         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10919         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10920         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10921         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10922         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10923         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10924         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10925         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10926         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10927         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10928         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10929         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10930         * sysdeps/x86_64/strcmp.S: Likewise.
10932         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10934         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10935         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10936         * elf/rtld-Rules: Likewise.
10937         * elf/setup-vdso.h: Likewise.
10938         * include/assert.h: Likewise.
10939         * include/bits/stdlib-float.h: Likewise.
10940         * include/errno.h: Likewise.
10941         * include/sys/stat.h: Likewise.
10942         * include/unistd.h: Likewise.
10943         * sysdeps/aarch64/setjmp.S: Likewise.
10944         * sysdeps/alpha/setjmp.S: Likewise.
10945         * sysdeps/arm/__longjmp.S: Likewise.
10946         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10947         * sysdeps/arm/setjmp.S: Likewise.
10948         * sysdeps/arm/sysdep.h: Likewise.
10949         * sysdeps/generic/_itoa.h: Likewise.
10950         * sysdeps/generic/dl-sysdep.h: Likewise.
10951         * sysdeps/generic/ldsodefs.h: Likewise.
10952         * sysdeps/i386/dl-tls.h: Likewise.
10953         * sysdeps/i386/setjmp.S: Likewise.
10954         * sysdeps/m68k/setjmp.c: Likewise.
10955         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10956         * sysdeps/mach/hurd/opendir.c: Likewise.
10957         * sysdeps/posix/getcwd.c: Likewise.
10958         * sysdeps/posix/opendir.c: Likewise.
10959         * sysdeps/posix/profil.c: Likewise.
10960         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10961         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10962         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10963         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10964         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10965         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10966         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10967         * sysdeps/s390/dl-tls.h: Likewise.
10968         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10969         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10970         * sysdeps/sh/sh3/setjmp.S: Likewise.
10971         * sysdeps/sh/sh4/setjmp.S: Likewise.
10972         * sysdeps/unix/alpha/sysdep.h: Likewise.
10973         * sysdeps/unix/arm/sysdep.S: Likewise.
10974         * sysdeps/unix/i386/sysdep.S: Likewise.
10975         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10976         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10977         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10978         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10979         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10980         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10981         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10982         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10983         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10984         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10985         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10986         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10987         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10990         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10991         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10992         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10993         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10994         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10995         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10997         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10998         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10999         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11002         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11003         * sysdeps/x86_64/setjmp.S: Likewise.
11005         * include/math.h: Use IS_IN instead of IS_IN_libm.
11006         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11007         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11008         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11009         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11010         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11011         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11012         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11013         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11014         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11015         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11016         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11017         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11018         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11019         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11020         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11021         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11022         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11023         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11024         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11025         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11026         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11027         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11028         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11029         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11030         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11031         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11032         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11033         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11034         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11035         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11036         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11037         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11038         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11040         Likewise.
11041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11042         Likewise.
11043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11044         Likewise.
11045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11046         Likewise.
11047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11048         Likewise.
11049         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11050         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11051         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11052         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11053         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11054         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11060         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11061         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11062         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11063         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11064         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11065         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11066         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11067         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11068         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11069         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11070         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11071         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11072         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11073         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11075         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11077         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11078         * nptl/pthreadP.h: Likewise.
11079         * nptl_db/structs.def: Likewise.
11080         * sysdeps/arm/sysdep.h: Likewise.
11081         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11082         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11083         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11084         * sysdeps/unix/alpha/sysdep.h: Likewise.
11085         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11086         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11087         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11088         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11089         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11090         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11091         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11092         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11093         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11094         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11095         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11096         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11097         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11098         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11101         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11103         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11104         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11105         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11106         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11107         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11108         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11109         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11110         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11112         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11113         * nptl/pthreadP.h: Likewise.
11114         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11115         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11116         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11117         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11118         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11119         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11120         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11121         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11122         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11123         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11124         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11125         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11127         Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11129         Likewise.
11130         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11132         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11134         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11135         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11136         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11137         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11139         * dlfcn/dladdr.c: Use IS_IN.
11140         * dlfcn/dladdr1.c: Likewise.
11141         * dlfcn/dlclose.c: Likewise.
11142         * dlfcn/dlerror.c: Likewise.
11143         * dlfcn/dlinfo.c: Likewise.
11144         * dlfcn/dlmopen.c: Likewise.
11145         * dlfcn/dlopen.c: Likewise.
11146         * dlfcn/dlsym.c: Likewise.
11147         * dlfcn/dlvsym.c: Likewise.
11149         * include/ifaddrs.h: Use IS_IN.
11150         * inet/check_pf.c: Likewise.
11151         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11152         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11154         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11155         IS_IN_ldconfig.
11156         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11157         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11159         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11160         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11161         IS_IN (libc).
11163         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11165         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11166         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11167         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11168         * include/libc-symbols.h (IS_IN_LIB): New macro.
11169         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11170         * include/netdb.h: Likewise.
11171         * include/stap-probe.h: Remove all uses of IN_LIB.
11173         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11174         instead of IN_MODULE.
11175         * include/libc-symbols.h (IN_MODULE): Define using
11176         MODULE_NAME.
11177         (PASTE_NAME, PASTE_NAME1): New macros.
11178         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11179         of IN_LIB.
11180         (STAP_PROBE_ASM): Likewise.
11182 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11184         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11185         __mach_init in dlopened libc.
11187 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11189         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11190         * sysdeps/arm/preconfigure: Regenerate.
11192 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11194         * nptl/pthread_create.c (__pthread_create_2_1): Set
11195         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11196         when copying values from IATTR into PD.
11198 2014-11-21  Will Newton  <will.newton@linaro.org>
11199             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11201         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11202         Refactor inline-asm.  Also add comment.
11204         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11205         ElfW macro instead of hardcoded Elf64 types.
11206         (la_aarch64_gnu_pltenter): Likewise.
11207         * sysdeps/aarch64/dl-machine.h
11208         (elf_machine_runtime_setup): Use ElfW(Addr).
11210         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11211         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11212         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11213         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11214         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11215         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11216         (R_AARCH64_TLS_DTPMOD): This.
11217         (R_AARCH64_TLS_DTPREL64): Rename to ...
11218         (R_AARCH64_TLS_DTPREL): This.
11219         (R_AARCH64_TLS_TPREL64): Rename to ...
11220         (R_AARCH64_TLS_TPREL): This.
11221         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11222         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11223         R_AARCH64_TLS_TPREL64.
11224         (elf_machine_rela): Likewise.
11226 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11228         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11229         by setting it to 0.  64b atomics are not supported currently.
11231 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11233         [BZ #16469]
11234         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11235         search domain names.
11237 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11239         [BZ #16469]
11240         * NEWS: Update.
11241         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11242         trailing dot.
11243         * posix/tst-getaddrinfo5.c: New.
11244         * posix/Makefile (tests): Add it.
11246 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11248         [BZ #14498]
11249         * NEWS: Fixed.
11250         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11251         after parsing line but before break_if_match.
11252         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11253         if there is a protocol mismatch.
11255 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11257         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11258         because the potential race is on the user-supplied stream.
11260 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11262         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11263         string literal if not passed a buffer.
11264         * manual/job.texi (ctermid): Update reasoning, note deviation
11265         from posix, suggest mtasurace when not passed a buffer, for
11266         future non-preliminary safety notes.
11268 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11270         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11271         of not passing it a buffer.
11272         Reported by Peng Haitao.
11274 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11276         * manual/Makefile ($(objpfx)stamp-summary): Require
11277         check-safety.sh to pass.
11278         * manual/check-safety.sh: Wish for verification that every
11279         @deftypefn and @deftypefun is followed by a @safety remark.
11281 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11283         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11285         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11286         PTHREAD_CANCEL_ASYNCHRONOUS.
11287         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11288         send SIGCANCEL.
11290         * nptl/default-sched.h: New file.
11291         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11292         * nptl/pthread_create.c: Include it.
11293         (__pthread_create_2_1): Use collect_default_sched instead of making
11294         Linux syscalls here directly.
11296 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11298         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11299         __pthread_once): Use C11 atomics.
11301 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11303         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11305 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11307         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11308         atomic_thread_fence_acquire, atomic_thread_fence_release,
11309         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11310         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11311         atomic_compare_exchange_weak_relaxed,
11312         atomic_compare_exchange_weak_acquire,
11313         atomic_compare_exchange_weak_release,
11314         atomic_exchange_acquire, atomic_exchange_release,
11315         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11316         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11317         atomic_fetch_and_acquire,
11318         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11320 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11322         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11323         USE_ATOMIC_COMPILER_BUILTINS): Define.
11324         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11325         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11326         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11327         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11328         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11329         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11330         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11331         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11332         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11334         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11335         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11336         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11338         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11340         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11342         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11344         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11345         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11346         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11347         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11348         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11350         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11352         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11354         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11355         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11356         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11357         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11358         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11359         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11360         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11361         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11362         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11363         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11365 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11367         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11368         the sched_priority value here.  It was already checked when the user
11369         called pthread_attr_setschedparam.
11371         * nptl/tst-bad-schedattr.c: New file.
11372         * nptl/Makefile (tests): Add it.
11374 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11375             Florian Weimer  <fweimer@redhat.com>
11376             Joseph Myers  <joseph@codesourcery.com>
11377             Adam Conrad  <adconrad@0c3.net>
11378             Andreas Schwab  <schwab@suse.de>
11379             Brooks  <bmoses@google.com>
11381         [BZ #17625]
11382         * wordexp-test.c (__dso_handle): Add prototype.
11383         (__register_atfork): Likewise.
11384         (__app_register_atfork): New function.
11385         (registered_forks): New global.
11386         (register_fork): New function.
11387         (test_case): Add 3 new tests for WRDE_CMDSUB.
11388         (main): Call __app_register_atfork.
11389         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11390         fork count is non-zero fail the test.
11391         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11392         is set.
11393         (parse_dollars): Remove check for WRDE_NOCMD.
11394         (parse_dquote): Likewise.
11396 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11398         * Makeconfig (built-modules): List non-library modules to be
11399         built.
11400         (module-cppflags): Include libc-modules.h for
11401         everything except shlib-versions.v.i.
11402         (CPPFLAGS): Use it.
11403         (before-compile): Add libc-modules.h.
11404         ($(common-objpfx)libc-modules.h,
11405         $(common-objpfx)libc-modules.stmp): New targets.
11406         (common-generated): Add libc-modules.h and libc-modules.stmp.
11407         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11408         * include/libc-symbols.h: Don't include libc-modules.h.
11409         * include/libc-modules.h: Remove file.
11410         * scripts/gen-libc-modules.awk: New script to generate
11411         libc-modules.h.
11412         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11413         Depend on libc-modules.stmp.
11415         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11417         * Makeconfig (in-module): Get value of libof set for the
11418         translation unit.
11419         (CPPFLAGS): Use $(in-module).
11420         * Makerules: Don't suffix routine names for nonlib.
11421         * include/libc-modules.h: New file.
11422         * include/libc-symbols.h: Include libc-modules.h
11423         (IS_IN): New macro to replace IS_IN_* macros.
11424         * elf/Makefile: Set libof-* for each routine.
11425         * elf/rtld-Rules: Likewise.
11426         * extra-modules.mk: Likewise.
11427         * iconv/Makefile: Likewise.
11428         * iconvdata/Makefile: Likewise.
11429         * locale/Makefile: Likewise.
11430         * malloc/Makefile: Likewise.
11431         * nss/Makefile: Likewise.
11432         * sysdeps/gnu/Makefile: Likewise.
11433         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11434         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11435         * sysdeps/s390/s390-64/Makefile: Likewise.
11436         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11437         CPPFLAGS for nscd instead of nonlib.
11439 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11441         * nptl/createthread.c: New file.
11443         * nptl/createthread.c: Moved ...
11444         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11446         * nptl/createthread.c: Add proper top-line comment.
11447         (do_clone): Folded into ...
11448         (create_thread): ... here.  Take new arguments STOPPED_START and
11449         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11450         increment __nptl_threads, do event-reporting logic, do
11451         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11452         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11453         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11454         just send SIGCANCEL.
11455         * nptl/pthread_create.c: Forward-declare create_thread before
11456         including createthread.c.
11457         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11458         declaration, and new macro START_THREAD_SELF to replace argument.
11459         Remove return statement.
11460         (report_thread_creation): New function.
11461         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11462         synchronization logic, and __nptl_nthreads increment here, around
11463         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11464         PD->parent_cancelhandling here, before create_thread.  When
11465         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11466         __deallocate_stack, and ENOMEM translation here.
11468 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11470         [BZ #17616]
11471         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11472         (mptwo): Rename to __mptwo.
11473         (__inv): Use __mptwo instead of mptwo.
11474         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11475         (mptwo): Rename to __mptwo.
11476         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11477         of mpone and __mptwo instead of mptwo.
11478         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11479         instead of mpone.
11480         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11481         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11482         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11483         of mpone and __mptwo instead of mptwo.
11484         (__mpranred): Use __mpone instead of mpone.
11485         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11486         variable.
11487         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11488         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11489         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11490         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11491         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11492         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11493         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11494         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11495         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11496         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11497         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11498         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11499         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11500         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11501         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11502         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11503         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11504         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11505         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11507 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11509         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11510         replace BSD Handler xref with BSD Signal Handling.
11512 2014-11-17  Richard Henderson  <rth@redhat.com>
11514         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11515         (_FP_PACK_RAW_2): Remove.
11516         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11517         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11518         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11519         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11520         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11521         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11522         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11523         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11524         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11525         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11526         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11527         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11528         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11529         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11530         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11531         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11533 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11535         * signal/signal.h [__USE_MISC]
11536         (struct sigvec): Remove type.
11537         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11538         (sigvec): Remove declaration.
11539         * sysdeps/posix/sigvec.c: Moved ...
11540         * signal/sigvec.c: ... here, replacing old file.
11541         (struct sigvec): New type, copied from old signal.h definition.
11542         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11543         (__sigvec): Convert definition to prototype.
11544         (sigvec): Replace weak_alias with compat_symbol.
11545         * signal/Versions (libc: GLIBC_2.21): New version set.
11546         * include/signal.h: Remove __sigvec declaration.
11547         * sysdeps/unix/bsd/sigvec.c: Remove file.
11548         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11549         * manual/signal.texi (BSD Handler): Remove subsection.
11550         Move siginterrupt up to ...
11551         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11552         (Blocking in BSD): Fold subsection into its parent.
11553         * NEWS: Mention sigvec removal.
11555 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11557         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11558         (DLA_FMS): Make definition conditional only on [__FMA4__].
11559         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11560         definition.
11562         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11563         Make definition conditional only on [PROF].
11564         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11565         definition.
11566         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11567         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11569         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11570         !__GNUC__].
11571         * include/signal.h (__sigpause): Move declaration above call to
11572         libc_hidden_proto.
11573         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11574         variable.
11575         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11576         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11578 2014-11-14  David S. Miller  <davem@davemloft.net>
11580         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11581         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11583 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11585         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11586         * configure: Regenerated.
11587         * manual/install.texi (Tools for Compilation): Document a
11588         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11589         compiler verified to work.
11590         * INSTALL: Regenerated.
11592         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11593         redeclare with asm name.
11594         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11595         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11596         including <string.h>.
11597         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11598         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11599         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11600         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11601         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11602         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11603         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11605 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11607         * stdlib/strtol.c (__strtol): Use prototype definition.
11609         [BZ #17594]
11610         * stdlib/strtol.c (SYM__): New macro.
11611         (SYM__1): Likewise.
11612         (__strtol): Likewise.
11613         (strtol): Rename to __strtol and define as weak alias of
11614         __strtol.  Use libc_hidden_weak.
11616 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11618         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11619         Use numbered labels in inline assembly.
11621 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11623         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11624         Add setjmp LIBC_PROBE.
11625         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11626         Likewise.
11627         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11628         Add longjmp, longjmp_target LIBC_PROBE.
11629         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11630         Likewise.
11632 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11634         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11635         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11636         to get rid of unused variable warning.
11638 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11640         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11641         Check for unwind_backtrace ==  NULL only in SHARED case.
11642         (__backchain_backtrace): Compile only in SHARED case.
11643         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11644         Likewise.
11645         (__backchain_backtrace): Declare as static.
11647 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11649         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11650         (__libc_multiple_threads_ptr): Variable moved ...
11651         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11653 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11655         * conform/GlibcConform.pm: New file.
11656         * conform/conformtest.pl: Use GlibcConform module.
11657         * conform/linknamespace.pl: New file.
11658         * conform/list-header-symbols.pl: Likewise.
11659         * conform/Makefile (linknamespace-symlists-base): New variable.
11660         (linknamespace-symlists-tests): Likewise.
11661         (linknamespace-header-base): Likewise.
11662         (linknamespace-header-tests): Likewise.
11663         (tests-special): Add new tests.
11664         ($(linknamespace-symlists-tests)): New rule.
11665         (linknamespace-libs): New variable.
11666         ($(objpfx)symlist-stdlibs): New rule.
11667         ($(linknamespace-header-tests)): Likewise.
11668         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11669         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11670         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11671         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11672         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11673         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11674         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11675         (test-xfail-ISO/math.h/linknamespace): Likewise.
11676         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11677         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11678         (test-xfail-ISO/time.h/linknamespace): Likewise.
11679         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11680         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11681         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11682         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11683         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11684         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11685         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11686         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11687         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11688         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11689         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11690         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11691         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11692         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11693         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11694         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11695         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11696         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11697         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11698         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11699         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11700         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11701         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11702         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11703         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11704         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11705         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11706         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11707         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11708         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11709         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11710         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11711         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11712         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11713         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11714         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11715         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11716         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11717         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11718         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11719         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11720         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11721         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11722         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11723         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11724         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11725         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11726         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11727         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11728         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11729         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11730         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11731         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11732         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11733         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11734         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11735         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11736         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11737         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11738         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11739         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11740         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11741         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11742         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11743         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11744         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11745         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11746         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11747         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11748         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11749         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11750         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11751         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11752         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11753         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11754         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11755         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11756         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11757         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11758         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11759         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11760         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11761         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11762         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11763         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11764         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11765         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11766         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11767         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11768         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11769         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11770         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11771         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11772         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11773         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11774         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11775         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11776         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11777         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11778         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11779         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11780         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11781         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11782         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11783         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11784         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11785         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11786         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11787         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11788         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11789         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11790         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11791         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11792         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11793         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11794         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11795         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11796         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11797         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11798         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11799         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11800         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11801         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11802         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11803         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11804         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11805         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11806         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11807         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11808         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11809         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11810         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11811         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11812         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11813         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11814         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11815         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11816         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11817         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11818         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11819         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11820         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11821         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11822         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11823         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11824         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11825         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11826         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11827         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11828         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11830         [BZ #17589]
11831         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11832         of fgets_unlocked.
11834         [BZ #17585]
11835         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11836         (memmem): Rename to __memmem and define as weak alias of
11837         __memmem.  Use libc_hidden_weak.
11838         (__memmem): Use libc_hidden_def.
11839         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11840         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11841         memmem.
11843         [BZ #17582]
11844         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11845         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11846         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11847         and define as weak alias of __fgets_unlocked.  Use
11848         libc_hidden_weak.
11849         (__fgets_unlocked): Use libc_hidden_def.
11850         * include/stdio.h (__fgets_unlocked): Declare.  Use
11851         libc_hidden_proto.
11852         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11853         __fgets_unlocked instead of fgets_unlocked.
11854         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11855         (GET_NPROCS_CONF_PARSER): Likewise.
11856         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11857         (GET_NPROCS_CONF_PARSER): Likewise.
11859         [BZ #17574]
11860         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11861         weak alias of __wmemset.  Use libc_hidden_weak.
11862         (__wmemset): Use libc_hidden_def.
11863         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11864         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11865         of wmemset.
11867         [BZ #17573]
11868         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11869         with asm name __mempcpy.
11870         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11872         [BZ #17572]
11873         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11874         and define as weak alias of __rawmemchr.
11875         (__rawmemchr): Do not define as strong alias of rawmemchr.
11877         [BZ #17571]
11878         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11879         alias of __qsort_r.
11880         (qsort): Call __qsort_r instead of qsort_r.
11881         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11882         (__qsort_r): Declare.  Call libc_hidden_proto.
11883         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11884         instead of qsort_r.
11885         * nscd/gai.c (__qsort_r): Define to qsort_r.
11886         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11887         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11888         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11890         [BZ #17570]
11891         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11892         define as weak alias of __malloc_info.
11894         [BZ #17584]
11895         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11896         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11897         (__rewinddir): Use libc_hidden_def.
11898         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11899         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11900         (__rewinddir): Use libc_hidden_def.
11901         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11902         weak alias of __rewinddir.  Don't use libc_hidden_def.
11903         (__rewinddir): Use libc_hidden_def.
11904         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11905         (__rewinddir): Use libc_hidden_proto.
11906         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11907         rewinddir.
11908         (__getcwd): Use __rewinddir instead of rewinddir.
11910         [BZ #17583]
11911         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11912         alias of __fileno.  Use libc_hidden_weak.
11913         (__fileno): Use libc_hidden_def.
11914         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11915         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11916         alias of __ftello.
11917         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11918         __ftello.
11919         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11920         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11921         libc_hidden_def.
11922         (fread_unlocked): Don't use libc_hidden_ver.
11923         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11924         and define as weak alias of __fread_unlocked.  Don't use
11925         libc_hidden_def.
11926         (__fread_unlocked): Use libc_hidden_def.
11927         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11928         (ftello): Don't use libc_hidden_proto.
11929         (__ftello): Declare.  Use libc_hidden_proto.
11930         (fread_unlocked): Don't use libc_hidden_proto.
11931         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11932         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11933         and __ftello instead of fileno, fread_unlocked and ftello.
11935 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11937         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11938         GOT12.
11939         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11940         Likewise.
11941         (_dl_start_user): Likewise.
11942         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11944 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11945             Siddhesh Poyarekar  <siddhesh@redhat.com>
11947         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11948         Move argv and envp down instead of moving argc up.
11949         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11951 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11953         [BZ #17506]
11954         * test-skeleton.c (main): Return successful if one of
11955         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11956         * string/tst-strcoll-overflow.c: Define expected status.
11958 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11960         [BZ #17475]
11961         * locale/iso-639.def: Define Bhili and Tulu language codes.
11963 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11965         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11967 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11969         [BZ #17555]
11970         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11972 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11974         * configure.ac: Updated check of minimal required version to
11975         2.22.
11976         * manual/install.texi (Tools for Compilation): Updated version
11977         number.
11978         * configure: Regenerated.
11979         * INSTALL: Likewise.
11981 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11983         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11984         __tls_get_addr.
11986 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11988         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11989         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11990         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11991         libc_hidden_weak.
11992         (waitpid): Define as alias of __waitpid.
11993         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11994         __waitpid.
11995         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11996         libc_hidden_weak.
11997         (waitpid): Define as alias of __waitpid.
11998         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11999         __libc_waitpid alias.
12000         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12001         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12002         Likewise.
12003         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12004         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12005         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12006         alias.
12007         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12008         __waitpid.
12009         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12010         libc_hidden_weak.
12011         (waitpid): Define as alias of __waitpid.
12013 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12015         * manual/llio.texi: Add comment that write safety has been
12016         fixed in Linux.
12018         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12019         (localplt-build-dso): Add elf/ld.so.
12020         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12021         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12022         and free for ld.so.
12023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12024         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12026         Likewise.
12027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12028         Likewise.
12029         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12030         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12031         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12032         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12033         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12034         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12035         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12036         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12037         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12038         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12039         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12041 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12043         [BZ #14132]
12044         * include/libc-symbols.h (INTUSE): Remove macro.
12045         (INTDEF): Likewise.
12046         (INTVARDEF): Likewise.
12047         (_INTVARDEF): Likewise.
12048         (INTDEF2): Likewise.
12049         (INTVARDEF2): Likewise.
12050         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12051         rtld_hidden_def instead of INTVARDEF.
12052         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12053         (_dl_starting_up_internal): Remove declaration.
12054         (_dl_starting_up): Use rtld_hidden_proto.
12055         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12056         declaration.
12057         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12058         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12059         _dl_starting_up.
12060         * elf/dl-writev.h (_dl_writev): Likewise.
12061         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12062         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12063         _dl_starting_up_internal.
12065 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12067         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12068         test-skeleton.c.
12070 2014-11-05  Will Newton  <will.newton@linaro.org>
12072         * benchtests/Makefile: (bench-malloc): Add malloc thread
12073         scalability benchmark.
12074         * benchtests/bench-malloc-threads.c: New file.
12076 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12078         * sysdeps/aarch64/strchrnul.S: New file.
12080 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12082         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12083         definition.
12084         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12085         Likwise.
12086         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12087         Likewise.
12088         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12089         Likewise.
12090         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12091         Likewise.
12092         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12093         Likewise.
12095 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12097         * catgets/test-gencat.c: Use test-skeleton.c.
12098         * catgets/tst-catgets.c: Likewise.
12099         * csu/tst-empty.c: Likewise.
12100         * elf/tst-audit2.c: Likewise.
12101         * elf/tst-global1.c: Likewise.
12102         * elf/tst-pathopt.c: Likewise.
12103         * elf/tst-piemod1.c: Likewise.
12104         * elf/tst-tls10.c: Likewise.
12105         * elf/tst-tls11.c: Likewise.
12106         * elf/tst-tls12.c: Likewise.
12107         * gnulib/tst-gcc.c: Likewise.
12108         * iconvdata/tst-e2big.c: Likewise.
12109         * iconvdata/tst-loading.c: Likewise.
12110         * iconv/tst-iconv1.c: Likewise.
12111         * iconv/tst-iconv2.c: Likewise.
12112         * inet/test-inet6_opt.c: Likewise.
12113         * inet/tst-gethnm.c: Likewise.
12114         * inet/tst-network.c: Likewise.
12115         * inet/tst-ntoa.c: Likewise.
12116         * intl/tst-codeset.c: Likewise.
12117         * intl/tst-gettext2.c: Likewise.
12118         * intl/tst-gettext3.c: Likewise.
12119         * intl/tst-ngettext.c: Likewise.
12120         * intl/tst-translit.c: Likewise.
12121         * io/test-stat.c: Likewise.
12122         * libio/test-fmemopen.c: Likewise.
12123         * libio/tst-freopen.c: Likewise.
12124         * libio/tst-sscanf.c: Likewise.
12125         * libio/tst-ungetwc1.c: Likewise.
12126         * libio/tst-ungetwc2.c: Likewise.
12127         * libio/tst-widetext.c: Likewise.
12128         * localedata/tst-ctype.c: Likewise.
12129         * localedata/tst-digits.c: Likewise.
12130         * localedata/tst-leaks.c: Likewise.
12131         * localedata/tst-mbswcs1.c: Likewise.
12132         * localedata/tst-mbswcs2.c: Likewise.
12133         * localedata/tst-mbswcs3.c: Likewise.
12134         * localedata/tst-mbswcs4.c: Likewise.
12135         * localedata/tst-mbswcs5.c: Likewise.
12136         * localedata/tst-setlocale.c: Likewise.
12137         * localedata/tst-trans.c: Likewise.
12138         * localedata/tst-wctype.c: Likewise.
12139         * localedata/tst-xlocale1.c: Likewise.
12140         * login/tst-grantpt.c: Likewise.
12141         * malloc/tst-calloc.c: Likewise.
12142         * malloc/tst-malloc.c: Likewise.
12143         * malloc/tst-mallocstate.c: Likewise.
12144         * malloc/tst-mcheck.c: Likewise.
12145         * malloc/tst-mtrace.c: Likewise.
12146         * malloc/tst-obstack.c: Likewise.
12147         * math/atest-exp2.c: Likewise.
12148         * math/atest-exp.c: Likewise.
12149         * math/atest-sincos.c: Likewise.
12150         * math/test-matherr.c: Likewise.
12151         * math/test-misc.c: Likewise.
12152         * math/test-powl.c: Likewise.
12153         * math/tst-definitions.c: Likewise.
12154         * misc/tst-dirname.c: Likewise.
12155         * misc/tst-efgcvt.c: Likewise.
12156         * misc/tst-fdset.c: Likewise.
12157         * misc/tst-hsearch.c: Likewise.
12158         * misc/tst-mntent2.c: Likewise.
12159         * nptl/tst-sem7.c: Likewise.
12160         * nptl/tst-sem8.c: Likewise.
12161         * nptl/tst-sem9.c: Likewise.
12162         * nss/test-netdb.c: Likewise.
12163         * posix/tst-fnmatch.c: Likewise.
12164         * posix/tst-getlogin.c: Likewise.
12165         * posix/tst-gnuglob.c: Likewise.
12166         * posix/tst-mmap.c: Likewise.
12167         * pwd/tst-getpw.c: Likewise.
12168         * resolv/tst-inet_ntop.c: Likewise.
12169         * rt/tst-timer.c: Likewise.
12170         * stdio-common/test-fseek.c: Likewise.
12171         * stdio-common/test-popen.c: Likewise.
12172         * stdio-common/test-vfprintf.c: Likewise.
12173         * stdio-common/tst-cookie.c: Likewise.
12174         * stdio-common/tst-fileno.c: Likewise.
12175         * stdio-common/tst-gets.c: Likewise.
12176         * stdio-common/tst-obprintf.c: Likewise.
12177         * stdio-common/tst-perror.c: Likewise.
12178         * stdio-common/tst-sprintf2.c: Likewise.
12179         * stdio-common/tst-sprintf3.c: Likewise.
12180         * stdio-common/tst-sprintf.c: Likewise.
12181         * stdio-common/tst-swprintf.c: Likewise.
12182         * stdio-common/tst-tmpnam.c: Likewise.
12183         * stdio-common/tst-unbputc.c: Likewise.
12184         * stdio-common/tst-wc-printf.c: Likewise.
12185         * stdlib/tst-environ.c: Likewise.
12186         * stdlib/tst-fmtmsg.c: Likewise.
12187         * stdlib/tst-limits.c: Likewise.
12188         * stdlib/tst-rand48-2.c: Likewise.
12189         * stdlib/tst-rand48.c: Likewise.
12190         * stdlib/tst-random2.c: Likewise.
12191         * stdlib/tst-random.c: Likewise.
12192         * stdlib/tst-strtol.c: Likewise.
12193         * stdlib/tst-strtoll.c: Likewise.
12194         * stdlib/tst-tls-atexit.c: Likewise.
12195         * stdlib/tst-xpg-basename.c: Likewise.
12196         * string/test-ffs.c: Likewise.
12197         * string/tst-bswap.c: Likewise.
12198         * string/tst-inlcall.c: Likewise.
12199         * string/tst-strtok.c: Likewise.
12200         * string/tst-strxfrm.c: Likewise.
12201         * sysdeps/x86_64/tst-audit10.c: Likewise.
12202         * sysdeps/x86_64/tst-audit3.c: Likewise.
12203         * sysdeps/x86_64/tst-audit4.c: Likewise.
12204         * sysdeps/x86_64/tst-audit5.c: Likewise.
12205         * time/tst-ftime_l.c: Likewise.
12206         * time/tst-getdate.c: Likewise.
12207         * time/tst-mktime3.c: Likewise.
12208         * time/tst-mktime.c: Likewise.
12209         * time/tst-posixtz.c: Likewise.
12210         * time/tst-strptime2.c: Likewise.
12211         * time/tst-strptime3.c: Likewise.
12212         * wcsmbs/tst-btowc.c: Likewise.
12213         * wcsmbs/tst-mbrtowc.c: Likewise.
12214         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12215         * wcsmbs/tst-wchar-h.c: Likewise.
12216         * wcsmbs/tst-wcpncpy.c: Likewise.
12217         * wcsmbs/tst-wcrtomb.c: Likewise.
12218         * wcsmbs/tst-wcsnlen.c: Likewise.
12219         * wcsmbs/tst-wcstof.c: Likewise.
12221 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12223         [BZ #14132]
12224         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12225         INTDEF.
12226         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12227         declaration.
12228         (_dl_mcount): Use rtld_hidden_proto.
12229         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12230         _dl_mcount.
12231         * elf/rtld.c (_rtld_global_ro): Likewise.
12233         [BZ #14132]
12234         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12235         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12236         of _dl_init_internal.
12237         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12238         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12239         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12240         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12241         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12242         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12243         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12244         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12245         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12246         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12247         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12248         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12249         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12250         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12251         * sysdeps/tile/dl-start.S (_start): Likewise.
12252         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12253         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12255         [BZ #14132]
12256         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12257         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12258         (rtld_progname): Make macro definition unconditional.
12259         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12260         INTDEF.
12261         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12262         (dl_main): Likewise.
12263         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12264         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12265         instead of _dl_argv_internal.
12266         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12267         __GI__dl_argv instead of INTUSE(_dl_argv).
12268         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12269         __GI__dl_argv instead of _dl_argv_internal.
12271         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12272         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12273         macro.
12274         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12275         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12276         New macro.
12277         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12278         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12279         macro.
12280         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12281         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12283 2014-11-04  Andreas Schwab  <schwab@suse.de>
12285         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12287 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12289         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12290         mtvsrd instruction in binary form.
12292 2014-11-03  Andreas Schwab  <schwab@suse.de>
12294         [BZ #17522]
12295         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12296         for less than MB_LEN_MAX use a local buffer of that size.
12297         * libio/tst-fputws.c: New file.
12298         * libio/Makefile (tests): Add tst-fputws.
12300 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12302         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12303         the size of the fpu_fr.fpu_dregs[] array.
12305 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12307         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12308         (__nanosleep): Do not define as alias.
12309         (nanosleep): Define as alias of __nanosleep.
12310         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12311         __libc_nanosleep name.
12313 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12315         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12316         install.texi in comment.
12318 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12320         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12321         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12322         ... add here and use lwsync or sync ...
12323         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12324         ... and add here using lwsync.
12326 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12328         * elf/dl-machine-reject-phdr.h: New file.
12329         * elf/dl-load.c: #include that.
12330         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12331         if that returned true.
12333 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12335         [BZ #17496]
12336         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12337         gen-as-const-headers chunk.  Add a big scare comment after the last
12338         safe place to touch before-compile.
12340 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12342         * manual/install.texi (Tools for Compilation): Update autoconf
12343         version requirements.
12344         * INSTALL: Regenerated.
12346         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12347         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12348         (__libc_pselect): Likewise.
12350         [BZ #14138]
12351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12356 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12358         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12359         correct barrier instruction.
12360         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12361         Likewise.
12362         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12363         Likewise.
12365 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12367         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12368         after defining inlines.  Instead, just use parens to defeat macro
12369         expansion of __isctype in its declaration.
12371 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12373         * include/sys/uio.h (__libc_readv): Remove declaration.
12374         (__libc_writev): Likewise.
12375         * misc/readv.c (__libc_readv): Rename to __readv.
12376         (__readv): Do not define as alias.
12377         (readv): Define as alias of __readv.
12378         * misc/writev.c (__libc_writev): Rename to __writev.
12379         (__writev): Do not define as alias.
12380         (writev): Define as alias of __writev.
12381         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12382         (__readv): Do not define as alias.
12383         (readv): Define unconditionally as alias of __readv.
12384         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12385         (__writev): Do not define as alias.
12386         (writev): Define unconditionally as alias of __writev.
12387         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12388         name.
12389         (writev): Do not define __libc_writev name.
12391 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12393         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12394         (convert_charseq): New function, broken out of ...
12395         (use_from_charmap): ... here.  Call it.
12396         (use_to_charmap): Use convert_charseq and free instead of duplicating
12397         its code with a variable-length stack struct.
12399 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12401         * include/fcntl.h (__libc_creat): Remove declaration.
12402         * io/creat.c (__libc_creat): Rename to creat.
12403         (creat): Do not define as alias.
12404         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12405         of creat instead of __libc_creat.
12406         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12407         to creat.
12408         (creat): Do not define as alias.
12409         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12410         __libc_creat.
12411         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12412         __libc_creat name.
12413         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12414         Likewise.
12416 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12418         * manual/llio.texi: Add comments discussing why write() may be
12419         considered MT-unsafe on Linux.
12421 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12423         * dl-load.c (local_strdup): Remove.
12424         (expand_dynamic_string_token): Use __strdup.
12425         (decompose_rpath): Likewise.
12426         (_dl_map_object): Likewise.
12428 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12430         [BZ #14132]
12431         * sysdeps/generic/unwind-dw2-fde.c
12432         (__register_frame_info_bases_internal): Do not declare.
12433         (__register_frame_info_table_bases_internal): Likewise.
12434         (__deregister_frame_info_bases_internal): Likewise.
12435         (__register_frame_info_bases): Declare and use hidden_proto before
12436         definition.  Use hidden_def instead of INTDEF.
12437         (__register_frame_info_table_bases): Likewise.
12438         (__deregister_frame_info_bases): Likewise.
12439         (__register_frame_info): Do not use INTUSE.
12440         (__register_frame): Likewise.
12441         (__register_frame_info_table): Likewise.
12442         (__register_frame_table): Likewise.
12443         (__deregister_frame_info): Likewise.
12444         (__deregister_frame): Likewise.
12446 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12448         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12449         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12450         not undefine.
12451         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12452         Likewise.
12453         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12454         Likewise.
12456 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12458         [BZ #14138]
12459         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12460         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12461         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12462         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12463         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12464         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12465         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12466         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12467         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12468         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12469         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12470         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12471         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12472         syscall.
12473         (setfsuid): Likewise.
12474         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12475         (setfsuid): Likewise.
12476         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12477         (setfsuid): Likewise.
12478         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12479         Likewise.
12480         (setfsuid): Likewise.
12481         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12482         (setfsuid): Likewise.
12483         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12484         Likewise.
12485         (setfsuid): Likewise.
12487 2014-10-27  Andreas Schwab  <schwab@suse.de>
12489         [BZ #17501]
12490         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12491         check for Slow_SSE4_2 feature bit.
12492         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12493         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12494         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12495         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12497 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12499         * configure.ac: Validate compiler version with a empirical test of
12500         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12501         $CC -v output.
12502         * configure: Regenerated.
12504         * inet/htons.c (htons): Prototypify.
12505         * inet/htonl.c (htonl): Likewise.
12507 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12509         * string/strncat.c (strncat): Improve performance by using strlen.
12511 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12513         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12515 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12517         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12518         Call libc_fetestexcept_aarch64.
12520 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12522         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12523         Call libc_feholdexcept_aarch64.
12525 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12527         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12528         Call get_rounding_mode.
12530 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12532         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12533         Simplify logic.
12535 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12537         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12538         Simplify logic.
12540 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12542         [BZ #14138]
12543         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12544         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12545         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12546         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12547         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12548         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12549         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12550         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12551         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12552         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12553         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12554         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12555         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12556         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12557         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12558         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12559         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12560         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12561         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12562         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12563         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12564         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12565         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12566         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12567         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12568         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12569         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12570         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12571         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12572         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12573         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12574         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12575         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12576         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12577         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12578         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12579         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12580         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12581         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12582         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12583         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12584         syscall.
12585         (geteuid): Likewise.
12586         (getgid): Likewise.
12587         (getuid): Likewise.
12588         (getresgid): Likewise.
12589         (getresuid): Likewise.
12590         (getgroups): Likewise.
12591         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12592         (geteuid): Likewise.
12593         (getgid): Likewise.
12594         (getuid): Likewise.
12595         (getresgid): Likewise.
12596         (getresuid): Likewise.
12597         (getgroups): Likewise.
12598         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12599         (geteuid): Likewise.
12600         (getgid): Likewise.
12601         (getuid): Likewise.
12602         (getresgid): Likewise.
12603         (getresuid): Likewise.
12604         (getgroups): Likewise.
12605         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12606         Likewise.
12607         (geteuid): Likewise.
12608         (getgid): Likewise.
12609         (getuid): Likewise.
12610         (getresgid): Likewise.
12611         (getresuid): Likewise.
12612         (getgroups): Likewise.
12613         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12614         (geteuid): Likewise.
12615         (getgid): Likewise.
12616         (getuid): Likewise.
12617         (getresgid): Likewise.
12618         (getresuid): Likewise.
12619         (getgroups): Likewise.
12620         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12621         Likewise.
12622         (geteuid): Likewise.
12623         (getgid): Likewise.
12624         (getuid): Likewise.
12625         (getgroups): Likewise.
12627         [BZ #14138]
12628         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12629         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12630         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12631         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12632         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12633         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12634         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12635         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12636         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12637         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12638         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12639         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12640         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12641         __chown.
12642         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12643         (lchown): Likewise.
12644         (fchown): Likewise.
12645         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12646         Likewise.
12647         (lchown): Likewise.
12648         (fchown): Likewise.
12649         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12650         (lchown): Likewise.
12651         (fchown): Likewise.
12652         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12653         Likewise.
12654         (lchown): Likewise.
12655         (fchown): Likewise.
12657 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12659         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12660         Simplify logic.
12662 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12664         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12665         Cleanup logic.
12667 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12669         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12670         Remove unused include.
12672 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12674         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12675         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12676         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12677         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12679 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12680             Helge Deller <deller@gmx.de>
12682         [BZ #17508]
12683         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12684         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12685         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12687 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12689         [BZ #14132]
12690         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12691         Remove macro definition.
12692         (__ashrdi3_v_glibc20): Likewise.
12693         (__lshrdi3_v_glibc20): Likewise.
12694         (__cmpdi2_v_glibc20): Likewise.
12695         (__ucmpdi2_v_glibc20): Likewise.
12696         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12697         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12698         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12699         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12700         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12701         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12703 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12705         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12706         old GNU extension [0] syntax.
12707         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12708         alloca rather than an array member with variable length.
12709         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12710         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12711         (parse_opt): ... here.  Likewise use alloca there.
12712         Validate the -i argument before checking for rootness.
12713         (send_shutdown): New function, broken out of ...
12714         (parse_opt): ... here.
12716 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12718         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12719         macro to get at the _rt_local_ro field.
12720         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12721         ([PIC] case) or _dl_hwcap ([!PIC] case).
12722         * sysdeps/arm/setjmp.S: Likewise.
12724         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12725         * sysdeps/arm/configure.ac: New check to define it.
12726         * sysdeps/arm/configure: Regenerated.
12727         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12728         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12729         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12730         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12731         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12732         Use move/movt pair instead of a load.
12733         (LDST_GLOBAL): Macro removed.
12734         (LDR_GLOBAL): New macro replaces it.
12735         (LDR_HIDDEN): New macro.
12736         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12737         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12739         * setjmp/tst-setjmp-static.c: New file.
12740         * setjmp/Makefile (tests): Add it.
12741         (tests-static): New variable.
12743 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12745         [BZ #17485]
12746         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12748 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12750         [BZ #14132]
12751         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12753 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12755         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12757 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12759         * io/fts.c (dirent_not_directory): New function.
12760         (fts_build): Call it.
12762 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12764         * nptl/version.c (__nptl_main): Use normal __write rather than
12765         INTERNAL_SYSCALL.
12766         (banner): Update copyright years.
12768         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12769         gettimeofday.
12770         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12771         * nptl/pthread_cond_timedwait.c: Likewise.
12772         * nptl/pthread_mutex_timedlock.c: Likewise.
12773         * nptl/sem_timedwait.c: Likewise.
12775         * sysdeps/nptl/bits/libc-lock.h
12776         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12777         (__libc_lock_init_recursive): Return void, not 0.
12778         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12779         (__libc_rwlock_init): Likewise.
12780         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12782 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12784         [BZ #15215]
12785         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12786         (__pthread_once_slow): ... here.
12787         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12788         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12790 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12792         [BZ #15215]
12793         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12794         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12795         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12796         * nptl/pthread_once.c (__pthread_once): Likewise.
12797         Update comments.
12799 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12801         [BZ #14138]
12802         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12803         name.
12804         (writev): Use __libc_writev as strong name.
12805         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12806         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12808 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12810         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12812         * sysdeps/i386/nptl/tls.h
12813         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12814         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12815         New macros.
12816         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12817         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12818         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12819         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12820         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12821         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12823         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12824         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12825         on [__NR_futex].
12826         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12827         broken out of ...
12828         (__pthread_mutex_init): ... here.  Call it.
12829         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12830         Conditionalize PI cases on [__NR_futex].
12831         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12832         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12833         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12835         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12836         conditional on [SIGSETXID].
12837         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12838         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12839         is defined.  Likewise for SIGSETXID.
12840         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12841         Conditionalize definitions on [SIGSETXID].
12842         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12843         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12844         unblocking on [SIGCANCEL].
12846         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12847         [__NR_set_robust_list].
12849 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12851         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12852         (do_compare): Likewise.
12854 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12856         [BZ #15884]
12857         * string/strcoll_l.c: Don't include stdio.h.
12858         (coll_seq): Remove members idxarr and rulearr.
12859         (get_next_seq_cached): Remove function.
12860         (get_next_seq): Likewise.
12861         (get_next_seq_nocache): Rename to get_next_seq.
12862         (do_compare): Remove function.
12863         (do_compare_nocache): Rename to do_compare.
12864         (STRCOLL): Remove weight and rules cache.
12866 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12868         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12869         * sysdeps/arm/sfp-machine.h: ... to here.
12870         * sysdeps/arm/Implies: Remove arm/soft-fp.
12872 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12874         * conform/data/sys/utsname.h-data (*_t): Allow.
12875         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12876         [POSIX] (WEXITED): Do not expect constant.
12877         [POSIX] (WSTOPPED): Likewise.
12878         [POSIX] (WNOHANG): Likewise.
12879         [POSIX] (WNOWAIT): Likewise.
12880         [POSIX] (siginfo_t): Do not expect type or elements.
12881         [POSIX] (pid_t): Do not expect type.
12882         [POSIX] (signal.h): Do not allow header.
12883         [POSIX] (sys/resource.h): Likewise.
12884         [POSIX] (si_*): Do not allow pattern.
12885         [POSIX] (W*): Likewise.
12886         [POSIX] (P_*): Likewise.
12887         [POSIX] (BUS_*): Likewise.
12888         [POSIX] (CLD_*): Likewise.
12889         [POSIX] (FPE_*): Likewise.
12890         [POSIX] (ILL_*): Likewise.
12891         [POSIX] (POLL_*): Likewise.
12892         [POSIX] (SEGV_*): Likewise.
12893         [POSIX] (SI_*): Likewise.
12894         [POSIX] (TRAP_*): Likewise.
12895         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12896         variable.
12898 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12900         [BZ #12926]
12901         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12902         infinite loop when __recvmsg returns 0.
12904 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12906         * CANCEL-FCT-WAIVE: Remove file.
12907         * CANCEL-FILE-WAIVE: Likewise.
12909         [BZ #14132]
12910         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12911         instead of INTVARDEF.
12912         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12913         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12914         rtld_hidden_data_def instead of INTVARDEF.
12915         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12916         * elf/dl-deps.c (expand_dst): Likewise.
12917         * elf/dl-load.c (_dl_dst_count): Likewise.
12918         (_dl_dst_substitute): Likewise.
12919         (decompose_rpath): Likewise.
12920         (_dl_init_paths): Likewise.
12921         (open_path): Likewise.
12922         (_dl_map_object): Likewise.
12923         * elf/rtld.c (dl_main): Likewise.
12924         (process_dl_audit): Likewise.
12925         (process_envvars): Likewise.
12926         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12927         Remove declaration.
12928         (__libc_enable_secure): Use rtld_hidden_proto.
12930 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12932         * elf/dl-load.c
12933         (add_path): New function broken out of _dl_rtld_di_serinfo.
12934         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12936 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12938         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12939         parentheses around macro arguments.
12940         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12941         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12942         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12943         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12944         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12945         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12946         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12947         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12948         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12949         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12950         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12951         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12952         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12953         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12954         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12955         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12956         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12957         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12958         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12959         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12960         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12961         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12962         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12963         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12964         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12965         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12966         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12967         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12968         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12969         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12970         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12971         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12972         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12973         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12974         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12975         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12976         Likewise.
12977         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12978         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12979         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12980         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12981         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12982         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12983         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12984         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12985         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12986         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12987         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12988         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12989         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12990         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12991         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12992         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12993         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12994         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12995         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12996         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12997         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12998         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12999         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13000         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13001         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13002         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13003         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13004         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13005         (_FP_FRAC_SRS_1): Likewise.
13006         (_FP_FRAC_CLZ_1): Likewise.
13007         (_FP_MUL_MEAT_1_imm): Likewise.
13008         (_FP_MUL_MEAT_1_wide): Likewise.
13009         (_FP_MUL_MEAT_1_hard): Likewise.
13010         (_FP_SQRT_MEAT_1): Likewise.
13011         (_FP_FRAC_ASSEMBLE_1): Likewise.
13012         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13013         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13014         (__FP_CLZ_2): Likewise.
13015         (_FP_MUL_MEAT_2_wide): Likewise.
13016         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13017         (_FP_MUL_MEAT_2_gmp): Likewise.
13018         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13019         (_FP_SQRT_MEAT_2): Likewise.
13020         (_FP_FRAC_ASSEMBLE_2): Likewise.
13021         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13022         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13023         (_FP_FRAC_CLZ_4): Likewise.
13024         (_FP_MUL_MEAT_4_wide): Likewise.
13025         (_FP_MUL_MEAT_4_gmp): Likewise.
13026         (_FP_SQRT_MEAT_4): Likewise.
13027         (_FP_FRAC_ASSEMBLE_4): Likewise.
13028         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13029         * soft-fp/op-common.h (_FP_CMP): Likewise.
13030         (_FP_CMP_EQ): Likewise.
13031         (_FP_CMP_UNORD): Likewise.
13032         (_FP_TO_INT): Likewise.
13033         (_FP_FROM_INT): Likewise.
13034         [!__FP_CLZ] (__FP_CLZ): Likewise.
13035         (_FP_DIV_HELP_imm): Likewise.
13036         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13037         Likewise.
13038         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13039         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13040         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13041         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13042         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13043         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13044         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13045         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13046         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13047         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13048         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13049         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13050         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13051         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13052         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13053         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13054         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13055         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13056         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13057         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13058         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13059         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13060         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13061         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13062         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13063         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13064         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13065         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13066         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13067         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13068         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13069         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13070         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13071         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13072         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13073         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13074         (FP_UNPACK_RAW_SP): Likewise.
13075         (FP_PACK_RAW_S): Likewise.
13076         (FP_PACK_RAW_SP): Likewise.
13077         (FP_UNPACK_S): Likewise.
13078         (FP_UNPACK_SP): Likewise.
13079         (FP_UNPACK_SEMIRAW_S): Likewise.
13080         (FP_UNPACK_SEMIRAW_SP): Likewise.
13081         (FP_PACK_S): Likewise.
13082         (FP_PACK_SP): Likewise.
13083         (FP_PACK_SEMIRAW_S): Likewise.
13084         (FP_PACK_SEMIRAW_SP): Likewise.
13085         (_FP_SQRT_MEAT_S): Likewise.
13086         (FP_CMP_S): Likewise.
13087         (FP_CMP_EQ_S): Likewise.
13088         (FP_CMP_UNORD_S): Likewise.
13089         (FP_TO_INT_S): Likewise.
13090         (FP_FROM_INT_S): Likewise.
13092         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13094         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13095         (FP_EX_INVALID_IMZ): Likewise.
13096         (FP_EX_INVALID_IMZ_FMA): Likewise.
13097         (FP_EX_INVALID_ISI): Likewise.
13098         (FP_EX_INVALID_ZDZ): Likewise.
13099         (FP_EX_INVALID_IDI): Likewise.
13100         (FP_EX_INVALID_SQRT): Likewise.
13101         (FP_EX_INVALID_CVI): Likewise.
13102         (FP_EX_INVALID_VC): Likewise.
13103         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13104         "invalid" exceptions.
13105         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13106         (_FP_ADD_INTERNAL): Likewise.
13107         (_FP_MUL): Likewise.
13108         (_FP_FMA): Likewise.
13109         (_FP_DIV): Likewise.
13110         (_FP_CMP_CHECK_NAN): Likewise.
13111         (_FP_SQRT): Likewise.
13112         (_FP_TO_INT): Likewise.
13113         (FP_EXTEND): Likewise.
13115 2014-10-09  Allan McRae  <allan@archlinux.org>
13117         * po/fr.po: Update French translation from translation project.
13119 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13121         [BZ #14132]
13122         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13123         of INTDEF.
13124         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13125         (__cxa_atexit): Use libc_hidden_proto.
13126         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13128         [BZ #14132]
13129         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13130         declaration.
13131         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13132         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13133         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13134         [!_ISOMAC] (__iswctype_internal): Likewise.
13135         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13136         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13137         alias.
13138         (fcntl): Remove __fcntl_internal alias.
13139         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13140         __connect_internal alias.
13141         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13142         Likewise.
13144         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13145         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13146         FP_DENORM_ZERO.
13147         (_FP_CHECK_FLUSH_ZERO): New macro.
13148         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13149         (_FP_CMP): Likewise.
13150         (_FP_CMP_EQ): Likewise.
13151         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13152         FP_DENORM_ZERO.
13153         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13154         (FP_TRUNC): Likewise.
13156         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13157         treated as invalid conversion, not as normal exponent.
13159         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13160         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13161         (_FP_CMP_EQ): Likewise.
13162         (_FP_CMP_UNORD): Likewise.
13163         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13164         (FP_CMP_EQ_D): Likewise.
13165         (FP_CMP_UNORD_D): Likewise.
13166         * soft-fp/extended.h (FP_CMP_E): Likewise.
13167         (FP_CMP_EQ_E): Likewise.
13168         (FP_CMP_UNORD_E): Likewise.
13169         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13170         (FP_CMP_EQ_Q): Likewise.
13171         (FP_CMP_UNORD_Q): Likewise.
13172         * soft-fp/single.h (FP_CMP_S): Likewise.
13173         (FP_CMP_EQ_S): Likewise.
13174         (FP_CMP_UNORD_S): Likewise.
13175         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13176         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13177         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13178         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13179         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13180         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13181         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13182         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13183         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13184         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13185         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13186         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13187         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13188         to FP_CMP_Q.
13189         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13190         FP_CMP_Q.
13191         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13192         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13193         FP_CMP_EQ_Q.
13194         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13195         FP_CMP_Q.
13196         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13197         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13198         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13199         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13200         FP_CMP_EQ_Q.
13201         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13202         FP_CMP_Q.
13203         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13204         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13205         FP_CMP_EQ_Q.
13206         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13207         FP_CMP_Q.
13208         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13209         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13210         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13211         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13212         FP_CMP_EQ_Q.
13214         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13215         a subnormal result, set the underflow exception if trapping on
13216         underflow is enabled.
13217         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13218         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13219         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13220         redefine to 0.
13221         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13222         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13223         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13224         * soft-fp/extendxftf2.c (__extendxftf2): Use
13225         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13227         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13228         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13229         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13230         FP_HANDLE_EXCEPTIONS.
13231         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13232         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13233         FP_HANDLE_EXCEPTIONS.
13234         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13235         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13236         FP_HANDLE_EXCEPTIONS.
13237         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13238         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13239         FP_HANDLE_EXCEPTIONS.
13241 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13243         [BZ #14132]
13244         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13245         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13246         use INTUSE.
13247         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13248         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13249         Remove alias.
13250         (__adjtimex): Define using libc_hidden_ver.
13251         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13252         Remove declaration.
13253         (ntp_gettime): Call __adjtimex directly.
13254         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13255         Remove declaration.
13256         (ntp_gettimex): Call __adjtimex directly.
13257         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13258         __adjtimex_internal alias.
13260 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13262         [BZ #17460]
13263         * nscd/nscd.c (more_help): Rewrite list of tables collection
13264         using xstrdup and asprintf.
13266         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13268 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13269             Roland McGrath  <roland@hack.frob.com>
13271         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13272         (do_lookup_unique): ... local function 'enter' here; update callers.
13274 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13276         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13277         compat_symbol calls on [SHARED].
13278         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13279         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13280         Remove.
13281         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13282         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13283         (oldsetrlimit): Remove.
13284         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13286         (lchown): New syscall entry.
13287         (oldsetrlimit): Remove.
13288         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13289         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13290         (oldsetrlimit): Remove.
13291         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13293         [BZ #14138]
13294         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13295         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13296         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13297         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13298         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13299         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13300         (fchown): Likewise.
13301         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13302         (fchown): Likewise.
13303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13304         Likewise.
13306 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13308         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13309         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13310         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13311         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13312         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13313         Likewise.
13314         (__old_sem_post): Likewise.
13316 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13318         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13319         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13320         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13321         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13322         Use INLINE_VSYSCALL macro.
13323         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13324         __vdso_clock_gettime.
13325         * sysdeps/unix/sysv/linux/tile/init-first.c
13326         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13327         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13328         __vdso_clock_gettime.
13330         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13331         to set up frame more cleanly.
13333         * sysdeps/tile/memcmp.c: New file.
13335         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13337         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13338         * sysdeps/tile/tilegx/strcasestr.c: New file.
13339         * sysdeps/tile/tilegx/strnlen.c: New file.
13340         * sysdeps/tile/tilegx/strstr.c: New file.
13342         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13344 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13346         * nptl/tst-setuid3.c: Write errors to stdout.
13348 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13350         * elf/dl-deps.c
13351         (preload): New functions broken out of _dl_map_object_deps.
13352         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13354 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13356         [BZ #14138]
13357         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13358         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13360 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13362         * sysdeps/mips/strcmp.S: New.
13364 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13366         [BZ #14138]
13367         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13368         (linkat): Likewise.
13369         (mkdirat): Likewise.
13370         (readlinkat): Likewise.
13371         (renameat): Likewise.
13372         (symlinkat): Likewise.
13373         (unlinkat): Likewise.
13374         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13375         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13376         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13377         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13378         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13379         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13380         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13382 2014-09-30  Will Newton  <will.newton@linaro.org>
13384         * math/math.h: Define long double math functions if
13385         _LIBC_TEST is defined.
13386         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13388         * localedata/Makefile: Move assignment to tests-special
13389         into an ifdef testing run-built-tests.
13390         * timezone/Makefile: Likewise.
13392 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13394         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13395         with $(BASH) not $(SHELL).
13397 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13398             Matthew LeGendre  <legendre1@llnl.gov>
13400         [BZ #17411]
13401         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13402         l_reloc_result.
13404 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13406         * stdio-common/printf_fp.c
13407         (hack_digit): New function, broken out of ...
13408         (__printf_fp): ... local function here.  Update call sites.
13409         hack_digit now takes an additional parameter that is a pointer
13410         to a struct of the referenced locals.  Those locals moved inside
13411         the struct and references updated.
13413 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13415         * aclocal.m4: Require autoconf 2.69.
13416         * configure: Regenerated.
13417         * sysdeps/aarch64/configure: Likewise.
13418         * sysdeps/alpha/configure: Likewise.
13419         * sysdeps/arm/armv7/configure: Likewise.
13420         * sysdeps/arm/configure: Likewise.
13421         * sysdeps/ia64/configure: Likewise.
13422         * sysdeps/mach/configure: Likewise.
13423         * sysdeps/mips/configure: Likewise.
13424         * sysdeps/s390/configure: Likewise.
13425         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13428         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13429         file.
13430         * sysdeps/ia64/configure.ac: Likewise.
13432 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13435         specify symbol version for ld.so.  Do not include entry for
13436         libpthread.
13437         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13438         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13439         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13441         [BZ #14171]
13442         * Makeconfig [$(build-shared) = yes]
13443         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13444         makefiles.
13445         [$(build-shared) = yes && $(soversions.mk-done) = t]
13446         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13447         [$(build-shared) = yes && $(soversions.mk-done) = t]
13448         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13449         to Makerules.
13450         [$(build-shared) = yes && $(soversions.mk-done) = t]
13451         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13452         here.
13453         [$(build-shared) = yes && $(soversions.mk-done) = t]
13454         (common-generated): Don't append gnu/lib-names.h and
13455         gnu/lib-names.stmp here.
13456         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13457         (lib-names-h-abi): New variable.
13458         [$(build-shared) = yes && $(soversions.mk-done) = t]
13459         (lib-names-stmp-abi): Likewise.
13460         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13461         abi-variants] (before-compile): Append
13462         $(common-objpfx)$(lib-names-h-abi).
13463         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13464         abi-variants] (common-generated): Append gnu/lib-names.h.
13465         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13466         abi-variants] (install-others-nosubdir): Depend on
13467         $(inst_includedir)/$(lib-names-h-abi).
13468         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13469         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13470         [$(build-shared) = yes && $(soversions.mk-done) = t]
13471         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13472         [$(build-shared) = yes && $(soversions.mk-done) = t]
13473         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13474         [$(build-shared) = yes && $(soversions.mk-done) = t]
13475         (common-generated): Append $(lib-names-h-abi) and
13476         $(lib-names-stmp-abi).
13477         * scripts/lib-names.awk: Do not handle multi being set.
13478         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13479         Remove variable.
13480         (abi-lp64_be-ld-soname): Likewise.
13481         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13482         Likewise.
13483         (abi-hard-ld-soname): Likewise.
13484         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13485         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13486         Remove variable.
13487         (abi-o32_hard-ld-soname): Likewise.
13488         (abi-o32_soft_2008-ld-soname): Likewise.
13489         (abi-o32_hard_2008-ld-soname): Likewise.
13490         (abi-n32_soft-ld-soname): Likewise.
13491         (abi-n32_hard-ld-soname): Likewise.
13492         (abi-n32_soft_2008-ld-soname): Likewise.
13493         (abi-n32_hard_2008-ld-soname): Likewise.
13494         (abi-n64_soft-ld-soname): Likewise.
13495         (abi-n64_hard-ld-soname): Likewise.
13496         (abi-n64_soft_2008-ld-soname): Likewise.
13497         (abi-n64_hard_2008-ld-soname): Likewise.
13498         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13499         Likewise.
13500         (abi-64-v2-ld-soname): Likewise.
13501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13502         ld.so entries.
13503         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13504         variable.
13505         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13506         entry.
13507         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13508         variable.
13509         (abi-64-ld-soname): Likewise.
13510         (abi-x32-ld-soname): Likewise.
13511         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13512         entry.
13513         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13515 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13517         [BZ #14138]
13518         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13519         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13520         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13521         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13522         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13523         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13524         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13525         syscall entry for GLIBC_2.2 symbol version.
13526         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13527         Likewise.
13528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13529         (setrlimit): Likewise.
13530         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13531         Likewise.
13533 2014-09-23  Will Newton  <will.newton@linaro.org>
13535         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13536         _LINUX_ARM_SYSDEP_H include guard too.
13537         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13538         define.
13540 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13542         * sysdeps/unix/sysv/linux/eventfd.c:
13543         Make first argument unsigned.
13544         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13545         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13547 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13549         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13550         * socket/sys/socket.h: Likewise
13551         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13553 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13555         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13557 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13559         * time/tst-ftime.c: New test.
13560         * time/Makefile (tests): Add tst-ftime.
13562 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13564         * soft-fp/extended.h: Fix comment formatting.
13565         * soft-fp/op-1.h: Likewise.
13566         * soft-fp/op-2.h: Likewise.
13567         * soft-fp/op-4.h: Likewise.
13568         * soft-fp/op-8.h: Likewise.
13569         * soft-fp/op-common.h: Likewise.
13570         * soft-fp/soft-fp.h: Likewise.
13572         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13574 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13576         [BZ #6652]
13577         * Makeconfig (soversions-default-setname): Remove variable.
13578         ($(common-objpfx)soversions.i): Don't pass default_setname to
13579         soversions.awk.
13580         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13581         oldest_abi to abi-versions.awk.
13582         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13583         * config.make.in (oldest-abi): Remove variable.
13584         * configure.ac (--enable-oldest-abi): Remove configure option.
13585         * configure: Regenerated.
13586         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13587         text.
13588         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13589         * scripts/soversions.awk: Do not handle default_setname variable.
13590         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13591         variable.
13592         * sysdeps/mach/hurd/configure: Regenerated.
13593         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13594         variable.
13595         * sysdeps/unix/sysv/linux/configure: Regenerated.
13597 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13599         * elf/Makefile (CFLAGS-interp.c): Remove.
13600         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13601         path string.
13602         * elf/interp.c: Include generated runtime-linker.h
13604         * Makerules (lib%.so): Don't include $(+interp) in
13605         prerequisites.
13606         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13607         * dlfcn/eval.c: Remove file.
13609         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13610         macros.
13612         [BZ #17266]
13613         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13614         4.2 and newer.
13616         [BZ #17370]
13617         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13619 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13620             Jakub Jelinek  <jakub@redhat.com>
13622         [BZ #17266]
13623         * libio/stdio.h: Check definition of __fortify_function
13624         instead of __extern_always_inline to include bits/stdio2.h.
13625         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13626         check if __extern_always_inline is defined.
13627         [__USE_MISC || __USE_XOPEN]: Likewise.
13628         [__USE_ISOC99] Likewise.
13629         * misc/sys/cdefs.h (__fortify_function): Define only if
13630         __extern_always_inline is defined.
13631         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13632         __extern_always_inline and __extern_inline only for g++-4.3
13633         and newer or a compatible gcc.
13635 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13637         [BZ #17371]
13638         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13639         last change to handle zero prefix length.
13641 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13643         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13644         _SC_REGEX_VERSION.
13646         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13647         _POSIX_RAW_SOCKETS.
13649 2014-09-13  Allan McRae  <allan@archlinux.org>
13651         * po/ru.po: Update Russian translation from translation project.
13653 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13655         * locale/programs/locale.c (show_locale_vars): Inline local function
13656         into its sole call site.  Clean up some style nits.
13657         (print_item): New function, broken out of ...
13658         (show_info): ... local function here.  Clean up style nits.
13660         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13661         out of ...
13662         (set_class_defaults): ... local function set_default here.
13663         Define set_default as a macro locally to pass constant parameters.
13664         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13665         rather than a shared local.
13667         * stdlib/rpmatch.c (try): New function, broken out of ...
13668         (rpmatch): ... local function here.  Also, prototypify definition.
13670 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13672         * scripts/soversions.awk: Do not handle configuration names.
13673         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13674         vendor and os variables to soversions.awk.
13675         * configure.ac: Do not modify gnu-* host_os.
13676         * configure: Regenerated
13677         * shlib-versions: Remove first column with configuration names.
13678         * nptl/shlib-versions: Likewise.
13679         * nptl_db/shlib-versions: Likewise.
13680         * sysdeps/hppa/shlib-versions: Likewise.
13681         * sysdeps/m68k/shlib-versions: Likewise.
13682         * sysdeps/mach/hurd/shlib-versions: Likewise.
13683         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13684         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13685         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13686         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13687         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13688         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13689         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13690         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13692         Likewise.
13693         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13694         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13695         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13696         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13697         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13698         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13699         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13700         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13703         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13705         Regenerated.
13706         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13708         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13710         * shlib-versions: Remove OS-specific entries.  Moved to files in
13711         sysdeps.
13712         * sysdeps/mach/hurd/shlib-versions: New file.
13713         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13715         * nptl/shlib-versions: Remove architecture-specific entries.
13716         Moved to files in sysdeps.
13717         * shlib-versions: Likewise.
13718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13719         file.
13720         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13721         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13722         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13723         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13725         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13726         (UDP_NO_CHECK6_RX): Likewise.
13728 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13730         * sysdeps/posix/sysconf.c (__sysconf): Spell
13731         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13733 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13735         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13736         loading.
13737         * iconv/Versions (__gconv_transliterate): Export for use from
13738         gconv modules.
13739         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13740         (struct __gconv_trans_data, __gconv_trans_fct,
13741         __gconv_trans_context_fct, __gconv_trans_query_fct,
13742         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13743         definitions.
13744         (struct __gconv_step_data): Remove __trans member.
13745         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13746         longer hidden.  Remove unused trans_data argument.
13747         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13748         (__gconv_translit_find): Remove declaration.
13749         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13750         prototype.
13751         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13752         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13753         trans_data argument.  Add hidden definition.
13754         (__gconv_translit_find): Remove.
13755         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13756         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13757         * iconv/skeleton.c: Remove transliteration initialization.
13758         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13759         __gconv_step_data initialization.
13760         * libio/iofwide.c (__libio_translit_): Remove.
13761         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13762         * wcsmbs/btowc.c (__btowc): Likewise.
13763         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13764         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13765         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13766         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13767         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13768         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13769         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13770         * wcsmbs/wctob.c (wctob): Likewise.
13772 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13774         [BZ #16194]
13775         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13776         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13777         register usage.
13778         * sysdeps/x86/Makefile: Adjust.
13780 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13781             Roland McGrath  <roland@hack.frob.com>
13783         * locale/weight.h: Add include guard.
13784         (findidx): Make static rather than auto; take new parameters
13785         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13786         * locale/weightwc.h: Likewise.
13787         * posix/fnmatch_loop.c
13788         (FCT): Change type of EXTRA from int32_t to wint_t.
13789         Don't include either header inside the function.
13790         Call FINDIDX rather than findidx, and pass new arguments.
13791         #undef FINDIDX at the end of the file.
13792         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13793         FINDIDX before including fnmatch_loop.c for the non-wide version.
13794         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13795         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13796         for the wide version.
13797         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13798         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13799         Pass new arguments to findidx.
13800         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13801         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13802         Don't #include it inside the function.  Pass new arguments to findidx.
13803         * posix/regex_internal.h
13804         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13805         (re_string_elem_size_at): Don't #include it inside the function.
13806         Pass new arguments to findidx.
13807         * string/strcoll_l.c: #include WEIGHT_H at top level.
13808         (get_next_seq): Don't #include it inside the function.
13809         Pass new arguments to findidx.
13810         (get_next_seq_nocache): Likewise.
13811         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13812         (STRXFRM): Don't #include it inside the function.
13813         Pass new arguments to findidx.
13815 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13817         [BZ #17344]
13818         * malloc/malloc.c (unlink): Turn asserts into a call to
13819         malloc_printerr.
13821 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13823         [BZ #17370]
13824         * libio/wfileops (do_ftell_wide): Free OUT.
13826 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13828         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13830 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13832         [BZ #17363]
13833         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13834         group if the current group is empty.
13836 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13838         * benchtests/bench-memset.c (test_main): Add more test from size
13839         from 32 to 512 bytes.
13840         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13841         Add POWER8 memset object.
13842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13843         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13844         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13845         implementation.
13846         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13847         Likewise.
13848         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13849         multiarch POWER8 memset optimization.
13850         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13851         POWER8 memset optimization.
13853         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13854         Remove bzero multiarch objects.
13855         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13856         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13857         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13858         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13859         Remove define.
13860         [__bzero]: Redefine to specific name.
13861         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13862         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13863         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13864         define.
13865         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13866         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13868 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13870         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13871         warnings into errors.
13873         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13874         __cxa_thread_atexit_impl prototype.
13876 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13878         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13879         Fix capitalization of error message.
13881 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13883         * sysdeps/mips/preconfigure: Modify ABI tests.
13885 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13887         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13889 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13890             Carlos O'Donell  <carlos@systemhalted.org>
13892         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13893         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13894         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13895         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13896         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13897         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13898         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13899         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13900         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13901         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13902         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13903         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13904         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13905         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13906         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13907         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13908         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13909         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13910         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13911         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13912         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13913         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13914         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13915         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13916         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13917         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13918         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13919         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13920         Deconditionalize the code that was previously under [RESET_PID].
13921         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13922         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13923         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13924         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13925         include sysdep.h.
13927 2014-09-08  Allan McRae  <allan@archlinux.org>
13929         * version.h (RELEASE): Set to "development".
13930         (VERSION): Set to "2.20.90"
13932 2014-09-07  Allan McRae  <allan@archlinux.org
13934         * version.h (RELEASE): Set to "stable".
13935         (VERSION): Set to "2.20"
13936         * include/features.h (__GLIBC_MINOR__): Set to 20.
13938         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13939         Liebler.
13941         * po/ko.po: Update Korean translation from translation project.
13943 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13945         [BZ #17354]
13946         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13947         macro for handling signed relocations.
13949 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13951         [BZ #17325]
13952         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13953         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13954         assert.
13955         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13956         * iconvdata/ibm935.c (BODY): Likewise.
13957         * iconvdata/ibm937.c (BODY): Likewise.
13958         * iconvdata/ibm939.c (BODY): Likewise.
13959         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13960         assert.
13961         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13962         script.
13963         * iconvdata/run-iconv-test.sh: New test loop for checking for
13964         decoder crashers.
13966 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13968         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13969         libm_hidden_ver.
13971 2014-09-01  Allan McRae  <allan@archlinux.org>
13973         * po/eo.po: Update Esperanto translation from translation project.
13975         * po/ca.po: Update Catalan translation from translation project.
13977 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13979         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13980         __proc_dostop call.
13982 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13984         [BZ #17319]
13985         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13986         to call set_thread_area instead of hand written asm.
13987         (__NR_set_thread_area): Removed define.
13988         (TLS_FLAG_WRITABLE): Likewise.
13989         (__ASSUME_SET_THREAD_AREA): Remove check.
13990         (TLS_EBX_ARG): Remove define.
13991         (TLS_LOAD_EBX): Likewise.
13993 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13995         Simplify atomicity of socket creation in bind.
13997         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13998         looking up the name after linking the file.
14000 2014-08-27  Allan McRae  <allan@archlinux.org>
14002         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14004 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14006         [BZ #17187]
14007         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14008         trans_compare, open_translit, __gconv_translit_find):
14009         Remove module loading code.
14011 2014-08-26  Allan McRae  <allan@archlinux.org>
14013         * po/vi.po: Update Vietnamese translation from translation project.
14015         * po/uk.po: Update Ukrainian translation from translation project.
14017         * po/fr.po: Update French translation from translation project.
14019         * po/ru.po: Update Russian translation from translation project.
14021         * po/pl.po: Update Polish translation from translation project.
14023         * po/cs.po: Update Czech translation from translation project.
14025         * po/de.po: Update German translation from translation project.
14027         * po/bg.po: Update Bulgarian translation from translation project.
14029         * po/sv.po: Update Sweedish translation from translation project.
14031         * po/nl.po: Update Dutch translation from translation project.
14033         * po/es.po: Update Spanish translation from translation project.
14035 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14037         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14039         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14040         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14041         (CPPFLAGS-iconvconfig): Likewise.
14042         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14044         * include/libc-symbols.h: Remove unnecessary check for
14045         NOT_IN_libc.
14046         * nptl/pthreadP.h: Likewise.
14047         * sysdeps/aarch64/setjmp.S: Likewise.
14048         * sysdeps/alpha/setjmp.S: Likewise.
14049         * sysdeps/arm/sysdep.h: Likewise.
14050         * sysdeps/i386/setjmp.S: Likewise.
14051         * sysdeps/m68k/setjmp.c: Likewise.
14052         * sysdeps/posix/getcwd.c: Likewise.
14053         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14054         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14055         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14056         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14057         * sysdeps/sh/sh3/setjmp.S: Likewise.
14058         * sysdeps/sh/sh4/setjmp.S: Likewise.
14059         * sysdeps/unix/alpha/sysdep.h: Likewise.
14060         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14061         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14062         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14063         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14066         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14067         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14068         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14069         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14070         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14071         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14073         * sysdeps/x86_64/setjmp.S: Likewise.
14075 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14077         [BZ #17263]
14078         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14079         <stdint.h>.
14080         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14081         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14083 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14085         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14087         [BZ #17262]
14088         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14089         and __x86_64__ when disabling x87 inline functions.
14091 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14093         [BZ #17259]
14094         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14095         asm statement with __cpuid_count.
14097 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14099         * configure.ac: Change __ehdr_start code to dereference the struct.
14100         Run readelf on the output to look for relocations.
14101         * configure: Regenerated.
14103 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14105         [BZ #17261]
14106         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14107         value to 0.
14108         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14110 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14112         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14114 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14116         [BZ #16892]
14117         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14118         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14120 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14122         * malloc/malloc.c: Fix typo in comment.
14124 2014-08-09  Allan McRae  <allan@archlinux.org>
14126         * Regenerate libc.po.
14128 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14130         * intl/tst-gettext2.sh: Check every lang file for creation.
14132 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14134         * sysdeps/aarch64/fpu/math_private.h
14135         (libc_feholdsetround_noex_aarch64_ctx): New function.
14137 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14139         * sysdeps/arm/armv6/strcpy.S (strcpy):
14140         Fix performance issue in misaligned cases.
14142 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14144         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14145         Move definition from termios.h.
14146         (struct termio): Likewise.
14147         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14148         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14149         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14150         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14151         Likewise.
14152         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14153         Move definition to ioctl-types.h
14154         (struct termio): Likewise.
14155         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14156         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14157         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14158         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14159         Likewise.
14161 2014-08-05  Richard Henderson  <rth@redhat.com>
14163         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14164         exceptions.
14165         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14166         Add fraiseexcpt.
14167         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14168         Use __feraiseexcept.
14169         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14170         Protect libm symbols with IS_IN_libm.
14172         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14174 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14176         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14178 2014-08-04  Will Newton  <will.newton@linaro.org>
14180         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14181         file.
14183 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14185         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14186         variants for each function.
14188 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14190         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14191         appended ...
14192         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14193         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14194         appended ...
14195         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14196         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14197         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14198         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14199         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14200         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14201         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14202         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14203         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14204         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14205         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14207         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14208         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14209         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14210         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14211         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14212         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14213         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14214         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14215         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14216         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14217         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14218         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14219         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14220         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14221         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14222         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14223         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14224         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14225         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14226         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14227         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14228         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14229         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14230         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14231         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14232         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14233         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14234         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14235         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14236         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14237         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14238         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14239         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14240         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14241         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14242         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14243         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14244         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14245         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14246         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14247         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14248         Update #include.
14249         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14250         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14252 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14254         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14255         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14256         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14257         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14258         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14259         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14261 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14263         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14264         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14265         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14266         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14268 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14270         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14271         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14272         (__libc_vfork): Define function under this name.
14273         (__vfork): Define as an alias.
14274         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14275         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14277 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14279         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14280         that was previously under [RESET_PID].
14281         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14283 2014-08-04  Andreas Schwab  <schwab@suse.de>
14285         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14287 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14289         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14290         (main): Likewise.
14292 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14294         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14296 2014-08-01  Richard Henderon  <rth@redhat.com>
14298         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14299         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14300         typo in exact zero test.
14301         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14302         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14303         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14305 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14307         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14308         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14309         * sysdeps/arm/sysdep.h: ... here.
14310         [!__ASSEMBLER__]: Include <stdint.h>.
14312 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14314         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14315         (HAVE_WCTYPE_H): Likewise.
14316         (HAVE_ISWCTYPE): Likewise.
14317         (ENABLE_NLS): Likewise.
14318         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14319         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14321         * posix/regex_internal.c: Check if DEBUG is defined and is
14322         set.
14324         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14325         (HAVE_MBSRTOWCS): Likewise.
14326         * posix/fnmatch.c: Include string.h unconditionally.
14328 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14330         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14331         reversal.
14333 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14335         * sysdeps/generic/safe-fatal.h: New file.
14336         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14337         * nptl/forward.c: Include it.
14338         (__pthread_unwind): Use __safe_fatal as default action, rather
14339         than a bogus use of INTERNAL_SYSCALL that could never work.
14341         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14342         * configure.ac (libc_cv_builtin_trap): New test.
14343         * configure: Regenerated.
14344         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14345         (ABORT_INSTRUCTION): Define using __builtin_trap.
14347         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14348         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14349         * sysdeps/nptl/nptl-signals.h: New file.
14350         * nptl/pthreadP.h: Include <nptl-signals.h>.
14352 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14354         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14355         (ONE_DIRECTION): Define.
14356         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14357         (ONE_DIRECTION): Define.
14358         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14359         (ONE_DIRECTION): Define.
14361 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14363         * sysdeps/s390/Makefile: Delete file.
14364         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14365         * sysdeps/s390/__longjmp.c: Delete file.
14366         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14367         Remove fields __flags and __reserved.
14368         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14369         and add versioning.
14370         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14371         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14372         * sysdeps/s390/rtld-setjmp.S: Likewise.
14373         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14374         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14375         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14376         * sysdeps/s390/s390-32/setjmp.S: ... here.
14377         Add versioning.
14378         (__sigsetjmp): Remove setting __flags field.
14379         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14380         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14381         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14382         * sysdeps/s390/s390-64/setjmp.S: ... here.
14383         Add versioning.
14384         (__sigsetjmp): Remove setting __flags field.
14385         * sysdeps/s390/setjmp.S: Delete file.
14386         * sysdeps/s390/sigjmp.c: Likewise.
14387         * sysdeps/s390/v1-longjmp.c: Likewise.
14388         * sysdeps/s390/v1-setjmp.h: Likewise.
14389         * sysdeps/s390/v1-sigjmp.c: Likewise.
14390         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14391         Remove v1-longjmp_chk.
14392         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14393         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14394         Include debug/longjmp_chk.c and add versioning.
14395         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14396         Include nptl/pt-longjmp.c and add versioning.
14397         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14398         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14399         Include __longjmp.c.
14400         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14401         Move to ...
14402         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14403         (__getcontext): Remove setting __flags field.
14404         Add versioning.
14405         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14406         Don't restore upper high grps.
14407         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14408         Likewise.
14409         (__swapcontext): Remove setting uc_flags field.
14410         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14411         Delete file.
14412         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14413         Include __longjmp.c.
14414         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14415         Move to ...
14416         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14417         (__getcontext): Remove setting __flags field.
14418         Add versioning.
14419         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14420         (__swapcontext): Remove setting uc_flags field.
14421         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14422         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14423         Remove fields uc_high_gprs and __reserved.
14424         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14425         New file with reverted content.
14426         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14427         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14428         Regenerated.
14429         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14430         Regenerated.
14432 2014-07-31  Andreas Schwab  <schwab@suse.de>
14434         * config.h.in (HAVE_IFUNC): Define to 0.
14435         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14436         definedness.
14438 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14441         memmove-avx-unaligned, memcpy-avx-unaligned and
14442         mempcpy-avx-unaligned.
14443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14444         Add tests for AVX memcpy functions.
14445         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14446         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14447         memcpy_chk.
14448         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14449         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14450         memmove_chk.
14451         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14452         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14453         mempcpy_chk.
14454         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14455         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14456         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14458 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14460         [BZ #17213]
14461         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14462         powerpc64le.
14464 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14466         [BZ #16839]
14467         * manual/llio.texi: Add section about open file description locks.
14468         * manual/examples/ofdlocks.c: Example of open file description
14469         lock usage.
14470         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14471         F_OFD_SETLK, and F_OFD_SETLKW.
14473 2014-07-23  Allan McRae  <allan@archlinux.org>
14475         * po/es.po: Update Spanish translation from translation project.
14477 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14479         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14481 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14483         [BZ #17078]
14484         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14485         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14486         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14488 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14490         [BZ #17088]
14491         * math/fesetenv.c (__fesetenv)
14492         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14493         * math/feupdateenv.c (__feupdateenv)
14494         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14496         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14497         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14498         (__ASSUME_SOCKETCALL): Do not define.
14500         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14501         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14502         (__ASSUME_SOCKETCALL): Do not define.
14503         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14504         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14505         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14506         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14507         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14508         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14509         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14510         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14512         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14513         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14514         (__ASSUME_SOCKETCALL): Do not define.
14515         (__ASSUME_IPC64): Define unconditionally.
14516         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14517         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14518         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14519         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14520         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14521         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14522         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14523         Likewise.
14525         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14526         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14527         (__ASSUME_SOCKETCALL): Do not define.
14528         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14529         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14530         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14531         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14532         (__ASSUME_REQUEUE_PI): Define unconditionally.
14533         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14534         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14535         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14536         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14537         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14538         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14540         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14541         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14542         (__ASSUME_SOCKETCALL): Do not define.
14543         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14544         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14545         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14546         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14547         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14548         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14550         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14551         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14552         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14553         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14554         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14555         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14556         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14557         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14558         (__ASSUME_GETCPU_SYSCALL): Likewise.
14560         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14561         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14562         cases for individual architectures.
14563         * sysdeps/gnu/configure: Regenerated.
14564         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14565         LIBC_SLIBDIR_RTLDDIR.
14566         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14567         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14568         LIBC_SLIBDIR_RTLDDIR.
14569         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14571         LIBC_SLIBDIR_RTLDDIR.
14572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14573         Regenerated.
14574         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14575         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14576         file.
14577         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14578         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14579         file.
14580         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14581         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14582         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14583         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14585         * sysdeps/aarch64/shlib-versions: Move to ...
14586         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14587         * sysdeps/alpha/shlib-versions: Move to ...
14588         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14589         * sysdeps/arm/shlib-versions: Move to ...
14590         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14591         * sysdeps/hppa/shlib-versions: Move all contents except for
14592         libgcc_s entry to ...
14593         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14594         entry from ...
14595         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14596         * sysdeps/ia64/shlib-versions: Move to ...
14597         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14598         entry from ...
14599         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14600         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14601         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14602         * sysdeps/microblaze/shlib-versions: Move to ...
14603         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14604         * sysdeps/mips/shlib-versions: Move to ...
14605         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14606         entry from ...
14607         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14608         * sysdeps/tile/shlib-versions: Move to ...
14609         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14610         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14611         from ...
14612         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14613         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14614         entry from ...
14615         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14617 2014-07-17  Will Newton  <will.newton@linaro.org>
14619         * sysdeps/arm/bits/atomic.h
14620         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14621         (__arch_compare_and_exchange_bool_16_int): Likewise.
14622         (__arch_compare_and_exchange_bool_64_int): Likewise.
14624         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14625         into an #else block.
14627 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14629         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14630         just Linux configurations.  Test empirically that the compiler sets
14631         __ARM_EABI__, rather than using the tuple to decide.
14632         * sysdeps/arm/preconfigure: Regenerated.
14633         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14634         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14635         contents appended ...
14636         * sysdeps/arm/configure.ac: ... here.
14637         * sysdeps/arm/configure: Regenerated.
14639 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14641         * nptl/pthread_kill.c: New file.
14642         * nptl/pthread_sigmask.c: New file.
14643         * nptl/pthread_sigqueue.c: New file.
14645         * sysdeps/nptl/lowlevellock.h: New file.
14646         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14647         * sysdeps/nptl/lowlevellock-futex.h: New file.
14649         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14650         Remove dead declarations.
14652 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14654         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14655         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14656         config-cflags-avx2.
14657         * sysdeps/x86_64/configure.ac: Likewise.
14658         * sysdeps/i386/configure: Regenerated.
14659         * sysdeps/x86_64/configure: Likewise.
14660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14661         memset-avx2 only if config-cflags-avx2 is yes.
14662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14663         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14664         defined.
14665         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14666         only if HAVE_AVX2_SUPPORT is defined.
14667         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14669 2014-07-14  Alan Modra  <amodra@gmail.com>
14671         [BZ #17153]
14672         * elf/elf.h (DT_PPC64_NUM): Correct value.
14673         * NEWS: Add to fixed bug list.
14675 2014-07-13  Jim Meyering  <meyering@fb.com>
14677         [BZ 17150]
14678         regex: don't deref NULL upon heap allocation failure
14679         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14680         failure in one more place.
14681         To trigger the segfault, configure grep -with-included-regex,
14682         build it, and run these commands:
14683         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14685 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14687         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14689 2014-07-11  Richard Henderson  <rth@redhat.com>
14691         * sysdeps/aarch64/libm-test-ulps: Update.
14693 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14695         [BZ #17135]
14696         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14697         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14698         (__nptl_setxid): Initialize error member.  Call
14699         __nptl_setxid_error.
14700         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14701         * nptl/descr.h (struct xid_command): Add error member.
14702         * nptl/tst-setuid3.c: New file.
14703         * nptl/Makefile (tests): Add it.
14705 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14707         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14708         New define.
14709         (__lll_trylock): Use __lll_base_trylock.
14710         (__lll_cond_trylock): Likewise.
14712 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14714         * nptl/pthread_create.c (start_thread): Use atomic_or and
14715         lll_futex_wake directly rather than lll_robust_dead.
14716         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14717         (lll_robust_dead): Macro removed.
14718         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14719         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14720         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14721         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14722         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14723         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14724         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14725         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14726         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14727         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14728         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14729         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14730         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14731         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14732         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14734         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14735         Use atomic_compare_and_exchange_val_acq directly rather than
14736         lll_robust_trylock.
14737         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14738         (__lll_robust_trylock, lll_robust_trylock): Removed.
14739         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14740         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14741         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14742         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14743         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14744         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14745         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14746         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14747         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14748         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14749         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14750         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14751         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14752         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14754 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14756         * manual/locale.texi (Locale Names): New section documenting
14757         locale name syntax.  Adjust menu and node chaining accordingly.
14758         (Choosing Locale): Reference Locale Names, Locale Categories.
14759         Mention setting LC_ALL=C.  Reflect that name syntax is now
14760         documented.
14761         (Locale Categories): New section title.  Reference Locale Names.
14762         LC_ALL is an environment variable, but not a category.
14763         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14764         description, now in Locale Name.  Reference that section.  Locale
14765         name syntax is now documented.
14767 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14769         [BZ #17137]
14770         * locale/findlocale.c (name_present, valid_locale_name): New
14771         functions.
14772         (_nl_find_locale): Use the loc_name variable to store name
14773         candidates.  Call name_present and valid_locale_name to check and
14774         validate locale names.  Return an error if the locale is invalid.
14776 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14778         * locale/setlocale.c (setlocale): Use strdup for allocating
14779         composite name copy.
14781 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14783         Sync up with gnulib.
14784         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14785         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14786         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14787         and _GL_ARG_NONNULL.
14788         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14789         [!_LIBC]: Include code for Windows and Cygwin.
14790         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14791         Include prototype for int strerror_r.
14792         [!_LIBC] (is_open): New function.
14793         (flush_stdout): New function.
14794         (print_errno_message): Use it.
14795         (error): Likewise.
14796         (error_at_line): Likewise.
14797         (error_tail) Add function attribute macros.  Use
14798         __builtin_expect.
14800         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14802         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14804         * io/ftw.c: Include sys/param.h unconditionally.
14806         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14808         [BZ #17125]
14809         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14810         libc_freeres_ptr.
14811         (freecache): New function to free CACHE on exit.
14813         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14814         initialization.
14816 2014-07-09  David S. Miller  <davem@davemloft.net>
14818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14820         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14821         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14822         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14823         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14824         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14825         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14826         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14827         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14828         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14829         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14830         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14831         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14832         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14834 2014-07-09  Andreas Schwab  <schwab@suse.de>
14836         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14837         output.
14838         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14839         (do_test): Likewise.
14841         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14843 2014-07-09  Will Newton  <will.newton@linaro.org>
14845         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14846         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14847         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14848         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14849         * sysdeps/hppa/start.S (_start): Likewise.
14851 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14853         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14855         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14856         defined.
14858 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14860         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14861         after checking that it is non-NULL.
14863         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14865 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14867         * sysdeps/powerpc/memmove.c: Remove file.
14868         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14869         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14870         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14871         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14872         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14873         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14874         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14875         string memmove instead of removed powerpc one.
14877         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14878         [weak_alias]: Fix compiler warning due trailing data.
14879         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14880         [weak_alias]: Likewise.
14881         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14882         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14885         (__libc_ifunc_impl_list): Add memmove functions.
14887 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14889         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14890         Remove code.
14891         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14892         Likewise
14893         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14894         Likewise
14895         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14896         Likewise
14897         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14898         Likewise
14899         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14900         Likewise
14901         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14902         Likewise
14903         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14904         Likewise
14905         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14906         Likewise
14907         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14908         Likewise
14909         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14910         Likewise
14911         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14912         Likewise
14913         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14914         Likewise
14915         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14916         Likewise
14917         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14918         Likewise
14919         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14920         Likewise
14921         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14922         Likewise
14924 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14926         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14927         to avoid alignment traps in non-cacheable memory.
14928         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14931         multiarch objects.
14932         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14933         file: multiarch power7 memmove.
14934         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14935         multiarch default memmove.
14936         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14937         multiarch memove for powerpc32/power4.
14939         * string/bcopy.c: Use full path to include memmove.c.
14940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14941         multiarch objects.
14942         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14943         bcopy for powerpc64.
14944         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14945         bcopy for powerpc64.
14946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14947         and memmove implementations.
14948         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14949         optimized multiarch memmove for POWER7/powerpc64.
14950         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14951         default multiarch memmove for powerpc64.
14952         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14953         multiarch for powerpc64.
14954         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14955         for POWER7/powerpc64.
14956         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14957         memmove for POWER7/powerpc64.
14959         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14960         glibc default one.
14962         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14963         __ELF_NATIVE_CLASS equal to 64.
14965 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14967         * sysdeps/nptl/lowlevellock.h: File removed.
14969         * NEWS: NPTL is no longer an add-on!
14970         * nptl/internaltypes.h: Moved ...
14971         * sysdeps/nptl/internaltypes.h: ... here.
14972         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14973         * sysdeps/nptl/fork.c: Likewise.
14974         * sysdeps/nptl/gai_misc.h: Likewise.
14975         * sysdeps/nptl/librt-cancellation.c: Likewise.
14976         * sysdeps/nptl/jmp-unwind.c: Likewise.
14977         * sysdeps/nptl/setxid.h: Likewise.
14978         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14979         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14980         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14981         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14982         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14983         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14984         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14985         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14986         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14987         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14988         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14989         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14990         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14991         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14992         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14993         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14994         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14995         * nptl/Makeconfig: Moved ...
14996         * sysdeps/nptl/Makeconfig: ... here.
14997         * nptl/configure: File removed.
14998         * nptl/ANNOUNCE: File removed.
14999         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15000         * sysdeps/unix/sysv/linux/configure: Regenerated.
15002         * nptl/Makefile (routines): Add libc_pthread_init,
15003         libc_multiple_threads, register-atfork and unregister-atfork.
15004         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15005         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15006         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15007         pthread-pi-defines.sym, structsem.sym.
15008         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15009         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15010         [$(subdir) = nptl] (tests): Add tst-setgetname.
15011         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15012         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15013         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15014         [!LIBC_SIGACTION]: Remove aliases.
15015         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15016         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15017         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15018         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15019         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15020         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15021         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15022         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15023         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15024         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15025         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15026         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15027         __libc_allocate_rtsig_private.
15028         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15029         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15030         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15031         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15032         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15033         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15034         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15035         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15036         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15037         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15038         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15039         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15040         * nptl/internaltypes.h: ... here.
15041         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15042         * sysdeps/nptl/jmp-unwind.c: ... here.
15043         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15044         * nptl/libc-lowlevellock.c: ... here.
15045         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15046         * nptl/libc_multiple_threads.c: ... here.
15047         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15048         * nptl/libc_pthread_init.c: ... here.
15049         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15050         * nptl/lowlevelbarrier.sym: ... here.
15051         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15052         * nptl/lowlevelcond.sym: ... here.
15053         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15054         * nptl/lowlevellock.c: ... here.
15055         * nptl/lowlevellock.h: Moved ...
15056         * sysdeps/nptl/lowlevellock.h: ... here.
15057         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15058         * nptl/lowlevelrobustlock.c: ... here.
15059         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15060         * nptl/lowlevelrobustlock.sym: ... here.
15061         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15062         * nptl/lowlevelrwlock.sym: ... here.
15063         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15064         * nptl/pt-fork.c: ... here.
15065         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15066         * nptl/pthread-pi-defines.sym: ... here.
15067         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15068         * nptl/pthread_attr_getaffinity.c: ... here.
15069         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15070         * nptl/pthread_attr_setaffinity.c: ... here.
15071         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15072         * nptl/pthread_mutex_cond_lock.c: ... here.
15073         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15074         Update #include.
15075         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15076         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15077         * nptl/pthread_once.c: ... here, replacing old file.
15078         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15079         * nptl/pthread_yield.c: ... here.
15080         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15081         * nptl/register-atfork.c: ... here.
15082         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15083         * nptl/sem_post.c: ... here.
15084         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15085         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15086         * nptl/sem_timedwait.c: ... here.
15087         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15088         * nptl/sem_trywait.c: ... here.
15089         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15090         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15091         * nptl/sem_wait.c: ... here.
15092         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15093         * nptl/structsem.sym: ... here.
15094         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15095         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15096         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15097         * nptl/unregister-atfork.c: ... here.
15098         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15099         * nptl/unwindbuf.sym: ... here.
15100         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15101         * sysdeps/nptl/fork.c: ... here.
15102         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15103         * sysdeps/nptl/fork.h: ... here.
15104         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15105         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15106         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15107         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15108         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15109         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15110         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15111         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15112         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15113         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15114         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15115         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15116         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15117         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15118         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15119         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15120         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15121         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15122         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15123         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15124         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15125         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15126         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15127         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15128         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15129         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15130         * sysdeps/unix/sysv/linux/raise.c: ... here.
15131         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15132         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15133         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15134         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15135         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15136         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15137         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15138         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15139         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15140         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15141         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15142         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15143         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15144         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15145         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15147 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15149         * sysdeps/generic/memcopy.h: Add comment for
15150         MEMCPY_OK_FOR_FWD_MEMMOVE.
15152 2014-07-04  Will Newton  <will.newton@linaro.org>
15154         * string/memchr.c: Merge from gnulib.
15155         [_LIBC]: Remove conditionals.
15156         (__ptr_t): Remove define.
15157         (LONG_MAX_32_BITS): Likewise.
15158         (LONG_MAX): Likewise.
15159         (MEMCHR): Use ANSI prototype and optimize algorithm.
15161         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15163 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15165         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15166         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15168         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15169         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15170         in a bare environment with no <stdlib.h> installed.
15171         * sysdeps/nptl/configure: Regenerated.
15173         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15175         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15176         AC_EGREP_CPP for kernel header checks, so they only succeed if
15177         including <linux/version.h> actually works right.
15178         * sysdeps/unix/sysv/linux/configure: Regenerated.
15180         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15181         value so it's not diagnosed as unused.
15183         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15184         thing) with "ifeq ($(subdir),rt)".
15186 2014-07-03  Richard Henderson  <rth@redhat.com>
15188         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15189         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15190         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15192         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15193         (math_force_eval): New.
15195         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15196         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15198         * sysdeps/alpha/fpu/s_round.c: Remove file.
15199         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15201         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15202         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15203         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15204         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15205         (_dl_start, print_statistics): Likewise.
15206         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15207         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15209         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15210         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15211         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15212         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15213         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15214         (HP_SMALL_TIMING_AVAIL): Define.
15215         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15216         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15217         (HP_SMALL_TIMING_AVAIL): Define.
15218         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15219         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15221         * sysdeps/aarch64/hp-timing.h: New file.
15223         * sysdeps/generic/hp-timing.h: Remove dead comment.
15224         * sysdeps/generic/hp-timing-common.h: New file.
15225         * sysdeps/alpha/hp-timing.h: Include it.
15226         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15227         * sysdeps/i386/i686/hp-timing.h: Likewise.
15228         * sysdeps/ia64/hp-timing.h: Likewise.
15229         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15230         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15231         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15232         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15233         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15234         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15235         (hp_timing_t): New.
15237         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15238         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15239         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15240         * elf/rtld.c (_dl_start_final): Likewise.
15241         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15242         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15243         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15244         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15245         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15246         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15247         (HP_TIMING_DIFF_INIT): Remove.
15248         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15249         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15250         (HP_TIMING_DIFF_INIT): Remove.
15251         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15252         * sysdeps/i386/i686/hp-timing.c: Remove file.
15253         * sysdeps/x86_64/hp-timing.c: Remove file.
15254         * sysdeps/ia64/hp-timing.c: Remove file.
15255         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15256         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15257         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15258         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15260         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15261         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15262         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15263         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15264         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15265         (HP_TIMING_ACCUM): Remove.
15266         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15267         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15268         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15270         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15271         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15272         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15273         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15274         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15275         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15276         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15277         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15279         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15281 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15283         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15285 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15287         Sync up with gettext.
15288         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15289         [_MSC_VER]: Include malloc.h
15290         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15291         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15292         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15293         TEMP_FAILURE_RETRY.  Cast return of alloca.
15294         [!_LIBC] Call gl_rwlock_init.
15295         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15297 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15299         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15300         before checking its value.
15302 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15304         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15306         * debug/memcpy_chk.c: Don't include pagecopy.h.
15307         * debug/mempcpy_chk.c: Likewise.
15308         * string/memcpy.c: Likewise.
15309         * string/memmove.c: Likewise.
15310         * sysdeps/powerpc/memmove.c: Likewise.
15311         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15312         definition of PAGE_COPY_FWD_MAYBE here...
15313         * sysdeps/generic/pagecopy.h: ... from here.
15314         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15316 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15317             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15319         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15321         optimizations.
15322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15323         (__libc_ifunc_impl_list): Likewise.
15324         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15325         multiarch strcat for PPC64.
15326         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15327         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15329 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15331         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15333 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15335         * intl/loadmsgcat.c: Remove declaration of
15336         get_sysdep_segment_value.
15337         (get_sysdep_segment_value): Use ISO C style.
15338         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15339         semicolon.  Fix typo and formatting in comment.
15340         (_nl_unload_domain): Use ISO C style.
15342         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15344 2014-07-02  Will Newton  <will.newton@linaro.org>
15346         * malloc/obstack.c: Merge from gnulib master.
15347         [HAVE_CONFIG_H]: Remove conditional code.
15348         [!_LIBC]: Include config.h.
15349         [!ELIDE_CODE]: Don't include inttypes.h, include
15350         stdint.h unconditionally.
15351         (print_and_abort): Mark as _Noreturn.
15352         (_obstack_allocated_p): Mark as __attribute_pure__.
15353         (obstack_free): Rename to __obstack_free.
15354         [!__attribute__]: Remove conditional code.
15355         * malloc/obstack.h: Merge from gnulib master.
15356         [__cplusplus]: Move conditional down.
15357         [!__attribute_pure__]: Define __attribute_pure__ here
15358         if it is not already defined.
15359         (_obstack_memory_used): Mark as __attribute_pure__.
15360         [!__obstack_free]: Define as obstack_free.
15361         [__GNUC__]: Remove check for ancient NeXT gcc.
15363 2014-07-02  Will Newton  <will.newton@linaro.org>
15364             Paul Eggert  <eggert@cs.ucla.edu>
15366         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15368 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15370         * resolv/gethnamaddr.c: Add comment warning that the file is
15371         not maintained.
15373 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15375         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15376         entries.
15378         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15379         entry for aio_cancel and aio_cancel64.
15380         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15381         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15382         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15383         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15384         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15385         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15386         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15387         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15388         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15389         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15390         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15391         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15392         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15394 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15396         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15397         * nptl/pthread_mutex_lock.c: Likewise.
15398         * nptl/pthread_mutex_timedlock.c: Likewise.
15399         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15401 2014-07-01  Richard henderson  <rth@redhat.com>
15403         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15404         (__isnan, __isnanl): Remove.
15405         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15407         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15409 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15411         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15413 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15415         * resolv/nss_dns/dns-host.c (getanswer_r)
15416         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15418 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15420         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15421         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15422         undefine.
15423         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15424         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15426 2014-07-01  Roland McGrath <roland@hack.frob.com>
15428         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15429         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15431         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15432         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15434         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15435         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15436         ... here.
15437         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15438         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15440         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15441         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15442         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15443         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15445         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15446         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15447         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15448         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15449         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15450         Moved ...
15451         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15452         ... here.
15453         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15454         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15455         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15456         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15457         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15458         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15459         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15460         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15461         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15462         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15463         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15464         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15465         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15466         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15467         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15468         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15469         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15470         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15471         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15472         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15473         ... here.
15474         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15475         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15476         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15477         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15478         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15479         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15480         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15481         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15483 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15485         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15486         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15487         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15488         Add sysdep.
15490 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15494 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15496         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15497         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15499         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15501         * sysdeps/arm/libm-test-ulps: Regenerated.
15503 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15504             Roland McGrath <roland@hack.frob.com>
15506         * test-skeleton.c (signal_handler): Kill the whole process group
15507         before killing the child individually.
15508         (main): Report any failure on `setpgid'.
15510 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15512         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15513         from _TLS_H to _ARM_NPTL_TLS_H.
15514         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15515         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15517 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15519         [BZ #16539]
15520         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15521         (__expm1l): Return argument unchanged when small but not
15522         subnormal.
15524         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15525         include macro name.
15526         (_FP_UNPACK_RAW_1_P): Likewise.
15527         (_FP_PACK_RAW_1): Likewise.
15528         (_FP_PACK_RAW_1_P): Likewise.
15529         (_FP_MUL_MEAT_1_wide): Likewise.
15530         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15531         (_FP_MUL_MEAT_1_hard): Likewise.
15532         (_FP_DIV_MEAT_1_imm): Likewise.
15533         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15534         (_FP_DIV_MEAT_1_udiv): Likewise.
15535         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15536         (_FP_UNPACK_RAW_2): Likewise.
15537         (_FP_UNPACK_RAW_2_P): Likewise.
15538         (_FP_PACK_RAW_2): Likewise.
15539         (_FP_PACK_RAW_2_P): Likewise.
15540         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15541         (_FP_MUL_MEAT_2_wide): Likewise.
15542         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15543         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15544         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15545         (_FP_MUL_MEAT_2_gmp): Likewise.
15546         (_FP_DIV_MEAT_2_udiv): Likewise.
15547         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15548         (_FP_FRAC_SRL_4): Likewise.
15549         (_FP_FRAC_SRST_4): Likewise.
15550         (_FP_FRAC_SRS_4): Likewise.
15551         (_FP_UNPACK_RAW_4): Likewise.
15552         (_FP_UNPACK_RAW_4_P): Likewise.
15553         (_FP_PACK_RAW_4): Likewise.
15554         (_FP_PACK_RAW_4_P): Likewise.
15555         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15556         (_FP_MUL_MEAT_4_wide): Likewise.
15557         (_FP_MUL_MEAT_4_gmp): Likewise.
15558         (umul_ppppmnnn): Likewise.
15559         (_FP_DIV_MEAT_4_udiv): Likewise.
15560         (__FP_FRAC_ADD_4): Likewise.
15561         (__FP_FRAC_SUB_3): Likewise.
15562         (__FP_FRAC_SUB_4): Likewise.
15563         (__FP_FRAC_DEC_3): Likewise.
15564         (__FP_FRAC_DEC_4): Likewise.
15565         (__FP_FRAC_ADDI_4): Likewise.
15566         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15567         (_FP_FRAC_SRL_8): Likewise.
15568         (_FP_FRAC_SRS_8): Likewise.
15570         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15571         include macro name.
15572         (FP_UNPACK_RAW_EP): Likewise.
15573         (FP_PACK_RAW_E): Likewise.
15574         (FP_PACK_RAW_EP): Likewise.
15575         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15576         (_FP_ISSIGNAN): Likewise.
15577         (_FP_ADD_INTERNAL): Likewise.
15578         (_FP_FMA): Likewise.
15579         (_FP_CMP): Likewise.
15580         (_FP_SQRT): Likewise.
15581         (_FP_TO_INT): Likewise.
15582         (_FP_FROM_INT): Likewise.
15583         (FP_EXTEND): Likewise.
15584         (_FP_DIV_MEAT_N_loop): Likewise.
15586 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15588         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15589         throughout.
15591 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15593         [BZ #17097]
15594         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15595         result with correct sign in case of exponents that produce
15596         overflow except for X very close to 1.
15598 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15600         mktime: merge #if/#ifdef usage from glibc
15601         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15602         as that works with both Glibc's and Gnulib's style.
15603         See thread starting at Siddhesh Poyarekar's bug report at:
15604         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15606 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15608         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15609         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15610         * sysdeps/tile/tilegx/memmove.c: Remove file.
15612 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15614         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15615         abi-name definition.
15616         * scripts/soversions.awk: Do not handle or generate ABI lines.
15617         * shlib-versions: Remove ABI entries.
15618         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15619         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15621 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15624         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15625         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15626         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15628         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15630         Moved ...
15631         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15632         ... here.
15633         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15634         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15636         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15637         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15638         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15639         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15640         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15641         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15642         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15644         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15645         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15646         Moved ...
15647         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15649         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15651         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15653         Moved ...
15654         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15656         Moved ...
15657         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15659         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15660         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15661         Moved ...
15662         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15664         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15666         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15667         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15668         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15669         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15670         Moved ...
15671         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15673         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15674         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15675         Moved ...
15676         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15677         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15678         Moved ...
15679         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15680         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15681         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15682         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15683         Moved ...
15684         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15685         ... here.
15686         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15687         Identical file removed.
15688         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15689         Moved ...
15690         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15691         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15692         Identical file removed.
15693         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15694         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15695         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15696         Moved ...
15697         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15698         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15699         Identical file removed.
15700         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15701         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15702         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15703         Identical file removed.
15704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15705         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15706         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15707         Identical file removed.
15708         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15709         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15710         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15711         Identical file removed.
15712         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15713         Moved ...
15714         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15715         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15716         Identical file removed.
15717         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15718         Moved ...
15719         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15720         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15721         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15722         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15723         Identical file removed.
15724         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15725         Moved ...
15726         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15727         ... here.
15728         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15729         Identical file removed.
15730         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15731         Moved ...
15732         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15733         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15734         Identical file removed.
15735         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15736         Moved ...
15737         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15738         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15739         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15740         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15741         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15742         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15743         Moved ...
15744         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15745         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15746         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15748         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15749         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15750         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15751         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15752         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15754 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15756         [BZ #17092]
15757         * nscd/nscd.c (monitor_child): Return exit status of child
15758         instead of return value from wait syscall.
15760 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15762         * configure.ac (libc_commonpagesize): Remove variable.
15763         (libc_relro_required): Likewise.
15764         (libc_cv_z_relro): Remove configure test.
15765         * configure: Regenerated.
15766         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15767         variable.
15768         (libc_relro_required): Likewise.
15769         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15770         (libc_relro_required): Likewise.
15771         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15772         (libc_relro_required): Likewise.
15773         * sysdeps/arm/preconfigure: Regenerated.
15774         * sysdeps/ia64/preconfigure: Remove file.
15775         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15776         variable.
15777         (libc_relro_required): Likewise.
15779         [BZ #16561]
15780         [BZ #16562]
15781         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15782         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15783         recompute overflowing results in original rounding mode.
15784         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15785         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15786         recompute overflowing results in original rounding mode.
15787         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15788         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15789         recompute overflowing results in original rounding mode.
15790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15791         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15792         recompute overflowing results in original rounding mode.
15793         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15794         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15795         recompute overflowing results in original rounding mode.
15796         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15797         (libc_feholdsetround_ctx): New macro.
15798         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15799         * sysdeps/i386/fpu/libm-test-ulps: Update.
15800         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15802 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15804         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15805         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15806         corresponding .cpsetup call.
15808 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15810         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15811         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15812         * sysdeps/arm/Makefile [$(subdir) = csu]
15813         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15814         (static-only-routines): Add aeabi_read_tp here.
15815         (shared-only-routines): Add libc-aeabi_read_tp here.
15816         (CFLAGS-libc-start.c): Add -fexceptions here.
15817         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15818         (sysdep_routines, static-only-routines, shared-only-routines):
15819         Don't add to these here.
15820         (CFLAGS-libc-start.c): Likewise.
15822         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15823         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15824         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15825         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15826         * sysdeps/arm/Makefile [$(subdir) = rt]
15827         (librt-sysdep_routines, librt-shared-only-routines):
15828         Append rt-aeabi_unwind_cpp_pr1 here.
15829         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15830         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15831         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15832         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15833         Append nptl-aeabi_unwind_cpp_pr1 here.
15834         (tests): Filter out tst-cleanupx4 here.
15835         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15836         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15837         Don't do those here.
15839 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15841         * scripts/list-sources.sh: Do not handle ports specially.
15843 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15845         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15846         * sysdeps/arm/feupdateenv.c: Likewise.
15848         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15850 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15852         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15853         trailing whitespace removed.
15854         * scripts/config.guess: Update to version 2014-03-23.
15855         * scripts/config.sub: Update to version 2014-05-01
15856         * scripts/install-sh: Update to version 2013-12-25.23.
15857         * scripts/move-if-change: Update from gnulib.
15859 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15861         * debug/memmove_chk.c: Remove pagecopy.h include.
15863 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15865         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15866         identical to gnulib mktime.
15868 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15870         * configure.ac: Do not test for machine being rs6000.  Do not test
15871         for powerpc*-*soft.
15872         * configure: Regenerated.
15874         [BZ #11505]
15875         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15876         test.
15877         * configure: Regenerated.
15878         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15879         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15880         Remove configure test.
15881         * sysdeps/arm/configure: Regenerated.
15882         * sysdeps/nptl/configure.ac: Do not check
15883         libc_cv_asm_cfi_directives.
15884         * sysdeps/nptl/configure: Regenerated.
15885         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15886         * sysdeps/x86_64/nptl/configure: Remove generated file.
15887         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15888         unconditional.
15889         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15891 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15893         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15894         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15895         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15896         it is defined.
15898         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15899         instead of whether it is defined.
15900         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15901         * sysdeps/hppa/dl-machine.h: Likewise.
15902         * sysdeps/ia64/dl-machine.h: Likewise.
15903         * sysdeps/m68k/dl-machine.h: Likewise.
15904         * sysdeps/microblaze/dl-machine.h: Likewise.
15905         * sysdeps/mips/dl-machine.: Likewise.
15906         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15907         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15908         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15909         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15910         * sysdeps/sh/dl-machine.h: Likewise.
15911         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15912         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15913         * sysdeps/tile/dl-machine.h: Likewise.
15914         * sysdeps/x86_64/dl-machine.h: Likewise.
15916         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15917         code.
15918         (verify_persistent_db): Likewise.
15920 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15923         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15925         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15927         Moved ...
15928         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15929         ... here.
15930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15931         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15933         Identical file removed.
15934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15935         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15937         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15939         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15941         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15943         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15945         Moved ...
15946         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15948         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15950         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15952         Moved ...
15953         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15955         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15957         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15959         Identical file removed.
15960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15961         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15963         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15965         Moved ...
15966         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15967         ... here.
15968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15969         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15971         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15973         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15975         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15977         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15979         Moved ...
15980         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15982         Moved ...
15983         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15985         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15987         Moved ...
15988         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15990         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15992         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15993         folded into ...
15994         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15995         * sysdeps/unix/sysv/linux/s390/Versions
15996         (libpthread: GLIBC_2.19): New version set.
15997         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15998         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15999         (librt: GLIBC_2.3.3): New version set.
16000         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16001         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16002         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16003         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16004         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16005         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16006         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16007         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16008         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16009         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16010         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16011         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16012         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16013         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16014         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16015         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16016         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16017         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16018         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16019         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16020         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16021         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16022         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16023         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16024         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16025         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16026         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16027         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16028         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16029         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16030         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16031         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16032         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16033         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16034         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16035         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16036         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16037         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16038         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16039         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16040         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16041         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16042         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16043         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16044         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16046         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16047         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16048         (__libc_vfork): Define the function under this name.
16049         [!NOT_IN_libc] (__vfork): Make this an alias.
16050         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16051         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16052         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16053         (__libc_vfork): Define the function under this name.
16054         [!NOT_IN_libc] (__vfork): Make this an alias.
16055         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16056         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16057         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16059         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16060         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16062         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16063         code that was previously under [RESET_PID].
16064         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16065         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16066         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16068         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16069         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16070         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16071         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16072         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16073         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16074         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16075         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16076         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16077         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16078         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16079         Moved ...
16080         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16081         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16082         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16083         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16084         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16085         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16086         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16087         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16088         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16089         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16090         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16091         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16092         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16093         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16094         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16095         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16096         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16097         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16098         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16099         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16100         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16101         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16102         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16103         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16104         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16105         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16106         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16107         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16108         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16110 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16112         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16113         that was previously under [RESET_PID].
16114         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16116 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16118         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16119         not undefine and redefine.
16120         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16121         [O_CLOEXEC]: Make code unconditional.
16122         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16123         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16124         <kernel-features.h>.
16125         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16126         conditional variable definition.
16127         (shm_open) [O_CLOEXEC]: Make code unconditional.
16128         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16129         code.
16131         * configure.ac (USE_REGPARMS): Don't define here.
16132         * configure: Regenerated.
16133         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16134         * sysdeps/i386/configure: Regenerated.
16136         * nptl/createthread.c: Don't include kernel-features.h.
16137         * nptl/pthread_cancel.c: Likewise.
16138         * nptl/pthread_condattr_setclock.c: Likewise.
16139         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16140         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16141         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16142         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16143         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16144         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16145         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16148         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16149         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16150         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16151         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16152         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16153         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16154         * nscd/gai.c: Likewise.
16155         * nss/nss_db/db-open.c: Likewise.
16156         * sysdeps/generic/ldsodefs.h: Likewise.
16157         * sysdeps/sh/nptl/tls.h: Likewise.
16158         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16159         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16160         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16161         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16162         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16163         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16164         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16165         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16166         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16167         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16168         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16169         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16170         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16171         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16172         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16173         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16174         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16175         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16176         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16177         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16178         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16180         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16181         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16182         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16183         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16184         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16185         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16186         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16187         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16188         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16189         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16190         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16191         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16192         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16193         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16194         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16195         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16196         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16197         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16198         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16199         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16200         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16201         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16202         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16203         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16204         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16205         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16206         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16207         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16208         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16209         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16210         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16211         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16212         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16213         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16215         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16238         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16239         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16240         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16241         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16242         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16243         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16244         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16245         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16246         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16247         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16248         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16249         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16250         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16251         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16252         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16253         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16254         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16255         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16256         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16257         * sysdeps/unix/sysv/linux/system.c: Likewise.
16258         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16259         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16260         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16261         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16262         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16263         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16264         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16266         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16267         * configure: Regenerated.
16268         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16270         * configure.ac (base_machine): Do not set specially for particular
16271         machines here.
16272         * configure: Regenerated.
16273         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16274         settings from configure.ac.
16275         * sysdeps/i386/preconfigure: New file.
16276         * sysdeps/s390/preconfigure: Likewise.
16277         * sysdeps/sh/preconfigure: Likewise.
16278         * sysdeps/sparc/preconfigure: Likewise.
16280 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16282         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16283         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16284         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16285         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16286         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16287         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16288         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16289         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16290         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16291         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16292         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16293         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16294         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16295         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16296         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16297         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16298         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16299         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16300         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16302         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16303         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16304         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16305         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16306         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16307         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16308         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16309         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16310         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16311         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16312         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16313         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16314         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16315         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16316         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16317         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16318         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16319         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16320         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16321         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16322         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16323         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16324         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16325         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16326         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16327         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16328         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16329         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16330         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16331         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16332         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16333         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16334         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16335         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16336         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16337         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16338         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16339         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16342         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16344         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16346         Moved ...
16347         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16348         ... here.
16349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16350         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16352         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16354         Moved ...
16355         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16357         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16359         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16361         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16363         Moved ...
16364         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16366         Moved ...
16367         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16369         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16371         Moved ...
16372         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16374         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16376         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16378         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16380         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16382         Moved ...
16383         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16384         ... here.
16385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16386         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16388         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16390         Moved ...
16391         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16393         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16395         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16397         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16399         Moved ...
16400         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16402         Moved ...
16403         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16405         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16407         Moved ...
16408         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16410         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16412         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16414 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16416         * timezone/checktab.awk: Update from tzcode 2014e.
16417         * timezone/private.h: Likewise.
16418         * timezone/tzfile.h: Likewise.
16419         * timezone/zdump.c: Likewise.
16420         * timezone/zic.c: Likewise.
16422         * sysdeps/unix/sysv/linux/kernel-features.h
16423         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16424         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16425         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16426         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16427         Remove conditional code.
16429 2014-06-25  Will Newton  <will.newton@linaro.org>
16431         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16432         (_dl_arm_cap_flags): Add HWCAP2 values.
16433         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16434         (_DL_HWCAP_COUNT): Increase to 37.
16435         (_DL_HWCAP_LAST): New define.
16436         (_DL_HWCAP2_LAST): New define.
16437         (_dl_procinfo): Add support for printing
16438         AT_HWCAP2 entries.
16439         (_dl_string_hwcap): Use _dl_hwcap_string.
16441 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16445 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16447         * README: Do not mention ports directory.
16449         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16450         Remove macro.
16451         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16452         <kernel-features.h>.
16453         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16454         conditional variable definition.
16455         (__futimes): Update comment.
16456         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16457         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16459         [BZ #16560]
16460         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16461         arguments close to 0.
16462         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16463         Likewise.
16464         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16465         Likewise.
16466         * math/auto-libm-test-in: Add more tests of exp10.
16467         * math/auto-libm-test-out: Regenerated.
16468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16470         * sysdeps/unix/sysv/linux/kernel-features.h
16471         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16472         * sysdeps/unix/sysv/linux/readv.c: Do not include
16473         <kernel-features.h>.
16474         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16475         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16476         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16477         unconditional.
16478         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16479         conditional code.
16480         * sysdeps/unix/sysv/linux/writev.c: Do not include
16481         <kernel-features.h>.
16482         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16483         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16484         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16485         unconditional.
16486         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16487         conditional code.
16489 2014-06-25  Will Newton  <will.newton@linaro.org>
16491         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16492         comment changes throughout the file.  Remove checks
16493         for HAVE_*_H definitions that are not required.
16494         (__gen_tempname): Call abort if an unknown kind value is
16495         passed.
16497 2014-06-25  Andreas Schwab  <schwab@suse.de>
16499         [BZ #17086]
16500         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16501         scalbln, scalblnf, scalblnl in libc.
16503 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16505         [BZ #17086]
16506         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16507         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16508         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16510 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16512         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16513         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16514         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16515         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16516         Update #include.
16517         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16518         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16519         Update #include.
16520         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16521         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16522         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16523         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16524         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16525         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16526         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16527         * sysdeps/x86/bits/semaphore.h: ... here.
16528         * sysdeps/x86/nptl/elide.h: Moved ...
16529         * sysdeps/x86/elide.h: ... here.
16530         * sysdeps/x86_64/nptl/Implies: File removed.
16531         * sysdeps/i386/nptl/Implies: File removed.
16533 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16535         [BZ #16539]
16536         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16537         return the argument for normal arguments with exponent below -64.
16538         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16539         Likewise.
16540         * math/auto-libm-test-in: Add another test of expm1.
16541         * math/auto-libm-test-out: Regenerated.
16543         [BZ #16287]
16544         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16545         calling __erfcl for arguments at least 16.
16546         * math/auto-libm-test-in: Add more tests of erf.
16547         * math/auto-libm-test-out: Regenerated.
16549         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16550         individual architectures.
16551         * sysdeps/unix/sysv/linux/configure: Regenerated.
16552         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16553         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16554         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16555         (ldd_rewrite_script): Define variable.
16556         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16558         file.
16559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16560         generated file.
16561         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16562         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16563         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16564         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16565         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16566         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16567         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16568         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16570 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16572         [BZ #17084]
16573         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16574         Rename member __data.d to __data.__elision_data.
16576 2014-06-24  Wilco  <wdijkstr@arm.com>
16578         * NEWS: Add 16918 to fixed bug list.
16580 2014-06-24  Wilco  <wdijkstr@arm.com>
16582         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16584 2014-06-24  Wilco  <wdijkstr@arm.com>
16586         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16587         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16588         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16589         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16590         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16591         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16592         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16593         Use _FPU_MASK_RM.
16595 2014-06-24  Wilco  <wdijkstr@arm.com>
16597         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16599 2014-06-24  Wilco  <wdijkstr@arm.com>
16601         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16602         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16603         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16604         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16606 2014-06-24  Wilco  <wdijkstr@arm.com>
16608         [BZ #16918]
16609         * sysdeps/arm/feupdateenv.c (feupdateenv):
16610         Rewrite to reduce FPSCR accesses and fix return value.
16612 2014-06-24  Wilco  <wdijkstr@arm.com>
16614         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16615         Optimize to avoid unnecessary FPSCR writes.
16616         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16617         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16618         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16619         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16621 2014-06-24  Wilco  <wdijkstr@arm.com>
16623         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16624         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16625         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16626         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16627         Call libc_fetestexcept_vfp.
16628         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16629         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16630         __SOFTFP__ ifdef so that they can be built for softfp.
16632 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16634         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16635         argument type signed char.
16637         * Makerules (check-abi): Dump diff of symlist if the test
16638         fails.
16640 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16642         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16643         using abort.
16645         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16646         Remove unused variable ST.
16648 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16650         [BZ #16354]
16651         [BZ #17061]
16652         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16653         small arguments before calling __expm1.
16654         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16655         small arguments before calling __expm1f.
16656         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16657         small arguments before calling __expm1l.
16658         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16659         Likewise.
16660         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16661         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16662         spurious underflow for some cosh tests.
16663         * math/auto-libm-test-out: Regenerated.
16664         * sysdeps/i386/fpu/libm-test-ulps: Update.
16666         [BZ #17050]
16667         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16668         (__ieee754_y1): Set errno if return value overflows.
16669         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16670         (__ieee754_y1f): Set errno if return value overflows.
16671         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16672         (__ieee754_y1l): Set errno if return value overflows.
16673         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16674         (__ieee754_y1l): Set errno if return value overflows.
16675         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16676         * math/auto-libm-test-out: Regenerated.
16678         * math/gen-auto-libm-tests.c: Document use of
16679         ignore-zero-inf-sign.
16680         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16681         (input_flags): Add ignore-zero-inf-sign.
16682         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16683         * math/gen-libm-test.pl (generate_testfile): Handle
16684         ignore-zero-inf-sign.
16685         * math/auto-libm-test-in: Mark some cpow tests with
16686         ignore-zero-inf-sign and some with xfail-rounding.
16687         * math/auto-libm-test-out: Regenerated.
16688         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16689         * sysdeps/i386/fpu/libm-test-ulps: Update.
16690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16692         [BZ #16315]
16693         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16694         overflowing or underflowing operations take place with sign of
16695         result.
16696         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16697         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16698         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16699         (__ieee754_pow): Recompute overflowing and underflowing results in
16700         original rounding mode.
16701         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16702         (__powl_helper): Allow negative argument X and scale negated value
16703         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16704         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16705         overflowing or underflowing operations take place with sign of
16706         result.
16707         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16708         Include <math.h>.
16709         * math/auto-libm-test-in: Add more tests of pow.
16710         * math/auto-libm-test-out: Regenerated.
16711         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16712         (pow_tonearest_test_data): Remove.
16713         (pow_test_tonearest): Likewise.
16714         (pow_towardzero_test_data): Likewise.
16715         (pow_test_towardzero): Likewise.
16716         (pow_downward_test_data): Likewise.
16717         (pow_test_downward): Likewise.
16718         (pow_upward_test_data): Likewise.
16719         (pow_test_upward): Likewise.
16720         (main): Don't call removed functions.
16721         * sysdeps/i386/fpu/libm-test-ulps: Update.
16722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16724 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16727         Moved ...
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16730         Moved ...
16731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16733         Moved ...
16734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16736         Moved ...
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16739         File removed.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16741         File removed.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16743         File removed.
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16745         File removed.
16746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16747         File removed.
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16749         File removed.
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16751         File removed.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16753         File removed.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16755         File removed.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16757         File removed.
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16759         File removed.
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16761         File removed.
16762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16763         Moved ...
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16766         Moved ...
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16768         ... here.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16770         Moved ...
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16773         Moved ...
16774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16776         Moved ...
16777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16779         Moved ...
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16782         Moved ...
16783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16785         Moved ...
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16788         Moved ...
16789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16792         ... here.
16793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16794         Moved ...
16795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16797         Moved ...
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16799         ... here.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16801         Moved ...
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16803         ... here.
16804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16805         Moved ...
16806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16807         ... here.
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16809         Moved ...
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16812         Moved ...
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16817         Moved ...
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16819         ... here.
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16821         Moved ...
16822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16823         ... here.
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16825         Moved ...
16826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16828         Moved ...
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16831         Moved ...
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16834         Moved ...
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16837         Moved ...
16838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16839         ... here.
16840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16841         Moved ...
16842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16844         Moved ...
16845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16847         Moved ...
16848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16850         Moved ...
16851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16855         Moved ...
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16858         Moved ...
16859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16861         Moved ...
16862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16863         ... here.
16864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16865         Moved ...
16866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16867         ... here.
16868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16869         Moved ...
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16871         ... here.
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16873         Moved ...
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16876         Moved ...
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16879         Moved ...
16880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16882         Moved ...
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16884         ... here.
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16886         Moved ...
16887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16888         ... here.
16889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16890         Moved ...
16891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16892         ... here.
16893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16894         Moved ...
16895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16897         Moved ...
16898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16900 2014-06-23  Will Newton  <will.newton@linaro.org>
16901             Wilco  <wdijkstr@arm.com>
16903         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16904         implementation.  Include get-rounding-mode.h.
16905         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16906         [!libc_feholdsetround_noex_ctx]: Define
16907         libc_feholdsetround_noex_ctx.
16908         [!libc_feholdsetround_noexf_ctx]: Define
16909         libc_feholdsetround_noexf_ctx.
16910         [!libc_feholdsetround_noexl_ctx]: Define
16911         libc_feholdsetround_noexl_ctx.
16912         (libc_feholdsetround_ctx): New function.
16913         (libc_feresetround_ctx): New function.
16914         (libc_feholdsetround_noex_ctx): New function.
16915         (libc_feresetround_noex_ctx): New function.
16917 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16919         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16920         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16921         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16922         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16923         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16924         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16926         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16927         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16928         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16929         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16930         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16931         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16932         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16933         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16934         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16935         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16936         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16937         Moved ...
16938         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16939         ... here.
16940         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16941         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16942         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16943         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16944         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16945         Moved ...
16946         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16947         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16948         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16949         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16950         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16951         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16952         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16953         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16954         Moved ...
16955         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16956         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16957         Moved ...
16958         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16960         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16961         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16962         Moved ...
16963         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16964         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16965         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16966         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16967         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16968         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16969         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16970         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16971         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16972         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16973         Moved ...
16974         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16975         ... here.
16976         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16977         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16978         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16979         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16980         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16981         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16982         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16983         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16984         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16985         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16986         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16987         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16988         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16989         Moved ...
16990         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16991         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16992         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16993         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16994         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16995         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16996         Moved ...
16997         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16998         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16999         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17000         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17001         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17003         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17004         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17005         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17006         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17007         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17008         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17009         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17010         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17011         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17012         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17013         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17014         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17015         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17016         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17017         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17018         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17019         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17020         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17021         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17022         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17023         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17024         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17025         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17026         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17027         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17028         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17029         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17030         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17032 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17034         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17035         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17036         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17037         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17038         (IPV6_PMTUDISC_INTERFACE): Likewise.
17039         (IPV6_PMTUDISC_OMIT): Likewise.
17041 2014-06-23  Andreas Schwab  <schwab@suse.de>
17043         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17044         Remove unused errout label.
17046 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17048         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17049         macro: hardware supports Vector Crypto instructions.
17051 2014-06-23  Will Newton  <will.newton@linaro.org>
17053         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17054         rather than __builtin_expect.
17056         * elf/dl-lookup.c (undefined_msg): Remove variable.
17057         (_dl_lookup_symbol_x): Replace undefined_msg with string
17058         literal.
17060         * elf/dl-lookup.c (do_lookup_unique): New function.
17061         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17062         to a separate function.
17064 2014-06-23  Andreas Schwab  <schwab@suse.de>
17066         [BZ #17079]
17067         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17068         before reading the next line.
17070 2014-06-23  Will Newton  <will.newton@linaro.org>
17072         * test-skeleton.c (signal_handler): Use printf and %m
17073         rather than perror.  Use printf rather than fprintf to
17074         stderr.  Use puts rather than fputs to stderr.
17075         (main): Likewise.
17077 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17079         * nscd/nscd.c (thread_info_t): Remove typedef.
17080         (thread_info): Remove variable.
17082 2014-06-21  Allan McRae  <allan@archlinux.org>
17084         * NEWS: Mention CVE-2014-4043.
17086 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17088         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17089         * nptl/smp.h: ... here.
17091         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17093         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17094         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17095         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17096         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17098         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17099         * nptl/stack-aliasing.h: New file.
17100         * sysdeps/i386/i686/stack-aliasing.h: New file.
17101         * sysdeps/i386/i686/nptl/Makefile: File removed.
17102         * sysdeps/x86_64/stack-aliasing.h: New file.
17103         * sysdeps/x86_64/nptl/Makefile
17104         (CFLAGS-pthread_create.c): Variable removed.
17106         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17107         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17108         old file.
17109         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17110         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17111         old file.
17113 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17115         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17116         (__ASSUME_SIGFRAME_V2): Remove macro.
17117         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17118         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17119         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17120         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17121         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17122         Declare as function.  Remove conditional macro definitions.
17123         (__default_rt_sa_restorer): Likewise.
17124         (__default_sa_restorer_v1): Remove declaration.
17125         (__default_sa_restorer_v2): Likewise.
17126         (__default_rt_sa_restorer_v1): Likewise.
17127         (__default_rt_sa_restorer_v2): Likewise.
17128         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17129         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17130         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17132 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17134         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17135         (libpthread-routines): Add sysdep.
17136         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17137         * sysdeps/unix/sysv/linux/sparc/Versions
17138         (libpthread: GLIBC_2.3.3): New version set.
17139         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17140         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17141         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17142         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17143         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17144         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17145         Moved ...
17146         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17147         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17148         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17149         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17150         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17151         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17152         * sysdeps/sparc/nptl/sem_init.c: ... here.
17153         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17154         * sysdeps/sparc/nptl/sem_post.c: ... here.
17155         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17156         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17157         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17158         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17159         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17160         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17161         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17162         (libpthread-routines): Add cpu_relax.
17163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17164         File removed.
17165         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17166         (librt: GLIBC_2.3.3): New version set.
17167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17168         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17169         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17170         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17173         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17175         Moved ...
17176         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17178         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17180         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17182         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17184         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17186         Moved ...
17187         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17188         Update #include.
17189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17190         Moved ...
17191         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17192         Update #include.
17193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17194         Moved ...
17195         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17196         Update #include.
17197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17198         Moved ...
17199         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17200         Update #include.
17201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17202         Moved ...
17203         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17204         Update #include.
17205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17206         Moved ...
17207         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17208         Update #include.
17209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17210         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17212         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17216         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17218         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17220         Moved ...
17221         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17223         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17225         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17227 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17229         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17230         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17231         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17232         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17233         * nscd/nscd.c: Likewise.
17234         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17235         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17236         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17237         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17239         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17240         <kernel-features.h>.
17241         (init_mq_netlink): Remove conditional have_sock_cloexec
17242         definitions.  Remove code conditional on have_sock_cloexec < 0.
17243         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17244         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17245         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17246         <kernel-features.h>.
17247         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17248         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17250 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17253         Add tests for memset_chk and memset.
17255         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17256         with AVX2_Usable.
17258 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17260         [BZ #16046]
17261         * elf/tst-dl-iter-static.c: New file.
17262         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17264         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17265         error.
17267 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17269         * sysdeps/unix/sysv/linux/kernel-features.h
17270         (__ASSUME_F_GETOWN_EX): Remove macro.
17271         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17272         <kernel-features.h>.
17273         (miss_F_GETOWN_EX): Remove variable or macro.
17274         (do_fcntl): Do not check miss_F_GETOWN_EX.
17275         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17277         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17278         Remove macro.
17279         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17280         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17281         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17283         * sysdeps/unix/sysv/linux/kernel-features.h
17284         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17285         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17286         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17287         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17289 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17291         [BZ #17075]
17292         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17293         Fix calculation of the symbol's value.
17294         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17295         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17296         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17297         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17298         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17299         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17300         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17301         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17302         (modules-names): Add `tst-armtlsdescmod',
17303         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17304         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17305         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17306         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17307         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17308         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17309         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17310         ($(objpfx)tst-armtlsdescloc): New dependency.
17311         ($(objpfx)tst-armtlsdescextnow): Likewise.
17312         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17313         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17314         TLS scheme support.
17315         * sysdeps/arm/configure: Regenerate.
17317 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17319         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17320         (__atfct_seterrno_2): Likewise.
17321         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17322         <kernel-features.h>.
17323         (__ASSUME_ATFCTS): Do not undefine and redefine.
17324         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17325         (__have_atfcts): Remove conditional definition.
17326         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17327         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17328         unreachable if [__ASSUME_ATFCTS].
17329         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17330         not undefine and redefine.
17331         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17332         <kernel-features.h>.
17333         (faccessat) [__NR_faccessat]: Make code unconditional.
17334         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17335         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17336         <kernel-features.h>.
17337         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17338         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17339         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17340         <kernel-features.h>.
17341         (fchownat) [__NR_fchownat]: Make code unconditional.
17342         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17343         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17344         <kernel-features.h>.
17345         (futimesat) [__NR_futimesat]: Make code unconditional.
17346         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17347         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17348         <kernel-features.h>.
17349         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17350         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17351         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17352         <kernel-features.h>.
17353         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17354         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17355         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17356         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17357         <kernel-features.h>.
17358         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17359         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17360         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17361         <kernel-features.h>.
17362         (linkat) [__NR_linkat]: Make code unconditional.
17363         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17364         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17365         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17366         <kernel-features.h>.
17367         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17368         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17369         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17370         <kernel-features.h>.
17371         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17372         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17373         * sysdeps/unix/sysv/linux/openat.c: Do not include
17374         <kernel-features.h>.
17375         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17376         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17377         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17378         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17379         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17380         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17381         <kernel-features.h>.
17382         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17383         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17384         result of INLINE_SYSCALL directly, not via int variable.
17385         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17386         <kernel-features.h>.
17387         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17388         (renameat) [__NR_renameat]: Make code unconditional.
17389         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17390         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17391         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17392         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17393         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17394         (__ASSUME_ATFCTS): Do not undefine and redefine.
17395         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17396         <kernel-features.h>.
17397         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17398         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17399         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17400         <kernel-features.h>.
17401         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17402         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17403         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17404         (__ASSUME_ATFCTS): Do not undefine and redefine.
17405         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17406         <kernel-features.h>.
17407         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17408         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17409         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17410         <kernel-features.h>.
17411         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17412         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17414 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17416         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17418 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17420         [BZ #17069]
17421         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17422         constructed tree before returning error.
17423         * posix/bug-regexp36.c: Expand test case.
17425 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17427         [BZ #6803]
17428         * math/libm-test.inc (scalbln_test_date):
17429         Add errno expectations.
17430         * math/w_scalblnf.c: New File.
17431         Add wrapper which checks for setting errno to ERANGE.
17432         Add weak_alias for corresponding scalbln function.
17433         * math/w_scalbln.c: Likewise.
17434         * math/w_scalblnl.c: Likewise.
17435         * math/Makefile (libm-calls): Add w_scalbln.
17436         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17437         Remove weak_alias for corresponding scalbln function.
17438         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17439         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17440         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17441         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17442         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17443         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17444         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17445         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17446         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17447         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17448         Remove long_double_symbol for scalblnl function in libm, libc.
17449         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17450         Add wrapper which checks for setting errno to ERANGE.
17451         Add long_double_symbol for scalblnl function in libm, libc.
17452         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17453         Remove long_double_symbol for scalblnl in libm.
17454         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17455         Add wrapper which checks for setting errno to ERANGE.
17456         Add long_double_symbol for scalblnl function in libm.
17457         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17458         Do not use wrapper because of own implementation.
17460 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17462         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17463         3 bytes for __pad1 for x32.
17464         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17466 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17467             H.J. Lu  <hongjiu.lu@intel.com>
17469         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17470         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17471         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17472         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17473         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17475 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17477         [BZ #17069]
17478         * posix/regcomp.c (parse_expression): Deallocate partially
17479         constructed tree before returning error.
17480         * posix/Makefile.c (tests): Add bug-regex36.
17481         (generated): Add bug-regex36.mtrace.
17482         (tests-special): Add $(objpfx)bug-regex36-mem.out
17483         (bug-regex36-ENV): New variable.
17484         ($(objpfx)bug-regex36-mem.out): New rule.
17485         * posix/bug-regex36.c: New file.
17487 2014-06-19  Will Newton  <will.newton@linaro.org>
17489         * malloc/malloc.c (systrim): If extra is zero then return
17490         early.
17492 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17494         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17496 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17498         * sysdeps/aarch64/strchr.S: New file.
17500 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17502         [BZ #17022]
17503         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17504         from arguments -2 or below.
17505         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17506         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17508 2014-06-18  Andreas Schwab  <schwab@suse.de>
17510         [BZ #17062]
17511         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17512         of a bracket expr not to run off the end of the string.
17513         * posix/Makefile (tests): Add tst-fnmatch3.
17514         * posix/tst-fnmatch3.c: New file.
17516 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17518         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17519         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17520         [$(cross-compiling) = no]: Likewise.
17521         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17522         [$(cross-compiling) = no]: Likewise.
17524 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17526         [BZ #17031]
17527         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17528         double, adjusted for any remainder from the high double.
17529         * math/libm-test.inc (nearbyint): Add tests.
17530         (rint): Likewise.
17532 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17534         * nptl/sysdeps/powerpc/Makefile: Moved ...
17535         * sysdeps/powerpc/nptl/Makefile: ... here.
17536         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17537         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17538         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17539         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17540         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17541         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17542         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17543         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17544         * nptl/sysdeps/powerpc/tls.h: Moved ...
17545         * sysdeps/powerpc/nptl/tls.h: ... here.
17547 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17549         [BZ #16681]
17550         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17551         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17552         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17553         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17554         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17555         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17556         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17557         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17558         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17560 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17562         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17564 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17566         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17567         defined operator.
17569         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17570         $TIMEOUTFACTOR.
17572 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17574         [BZ #17058]
17575         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17576         non-executed part of the test.
17578 2014-06-16  Andreas Schwab  <schwab@suse.de>
17580         * string/bits/string2.h (strdup, strndup): Update feature guard.
17582 2014-06-14  David S. Miller  <davem@davemloft.net>
17584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17586 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17588         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17589         that was previously under [RESET_PID].
17590         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17592         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17593         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17594         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17595         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17596         (__libc_vfork): New strong alias.
17597         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17599 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17601         * sysdeps/generic/elide.h: New file.
17603 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17605         * Makefile (installed-headers): Adjust path of pthread.h header.
17607 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17609         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17610         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17611         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17612         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17614         * nptl/sysdeps/s390/Makefile: Moved ...
17615         * sysdeps/s390/nptl/Makefile: ... here.
17616         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17617         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17618         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17619         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17620         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17621         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17622         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17623         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17624         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17625         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17626         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17627         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17628         * nptl/sysdeps/s390/tls.h: Moved ...
17629         * sysdeps/s390/nptl/tls.h: ... here.
17631         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17632         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17634 2014-06-13  David S. Miller  <davem@davemloft.net>
17636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17639         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17643         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17644         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17645         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17646         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17647         Remove RESET_PID cpp guards.
17648         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17649         Remove RESET_PID cpp guards.
17650         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17652 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17654         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17655         __sp to uintptr_t.
17657 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17659         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17660         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17661         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17662         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17663         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17664         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17665         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17666         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17667         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17668         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17669         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17670         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17671         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17672         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17673         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17674         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17675         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17676         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17677         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17678         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17680         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17681         (pthread_rwlock_rdlock): Add elision.
17682         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17683         (pthread_rwlock_wrlock): Add elision.
17684         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17685         (pthread_rwlock_trywrlock): Add elision.
17686         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17687         (pthread_rwlock_tryrdlock): Add elision.
17688         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17689         (pthread_rwlock_tryrdlock): Add elision unlock.
17690         * nptl/sysdeps/pthread/pthread.h:
17691         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17692         (PTHREAD_RWLOCK_INITIALIZER,
17693         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17694         Handle new elision field.
17695         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17696         * sysdeps/arm/nptl/bits/pthreadtypes.h
17697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17698         * sysdeps/sh/nptl/bits/pthreadtypes.h
17699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17700         * sysdeps/tile/nptl/bits/pthreadtypes.h
17701         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17702         * sysdeps/a/nptl/bits/pthreadtypes.h
17703         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17704         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17705         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17706         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17707         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17708         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17709         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17710         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17712         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17714         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17716         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17717         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17718         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17719         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17720         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17721         (elision_init): Set try_xbegin to zero when no RTM.
17722         * sysdeps/x86/nptl/bits/pthreadtypes.h
17723         (pthread_rwlock_t): Change __pad1 to __rwelision.
17724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17726 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17728         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17729         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17730         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17731         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17733 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17735         [BZ #16996]
17736         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17737         that the cached result has been set before returning it.
17739 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17741         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17742         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17743         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17744         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17745         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17746         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17748         * nptl/sysdeps/sparc/Makefile: Moved ...
17749         * sysdeps/sparc/nptl/Makefile: ... here.
17750         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17751         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17752         * nptl/sysdeps/sparc/tls.h: Moved ...
17753         * sysdeps/sparc/nptl/tls.h: ... here.
17754         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17755         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17756         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17757         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17758         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17759         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17760         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17761         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17762         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17763         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17764         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17765         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17766         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17767         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17768         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17769         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17770         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17771         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17772         Update #include.
17773         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17774         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17775         Update #include.
17776         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17777         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17778         Update #include.
17779         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17780         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17781         Update #include.
17783         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17785         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17786         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17788         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17789         (struct list_links): Type removed.
17790         (struct thread_node, struct timer_node): Replace struct list_links
17791         with struct list_head.
17792         (list_unlink_ip): Likewise.
17793         * sysdeps/pthread/timer_routines.c
17794         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17795         (list_append, list_insbefore): Likewise.
17796         (list_init): Function removed.
17797         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17798         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17799         * sysdeps/pthread/Makefile: ... here, new file.
17801         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17802         * sysdeps/nptl/Implies: ... here.
17803         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17804         * nptl/sysdeps/pthread/list.h: Moved ...
17805         * include/list.h: ... here.
17806         * nptl/sysdeps/pthread/createthread.c: Moved ...
17807         * nptl/createthread.c: ... here.
17808         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17809         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17810         * nptl/pt-longjmp.c: ... here.
17811         * nptl/sysdeps/pthread/Makefile: Moved ...
17812         * sysdeps/nptl/Makefile: ... here.
17813         * nptl/sysdeps/pthread/Subdirs: Moved ...
17814         * sysdeps/nptl/Subdirs: ... here.
17815         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17816         * sysdeps/nptl/aio_misc.h: ... here.
17817         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17818         * sysdeps/nptl/bits/libc-lock.h: ... here.
17819         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17820         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17821         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17822         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17823         * nptl/sysdeps/pthread/configure: Moved ...
17824         * sysdeps/nptl/configure: ... here.
17825         * nptl/sysdeps/pthread/configure.ac: Moved ...
17826         * sysdeps/nptl/configure.ac: ... here.
17827         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17828         * sysdeps/nptl/gai_misc.h: ... here.
17829         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17830         * sysdeps/nptl/librt-cancellation.c: ... here.
17831         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17832         * sysdeps/nptl/malloc-machine.h: ... here.
17833         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17834         * sysdeps/nptl/pthread-functions.h: ... here.
17835         * nptl/sysdeps/pthread/pthread.h: Moved ...
17836         * sysdeps/nptl/pthread.h: ... here.
17837         * nptl/sysdeps/pthread/setxid.h: Moved ...
17838         * sysdeps/nptl/setxid.h: ... here.
17839         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17840         * sysdeps/nptl/sigfillset.c: ... here.
17841         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17842         * sysdeps/nptl/tcb-offsets.h: ... here.
17843         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17844         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17845         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17846         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17847         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17848         * sysdeps/pthread/allocalim.h: ... here.
17849         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17850         * sysdeps/pthread/bits/sigthread.h: ... here.
17851         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17852         * sysdeps/pthread/flockfile.c: ... here.
17853         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17854         * sysdeps/pthread/ftrylockfile.c: ... here.
17855         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17856         * sysdeps/pthread/funlockfile.c: ... here.
17857         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17858         * sysdeps/pthread/posix-timer.h: ... here.
17859         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17860         * sysdeps/pthread/timer_create.c: ... here.
17861         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17862         * sysdeps/pthread/timer_delete.c: ... here.
17863         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17864         * sysdeps/pthread/timer_getoverr.c: ... here.
17865         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17866         * sysdeps/pthread/timer_gettime.c: ... here.
17867         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17868         * sysdeps/pthread/timer_routines.c: ... here.
17869         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17870         * sysdeps/pthread/timer_settime.c: ... here.
17871         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17872         * sysdeps/pthread/tst-timer.c: ... here.
17873         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17874         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17876         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17877         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17879         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17880         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17881         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17882         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17883         Update #include target.
17884         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17885         * sysdeps/i386/i686/nptl/Makefile: ... here.
17886         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17887         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17888         Update #include target.
17889         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17890         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17891         * nptl/sysdeps/i386/Makefile: Moved ...
17892         * sysdeps/i386/nptl/Makefile: ... here.
17893         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17894         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17895         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17896         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17897         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17898         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17899         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17900         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17901         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17902         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17903         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17904         * nptl/sysdeps/i386/tls.h: Moved ...
17905         * sysdeps/i386/nptl/tls.h: ... here.
17907         * sysdeps/sh/Makefile [$(subdir) = csu]
17908         (gen-as-const-headers): Add tcb-offsets.sym.
17909         * nptl/sysdeps/sh/Makefile: File removed.
17910         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17911         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17912         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17913         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17914         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17915         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17916         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17917         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17918         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17919         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17920         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17921         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17922         * nptl/sysdeps/sh/tls.h: Moved ...
17923         * sysdeps/sh/nptl/tls.h: ... here.
17924         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17925         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17926         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17927         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17928         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17929         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17930         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17931         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17932         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17933         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17935         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17937         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17938         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17939         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17940         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17941         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17942         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17943         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17944         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17945         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17946         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17947         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17948         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17949         Moved ...
17950         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17951         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17952         Moved ...
17953         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17954         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17955         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17956         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17957         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17958         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17959         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17960         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17961         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17962         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17963         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17964         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17965         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17966         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17967         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17968         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17969         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17970         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17971         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17973 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17975         * posix/spawn_faction_addopen.c: Include string.h.
17977 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17979         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17980         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17981         * nptl/sysdeps/x86_64/Makefile: Moved ...
17982         * sysdeps/x86_64/nptl/Makefile: ... here.
17983         * nptl/sysdeps/x86_64/configure: Moved ...
17984         * sysdeps/x86_64/nptl/configure: ... here.
17985         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17986         * sysdeps/x86_64/nptl/configure.ac: ... here.
17987         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17988         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17989         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17990         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17991         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17992         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17993         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17994         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17995         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17996         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17997         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17998         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17999         * nptl/sysdeps/x86_64/tls.h: Moved ...
18000         * sysdeps/x86_64/nptl/tls.h: ... here.
18001         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18002         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18003         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18004         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18006         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18008 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18012 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18014         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18015         type.
18016         [POSIX] (off_t): Likewise.
18017         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18018         [POSIX] (S_ISBLK): Require macro.
18019         [POSIX] (S_ISCHR): Likewise.
18020         [POSIX] (S_ISDIR): Likewise.
18021         [POSIX] (S_ISFIFO): Likewise.
18022         [POSIX] (S_ISREG): Likewise.
18023         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18024         optional-macro.
18025         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18026         type.
18027         [POSIX] (time_t): Likewise.
18028         [POSIX] (timer_t): Likewise.
18030 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18032         [BZ #17048]
18033         * posix/spawn_int.h (struct __spawn_action): Make the path string
18034         non-const to support deallocation.
18035         * posix/spawn_faction_addopen.c
18036         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18037         * posix/spawn_faction_destroy.c
18038         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18039         path in all spawn_do_open actions.
18040         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18041         posix_spawn_file_actions_addopen.
18043 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18045         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18046         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18047         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18048         conditional code always true.
18049         (__libc_vfork): New alias.
18051 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18053         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18054         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18056         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18058         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18059         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18061         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18062         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18064         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18065         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18067 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18069         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18070         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18071         multiarch strcmp for PPC64.
18072         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18073         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18075         multiarch optimizations.
18076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18077         (__libc_ifunc_impl_list): Likewise.
18079 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18081         * benchtests/scripts/validate_benchout.py: New script.
18082         * benchtests/Makefile (bench-func): Call it.
18083         * benchtests/scripts/benchout.schema.json: New file.
18085 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18087         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18088         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18089         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18090         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18091         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18092         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18093         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18094         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18095         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18096         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18097         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18098         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18099         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18100         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18101         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18102         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18104         Moved ...
18105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18106         ... here.
18107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18108         Moved ...
18109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18111         Moved ...
18112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18113         ... here.
18114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18115         Moved ...
18116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18117         ... here.
18118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18119         Moved ...
18120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18122         Moved ...
18123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18124         ... here.
18125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18126         Moved ...
18127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18128         ... here.
18129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18130         Moved ...
18131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18133         Moved ...
18134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18135         ... here.
18136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18137         Moved ...
18138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18139         ... here.
18140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18141         Moved ...
18142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18143         ... here.
18144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18145         Moved ...
18146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18148         Moved ...
18149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18150         ... here.
18151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18152         Moved ...
18153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18154         ... here.
18155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18156         Moved ...
18157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18158         ... here.
18159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18160         Moved ...
18161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18163         Moved ...
18164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18165         ... here.
18166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18167         Moved ...
18168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18169         ... here.
18170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18171         Moved ...
18172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18174         Moved ...
18175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18176         ... here.
18177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18178         Moved ...
18179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18181         Moved ...
18182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18184         Moved ...
18185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18186         ... here.
18187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18188         Moved ...
18189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18190         ... here.
18191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18192         Moved ...
18193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18194         ... here.
18195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18196         Moved ...
18197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18199         Moved ...
18200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18201         ... here.
18202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18203         Moved ...
18204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18205         ... here.
18206         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18207         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18208         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18209         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18210         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18211         Moved ...
18212         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18213         ... here.
18214         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18215         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18216         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18217         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18218         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18219         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18220         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18221         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18222         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18223         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18224         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18225         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18226         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18227         Moved ...
18228         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18229         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18230         Moved ...
18231         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18232         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18233         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18234         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18235         Moved ...
18236         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18238         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18239         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18240         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18241         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18242         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18244 2014-06-10  Wilco  <wdijkstr@arm.com>
18246         * math/test-fenv-return.c: New file.
18247         * math/Makefile: Add new test test-fenv-return.
18249 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18251         [BZ #17042]
18252         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18253         when x - 1 is zero.
18254         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18255         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18256         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18257         0.0L for an argument of 1.0L.
18258         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18259         Likewise.
18260         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18261         value when x - 1 is zero.
18262         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18263         * sysdeps/i386/fpu/libm-test-ulps: Update.
18264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18266 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18268         [BZ #15119]
18269         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18271 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18273         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18274         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18276 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18278         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18279         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18281         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18282         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18284         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18285         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18287         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18288         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18290         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18291         if not already defined.
18292         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18293         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18294         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18295         (TLS_INIT_TP): Use it.
18296         (TLS_DEFINE_INIT_TP): New macro.
18297         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18299 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18301         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18302         constant.
18303         [POSIX] (IXANY): Likewise.
18304         [POSIX] (OLCUC): Likewise.
18305         [POSIX || POSIX2008] (CBAUD): Do not allow.
18306         [POSIX || POSIX2008] (DEFECHO): Likewise.
18307         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18308         [POSIX || POSIX2008] (ECHOKE): Likewise.
18309         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18310         [POSIX || POSIX2008] (EXTA): Likewise.
18311         [POSIX || POSIX2008] (EXTB): Likewise.
18312         [POSIX || POSIX2008] (FLUSHO): Likewise.
18313         [POSIX || POSIX2008] (LOBLK): Likewise.
18314         [POSIX || POSIX2008] (PENDIN): Likewise.
18315         [POSIX || POSIX2008] (SWTCH): Likewise.
18316         [POSIX || POSIX2008] (VDISCARD): Likewise.
18317         [POSIX || POSIX2008] (VDSUSP): Likewise.
18318         [POSIX || POSIX2008] (VLNEXT): Likewise.
18319         [POSIX || POSIX2008] (VREPRINT): Likewise.
18320         [POSIX || POSIX2008] (VSTATUS): Likewise.
18321         [POSIX || POSIX2008] (VWERASE): Likewise.
18322         (B*): Change to B[0123456789]*.
18323         * conform/data/time.h-data [POSIX || UNIX98]
18324         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18325         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18326         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18327         [POSIX] (tm_*): Do not allow.
18329 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18331         * Makefile (install): Don't set LANGUAGE.
18332         * Makefile.in (install): Likewise.
18333         * assert/Makefile (test-assert-ENV): Remove variable.
18334         (test-assert-perr-ENV): Likewise.
18335         * elf/Makefile (neededtest4-ENV): Likewise.
18336         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18337         [$(cross-compiling) = no]: Don't set LANGUAGE.
18338         * io/ftwtest-sh (LANG): Remove variable.
18339         * libio/Makefile (tst-widetext-ENV): Likewise.
18340         * manual/install.texi (Running make install): Don't refer to
18341         environment settings for make install.
18342         * INSTALL: Regenerated.
18343         * nptl/tst-tls6.sh: Don't set LANG.
18344         * posix/globtest.sh (LANG): Remove variable.
18345         * string/Makefile (tester-ENV): Likewise.
18346         (inl-tester-ENV): Likewise.
18347         (noinl-tester-ENV): Likewise.
18348         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18349         [$(cross-compiling) = no]: Don't set LANGUAGE.
18350         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18351         without explicit environment settings.
18353 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18355         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18356         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18357         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18358         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18360 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18362         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18363         other files in the crypt directory.
18364         * crypt/crypt.c: Remove duplicate includes.
18365         * crypt/crypt-entry.c: Likewise.
18366         * crypt/crypt_util.c: Likewise.
18368 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18370         * Makeconfig (run-program-env): New variable.
18371         (run-program-prefix-before-env): Likewise.
18372         (run-program-prefix-after-env): Likewise.
18373         (run-program-prefix): Define in terms of new variables.
18374         (built-program-cmd-before-env): New variable.
18375         (built-program-cmd-after-env): Likewise.
18376         (built-program-cmd): Define in terms of new variables.
18377         (test-program-prefix-before-env): New variable.
18378         (test-program-prefix-after-env): Likewise.
18379         (test-program-prefix): Define in terms of new variables.
18380         (test-program-cmd-before-env): New variable.
18381         (test-program-cmd-after-env): Likewise.
18382         (test-program-cmd): Define in terms of new variables.
18383         * Rules (make-test-out): Use $(run-program-env).
18384         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18385         (help): Do not mention environment variables.  Mention
18386         --timeoutfactor option.
18387         (timeoutfactor): New variable.
18388         (blacklist_exports): Remove function.
18389         (exports): Remove variable.
18390         (command): Do not include ${exports}.
18391         * manual/install.texi (Configuring and compiling): Do not mention
18392         test wrappers preserving environment variables.  Mention that last
18393         assignment to a variable must take precedence.
18394         * INSTALL: Regenerated.
18395         * benchtests/Makefile (run-bench): Use $(run-program-env).
18396         * catgets/Makefile ($(objpfx)test1.cat): Use
18397         $(built-program-cmd-before-env), $(run-program-env) and
18398         $(built-program-cmd-after-env).
18399         ($(objpfx)test2.cat): Do not specify environment variables
18400         explicitly.
18401         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18402         $(run-program-env) and $(built-program-cmd-after-env).
18403         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18404         $(run-program-env) and $(test-program-cmd-after-env).
18405         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18406         explicitly.
18407         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18408         run_program_env and test_program_cmd_after_env arguments.
18409         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18410         * elf/tst-pathopt.sh: Use run_program_env argument.
18411         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18412         $(test-wrapper-env) and $(run-program-env).
18413         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18414         run_program_env arguments.
18415         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18416         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18417         $(test-program-prefix-before-env), $(run-program-env) and
18418         $(test-program-prefix-after-env).
18419         ($(objpfx)tst-gettext2.out): Likewise.
18420         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18421         run_program_env and test_program_prefix_after_env arguments.
18422         * intl/tst-gettext2.sh: Likewise.
18423         * intl/tst-gettext4.sh: Do not set environment variables
18424         explicitly.
18425         * intl/tst-gettext6.sh: Likewise.
18426         * intl/tst-translit.sh: Likewise.
18427         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18428         $(test-program-prefix-before-env), $(run-program-env) and
18429         $(test-program-prefix-after-env).
18430         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18431         run_program_env and test_program_prefix_after_env arguments.
18432         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18433         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18434         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18435         explicitly with each use of ${test_wrapper_env}.
18436         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18437         $(test-program-prefix-before-env), $(run-program-env) and
18438         $(test-program-prefix-after-env).
18439         * posix/tst-getconf.sh: Do not set environment variables
18440         explicitly.
18441         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18442         run_program_env and test_program_prefix_after_env arguments.
18443         * stdio-common/tst-printf.sh: Do not set environment variables
18444         explicitly.
18445         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18446         $(test-program-prefix-before-env), $(run-program-env) and
18447         $(test-program-prefix-after-env).
18448         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18449         run_program_env and test_program_prefix_after_env arguments.
18450         Split $test calls into $test_pre and $test.
18451         * timezone/Makefile (build-testdata): Use
18452         $(built-program-cmd-before-env), $(run-program-env) and
18453         $(built-program-cmd-after-env).
18455 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18457         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18458         strlen for non SHARED builds.
18460 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18462         * nptl/allocatestack.c (check_list): Inlined function...
18463         (__reclaim_stacks): ... here.
18465 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18467         [BZ #15698]
18468         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18469         memory overrun.
18471 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18473         * Rules (make-test-out): Include
18474         LOCPATH=$(common-objpfx)localedata in default environment.
18475         * debug/Makefile (tst-chk1-ENV): Remove variable.
18476         (tst-chk2-ENV): Likewise.
18477         (tst-chk3-ENV): Likewise.
18478         (tst-chk4-ENV): Likewise.
18479         (tst-chk5-ENV): Likewise.
18480         (tst-chk6-ENV): Likewise.
18481         (tst-lfschk1-ENV): Likewise.
18482         (tst-lfschk2-ENV): Likewise.
18483         (tst-lfschk3-ENV): Likewise.
18484         (tst-lfschk4-ENV): Likewise.
18485         (tst-lfschk5-ENV): Likewise.
18486         (tst-lfschk6-ENV): Likewise.
18487         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18488         (tst-iconv7-ENV): Likewise.
18489         * intl/Makefile (LOCPATH-ENV): Likewise.
18490         (tst-codeset-ENV): Likewise.
18491         (tst-gettext3-ENV): Likewise.
18492         (tst-gettext5-ENV): Likewise.
18493         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18494         (tst-fopenloc-ENV): Likewise.
18495         (tst-fgetws-ENV): Remove variable.
18496         (tst-ungetwc1-ENV): Likewise.
18497         (tst-ungetwc2-ENV): Likewise.
18498         (bug-ungetwc2-ENV): Likewise.
18499         (tst-swscanf-ENV): Likewise.
18500         (bug-ftell-ENV): Likewise.
18501         (tst-fgetwc-ENV): Likewise.
18502         (tst-fseek-ENV): Likewise.
18503         (tst-ftell-partial-wide-ENV): Likewise.
18504         (tst-ftell-active-handler-ENV): Likewise.
18505         (tst-ftell-append-ENV): Likewise.
18506         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18507         (tst-regexloc-ENV): Likewise.
18508         (bug-regex1-ENV): Likewise.
18509         (tst-regex-ENV): Likewise.
18510         (tst-regex2-ENV): Likewise.
18511         (bug-regex5-ENV): Likewise.
18512         (bug-regex6-ENV): Likewise.
18513         (bug-regex17-ENV): Likewise.
18514         (bug-regex18-ENV): Likewise.
18515         (bug-regex19-ENV): Likewise.
18516         (bug-regex20-ENV): Likewise.
18517         (bug-regex22-ENV): Likewise.
18518         (bug-regex23-ENV): Likewise.
18519         (bug-regex25-ENV): Likewise.
18520         (bug-regex26-ENV): Likewise.
18521         (bug-regex30-ENV): Likewise.
18522         (bug-regex32-ENV): Likewise.
18523         (bug-regex33-ENV): Likewise.
18524         (bug-regex34-ENV): Likewise.
18525         (bug-regex35-ENV): Likewise.
18526         (tst-rxspencer-ENV): Likewise.
18527         (tst-rxspencer-no-utf8-ENV): Likewise.
18528         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18529         (tst-sscanf-ENV): Likewise.
18530         (tst-swprintf-ENV): Likewise.
18531         (tst-swscanf-ENV): Likewise.
18532         (test-vfprintf-ENV): Likewise.
18533         (scanf13-ENV): Likewise.
18534         (bug14-ENV): Likewise.
18535         (tst-grouping-ENV): Likewise.
18536         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18537         (tst-strtod3-ENV): Likewise.
18538         (tst-strtod4-ENV): Likewise.
18539         (tst-strtod5-ENV): Likewise.
18540         (testmb2-ENV): Likewise./
18541         * string/Makefile (tst-strxfrm-ENV): Likewise.
18542         (tst-strxfrm2-ENV): Likewise.
18543         (bug-strcoll1-ENV): Likewise.
18544         (test-strcasecmp-ENV): Likewise.
18545         (test-strncasecmp-ENV): Likewise.
18546         * time/Makefile (tst-strptime-ENV): Likewise.
18547         (tst-ftime_l-ENV): Likewise.
18548         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18549         (tst-mbrtowc-ENV): Likewise.
18550         (tst-wcrtomb-ENV): Likewise.
18551         (tst-mbrtowc2-ENV): Likewise.
18552         (tst-c16c32-1-ENV): Likewise.
18553         (tst-mbsnrtowcs-ENV): Likewise.
18555 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18557         * manual/resource.texi (How to get information about the memory
18558         subsystem?): Fix typo.
18559         Reported by Peon de la Parra Ivan <peon@keba.com>
18561 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18563         [BZ #16882]
18564         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18565         (pthread_spin_lock): Branch out of spin loop to proper location.
18566         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18567         (pthread_spin_lock): Likewise.
18569         * nptl/tst-spin4.c: New test.
18570         * nptl/Makefile (tests): Add tst-spin4.
18572 2014-06-03  Andreas Schwab  <schwab@suse.de>
18574         [BZ #15946]
18575         * resolv/res_send.c (send_dg): Reload file descriptor after
18576         calling reopen.
18578 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18580         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18582 2014-06-03  Richard Henderson  <rth@redhat.com>
18584         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18585         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18586         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18587         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18588         in the SAVE_PID block.
18589         (__libc_vfork): New alias.
18590         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18592         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18593         child in registers, not on the stack.  Remove RESET_PID conditionals.
18594         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18596 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18598         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18600 2014-06-03  Wilco  <wdijkstr@arm.com>
18602         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18603         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18604         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18605         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18606         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18607         Likewise.
18609 2014-06-03  Wilco  <wdijkstr@arm.com>
18611         * sysdeps/aarch64/fpu/math_private.h
18612         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18613         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18614         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18615         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18616         Fix declarations.
18618 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18620         * crypt/crypt-private.h: Include ufc-crypt.h.
18621         (__b64_from_24bit): Declare extern.
18622         * crypt/crypt_util.c(__b64_from_24bit): New function.
18623         (b64t): New static const variable.
18624         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18625         (b64t): Remove variable.
18626         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18627         * crypt/sha256-crypt.c: Include crypt-private.h.
18628         (b64t): Remove variable.
18629         (__sha256_crypt_r): Remove b64_from_24bit and replace
18630         with __b64_from_24bit.
18631         * crypt/sha512-crypt.c: Likewise.
18633 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18635         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18636         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18637         Label the code __libc_vfork rather than __vfork.
18638         [!NOT_IN_libc] (vfork): Define as weak alias.
18639         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18640         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18641         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18643 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18645         * malloc/malloc.c (malloc_info): Fix format specifier for
18646         n_mmaps.
18648 2014-06-02  Wilco  <wdijkstr@arm.com>
18650         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18651         FPCR write.
18653 2014-06-02  Wilco  <wdijkstr@arm.com>
18655         [BZ #17009]
18656         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18657         Rewrite to reduce FPCR/FPSR accesses.
18659 2014-06-01  David S. Miller  <davem@davemloft.net>
18661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18663 2014-05-31  David S. Miller  <davem@davemloft.net>
18665         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18666         to occur in round to nearest mode when |x| >= 2.0
18668 2014-05-30  Richard Henderson  <rth@twiddle.net>
18670         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18671         (PSEUDO_RET_NOERRNO): Remove.
18672         (ret): Don't redefine.
18673         (ret_NOERRNO): Define in terms of ret.
18674         (ret_ERRVAL): Likewise.
18676         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18677         use of PSEUDO_RET; perform the error check directly.
18679 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18681         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18682         with __int128_t.
18684 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18686         * malloc/malloc (malloc_info): Fix formatting.
18688 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18689             Roland McGrath  <roland@hack.frob.com>
18691         * malloc/malloc (malloc_info): Also print mmapped statistics.
18693 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18695         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18696         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18698 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18700         * malloc/malloc.c (malloc_info): Inline mi_arena.
18702 2014-05-29  Richard Henderson  <rth@twiddle.net>
18704         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18705         Remove comma before expanding ASM_ARGS_##nr.
18706         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18707         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18708         of ASM_ARGS_##nr.
18709         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18710         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18711         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18712         (ASM_ARGS_1): Add leading comma.
18714         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18715         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18716         to __errno_location.
18717         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18718         Remove the expected plt for __errno_location.
18720         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18721         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18722         call to __read_tp.
18724         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18725         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18726         it and break it down.
18727         (DOCARGS_0, DOCARGS_1): Do nothing.
18728         (DOCARGS_2): Update to store into the new stack frame.
18729         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18730         (UNDOCARGS_1): Update to restore from the new stack frame.
18731         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18732         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18734         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18735         (SINGLE_THREAD_P): New parameter for result regno.
18736         (PSEUDO): Update to match; use cbz instead of beq.
18738         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18739         Use ENTRY to define the _nocancel entry point.  Share the syscall
18740         and syscall error check paths with the cancel path.
18741         (PSEUDO_END): New.
18743         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18744         whitespace; tabs before and after asm mnemonics.
18746 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18748         [BZ #15132]
18749         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18750         Call fstat64 or stat64 internally, depending on arguments passed.
18751         Replace stat buffer argument with file descriptor argument.
18752         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18753         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18754         Pass fd to __internal_statvfs instead of calling fstat64.
18755         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18756         Pass fd to __internal_statvfs64 instead of calling fstat64.
18757         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18758         Pass -1 to __internal_statvfs instead of calling stat64.
18759         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18760         Pass -1 to __internal_statvfs64 instead of calling stat64.
18762 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18764         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18765         that was previously under [RESET_PID].
18766         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18768         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18769         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18771 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18773         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18775         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18776         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18778 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18780         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18782 2014-05-27  Andreas Schwab  <schwab@suse.de>
18784         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18785         TLS_INIT_TP macro.
18786         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18787         * elf/rtld.c (init_tls, dl_main): Likewise.
18788         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18789         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18790         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18791         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18792         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18793         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18794         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18795         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18796         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18797         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18798         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18799         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18800         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18801         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18802         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18803         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18804         * sysdeps/generic/tls.h: Update description.
18806 2014-05-27  Will Newton  <will.newton@linaro.org>
18808         [BZ #16990]
18809         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18810         and restore r2 rather than just restoring.
18812 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18814         [BZ #16724]
18815         * libio/tst-ftell-append.c: New test case.
18816         * libio/Makefile (tests): Add test case.
18817         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18818         append mode.
18819         * libio/wfileops.c (do_ftell_wide): Likewise.
18821 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18825         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18826         ...
18827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18829         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18830         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18831         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18832         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18833         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18834         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18835         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18836         Moved ...
18837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18839         Moved ...
18840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18841         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18842         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18843         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18844         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18845         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18846         ...
18847         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18848         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18849         Moved ...
18850         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18851         here.
18852         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18853         ...
18854         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18855         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18856         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18858         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18859         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18860         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18861         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18864         merge into ...
18865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18867         ...
18868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18869         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18870         ...
18871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18873         Moved ...
18874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18875         here.
18876         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18877         Moved ...
18878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18879         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18880         Moved ...
18881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18884         conditional [RESET_PID].
18885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18887         removed.
18888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18889         removed.
18891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18892         <tcb-offsets.h>.
18893         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18894         (__libc_vfork): New strong alias.
18895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18896         removed.
18897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18898         Removed.
18900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18901         <tcb-offsets.h>.
18902         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18903         (__libc_vfork): New strong alias.
18904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18905         removed.
18906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18907         removed.
18909 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18911         * malloc/malloc.c (mi_arena): New function.
18912         (malloc_info): Remove nested function mi_arena. Call non-nosted
18913         function mi_arena.
18915 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18917         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18918         by insrwi.
18919         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18920         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18921         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18922         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18923         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18924         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18925         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18927 2014-05-26  Andreas Schwab  <schwab@suse.de>
18929         [BZ #16984]
18930         * locale/programs/repertoire.c (repertoire_read): Add slash
18931         between I18NPATH element and file name.
18932         * locale/programs/locfile.c (locfile_read): Likewise.
18934 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18936         * nptl/pthread_mutexattr_settype.c
18937         (__pthread_mutexattr_settype):
18938         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18940 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18942         * nptl/tst-mutex5 (do_test):
18943         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18945 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18947         * benchtests/README: Document 'init' directive.
18948         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18949         BENCH_INIT.
18950         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18951         (parse_file): Recognize 'init' directive.
18953 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18955         [BZ #16796]
18956         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18957         alignment of struct pthread.
18959 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18961         [BZ #16878]
18962         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18963         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18964         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18965         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18967 2014-05-25  Richard Henderson  <rth@twiddle.net>
18969         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18970         (SINGLE_THREAD_P_PIC): Remove.
18971         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18972         (SINGLE_THREAD_P_PIC): Remove.
18974         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18975         branch to syscall error ...
18976         (PSEUDO): ... here.
18977         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18978         from __local_syscall_error to .Lsyscall_error.
18979         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18980         (SYSCALL_ERROR): Update label name.
18982         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18983         Do not use DOARGS/UNDOARGS.
18984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18985         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18986         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18987         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18988         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18991         block comment.
18993         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18994         define if !NOT_IN_libc.
18995         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18996         define with non-default symbol versions.
18998 2014-05-23  Richard Henderson  <rth@twiddle.net>
19000         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19001         (vfork, __vfork): Define via compat_symbol.
19003         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19004         [!HAVE_IFUNC] (vfork_compat): Remove.
19005         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19007 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19009         [BZ #16978]
19010         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19011         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19012         variable.
19014 2014-05-23  Richard Henderson  <rth@twiddle.net>
19016         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19017         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19018         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19019         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19021         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19022         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19023         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19024         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19025         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19026         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19027         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19028         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19029         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19030         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19031         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19032         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19033         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19034         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19035         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19036         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19037         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19038         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19039         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19040         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19041         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19042         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19043         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19044         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19045         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19046         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19047         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19048         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19049         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19050         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19051         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19052         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19053         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19054         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19055         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19056         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19057         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19058         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19059         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19060         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19061         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19062         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19063         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19064         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19065         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19066         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19067         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19068         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19069         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19070         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19071         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19072         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19073         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19074         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19075         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19076         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19078         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19079         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19080         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19081         before exiting on error.
19082         (__libc_vfork): New strong alias.
19083         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19084         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19086         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19087         that was previously under [RESET_PID].
19088         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19090         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19092 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19094         [BZ #16977]
19095         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19096         value when x - 1 is zero.
19097         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19098         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19099         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19100         0.0L for an argument of 1.0L.
19101         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19102         Likewise.
19103         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19104         value when x - 1 is zero.
19105         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19106         * sysdeps/i386/fpu/libm-test-ulps: Update.
19107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19109 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19111         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19112         alphasort and versionsort.
19114 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19116         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19117         macro.
19118         [copysignf]: Likewise.
19120 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19122         * crypt/md5-crypt.c: Fix formatting.
19124 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19126         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19127         (b64_from_24bit): New function.
19129 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19131         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19132         libc_hidden_builtin_def to ifunc.
19133         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19134         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19136 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19138         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19139         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19141 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19143         * nscd/Depend (linuxthreads): Remove.
19144         (nptl): Add.
19145         * resolv/Depend (linuxthreads): Remove.
19146         * rt/Depend (linuxthreads): Remove.
19148         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19149         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19150         $(common-objpfx)elf/.
19151         (link-libc-before-gnulib): Likewise.
19152         (elfobjdir): Remove variable.
19153         * Makefile (install): Use $(elf-objpfx) instead of
19154         $(common-objpfx)elf/.
19155         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19156         $(elfobjdir)/.
19157         (link-libc-deps): Likewise.
19158         ($(common-objpfx)libc.so): Likewise.
19159         ($(common-objpfx)linkobj/libc.so): Likewise.
19160         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19161         instead of $(common-objpfx)elf/.
19162         (symbolic-link-list): Likewise.
19163         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19164         [$(cross-compiling) = no]: Likewise.
19165         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19166         $(elfobjdir)/.
19167         (static-gnulib-arch): Likewise.
19168         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19169         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19170         $(common-objpfx)elf/.
19172 2014-05-21  Richard Henderson  <rth@redhat.com>
19174         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19175         (SINGLE_THREAD_P): Use the correct width load.  Fold
19176         into the ldr offset.
19178         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19179         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19181 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19183         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19184         (libgcc_s_resume): Use __attribute_used__.
19185         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19186         Likewise.
19188 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19190         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19191         optimization when used with float constants.
19193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19195 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19197         [BZ #16915]
19198         * locale/nl_langinfo_l.c: Make direct reference to every
19199         _nl_current_CATEGORY symbol.
19200         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19201         (tests-static): Add tst-langinfo-static.
19202         (tests-special): Add tst-langinfo-static.out.
19203         ($(objpfx)tst-langinfo.out): Redirect output.
19204         ($(objpfx)tst-langinfo-static.out): New.
19205         * localedata/tst-langinfo.sh: Send output to stdout.
19206         * localedata/tst-langinfo-static.c: New file.
19208         [BZ #16965]
19209         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19210         when the shift amount is modulo the limb size.
19212 2014-05-20  Richard Henderson  <rth@redhat.com>
19214         [BZ #16967]
19215         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19216         Change type of sa_flags from unsigned int to int.
19218         [BZ #16966]
19219         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19221         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19223 2014-05-20  Will Newton  <will.newton@linaro.org>
19225         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19226         Test the return value of the system call in the nocancel case.
19228 2014-05-20  Will Newton  <will.newton@linaro.org>
19229             Yvan Roux  <yvan.roux@linaro.org>
19231         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19232         #include of asm/ptrace.h.
19233         (PTRACE_GET_THREAD_AREA): Remove #undef.
19234         (PTRACE_GETHBPREGS): Likewise.
19235         (PTRACE_SETHBPREGS): Likewise.
19236         (struct user_regs_struct): New structure.
19237         (struct user_fpsimd_struct): New structure.
19238         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19239         #include of asm/ptrace.h and second #include of sys/user.h.
19240         (PTRACE_GET_THREAD_AREA): Remove #undef.
19241         (PTRACE_GETHBPREGS): Likewise.
19242         (PTRACE_SETHBPREGS): Likewise.
19243         (ELF_NGREG): Use new struct user_regs_struct.
19244         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19246 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19248         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19249         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19251 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19253         [BZ #16958]
19254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19255         membar to avoid block loads/stores to overlap previous stores.
19257 2014-05-17  Richard Henderson  <rth@redhat.com>
19259         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19260         Create the __##syscall_name##_nocancel entry point.
19261         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19262         Remove; let the sysdep-cancel.h code create it.
19264 2014-05-17  David S. Miller  <davem@davemloft.net>
19266         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19267         Protect with __USE_GNU.
19268         (TIOCSET_TEMPT): Likewise.
19269         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19270         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19271         these are already provided in bits/ioctl-types.h
19273 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19275         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19276         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19278         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19279         Use wait4 regardless of [__NR_waitpid].
19281 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19283         PR libgcc/60166
19284         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19285         (_FP_NANSIGN_Q): Set the quiet bit.
19287 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19289         * benchtests/Makefile
19290         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19291         not $(common-objpfx)math/libm.so.
19292         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19293         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19294         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19295         $(common-objpfx)dlfcn/libdl.so.
19296         ($(objpfx)tst-audit8): Depend on $(libm), not
19297         $(common-objpfx)math/libm.so.
19298         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19299         not $(common-objpfx)dlfcn/libdl.so.
19300         * math/Makefile
19301         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19302         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19303         [$(build-shared) = yes].
19304         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19305         $(common-objpfx)nptl/libpthread.so.
19306         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19307         $(common-objpfx)math/libm.so$(libm.so-version) or
19308         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19309         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19310         $(common-objpfx)dlfcn/libdl.so.
19311         * setjmp/Makefile (link-libm): Remove variable.
19312         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19313         * stdio-common/Makefile (link-libm): Remove variable.
19314         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19315         * stdlib/Makefile (link-libm): Remove variable.
19316         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19317         ($(objpfx)tst-strtod-round): Likewise.
19318         ($(objpfx)tst-tininess): Likewise.
19319         ($(objpfx)tst-strtod-underflow): Likewise.
19320         ($(objpfx)tst-strtod6): Likewise.
19321         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19322         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19323         $(common-objpfx)dlfcn/libdl.so.
19325 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19327         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19328         BSD terminal modes definitions.
19330 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19332         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19333         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19335         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19336         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19337         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19338         Don't do #include_next.
19339         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19340         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19341         Don't do #include_next.
19342         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19343         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19344         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19345         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19347 2014-05-16  Allan McRae  <allan@archlinux.org>
19349         * po/sv.po: Update Swedish translation from translation project.
19351         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19352         in sed expression.
19354 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19356         [BZ #16917]
19357         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19358         errno if the TIOCGPTN ioctl fails with an error different than
19359         EINVAL.
19360         * login/tst-ptsname.c: New file.
19361         * login/Makefile (tests): Add tst-ptsname.
19363         [BZ #16943]
19364         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19365         and prlimit64.
19367 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19369         [BZ #16849]
19370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19371         herrno to return EAI_AGAIN.
19373 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19375         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19376         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19377         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19378         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19379         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19380         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19381         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19382         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19383         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19384         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19385         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19386         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19387         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19388         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19389         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19390         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19391         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19392         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19393         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19394         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19395         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19396         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19397         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19398         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19399         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19400         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19401         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19402         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19403         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19404         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19406         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19408         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19410         Moved ...
19411         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19413         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19415         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19417         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19419         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19421         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19423         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19425         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19427         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19429         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19431         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19433         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19435         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19437         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19439         Moved ...
19440         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19442         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19444         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19446         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19448         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19450         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19452         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19454         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19456         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19458         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19460         Moved ...
19461         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19463         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19465         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19466         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19467         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19468         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19469         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19470         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19471         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19472         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19473         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19474         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19475         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19476         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19477         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19478         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19479         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19480         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19481         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19482         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19483         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19484         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19485         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19486         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19487         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19488         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19489         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19490         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19491         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19492         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19493         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19494         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19495         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19497         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19498         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19500         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19501         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19502         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19503         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19504         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19505         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19506         Moved ...
19507         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19508         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19509         Moved ...
19510         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19511         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19512         Moved ...
19513         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19514         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19515         Moved ...
19516         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19517         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19518         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19519         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19520         Moved ...
19521         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19522         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19523         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19524         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19525         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19526         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19527         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19528         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19529         Moved ...
19530         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19531         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19532         Moved ...
19533         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19534         ... here.
19535         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19536         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19537         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19538         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19539         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19540         Moved ...
19541         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19542         ... here.
19543         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19544         Moved ...
19545         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19546         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19547         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19548         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19549         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19550         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19551         Moved ...
19552         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19553         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19554         Moved ...
19555         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19556         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19557         Moved ...
19558         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19559         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19560         Moved ...
19561         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19562         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19563         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19564         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19565         Moved ...
19566         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19567         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19568         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19569         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19570         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19571         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19572         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19573         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19574         Moved ...
19575         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19576         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19577         Moved ...
19578         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19579         ... here.
19580         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19581         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19582         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19583         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19584         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19585         Moved ...
19586         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19587         ... here.
19588         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19589         Moved ...
19590         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19591         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19592         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19593         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19594         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19595         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19596         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19597         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19598         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19599         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19600         Moved ...
19601         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19602         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19603         Moved ...
19604         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19605         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19606         Moved ...
19607         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19608         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19609         Moved ...
19610         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19611         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19612         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19613         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19614         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19615         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19616         Moved ...
19617         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19618         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19619         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19620         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19621         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19622         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19623         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19624         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19625         Moved ...
19626         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19627         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19628         Moved ...
19629         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19630         ... here.
19631         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19632         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19633         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19634         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19635         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19636         Moved ...
19637         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19638         ... here.
19639         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19640         Moved ...
19641         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19642         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19643         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19644         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19645         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19646         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19647         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19648         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19649         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19650         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19651         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19653         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19654         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19656         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19657         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19659         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19660         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19661         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19662         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19663         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19664         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19665         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19666         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19667         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19668         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19669         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19670         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19671         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19672         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19673         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19674         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19675         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19676         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19677         Moved ...
19678         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19679         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19680         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19681         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19682         Moved ...
19683         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19685         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19686         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19687         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19688         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19689         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19690         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19691         Moved ...
19692         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19693         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19694         Moved ...
19695         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19696         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19697         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19698         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19699         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19700         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19701         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19702         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19703         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19704         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19705         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19706         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19707         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19708         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19709         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19710         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19711         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19713         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19714         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19715         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19716         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19717         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19719         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19720         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19721         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19722         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19723         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19724         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19725         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19726         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19727         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19728         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19730         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19731         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19733         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19734         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19735         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19736         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19737         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19738         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19739         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19740         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19741         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19742         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19743         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19744         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19745         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19746         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19748         Update #include.
19749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19750         Likewise.
19751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19752         Likewise.
19753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19754         Likewise.
19755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19756         Likewise.
19757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19758         Likewise.
19759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19760         Likewise.
19761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19762         Likewise.
19763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19764         Likewise.
19765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19766         Likewise.
19767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19768         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19769         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19772         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19773         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19774         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19775         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19776         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19777         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19778         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19779         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19780         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19781         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19783         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19784         that was previously under [RESET_PID].
19785         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19786         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19787         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19789         * sysdeps/i386/nptl/Implies: New file.
19790         * sysdeps/x86_64/nptl/Implies: New file.
19791         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19792         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19793         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19794         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19796         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19797         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19798         (__libc_vfork): New strong alias.
19799         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19800         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19802         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19803         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19804         (__libc_vfork): New strong alias.
19805         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19806         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19808         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19809         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19810         (__libc_vfork): New strong alias.
19811         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19812         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19813         * nptl/pt-vfork.c: New file.
19814         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19815         (libpthread: GLIBC_2.20): New version set (empty).
19817 2014-05-14  Will Newton  <will.newton@linaro.org>
19819         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19820         rather than #if.
19822 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19824         [BZ #16564]
19825         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19826         arguments with exponent 65 or above.
19827         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19828         arguments 0x1p113L or above.
19829         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19830         to arguments 0x1p107L or above.
19831         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19832         positive arguments with exponent 65 or above.
19833         * math/auto-libm-test-in: Add more tests of log1p.
19834         * math/auto-libm-test-out: Regenerated.
19836         [BZ #16928]
19837         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19838         non-finite arguments is +0.
19839         * math/s_cacosf.c (__cacosf): Likewise.
19840         * math/s_cacosl.c (__cacosl): Likewise.
19841         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19842         * sysdeps/i386/fpu/libm-test-ulps: Update.
19843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19845         [BZ #16927]
19846         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19847         value.
19848         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19849         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19850         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19851         for explicit high bit of mantissa when testing for argument equal
19852         to 1.
19853         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19854         * sysdeps/i386/fpu/libm-test-ulps: Update.
19855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19857         [BZ #16516]
19858         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19859         (__erf): Scale by 16 instead of 8 in potentially underflowing
19860         case.  Ensure exception if result actually underflows.
19861         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19862         (__erff): Scale by 16 instead of 8 in potentially underflowing
19863         case.  Ensure exception if result actually underflows.
19864         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19865         (efx8): Remove variable.
19866         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19867         case.  Ensure exception if result actually underflows.
19868         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19869         (efx8): Remove variable.
19870         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19871         case.  Ensure exception if result actually underflows.
19872         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19873         (efx8): Remove variable.
19874         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19875         case.  Ensure exception if result actually underflows.
19876         * math/auto-libm-test-in: Add more tests of erf.
19877         * math/auto-libm-test-out: Regenerated.
19879 2014-05-14  Andreas Schwab  <schwab@suse.de>
19881         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19882         Remove code conditionalized on USE___THREAD.
19884         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19885         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19886         not definedness.
19888 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19891         Define unconditionally.
19892         (__ASSUME_O_CLOEXEC): Likewise.
19893         (__ASSUME_SOCK_CLOEXEC): Likewise.
19894         (__ASSUME_IN_NONBLOCK): Likewise.
19895         (__ASSUME_PIPE2): Likewise.
19896         (__ASSUME_EVENTFD2): Likewise.
19897         (__ASSUME_SIGNALFD4): Likewise.
19898         (__ASSUME_DUP3): Likewise.
19899         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19900         (__ASSUME_DUP3): Do not define.
19901         (__ASSUME_EVENTFD2): Likewise.
19902         (__ASSUME_IN_NONBLOCK): Likewise.
19903         (__ASSUME_O_CLOEXEC): Likewise.
19904         (__ASSUME_PIPE2): Likewise.
19905         (__ASSUME_SIGNALFD4): Likewise.
19906         (__ASSUME_SOCK_CLOEXEC): Likewise.
19907         (__ASSUME_UTIMES): Undefine.
19908         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19909         (__ASSUME_UTIMES): Do not define.
19910         (__ASSUME_O_CLOEXEC): Likewise.
19911         (__ASSUME_SOCK_CLOEXEC): Likewise.
19912         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19913         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19914         0x020621].
19915         (__ASSUME_PIPE2): Likewise.
19916         (__ASSUME_EVENTFD2): Likewise.
19917         (__ASSUME_SIGNALFD4): Likewise.
19918         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19919         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19920         Do not define.
19921         (__ASSUME_EVENTFD2): Likewise.
19922         (__ASSUME_SIGNALFD4): Likewise.
19923         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19924         (__ASSUME_32BITUIDS): Likewise.
19925         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19926         (__ASSUME_IPC64): Likewise.
19927         (__ASSUME_ST_INO_64_BIT): Likewise.
19928         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19929         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19930         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19931         (__ASSUME_UTIMES): Do not define.
19932         (__ASSUME_PSELECT): Likewise.
19933         (__ASSUME_PPOLL): Likewise.
19934         (__ASSUME_O_CLOEXEC): Likewise.
19935         (__ASSUME_SOCK_CLOEXEC): Likewise.
19936         (__ASSUME_IN_NONBLOCK): Likewise.
19937         (__ASSUME_PIPE2): Likewise.
19938         (__ASSUME_EVENTFD2): Likewise.
19939         (__ASSUME_SIGNALFD4): Likewise.
19940         (__ASSUME_DUP3): Likewise.
19941         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19942         (__ASSUME_UTIMES): Likewise.
19943         (__ASSUME_O_CLOEXEC): Likewise.
19944         (__ASSUME_SOCK_CLOEXEC): Likewise.
19945         (__ASSUME_IN_NONBLOCK): Likewise.
19946         (__ASSUME_PIPE2): Likewise.
19947         (__ASSUME_EVENTFD2): Likewise.
19948         (__ASSUME_SIGNALFD4): Likewise.
19949         (__ASSUME_DUP3): Likewise.
19950         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19951         (__ASSUME_UTIMES): Likewise.
19952         (__ASSUME_O_CLOEXEC): Likewise.
19953         (__ASSUME_SOCK_CLOEXEC): Likewise.
19954         (__ASSUME_IN_NONBLOCK): Likewise.
19955         (__ASSUME_PIPE2): Likewise.
19956         (__ASSUME_EVENTFD2): Likewise.
19957         (__ASSUME_SIGNALFD4): Likewise.
19958         (__ASSUME_DUP3): Likewise.
19959         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19960         Likewise.
19961         (__ASSUME_UTIMES): Likewise.
19962         (__ASSUME_EVENTFD2): Likewise.
19963         (__ASSUME_SIGNALFD4): Likewise.
19964         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19965         (__ASSUME_O_CLOEXEC): Likewise.
19966         (__ASSUME_SOCK_CLOEXEC): Likewise.
19967         (__ASSUME_IN_NONBLOCK): Likewise.
19968         (__ASSUME_PIPE2): Likewise.
19969         (__ASSUME_EVENTFD2): Likewise.
19970         (__ASSUME_SIGNALFD4): Likewise.
19971         (__ASSUME_DUP3): Likewise.
19972         (__ASSUME_UTIMES): Undefine.
19974         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19975         feclearexcept.  Remove symbol versioning code.
19976         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19977         symbol versioning code.
19978         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19979         symbol versioning code.
19980         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19981         feupdateenv.  Remove symbol versioning code.
19982         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19983         fegetexceptflag.  Remove symbol versioning code.
19984         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19985         fesetexceptflag.  Remove symbol versioning code.
19986         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19987         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19988         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19989         (__posix_fadvise64_l32): Remove prototype.
19990         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19991         code.
19993 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19995         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19996         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19997         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19998         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20000 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20002         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20003         current working directory
20005 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20007         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20008         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20009         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20010         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20011         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20012         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20013         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20014         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20015         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20016         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20017         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20018         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20019         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20020         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20021         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20022         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20023         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20024         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20025         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20026         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20027         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20028         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20029         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20030         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20031         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20032         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20033         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20034         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20035         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20036         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20037         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20038         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20039         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20040         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20041         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20042         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20043         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20044         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20045         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20046         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20047         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20048         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20050         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20051         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20053         * sysdeps/unix/sysv/linux/arm/Makefile
20054         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20055         Add rt-aeabi_unwind_cpp_pr1.
20056         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20057         Add nptl-aeabi_unwind_cpp_pr1.
20058         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20059         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20060         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20061         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20062         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20063         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20065         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20066         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20067         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20068         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20070         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20071         Deconditionalize the code that was previously under [RESET_PID].
20072         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20074         * sysdeps/generic/exit-thread.h: New file.
20075         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20076         * include/unistd.h (__exit_thread): Remove declaration.
20077         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20078         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20079         * csu/libc-start.c: Include <exit-thread.h>.
20080         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20081         * nptl/pthread_create.c: Include <exit-thread.h>.
20082         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20083         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20084         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20085         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20086         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20087         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20088         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20089         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20090         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20091         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20092         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20093         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20094         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20095         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20096         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20097         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20098         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20100 2014-05-13  Andreas Schwab  <schwab@suse.de>
20102         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20104 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20106         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20107         (__ASSUME_UTIMES): Do not condition on kernel version.
20108         (__ASSUME_PSELECT): Define unconditionally.
20109         (__ASSUME_PPOLL): Likewise.
20110         (__ASSUME_ATFCTS): Likewise.
20111         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20112         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20113         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20114         (__ASSUME_UTIMENSAT): Define unconditionally.
20115         (__ASSUME_PRIVATE_FUTEX): Likewise.
20116         (__ASSUME_FALLOCATE): Likewise.
20117         (__ASSUME_O_CLOEXEC): Likewise.
20118         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20119         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20120         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20121         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20122         (__ASSUME_IN_NONBLOCK): Likewise.
20123         (__ASSUME_PIPE2): Likewise.
20124         (__ASSUME_EVENTFD2): Likewise.
20125         (__ASSUME_SIGNALFD4): Likewise.
20126         (__ASSUME_DUP3): Likewise.
20127         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20128         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20129         (__ASSUME_AT_RANDOM): Likewise.
20130         (__ASSUME_PREADV): Likewise.
20131         (__ASSUME_PWRITEV): Likewise.
20132         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20133         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20134         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20135         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20136         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20137         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20138         (__ASSUME_O_CLOEXEC): Define unconditionally.
20139         (__ASSUME_PSELECT): Do not undefine conditionally.
20140         (__ASSUME_PPOLL): Likewise.
20141         (__ASSUME_ATFCTS): Likewise.
20142         (__ASSUME_SET_ROBUST_LIST): Likewise.
20143         (__ASSUME_UTIMENSAT): Likewise.
20144         (__ASSUME_FDATASYNC): Define unconditionally.
20145         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20146         (__ASSUME_SIGFRAME_V2): Likewise.
20147         )__ASSUME_EVENTFD2): Likewise.
20148         (__ASSUME_SIGNALFD4): Likewise.
20149         (__ASSUME_PSELECT): Do not undefine conditionally.
20150         (__ASSUME_PPOLL): Likewise.
20151         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20152         (__ASSUME_PSELECT): Define unconditionally.
20153         (__ASSUME_PPOLL): Likewise.
20154         (__ASSUME_O_CLOEXEC): Likewise.
20155         (__ASSUME_SOCK_CLOEXEC): Likewise.
20156         (__ASSUME_IN_NONBLOCK): Likewise.
20157         (__ASSUME_PIPE2): Likewise.
20158         (__ASSUME_EVENTFD2): Likewise.
20159         (__ASSUME_SIGNALFD4): Likewise.
20160         (__ASSUME_DUP3): Likewise.
20161         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20162         (__ASSUME_O_CLOEXEC): Likewise.
20163         (__ASSUME_SOCK_CLOEXEC): Likewise.
20164         (__ASSUME_IN_NONBLOCK): Likewise.
20165         (__ASSUME_PIPE2): Likewise.
20166         (__ASSUME_EVENTFD2): Likewise.
20167         (__ASSUME_SIGNALFD4): Likewise.
20168         (__ASSUME_DUP3): Likewise.
20169         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20170         (__ASSUME_EVENTFD2): Likewise.
20171         (__ASSUME_SIGNALFD4): Likewise.
20172         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20174 2014-05-12  Andreas Schwab  <schwab@suse.de>
20176         [BZ #16932]
20177         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20178         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20179         than maximum RPC packet size.
20180         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20181         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20182         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20183         (_nss_nis_getservbyport_r): Likewise.
20185 2014-05-12  Will Newton  <will.newton@linaro.org>
20187         * malloc/Makefile (tests): Add tst-mallopt.
20188         * malloc/tst-mallopt.c: New file.
20190 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20192         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20193         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20195 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20197         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20198         (tst-tlsmod6.so): Likewise.
20200 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20202         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20204 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20206         [BZ #16064]
20207         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20208         and <dl-procinfo.h>.
20209         (__fegetenv): Save SSE state in envp->__eip if supported.
20210         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20211         envp->__eip if supported.
20212         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20213         and <dl-procinfo.h>.
20214         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20215         __data_offset and __data_selector in environment to 0.  Set SSE
20216         state if supported.
20217         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20218         test-fenv-sse.
20219         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20220         -mfpmath=sse.
20221         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20223 2014-05-09  Will Newton  <will.newton@linaro.org>
20225         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20226         and libc_relro_required for ARM.
20227         * sysdeps/arm/preconfigure: Regenerate.
20229 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20230             Stefan Liebler  <stli@linux.vnet.ibm.com>
20232         * config.make.in (enable-lock-elision): New Makefile variable.
20233         * configure.ac: Likewise.
20234         * configure: Regenerate.
20235         * sysdeps/s390/configure.ac:
20236         Add check for gcc transactions support.
20237         * sysdeps/s390/configure: Regenerate.
20238         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20239         Build elision files if enabled.
20240         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20241         Add lock elision support for s390.
20242         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20243         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20244         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20245         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20246         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20247         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20248         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20249         Likewise.
20250         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20251         Likewise.
20252         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20253         Likewise.
20254         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20255         Likewise.
20256         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20257         (__lll_timedlock_elision, __lll_lock_elision)
20258         (__lll_unlock_elision, __lll_trylock_elision)
20259         (lll_timedlock_elision, lll_lock_elision)
20260         (lll_unlock_elision, lll_trylock_elision): Add.
20261         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20262         (pthread_mutex_t): Add lock elision support for s390.
20264 2014-05-14  Wilco  <wdijkstr@arm.com>
20266         * sysdeps/arm/fclrexcpt.c: Cleanup.
20267         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20268         * sysdeps/arm/feenablxcpt.c: Cleanup.
20269         * sysdeps/arm/fegetenv.c: Cleanup.
20270         * sysdeps/arm/fegetexcept.c: Cleanup.
20271         * sysdeps/arm/fegetround.c: Cleanup.
20272         * sysdeps/arm/feholdexcpt.c: Cleanup.
20273         * sysdeps/arm/fesetenv.c: Cleanup.
20274         * sysdeps/arm/fesetround.c: Cleanup.
20275         * sysdeps/arm/feupdateenv.c: Cleanup.
20276         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20277         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20278         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20279         * sysdeps/arm/ftestexcept.c: Cleanup.
20280         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20281         * sysdeps/arm/setfpucw.c: Cleanup.
20283 2014-05-09  Will Newton  <will.newton@linaro.org>
20285         * sysdeps/arm/armv7/strcmp.S: New file.
20286         * NEWS: Mention addition of ARMv7 optimized strcmp.
20288 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20290         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20291         look for %.ac rather than %.in.
20293         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20294         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20295         * sysdeps/mach/hurd/configure: Regenerated.
20296         * sysdeps/unix/sysv/linux/configure: Regenerated.
20298         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20300 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20302         [BZ# 16922]
20303         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20304         (LONG_SUB): Ditto.
20305         (PTR_SUB): Ditto.
20307 2014-05-07  Andreas Schwab  <schwab@suse.de>
20309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20310         when skipping over non-matching result from nscd.
20312 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20314         [BZ #16876]
20315         * nptl/sockperf.c (client): Check socket return value.
20317         [BZ #16877]
20318         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20319         nscd security class.
20321 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20323         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20324         * sysdeps/arm/unwind.h: ... here.
20326 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20328         [BZ# 16916]
20329         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20330         Define.
20332 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20334         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20335         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20336         multiarch strncpy for PPC64.
20337         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20338         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20340         multiarch optimizations.
20341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20342         (__libc_ifunc_impl_list): Likewise.
20343         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20344         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20345         multiarch stpncpy for PPC64.
20346         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20347         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20349 2014-05-06  Andreas Schwab  <schwab@suse.de>
20351         [BZ #16912]
20352         * gmon/mcount.c (_MCOUNT_DECL): Use
20353         atomic_compare_and_exchange_bool_acq instead of
20354         catomic_compare_and_exchange_bool_acq.
20356 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20358         * elf/Makefile (others, install-bin): Remove pldd.
20359         (pldd-modules): Variable removed.
20360         ($(objpfx)pldd): Target removed.
20361         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20362         (others, install-bin): Append pldd here.
20363         ($(objpfx)pldd): New target.
20365         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20366         to 0, so the first #if test emitted later doesn't see it undefined.
20367         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20368         * sysdeps/gnu/errlist.c: Regenerated.
20370 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20372         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20373         [libc_hidden_builtin_def]: Define to empty value.
20374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20375         [libc_hidden_builtin_def]: Likewise.
20376         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20377         [libc_hidden_builtin_def]: Likewise.
20378         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20379         [libc_hidden_builtin_def]: Likewise.
20380         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20381         __redirect_memcpy and define ifunc as default hidden symbol.
20382         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20383         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20385 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20387         * locale/iso-4217.def: Reintroduce XDR currency.
20389 2014-05-04  Allan McRae  <allan@archlinux.org>
20391         * po/eo.po: Update Esperanto translation from translation project.
20393 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20395         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20396         and FEATURE_INDEX_MAX to 1.
20397         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20399 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20401         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20402         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20403         * iconvdata/big5.c (ONE_DIRECTION): Define.
20404         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20405         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20406         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20407         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20408         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20409         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20410         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20411         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20412         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20413         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20414         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20415         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20416         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20417         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20418         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20419         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20420         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20421         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20422         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20423         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20424         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20425         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20426         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20427         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20428         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20429         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20430         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20431         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20432         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20433         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20434         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20435         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20436         * iconvdata/johab.c (ONE_DIRECTION): Define.
20437         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20438         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20439         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20440         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20441         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20442         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20443         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20444         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20445         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20446         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20448 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20450         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20451         (_IO_JUMPS_OFFSET): Define to 0.
20453         * nptl/sysdeps/pthread/bits/libc-lock.h
20454         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20455         (__libc_lock_define_initialized_recursive): Always define using
20456         initializer.  Modern compilers treat uninitialized (implicit zero) and
20457         explicit zero initializers the same (i.e. put the datum in bss).
20459 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20461         * nscd/nscd-client.h: Include <string.h>.
20463 2014-05-01  David S. Miller  <davem@davemloft.net>
20465         [BZ #16885]
20466         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20467         multiple zero bytes exist at the end of a string.
20468         Reported by Aurelien Jarno <aurelien@aurel32.net>
20470         * string/test-strcmp.c (check): Add explicit test for situations where
20471         there are multiple zero bytes after the first.
20473 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20475         [BZ #16890]
20476         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20477         when compiling wprintf.
20478         * stdio-common/tstdiomisc.c (t3): New function.
20479         (main): Call it.
20481 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20483         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20484         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20485         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20486         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20488 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20490         * stdlib/longlong.h: Updated from GCC.
20492 2014-05-01  Will Newton  <will.newton@linaro.org>
20493             Bernard Ogden  <bernie.ogden@linaro.org>
20495         * NEWS: Update fixed bug list.
20497         [BZ #15119]
20498         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20500 2014-04-30  David S. Miller  <davem@davemloft.net>
20502         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20503         (libc_feholdexcept_setround_sparc_ctx): New function.
20504         (libc_fesetenv_sparc_ctx): Likewise.
20505         (libc_feupdateenv_sparc_ctx): Likewise.
20506         (libc_feholdsetround_sparc_ctx): Likewise.
20507         (libc_feholdexcept_setround_ctx): Define.
20508         (libc_feholdexcept_setroundf_ctx): Likewise.
20509         (libc_feholdexcept_setroundl_ctx): Likewise.
20510         (libc_fesetenv_ctx): Likewise.
20511         (libc_fesetenvf_ctx): Likewise.
20512         (libc_fesetenvl_ctx): Likewise.
20513         (libc_feupdateenv_ctx): Likewise.
20514         (libc_feupdateenvf_ctx): Likewise.
20515         (libc_feupdateenvl_ctx): Likewise.
20516         (libc_feresetround_ctx): Likewise.
20517         (libc_feresetroundf_ctx): Likewise.
20518         (libc_feresetroundl_ctx): Likewise.
20519         (libc_feholdsetround_ctx): Likewise.
20520         (libc_feholdsetroundf_ctx): Likewise.
20521         (libc_feholdsetroundl_ctx): Likewise.
20523         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20524         with __USE_GNU instead of XOPEN cpp guards.
20526         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20527         0.
20529         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20530         with XOPEN cpp guards.
20532 2014-04-30  Julian Brown  <julian@codesourcery.com>
20534         [BZ #16888]
20535         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20536         handling.
20538 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20540         [BZ #9894]
20541         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20542         Change to 2.6.32.
20543         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20544         * sysdeps/unix/sysv/linux/configure: Regenerated.
20545         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20546         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20547         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20548         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20549         * README: Update reference to required Linux kernel version.
20550         * manual/install.texi (Linux): Update reference to required Linux
20551         kernel headers version.
20552         * INSTALL: Regenerated.
20554         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20555         header inclusion.
20556         [POSIX] (limits.h): Likewise.
20557         [POSIX] (math.h): Likewise.
20558         [POSIX] (sys/wait.h): Likewise.
20559         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20560         function.
20561         [POSIX] (stddef.h): Do not allow header inclusion.
20563 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20565         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20567 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20569         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20570         Return immediately after lll_futex_wake.
20572 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20574         [BZ #16791]
20575         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20576         structure.
20577         (datahead_init_pos): Call datahead_init_common early.
20578         (datahead_init_neg): Likewise.
20580         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20581         datahead_init_neg): New functions.
20582         * nscd/aicache.c (addhstaiX): Use them.
20583         * nscd/grpcache.c (cache_addgr): Likewise.
20584         * nscd/hstcache.c (cache_addhst): Likewise.
20585         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20586         * nscd/netgroupcache.c (do_notfound): Likewise.
20587         (addgetnetgrentX): Likewise.
20588         (addinnetgrX): Likewise.
20589         * nscd/pwdcache.c (cache_addpw): Likewise.
20590         * nscd/servicescache.c (cache_addserv): Likewise.
20592 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20593             Atsushi Onoe  <atsushi@onoe.org>
20595         [BZ #14308]
20596         [BZ #12994]
20597         [BZ #13651]
20598         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20599         one response is valid.
20600         * resolv/res_send.c (send_dg): Check for validity of other
20601         response if the current response is a referral.
20603 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20605         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20607 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20609         [BZ #16823]
20610         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20611         Always divide by positive zero when computing -Inf result.
20612         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20613         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20615 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20617         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20618         FPSCR if value do not change.
20619         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20620         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20621         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20622         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20623         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20624         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20625         function.
20627 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20629         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20630         * sysdeps/unix/sysv/linux/hppa: Move directory from
20631         ports/systeps/unix/sysv/linux/hppa.
20632         * README: Update listing for hppa-*-linux-gnu.
20634 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20636         [BZ #16754]
20637         * manual/stdio.texi (Hook functions): Fix types of stream hook
20638         functions.
20639         [BZ #16854]
20640         * socket/sys/socket.h: Fix typo in comment.
20642 2014-04-28  Wilco  <wdijkstr@arm.com>
20644         * sysdeps/arm/fenv_private.h: New file.
20645         * sysdeps/arm/math_private.h: New file.
20646         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20648 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20650         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20651         with __int128_t.
20652         (La_x86_64_retval): Likewise.
20654 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20656         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20657         fpsr if value didn't change.
20658         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20659         to fpcr if value didn't change.
20660         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20661         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20662         fpsr or fpcr if value didn't change.
20663         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20664         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20665         fpcr if value didn't change.
20666         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20667         to fpsr if value didn't change.
20669 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20671         * nptl/tst-sem3.c: Use test-skeleton.c
20672         (main): Rename to do_test.  Use return instead of
20673         exit.
20674         * nptl/tst-sem4.c: Use test-skeleton.c
20675         (main): Rename to do_test.
20677 2014-04-22  David S. Miller  <davem@davemloft.net>
20679         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20680         (struct sigaction): New struct member __glibc_reserved0, change
20681         type of sa_flags to int.
20683 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20685         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20686         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20688 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20690         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20691         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20693 2014-04-22  Will Newton  <will.newton@linaro.org>
20694             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20696         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20697         (__longjmp): Add longjmp and longjmp_target SystemTap
20698         probes.
20699         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20700         (__sigsetjmp): Add setjmp SystemTap probe.
20702 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20704         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20705         match manual order.
20707 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20709         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20711         * sysdeps/powerpc/fpu/fenv_private.h
20712         (libc_feholdexcept_setroundl_ctx): Define to
20713         libc_feholdexcept_setround_ppc_ctx.
20714         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20715         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20716         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20717         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20719 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20721         * sysdeps/aarch64/math-tests.h: New file.
20723 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20725         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20726         New.
20727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20728         Check and set bit_AVX2_Usable.
20729         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20730         macro.
20731         (bit_AVX2): Likewise.
20732         (index_AVX2_Usable): Likewise.
20733         (CPUID_AVX2): Likewise.
20734         (HAS_AVX2): Likewise.
20736 2014-04-17  Will Newton  <will.newton@linaro.org>
20738         * manual/setjmp.texi (System V contexts): Add note that
20739         calling setcontext on a context created by a call to a
20740         signal handler is undefined.  Update text to note that
20741         setcontext from a signal handler is possible but not
20742         recommended.
20744         [BZ #16629]
20745         * stdlib/tst-setcontext.c: Include signal.h.
20746         (main): Check that the signal stack before and
20747         after swapcontext is the same.
20749         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20750         Re-implement to restore registers in user code and avoid
20751         rt_sigreturn system call.
20753 2014-04-17  Wilco  <wdijkstr@arm.com>
20755         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20756         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20757         * math/test-fenv.c: Skip exception trap tests on targets which only
20758         support non-stop mode.
20760 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20761             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20763         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20764         (libc_feholdsetround_aarch64_ctx)
20765         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20766         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20767         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20768         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20769         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20770         (libc_feresetround_noexl_ctx): Define.
20772 2014-04-16  Richard Henderson  <rth@redhat.com>
20774         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20776         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20777         unwind tables.
20779         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20780         const from the non-libc, non-ldso copy.
20782         * sysdeps/alpha/libm-test-ulps: Regenerate.
20784 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20785             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20787         * sysdeps/aarch64/fpu/math_private.h: New file.
20789 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20791         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20793 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20795         [BZ #16275]
20796         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20797         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20798         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20799         Intel MPX bound registers before _dl_profile_fixup.
20800         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20801         registers after _dl_profile_fixup.  Save and restore bound
20802         registers bnd0/bnd1 when calling _dl_call_pltexit.
20803         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20804         (LR_BND_OFFSET): Likewise.
20805         (LRV_BND0_OFFSET): Likewise.
20806         (LRV_BND1_OFFSET): Likewise.
20808 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20810         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20811         to...
20812         * sysdeps/mach/hurd/i386/tls.h: ... here.
20813         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20814         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20815         fields.
20817 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20819         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20821 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20823         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20825 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20827         [BZ #14770]
20828         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20829         * sysdeps/s390/configure: Regenerate.
20831         [BZ #16824]
20832         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20833         Set round-to-nearest internally to reduce error accumulation.
20835 2014-04-16  Alan Modra  <amodra@gmail.com>
20837         [BZ #16740]
20838         [BZ #16619]
20839         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20840         * math/libm-test.inc (frexp_test_data): Add tests.
20841         * NEWS: Update fixed bug list.
20843 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20845         * benchtests/Makefile: Depend on libraries in build directory.
20846         (bench-math): Separate out math tests.
20847         (bench-pthread): Separate out pthread tests.
20848         (bench): Include math and pthread tests.
20850 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20852         [BZ #16831]
20853         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20854         _dl_debug_initialize.
20856         * configure.ac: Remove SELinux header check.
20857         * configure: Regenerate.
20858         * nscd/selinux.c (perms): Array of const char* to permission names.
20859         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20860         default policy. Call string_to_security_class and string_to_av_perm to
20861         translate strings. Enforce default policy and call avs_has_perm with
20862         results of translated strings.
20864 2014-04-13  David S. Miller  <davem@davemloft.net>
20866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20868 2014-04-12  Allan McRae  <allan@archlinux.org>
20870         [BZ #16838]
20871         * manual/string.texi (Collation Functions): Fix qsort argument
20872         order in example.
20873         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20875 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20877         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20878         Make the test a no-op if there are no exceptions defined.
20880 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20882         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20883         enable-hardcoded-path-in-tests
20885 2014-04-11  Will Newton  <will.newton@linaro.org>
20887         * benchtests/Makefile (extra-objs): Add json-lib.o.
20888         (bench-func): Tidy up JSON output.
20889         * benchtests/bench-skeleton.c: Include json-lib.h.
20890         (main): Use JSON library functions to do output of
20891         benchmark results.
20892         * benchtests/bench-timing-type.c (main): Output the
20893         timing type simply, leaving formatting to the user.
20894         * benchtests/json-lib.c: New file.
20895         * benchtests/json-lib.h: Likewise.
20897 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20899         [BZ #15215]
20900         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20901         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20902         memory barriers.  Add comments.
20903         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20904         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20905         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20906         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20907         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20908         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20910 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20912         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20913         * sysdeps/s390/s390-64/configure.ac: ... this ...
20914         * sysdeps/s390/configure.ac: ... to here.
20915         * sysdeps/s390/s390-32/configure: Delete file.
20916         * sysdeps/s390/s390-64/configure: Delete file.
20917         * sysdeps/s390/configure: Regenerate.
20919 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20921         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20923 2014-04-11  Will Newton  <will.newton@linaro.org>
20925         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20926         to zero if it is not defined elsewhere.  (mtrim): Test
20927         the value of MALLOC_DEBUG with #if rather than #ifdef.
20929 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20931         * benchtests/pthread_once-inputs: New file.
20932         * benchtests/pthread_once-source.c: New file.
20933         * benchtests/README: Update documentation.
20935 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20936             H.J. Lu  <hongjiu.lu@intel.com>
20938         [BZ #16275]
20939         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20940         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20941         * sysdeps/x86_64/configure: Regenerated.
20942         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20943         macro.
20944         (REGISTER_SAVE_RAX): Likewise.
20945         (REGISTER_SAVE_RCX): Likewise.
20946         (REGISTER_SAVE_RDX): Likewise.
20947         (REGISTER_SAVE_RSI): Likewise.
20948         (REGISTER_SAVE_RDI): Likewise.
20949         (REGISTER_SAVE_R8): Likewise.
20950         (REGISTER_SAVE_R9): Likewise.
20951         (REGISTER_SAVE_BND0): Likewise.
20952         (REGISTER_SAVE_BND1): Likewise.
20953         (REGISTER_SAVE_BND2): Likewise.
20954         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20955         bound registers when calling _dl_fixup.
20957 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20959         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20960         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20961         of its definition.
20962         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20963         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20964         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20965         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20966         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20967         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20968         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20970 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20972         [BZ #15514]
20973         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20974         pathconf(_PC_NAME_MAX).
20976 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20978         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20979         Remove macro usage.
20980         (__PTHREAD_SPINS): Move definition to ...
20981         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20982         (__PTHREAD_SPINS): ... here.
20983         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20984         (__PTHREAD_SPIN): Likewise.
20985         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20986         (__PTHREAD_SPIN): Likewise.
20987         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20988         (__PTHREAD_SPIN): Likewise.
20989         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20990         (__PTHREAD_SPIN): Likewise.
20991         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20992         (__PTHREAD_SPIN): Likewise.
20993         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20994         (__PTHREAD_SPIN): Likewise.
20995         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20996         (__PTHREAD_SPIN): Likewise.
20997         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20998         (__PTHREAD_SPIN): Likewise.
20999         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21000         (__PTHREAD_SPIN): Likewise.
21001         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21002         (__PTHREAD_SPIN): Likewise.
21003         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21004         (__PTHREAD_SPIN): Likewise.
21005         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21006         (__PTHREAD_SPIN): Likewise.
21008         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21009         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21010         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21011         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21012         imply folder.
21013         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21014         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21015         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21016         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21017         correct imply path.
21018         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21019         strlen symbol for non multi-arch builds.
21020         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21021         missing hidden_def and weak_alias.
21023 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21025         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21027 2014-04-07  Will Newton  <will.newton@linaro.org>
21029         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21030         and contents.  [!_LIBC] Remove #ifndef and contents.
21031         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21032         * string/memccpy.c (__memccpy): Use ANSI prototype.
21033         * string/memfrob.c (memfrob): Likewise.
21034         * string/strcoll.c (STRCOLL): Likewise.
21035         * string/strlen.c (strlen): Likewise.
21036         * string/strtok.c (STRTOK): Likewise.
21037         * string/strcat.c: Remove unused #include of memcopy.h.
21038         (strcat): Use ANSI prototype.
21039         * string/strchr.c: Remove unused #include of memcopy.h.
21040         (strchr): Use ANSI prototype.
21041         * string/strcmp.c: Remove unused #include of memcopy.h.
21042         (strcmp): Use ANSI prototype.
21043         * string/strcpy.c: Remove unused #include of memcopy.h.
21044         (strcpy): Use ANSI prototype.
21046 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21048         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21049         * config.make.in (config-extra-cppflags): Set it from
21050         libc_extra_cppflags.
21051         * configure.ac (libc_extra_cflags): Make it accumulate over
21052         configure fragments.
21053         (libc_extra_cppflags): New flag.
21054         * configure. Regenerate.
21055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21056         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21057         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21060         [BZ #16815]
21061         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21062         result for FE_DOWNWARD rounding mode.
21063         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21064         Likewise.
21065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21067 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21069         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21070         in function argument name.
21072 2014-04-03  David Svoboda  <svoboda@cert.org>
21074         [BZ #5666]
21075         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21076         explicitly.
21078 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21080         * elf/dl-unmap-segments.h: New file.
21081         * sysdeps/generic/ldsodefs.h
21082         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21083         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21084         * elf/dl-fptr.c: Likewise.
21085         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21086         * sysdeps/aarch64/tlsdesc.c: Likewise.
21087         * sysdeps/arm/tlsdesc.c: Likewise.
21088         * sysdeps/i386/tlsdesc.c: Likewise.
21089         * sysdeps/tile/dl-runtime.c: Likewise.
21090         * sysdeps/x86_64/tlsdesc.c: Likewise.
21091         * elf/dl-load.h: New file.
21092         * elf/dl-load.c: Include it.
21093         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21094         Macros moved to dl-load.h.
21095         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21096         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21097         Use _dl_unmap_segments in place of __munmap.
21098         Break out segment-mapping loop into ...
21099         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21101 2014-04-03  Will Newton  <will.newton@linaro.org>
21103         * elf/dl-lookup.c (do_lookup_x): Remove comment
21104         referring to nested function and move variable
21105         declarations down to before first use.
21107 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21109         [BZ #16799]
21110         [BZ #16800]
21111         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21112         with 0 numerator.
21113         * math/s_catanf.c (__catanf): Likewise.
21114         * math/s_catanh.c (__catanh): Likewise.
21115         * math/s_catanhf.c (__catanhf): Likewise.
21116         * math/s_catanhl.c (__catanhl): Likewise.
21117         * math/s_catanl.c (__catanl): Likewise.
21118         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21119         by positive zero when computing -Inf result.
21120         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21121         (catanh_test): Likewise.
21122         * sysdeps/i386/fpu/libm-test-ulps: Update.
21123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21125         [BZ #16789]
21126         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21127         instead of using underflowing value in computing result.
21128         * math/s_clog10.c (__clog10): Likewise.
21129         * math/s_clog10f.c (__clog10f): Likewise.
21130         * math/s_clog10l.c (__clog10l): Likewise.
21131         * math/s_clogf.c (__clogf): Likewise.
21132         * math/s_clogl.c (__clogl): Likewise.
21133         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21134         (clog10_test): Likewise.
21135         * sysdeps/i386/fpu/libm-test-ulps: Update.
21136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21138 2014-04-02  Alan Modra  <amodra@gmail.com>
21140         [BZ #16739]
21141         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21142         output when value is near a power of two.  Use int64_t for lx and
21143         remove casts.  Use decimal rather than hex exponent constants.
21144         Don't use long double multiplication when double will suffice.
21145         * math/libm-test.inc (nextafter_test_data): Add tests.
21146         * NEWS: Add 16739 and 16786 to bug list.
21148         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21150         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21152 2014-04-01  Will Newton  <will.newton@linaro.org>
21154         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21155         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21157 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21159         [BZ #13347]
21160         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21161         * nptl/tst-setuid2.c: New file.
21162         * nptl/Makefile (xtests): Add tst-setuid2.
21164 2014-04-01  Alan Modra  <amodra@gmail.com>
21166         [BZ #16786]
21167         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21169 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21171         [BZ #6803]
21172         [BZ #6804]
21173         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21174         set errno as appropriate.
21175         * math/w_scalbf.c (__scalbf): Likewise.
21176         * math/w_scalbl.c (__scalbl): Likewise.
21177         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21178         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21179         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21180         Add more NaN tests.
21182         [BZ #16349]
21183         * math/w_atan2.c: Include <errno.h>.
21184         (__atan2): Set errno for result underflowing to zero.
21185         * math/w_atan2f.c: Include <errno.h>.
21186         (__atan2f): Set errno for result underflowing to zero.
21187         * math/w_atan2l.c: Include <errno.h>.
21188         (__atan2l): Set errno for result underflowing to zero.
21189         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21190         tests.
21191         * math/auto-libm-test-out: Regenerated.
21193 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21195         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21196         Encode instruction correctly in little endian.
21197         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21198         Likewise.
21199         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21200         Likewise.
21201         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21202         Likewise.
21203         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21204         Likewise.
21206 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21208         [BZ #9894]
21209         * sysdeps/unix/sysv/linux/kernel-features.h
21210         [__sparc__ && !__arch64__ && !__sparc_v9__]
21211         (__ASSUME_SET_ROBUST_LIST): Do not define.
21212         [__sparc__ && !__arch64__ && !__sparc_v9__]
21213         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21214         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21215         Likewise.
21216         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21217         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21218         (__ASSUME_REQUEUE_PI): Likewise.
21219         (__ASSUME_SET_ROBUST_LIST): Likewise.
21220         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21221         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21222         Undefine.
21223         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21224         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21225         Likewise.
21226         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21227         Likewise.
21228         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21229         Likewise.
21230         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21231         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21232         Undefine.
21233         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21234         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21235         Likewise.
21237         [BZ #16648]
21238         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21239         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21240         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21242 2014-03-31  Will Newton  <will.newton@linaro.org>
21244         * benchtests/Makefile (bench): Add ffs and ffsll to list
21245         of tests.
21246         * benchtests/ffs-inputs: New file.
21247         * benchtests/ffsll-inputs: Likewise.
21249 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21251         [BZ #16770]
21252         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21253         too large before casting to int.
21254         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21255         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21256         * math/libm-test.inc (scalb_test_data): Add more tests.
21258 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21260         * benchtests/Makefile (DETAILED_OPT): New make option.
21261         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21262         set.
21263         * benchtests/bench-skeleton.c: Include stdbool.h.
21264         (main): Store and print timings per input.
21265         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21266         member to each argument value.
21267         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21268         (_print_arg_data): Initialize per-input timing to 0.
21270         * benchtests/Makefile (timing-type): New binary.
21271         (bench-clean): Also remove bench-timing-type.
21272         (bench): New target for timing-type.
21273         (bench-func): Print output in JSON format.
21274         * benchtests/bench-skeleton.c (main): Print output in JSON
21275         format.
21276         * benchtests/bench-timing-type.c: New file.
21277         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21278         (TIMING_PRINT_STATS): Remove.
21279         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21280         name separately.
21282         * benchtests/bench-modf.c: Remove.
21283         * benchtests/modf-inputs: New inputs file.
21285 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21287         [BZ #16362]
21288         * math/s_clog10.c (M_PI_LOG10E): New macro.
21289         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21290         imaginary parts are 0.
21291         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21292         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21293         imaginary parts are 0.
21294         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21295         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21296         imaginary parts are 0.
21297         * math/libm-test.inc (clog10_test_data): Update expected results
21298         for when real and imaginary parts are 0.
21300 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21302         * elf/dl-load.c: Finish conversion of __builtin_expect into
21303         __glibc_{un}likely.
21305 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21307         [BZ #16348]
21308         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21309         1+x for argument with exponent below -67.
21310         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21311         Likewise.
21312         * math/auto-libm-test-in: Add more tests of exp.
21313         * math/auto-libm-test-out: Regenerated.
21315 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21317         [BZ #16759]
21318         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21319         (nscd_getnetgrent): Use it.
21321         [BZ #16760]
21322         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21323         of stpcpy.
21325 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21327         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21328         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21329         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21330         (lll_robust_unlock): Remove out of line section. Use cfi
21331         intrinsics.
21332         (LLL_STUB_UNWIND_INFO*): Remove.
21333         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21334         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21335         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21336         (lll_robust_unlock): Remove out of line section. Use cfi
21337         intrinsics.
21338         (LLL_STUB_UNWIND_INFO*): Remove.
21340 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21342         [BZ #16758]
21343         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21344         blank values.
21346 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21348         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21350 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21352         [BZ #16198]
21353         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21354         fnstenv.
21355         * math/test-fenv-preserve.c: New file.
21356         * math/Makefile (tests): Add test-fenv-preserve.
21358 2014-03-26  Will Newton <will.newton@linaro.org>
21360         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21362 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21364         * scripts/versionlist.awk: Partition the version sets and emit all
21365         GLIBC_* (sorted) before all others (sorted).
21367 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21369         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21370         GLIBC_2.2.5 version.
21372 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21374         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21375         calls.
21377         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21378         previous change.
21380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21382 2014-03-25  Andreas Schwab  <schwab@suse.de>
21384         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21385         label to be used after in6ailist is initialized.
21387 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21389         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21390         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21392 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21394         [BZ #16357]
21395         [BZ #16599]
21396         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21397         min_plus_half.
21398         (fp_formats): Update initializers.
21399         (init_fp_formats): Initialize new field.
21400         (output_for_one_input_case): Allow underflow for results up to
21401         min_plus_half.
21402         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21403         * math/auto-libm-test-in: Don't mark some underflows from asin and
21404         atanh as spurious.
21405         * math/auto-libm-test-out: Regenerated.
21406         * sysdeps/i386/fpu/libm-test-ulps: Update.
21407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21409 2014-03-25  Andreas Schwab  <schwab@suse.de>
21411         * libio/Makefile (tst-ftell-partial-wide-ENV)
21412         (tst-ftell-active-handler-ENV): Define.
21414 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21416         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21418 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21420         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21422 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21424         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21425         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21426         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21428 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21430         [BZ #16634]
21431         * elf/dl-load.c (open_verify): Add mode parameter.
21432         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21433         (open_path): Change from boolean 'secure' to complete flag 'mode'
21434         (_dl_map_object): Adjust.
21435         * elf/Makefile (tests): Add tst-dlopen-aout.
21436         * elf/tst-dlopen-aout.c: New test.
21438 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21440         [BZ #16714]
21441         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21442         (struct stat): Rename member pad0 to __glibc_reserved0.
21444         [BZ #16712]
21445         * sysdeps/s390/s390-32/bits/wordsize.h
21446         (__WORDSIZE32_SIZE_ULONG): New define.
21447         * sysdeps/s390/s390-64/bits/wordsize.h
21448         (__WORDSIZE32_SIZE_ULONG): Likewise.
21449         * sysdeps/generic/stdint.h (SIZE_MAX):
21450         Define as UL if __WORDSIZE32_SIZE_ULONG.
21452         [BZ #16713]
21453         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21454         (__glibc_reserved0): New variable.
21455         (sa_flags): Change type to int.
21457         * posix/Makefile (before-compile): Use += before-compile instead
21458         of a :=.
21460         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21461         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21463 2014-03-20  Andreas Schwab  <schwab@suse.de>
21465         [BZ #16743]
21466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21467         non-matching result from nscd.
21469 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21471         * scripts/bench.py: Moved to ...
21472         * benchtests/scripts/bench.py: ... here.
21473         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21475 2014-03-24  Andreas Schwab  <schwab@suse.de>
21477         [BZ #16002]
21478         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21479         alloca_account and account alloca use for struct in6ailist.
21481 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21483         [BZ #16284]
21484         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21485         rounding mode to recompute results that overflow to infinity or
21486         underflow to zero.
21487         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21488         bug 16284.
21489         * math/auto-libm-test-out: Regenerated.
21490         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21491         (ccosh_test): Likewise.
21492         (csin_test_data): Use plus_oflow.
21493         (csin_test): Use ALL_RM_TEST.
21494         (csinh_test_data): Use plus_oflow.
21495         (csinh_test): Use ALL_RM_TEST.
21496         * sysdeps/i386/fpu/libm-test-ulps: Update.
21497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21499 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21501         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21502         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21503         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21505         [BZ #16731]
21506         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21507         when x - 1 is zero.
21508         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21509         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21510         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21511         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21512         argument is 1.
21513         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21514         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21515         zero.
21516         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21517         * sysdeps/i386/fpu/libm-test-ulps: Update.
21518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21520 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21522         * scripts/bench.pl: Remove file.
21523         * scripts/bench.py: New benchmark script.
21524         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21525         * benchtests/README: Mention python dependency.
21526         * scripts/pylintrc: New file.
21527         * scripts/pylint: New file.
21529         * bits/mathdef.h: Use #ifdef instead of #if.
21530         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21531         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21532         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21533         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21534         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21535         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21537 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21538             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21540         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21542         and strpbrk-ppc64 objects.
21543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21544         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21545         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21546         multiarch strpbrk for POWER7.
21547         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21548         multiarch strpbrk for PPC64.
21549         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21550         ifunc selector.
21551         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21552         strpbrk for POWER7.
21554 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21556         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21557         (atan_test): Likewise.
21558         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21559         (atanh_test): Use ALL_RM_TEST.
21560         (atan2_test_data): Likewise.
21561         (cabs_test): Likewise.
21562         (cacosh_test): Likewise.
21563         (carg_test): Likewise.
21564         (casin_test): Likewise.
21565         (casinh_test): Likewise.
21566         (cbrt_test): Likewise.
21567         (csqrt_test): Likewise.
21568         (erf_test): Likewise.
21569         (erfc_test): Likewise.
21570         (pow10_test): Likewise.
21571         (exp2_test): Likewise.
21572         (hypot_test): Likewise.
21573         (j0_test): Likewise.
21574         (j1_test): Likewise.
21575         (lgamma_test): Likewise.
21576         (gamma_test): Likewise.
21577         (sincos_test): Likewise.
21578         (tanh_test): Likewise.
21579         (y0_test): Likewise.
21580         (y1_test): Likewise.
21581         * sysdeps/i386/fpu/libm-test-ulps: Update.
21582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21584 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21586         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21588         and strcspn-ppc64 objects.
21589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21590         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21591         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21592         multiarch strcspn for POWER7.
21593         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21594         multiarch strcspn for PPC64.
21595         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21596         ifunc selector.
21597         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21598         strcspn for POWER7.
21600 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21602         * math/gen-libm-test.pl (generate_testfile): Expect only function
21603         name as argument to AUTO_TESTS_* and pass results for all rounding
21604         modes to parse_args.
21605         (parse_auto_input): Separate inputs of automatic tests from
21606         outputs before storing in %auto_tests.
21607         * math/libm-test.inc (acos_test_data): Update call to
21608         AUTO_TESTS_f_f.
21609         (acos_test): Use ALL_RM_TEST.
21610         (acos_tonearest_test_data): Remove.
21611         (acos_test_tonearest): Likewise.
21612         (acos_towardzero_test_data): Likewise.
21613         (acos_test_towardzero): Likewise.
21614         (acos_downward_test_data): Likewise.
21615         (acos_test_downward): Likewise.
21616         (acos_upward_test_data): Likewise.
21617         (acos_test_upward): Likewise.
21618         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21619         (asin_test_data): Likewise.
21620         (asin_test): Use ALL_RM_TEST.
21621         (asin_tonearest_test_data): Remove.
21622         (asin_test_tonearest): Likewise.
21623         (asin_towardzero_test_data): Likewise.
21624         (asin_test_towardzero): Likewise.
21625         (asin_downward_test_data): Likewise.
21626         (asin_test_downward): Likewise.
21627         (asin_upward_test_data): Likewise.
21628         (asin_test_upward): Likewise.
21629         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21630         (atan_test_data): Likewise.
21631         (atanh_test_data): Likewise.
21632         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21633         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21634         (carg_test_data): Likewise.
21635         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21636         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21637         (ccosh_test_data): Likewise.
21638         (cexp_test_data): Likewise.
21639         (clog_test_data): Likewise.
21640         (clog10_test_data): Likewise.
21641         (cos_test_data): Update call to AUTO_TESTS_f_f.
21642         (cos_test): Use ALL_RM_TEST.
21643         (cos_tonearest_test_data): Remove.
21644         (cos_test_tonearest): Likewise.
21645         (cos_towardzero_test_data): Likewise.
21646         (cos_test_towardzero): Likewise.
21647         (cos_downward_test_data): Likewise.
21648         (cos_test_downward): Likewise.
21649         (cos_upward_test_data): Likewise.
21650         (cos_test_upward): Likewise.
21651         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21652         (cosh_test): Use ALL_RM_TEST.
21653         (cosh_tonearest_test_data): Remove.
21654         (cosh_test_tonearest): Likewise.
21655         (cosh_towardzero_test_data): Likewise.
21656         (cosh_test_towardzero): Likewise.
21657         (cosh_downward_test_data): Likewise.
21658         (cosh_test_downward): Likewise.
21659         (cosh_upward_test_data): Likewise.
21660         (cosh_test_upward): Likewise.
21661         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21662         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21663         (ctan_test_data): Likewise.
21664         (ctan_test): Use ALL_RM_TEST.
21665         (ctan_tonearest_test_data): Remove.
21666         (ctan_test_tonearest): Likewise.
21667         (ctan_towardzero_test_data): Likewise.
21668         (ctan_test_towardzero): Likewise.
21669         (ctan_downward_test_data): Likewise.
21670         (ctan_test_downward): Likewise.
21671         (ctan_upward_test_data): Likewise.
21672         (ctan_test_upward): Likewise.
21673         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21674         (ctanh_test): Use ALL_RM_TEST.
21675         (ctanh_tonearest_test_data): Remove.
21676         (ctanh_test_tonearest): Likewise.
21677         (ctanh_towardzero_test_data): Likewise.
21678         (ctanh_test_towardzero): Likewise.
21679         (ctanh_downward_test_data): Likewise.
21680         (ctanh_test_downward): Likewise.
21681         (ctanh_upward_test_data): Likewise.
21682         (ctanh_test_upward): Likewise.
21683         (erf_test_data): Update call to AUTO_TESTS_f_f.
21684         (erfc_test_data): Likewise.
21685         (exp_test_data): Likewise.
21686         (exp_test): Use ALL_RM_TEST.
21687         (exp_tonearest_test_data): Remove.
21688         (exp_test_tonearest): Likewise.
21689         (exp_towardzero_test_data): Likewise.
21690         (exp_test_towardzero): Likewise.
21691         (exp_downward_test_data): Likewise.
21692         (exp_test_downward): Likewise.
21693         (exp_upward_test_data): Likewise.
21694         (exp_test_upward): Likewise.
21695         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21696         (exp10_test): Use ALL_RM_TEST.
21697         (exp10_tonearest_test_data): Remove.
21698         (exp10_test_tonearest): Likewise.
21699         (exp10_towardzero_test_data): Likewise.
21700         (exp10_test_towardzero): Likewise.
21701         (exp10_downward_test_data): Likewise.
21702         (exp10_test_downward): Likewise.
21703         (exp10_upward_test_data): Likewise.
21704         (exp10_test_upward): Likewise.
21705         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21706         (expm1_test_data): Likewise.
21707         (expm1_test): Use ALL_RM_TEST.
21708         (expm1_tonearest_test_data): Remove.
21709         (expm1_test_tonearest): Likewise.
21710         (expm1_towardzero_test_data): Likewise.
21711         (expm1_test_towardzero): Likewise.
21712         (expm1_downward_test_data): Likewise.
21713         (expm1_test_downward): Likewise.
21714         (expm1_upward_test_data): Likewise.
21715         (expm1_test_upward): Likewise.
21716         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21717         (fma_test): Use ALL_RM_TEST.
21718         (fma_towardzero_test_data): Remove.
21719         (fma_test_towardzero): Likewise.
21720         (fma_downward_test_data): Likewise.
21721         (fma_test_downward): Likewise.
21722         (fma_upward_test_data): Likewise.
21723         (fma_test_upward): Likewise.
21724         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21725         (j0_test_data): Update call to AUTO_TESTS_f_f.
21726         (j1_test_data): Likewise.
21727         (jn_test_data): Update call to AUTO_TESTS_if_f.
21728         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21729         (log_test_data): Update call to AUTO_TESTS_f_f.
21730         (log10_test_data): Likewise.
21731         (log1p_test_data): Likewise.
21732         (log2_test_data): Likewise.
21733         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21734         (pow_tonearest_test_data): Likewise.
21735         (sin_test_data): Update call to AUTO_TESTS_f_f.
21736         (sin_test): Use ALL_RM_TEST.
21737         (sin_tonearest_test_data): Remove.
21738         (sin_test_tonearest): Likewise.
21739         (sin_towardzero_test_data): Likewise.
21740         (sin_test_towardzero): Likewise.
21741         (sin_downward_test_data): Likewise.
21742         (sin_test_downward): Likewise.
21743         (sin_upward_test_data): Likewise.
21744         (sin_test_upward): Likewise.
21745         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21746         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21747         (sinh_test): Use ALL_RM_TEST.
21748         (sinh_tonearest_test_data): Remove.
21749         (sinh_test_tonearest): Likewise.
21750         (sinh_towardzero_test_data): Likewise.
21751         (sinh_test_towardzero): Likewise.
21752         (sinh_downward_test_data): Likewise.
21753         (sinh_test_downward): Likewise.
21754         (sinh_upward_test_data): Likewise.
21755         (sinh_test_upward): Likewise.
21756         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21757         (sqrt_test): Use ALL_RM_TEST.
21758         (sqrt_tonearest_test_data): Remove.
21759         (sqrt_test_tonearest): Likewise.
21760         (sqrt_towardzero_test_data): Likewise.
21761         (sqrt_test_towardzero): Likewise.
21762         (sqrt_downward_test_data): Likewise.
21763         (sqrt_test_downward): Likewise.
21764         (sqrt_upward_test_data): Likewise.
21765         (sqrt_test_upward): Likewise.
21766         (tan_test_data): Update call to AUTO_TESTS_f_f.
21767         (tan_test): Use ALL_RM_TEST.
21768         (tan_tonearest_test_data): Remove.
21769         (tan_test_tonearest): Likewise.
21770         (tan_towardzero_test_data): Likewise.
21771         (tan_test_towardzero): Likewise.
21772         (tan_downward_test_data): Likewise.
21773         (tan_test_downward): Likewise.
21774         (tan_upward_test_data): Likewise.
21775         (tan_test_upward): Likewise.
21776         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21777         (tgamma_test_data): Likewise.
21778         (y0_test_data): Likewise.
21779         (y1_test_data): Likewise.
21780         (yn_test_data): Update call to AUTO_TESTS_if_f.
21781         (main): Do not call removed functions.
21783 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21785         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21786         (ldexp_test_data): Remove.
21787         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21788         scalbn_test_data.
21789         (scalb_test): Use ALL_RM_TEST.
21791 2014-03-19  Andreas Schwab  <schwab@suse.de>
21793         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21795 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21797         [BZ #16649]
21798         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21799         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21800         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21802         (__ASSUME_PREADV): Undefine.
21803         (__ASSUME_PWRITEV): Likewise.
21805 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21807         * bits/mman-linux.h: Add comment about non-Linux use.
21808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21809         bits/mman-linux.h resting place.
21811         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21812         * bits/mman-linux.h: ... here.
21814 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21816         * conform/conformtest.pl: Add standard definition when calling C
21817         preprocessor on data files.
21818         (checknamespace): Remove unused variable.
21820 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21822         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21823         minus_oflow, plus_uflow and minus_uflow in expected results.
21824         * math/libm-test.inc (scalbn_test_data): Add more tests of
21825         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21826         minus_uflow.
21827         (scalbn_test): Use ALL_RM_TEST.
21828         (scalbln_test_data): Add more tests of negative arguments.  Use
21829         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21830         (scalbln_test): Use ALL_RM_TEST.
21832 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21834         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21836 2014-03-18  Will Newton  <will.newton@linaro.org>
21838         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21839         inaccurate comment.
21841 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21843         * Makerules [!subdir] (check-abi): Exit with error status if a
21844         test failed.
21846 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21848         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21849         for rint.  Include results for all rounding modes.
21850         (nearbyint_test): Use ALL_RM_TEST.
21851         (rint_test_data): Include all tests used for nearbyint.
21853 2014-03-17  Will Newton  <will.newton@linaro.org>
21855         * nptl/sysdeps/pthread/pthread.h: Revert previous
21856         change.
21858         * sysdeps/generic/ldsodefs.h: Revert previous
21859         change.
21861         * libio/genops.c: Revert previous change.
21862         * libio/libioP.h: Likewise.
21863         * stdio-common/vfprintf.c: Likewise.
21865         * sysdeps/generic/math_private.h: Revert previous
21866         change.
21868         * sysdeps/generic/math_private.h: Check whether
21869         HAVE_RM_CTX is defined with #ifdef rather
21870         than #if.
21872         * argp/argp-fmtstream.h: Check whether
21873         __STRICT_ANSI__ is defined with #ifdef rather
21874         than #if.
21875         * argp/argp.h: Likewise.
21877         * libio/genops.c: Check whether
21878         _IO_JUMPS_OFFSET is defined with #ifdef rather
21879         than #if.
21880         * libio/libioP.h: Likewise.
21881         * stdio-common/vfprintf.c: Likewise.
21883         * sysdeps/generic/ldsodefs.h: Check whether
21884         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21885         than #if.
21887         * nptl/sysdeps/pthread/pthread.h: Check
21888         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21889         its value.
21891 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21893         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21894         setting O_APPEND.
21895         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21896         test case.
21898         [BZ #16680]
21899         * libio/fileops.c (_IO_file_open): Seek to end of file but
21900         don't cache the offset.
21901         (get_file_offset): Remove function.
21902         (do_ftell): Use cached offset when available.
21903         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21904         don't cache the offset.
21905         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21906         case.
21907         (do_one_test): Call it.
21908         (do_ftell_test): Fix up expected old offset for a+ mode.
21909         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21910         available.
21912         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21913         up test status with function return status.
21914         (do_write_test): Likewise.
21915         (do_append_test): Likewise.
21917         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21918         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21919         Remove.
21921 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21923         * math/gen-libm-test.pl (parse_args): Handle results specified for
21924         each rounding mode separately.
21925         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21926         tests and results from lrint_tonearest_test_data,
21927         lrint_towardzero_test_data, lrint_downward_test_data and
21928         lrint_upward_test_data.
21929         (lrint_test): Use ALL_RM_TEST.
21930         (lrint_tonearest_test_data): Remove.
21931         (lrint_test_tonearest): Likewise.
21932         (lrint_towardzero_test_data): Likewise.
21933         (lrint_test_towardzero): Likewise.
21934         (lrint_downward_test_data): Likewise.
21935         (lrint_test_downward): Likewise.
21936         (lrint_upward_test_data): Likewise.
21937         (lrint_test_upward): Likewise.
21938         (llrint_test_data): Merge in per-rounding-mode tests and results
21939         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21940         llrint_downward_test_data and llrint_upward_test_data.
21941         (llrint_test): Use ALL_RM_TEST.
21942         (llrint_tonearest_test_data): Remove.
21943         (llrint_test_tonearest): Likewise.
21944         (llrint_towardzero_test_data): Likewise.
21945         (llrint_test_towardzero): Likewise.
21946         (llrint_downward_test_data): Likewise.
21947         (llrint_test_downward): Likewise.
21948         (llrint_upward_test_data): Likewise.
21949         (llrint_test_upward): Likewise.
21950         (rint_test_data): Merge in per-rounding-mode tests and results
21951         from rint_tonearest_test_data, rint_towardzero_test_data,
21952         rint_downward_test_data and rint_upward_test_data.  Add
21953         per-rounding-mode results for tests not in those arrays.
21954         (rint_test): Use ALL_RM_TEST.
21955         (rint_tonearest_test_data): Remove.
21956         (rint_test_tonearest): Likewise.
21957         (rint_towardzero_test_data): Likewise.
21958         (rint_test_towardzero): Likewise.
21959         (rint_downward_test_data): Likewise.
21960         (rint_test_downward): Likewise.
21961         (rint_upward_test_data): Likewise.
21962         (rint_test_upward): Likewise.
21963         (main): Don't call removed functions.
21965 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21967         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21968         "Compiled on ..." crapola.  It is anti-useful.
21970 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21972         * scripts/evaluate-test.sh: Handle fourth argument to determine
21973         whether test run should stop on failure.
21974         * Makeconfig (stop-on-test-failure): New variable.
21975         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21976         $(stop-on-test-failure).
21977         * Makefile (tests): Give a summary of results from testing and
21978         exit with failure status if they include an ERROR or FAIL.
21979         (xtests): Likewise.
21980         * manual/install.texi (Configuring and compiling): Mention
21981         stop-on-test-failure=y.
21982         * INSTALL: Regenerated.
21984 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21986         * scripts/versionlist.awk: New file.
21987         * Makerules [$(build-shared) = yes]
21988         (postclean-generated): Add Versions.def, not Versions.def.v and
21989         Versions.def.v.i.
21990         ($(common-objpfx)Versions.def.v.i): Target removed.
21991         ($(common-objpfx)Versions.def): New target.
21992         ($(common-objpfx)Versions.all): Depend on that rather that
21993         $(common-objpfx)Versions.def.v.
21994         * Versions.def: File removed.
21996         * Makeconfig (+gccwarn): Add -Wundef.
21997         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21998         a dl-sysdep.h breaking its contract.
21999         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22000         * include/stackinfo.h: New file.
22001         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22002         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22003         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22004         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22005         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22006         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22007         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22008         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22009         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22010         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22011         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22012         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22013         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22014         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22015         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22017 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22019         [BZ #16707]
22020         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22021         implementation.
22022         * math/libm-test.inc (round_test_data): Add more tests.
22024         [BZ #16706]
22025         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22026         implementation.
22027         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22029         [BZ #16701]
22030         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22031         implementation.
22032         * math/libm-test.inc (ceil_test_data): Add more tests.
22034         * math/libm-test.inc (trunc_test_data): Add more tests related to
22035         BZ#16414.
22037 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22039         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22040         with #if rather than #ifdef.
22041         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22043 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22045         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22046         first.  Disable AVX-512 GCC support if assembler doesn't support
22047         it.
22048         * sysdeps/x86_64/configure: Regenerated.
22050 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22052         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22053         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22054         (__old_pthread_attr_setstack): Likewise.
22055         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22056         [!_STACK_GROWS_DOWN]: Likewise.
22058 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22060         * config.make.in (have-bash2): Delete.
22061         * configure.ac (libc_cv_have_bash2): Delete.
22062         * configure: Regenerate.
22063         * elf/Makefile (common-ldd-rewrite): Rename to ...
22064         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22065         (sh-ldd-rewrite): Delete.
22066         (bash-ldd-rewrite): Delete.
22067         (have-bash2): Delete checks.
22068         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22069         ldd-rewrite.
22071         * config.make.in (have-ksh): Delete.
22072         (KSH): Delete.
22073         * configure.ac (libc_cv_have_ksh): Delete.
22074         * configure: Regenerate.
22076         * elf/Makefile: Delete $(have-ksh) check.
22077         ($(objpfx)sotruss): Change KSH to BASH.
22078         * elf/sotruss.ksh: Rename to ...
22079         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22080         function style to match POSIX.  Drop ksh vim mode setting.
22082         * manual/time.texi (Specifying the Time Zone with TZ): Change
22083         Tuesday to Thursday.
22085         * debug/tst-longjmp_chk2.c: Update header comment.
22086         (stackoverflow_handler): Add comment.  Call assert on pass value.
22088 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22090         [BZ #16194]
22091         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22092         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22093         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22094         (La_x86_64_vector): Add zmm.
22095         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22096         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22097         ($(objpfx)tst-audit10): New target.
22098         ($(objpfx)tst-audit10.out): Likewise.
22099         (tst-audit10-ENV): New.
22100         (AVX512-CFLAGS): Likewise.
22101         (CFLAGS-tst-audit10.c): Likewise.
22102         (CFLAGS-tst-auditmod10a.c): Likewise.
22103         (CFLAGS-tst-auditmod10b.c): Likewise.
22104         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22105         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22106         * sysdeps/x86_64/configure: Regenerated.
22107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22108         AVX-512 zmm register support.
22109         (_dl_x86_64_save_sse): Likewise.
22110         (_dl_x86_64_restore_sse): Likewise.
22111         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22112         size vector registers.
22113         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22114         (ZMM_SIZE): Likewise.
22115         * sysdeps/x86_64/tst-audit10.c: New file.
22116         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22117         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22119 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22121         * configure.ac (HAVE_EHDR_START): New check.
22122         * configure: Regenerated.
22123         * config.h.in (HAVE_EHDR_START): New #undef.
22124         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22125         assuming the lowest-addressed segment maps the start of the file.
22127 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22129         * INSTALL: Regenerated.
22131 2014-03-13  Will Newton  <will.newton@linaro.org>
22133         * manual/setjmp.texi (System V contexts): Improve
22134         clarity and grammar of documentation.
22136 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22138         [BZ #16381]
22139         * elf/Makefile (tests): Add tst-pie2.
22140         (tests-pie): Add tst-pie2.
22141         * elf/tst-pie2.c: New file.
22142         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22143         for ET_EXEC.
22144         * elf/rtld.c (map_doit): Load executable as lt_executable.
22145         (dl_main): Likewise.
22147 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22149         [BZ #16642]
22150         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22151         (__ASSUME_PSELECT): Undefine.
22153 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22155         [BZ #16689]
22156         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22157         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22158         static build.
22159         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22160         selector for static builds.
22162 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22164         [BZ #16695]
22165         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22166         key in the buffer.
22168 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22170         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22171         IFUNC selector for static builds.
22173 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22175         * sysdeps/mips/math_private.h [__mips_hard_float]
22176         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22177         libc_feresetround_mips_ctx.
22178         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22179         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22180         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22182         [BZ #16677]
22183         * math/s_nextafter.c (__nextafter): Do not return value from
22184         overflowing computation.
22185         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22186         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22187         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22188         Likewise.
22189         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22190         Likewise.
22191         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22192         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22194 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22196         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22197         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22198         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22199         the new mov targetting sp.
22201 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22203         [BZ #16683]
22204         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22205         Define it for static builds as well.
22206         (NO_BZERO_IMPL): Likewise.
22208 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22210         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22211         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22212         multiarch strspn for PPC64.
22213         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22214         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22216         (__libc_ifunc_impl_list): Likewise.
22217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22218         multiarch optimizations
22219         * string/strspn.c (strspn): Using macro to redefine symbol name.
22221 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22222             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22224         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22225         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22226         multiarch strncat for PPC64.
22227         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22228         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22230         (__libc_ifunc_impl_list): Likewise.
22231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22232         multiarch optimizations
22234 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22236         [BZ #16639]
22237         * nscd/nscd.service: Make service type forking.
22239 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22241         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22242         sign in non default rounding modes.
22243         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22245 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22247         * math/libm-test.inc (ALL_RM_TEST): New macro.
22248         (ceil_test): Use ALL_RM_TEST.
22249         (cimag_test): Likewise.
22250         (conj_test): Likewise.
22251         (copysign_test): Likewise.
22252         (cproj_test): Likewise.
22253         (creal_test): Likewise.
22254         (fabs_test): Likewise.
22255         (floor_test): Likewise.
22256         (fmax_test): Likewise.
22257         (fmin_test): Likewise.
22258         (fmod_test): Likewise.
22259         (fpclassify_test): Likewise.
22260         (frexp_test): Likewise.
22261         (ilogb_test): Likewise.
22262         (isfinite_test): Likewise.
22263         (finite_test): Likewise.
22264         (isgreater_test): Likewise.
22265         (isgreaterequal_test): Likewise.
22266         (isinf_test): Likewise.
22267         (isless_test): Likewise.
22268         (islessequal_test): Likewise.
22269         (islessgreater_test): Likewise.
22270         (isnan_test): Likewise.
22271         (isnormal_test): Likewise.
22272         (issignaling_test): Likewise.
22273         (isunordered_test): Likewise.
22274         (logb_test): Likewise.
22275         (logb_downward_test_data): Remove.
22276         (logb_test_downward): Likewise.
22277         (lround_test): Use ALL_RM_TEST.
22278         (llround_test): Likewise.
22279         (modf_test): Likewise.
22280         (nexttoward_test): Likewise.
22281         (remainder_test): Likewise.
22282         (drem_test): Likewise.
22283         (remainder_tonearest_test_data): Likewise.
22284         (remainder_test_tonearest): Likewise.
22285         (drem_test_tonearest): Likewise.
22286         (remainder_towardzero_test_data): Likewise.
22287         (remainder_test_towardzero): Likewise.
22288         (drem_test_towardzero): Likewise.
22289         (remainder_downward_test_data): Likewise.
22290         (remainder_test_downward): Likewise.
22291         (drem_test_downward): Likewise.
22292         (remainder_upward_test_data): Likewise.
22293         (remainder_test_upward): Likewise.
22294         (drem_test_upward): Likewise.
22295         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22296         (round_test): Use ALL_RM_TEST.
22297         (signbit_test): Likewise.
22298         (trunc_test): Likewise.
22299         (significand_test): Likewise.
22300         (main): Don't call removed functions.
22302 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22304         [BZ #16674]
22305         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22306         || __USE_XOPEN2K8].
22307         (ILL_ILLOPN): Likewise.
22308         (ILL_ILLADR): Likewise.
22309         (ILL_ILLTRP): Likewise.
22310         (ILL_PRVOPC): Likewise.
22311         (ILL_PRVREG): Likewise.
22312         (ILL_COPROC): Likewise.
22313         (ILL_BADSTK): Likewise.
22314         (FPE_INTDIV): Likewise.
22315         (FPE_INTOVF): Likewise.
22316         (FPE_FLTDIV): Likewise.
22317         (FPE_FLTOVF): Likewise.
22318         (FPE_FLTUND): Likewise.
22319         (FPE_FLTRES): Likewise.
22320         (FPE_FLTINV): Likewise.
22321         (FPE_FLTSUB): Likewise.
22322         (SEGV_MAPERR): Likewise.
22323         (SEGV_ACCERR): Likewise.
22324         (BUS_ADRALN): Likewise.
22325         (BUS_ADRERR): Likewise.
22326         (BUS_OBJERR): Likewise.
22327         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22328         (TRAP_TRACE): Likewise.
22329         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22330         __USE_XOPEN2K8].
22331         (CLD_KILLED): Likewise.
22332         (CLD_DUMPED): Likewise.
22333         (CLD_TRAPPED): Likewise.
22334         (CLD_STOPPED): Likewise.
22335         (CLD_CONTINUED): Likewise.
22336         (POLL_IN): Likewise.
22337         (POLL_OUT): Likewise.
22338         (POLL_MSG): Likewise.
22339         (POLL_ERR): Likewise.
22340         (POLL_PRI): Likewise.
22341         (POLL_HUP): Likewise.
22342         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22343         Likewise.
22344         (ILL_ILLOPN): Likewise.
22345         (ILL_ILLADR): Likewise.
22346         (ILL_ILLTRP): Likewise.
22347         (ILL_PRVOPC): Likewise.
22348         (ILL_PRVREG): Likewise.
22349         (ILL_COPROC): Likewise.
22350         (ILL_BADSTK): Likewise.
22351         (FPE_INTDIV): Likewise.
22352         (FPE_INTOVF): Likewise.
22353         (FPE_FLTDIV): Likewise.
22354         (FPE_FLTOVF): Likewise.
22355         (FPE_FLTUND): Likewise.
22356         (FPE_FLTRES): Likewise.
22357         (FPE_FLTINV): Likewise.
22358         (FPE_FLTSUB): Likewise.
22359         (SEGV_MAPERR): Likewise.
22360         (SEGV_ACCERR): Likewise.
22361         (BUS_ADRALN): Likewise.
22362         (BUS_ADRERR): Likewise.
22363         (BUS_OBJERR): Likewise.
22364         (BUS_MCEERR_AR): Likewise.
22365         (BUS_MCEERR_AO): Likewise.
22366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22367         (TRAP_TRACE): Likewise.
22368         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22369         __USE_XOPEN2K8].
22370         (CLD_KILLED): Likewise.
22371         (CLD_DUMPED): Likewise.
22372         (CLD_TRAPPED): Likewise.
22373         (CLD_STOPPED): Likewise.
22374         (CLD_CONTINUED): Likewise.
22375         (POLL_IN): Likewise.
22376         (POLL_OUT): Likewise.
22377         (POLL_MSG): Likewise.
22378         (POLL_ERR): Likewise.
22379         (POLL_PRI): Likewise.
22380         (POLL_HUP): Likewise.
22381         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22382         (ILL_ILLOPN): Likewise.
22383         (ILL_ILLADR): Likewise.
22384         (ILL_ILLTRP): Likewise.
22385         (ILL_PRVOPC): Likewise.
22386         (ILL_PRVREG): Likewise.
22387         (ILL_COPROC): Likewise.
22388         (ILL_BADSTK): Likewise.
22389         (FPE_INTDIV): Likewise.
22390         (FPE_INTOVF): Likewise.
22391         (FPE_FLTDIV): Likewise.
22392         (FPE_FLTOVF): Likewise.
22393         (FPE_FLTUND): Likewise.
22394         (FPE_FLTRES): Likewise.
22395         (FPE_FLTINV): Likewise.
22396         (FPE_FLTSUB): Likewise.
22397         (SEGV_MAPERR): Likewise.
22398         (SEGV_ACCERR): Likewise.
22399         (BUS_ADRALN): Likewise.
22400         (BUS_ADRERR): Likewise.
22401         (BUS_OBJERR): Likewise.
22402         (BUS_MCEERR_AR): Likewise.
22403         (BUS_MCEERR_AO): Likewise.
22404         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22405         (TRAP_TRACE): Likewise.
22406         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22407         __USE_XOPEN2K8].
22408         (CLD_KILLED): Likewise.
22409         (CLD_DUMPED): Likewise.
22410         (CLD_TRAPPED): Likewise.
22411         (CLD_STOPPED): Likewise.
22412         (CLD_CONTINUED): Likewise.
22413         (POLL_IN): Likewise.
22414         (POLL_OUT): Likewise.
22415         (POLL_MSG): Likewise.
22416         (POLL_ERR): Likewise.
22417         (POLL_PRI): Likewise.
22418         (POLL_HUP): Likewise.
22419         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22420         Likewise.
22421         (ILL_ILLOPN): Likewise.
22422         (ILL_ILLADR): Likewise.
22423         (ILL_ILLTRP): Likewise.
22424         (ILL_PRVOPC): Likewise.
22425         (ILL_PRVREG): Likewise.
22426         (ILL_COPROC): Likewise.
22427         (ILL_BADSTK): Likewise.
22428         (ILL_BADIADDR): Likewise.
22429         (ILL_BREAK): Likewise.
22430         (FPE_INTDIV): Likewise.
22431         (FPE_INTOVF): Likewise.
22432         (FPE_FLTDIV): Likewise.
22433         (FPE_FLTOVF): Likewise.
22434         (FPE_FLTUND): Likewise.
22435         (FPE_FLTRES): Likewise.
22436         (FPE_FLTINV): Likewise.
22437         (FPE_FLTSUB): Likewise.
22438         (FPE_DECOVF): Likewise.
22439         (FPE_DECDIV): Likewise.
22440         (FPE_DECERR): Likewise.
22441         (FPE_INVASC): Likewise.
22442         (FPE_INVDEC): Likewise.
22443         (SEGV_MAPERR): Likewise.
22444         (SEGV_ACCERR): Likewise.
22445         (SEGV_PSTKOVF): Likewise.
22446         (BUS_ADRALN): Likewise.
22447         (BUS_ADRERR): Likewise.
22448         (BUS_OBJERR): Likewise.
22449         (BUS_MCEERR_AR): Likewise.
22450         (BUS_MCEERR_AO): Likewise.
22451         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22452         (TRAP_TRACE): Likewise.
22453         (TRAP_BRANCH): Likewise.
22454         (TRAP_HWBKPT): Likewise.
22455         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22456         __USE_XOPEN2K8].
22457         (CLD_KILLED): Likewise.
22458         (CLD_DUMPED): Likewise.
22459         (CLD_TRAPPED): Likewise.
22460         (CLD_STOPPED): Likewise.
22461         (CLD_CONTINUED): Likewise.
22462         (POLL_IN): Likewise.
22463         (POLL_OUT): Likewise.
22464         (POLL_MSG): Likewise.
22465         (POLL_ERR): Likewise.
22466         (POLL_PRI): Likewise.
22467         (POLL_HUP): Likewise.
22468         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22469         (ILL_ILLOPN): Likewise.
22470         (ILL_ILLADR): Likewise.
22471         (ILL_ILLTRP): Likewise.
22472         (ILL_PRVOPC): Likewise.
22473         (ILL_PRVREG): Likewise.
22474         (ILL_COPROC): Likewise.
22475         (ILL_BADSTK): Likewise.
22476         (FPE_INTDIV): Likewise.
22477         (FPE_INTOVF): Likewise.
22478         (FPE_FLTDIV): Likewise.
22479         (FPE_FLTOVF): Likewise.
22480         (FPE_FLTUND): Likewise.
22481         (FPE_FLTRES): Likewise.
22482         (FPE_FLTINV): Likewise.
22483         (FPE_FLTSUB): Likewise.
22484         (SEGV_MAPERR): Likewise.
22485         (SEGV_ACCERR): Likewise.
22486         (BUS_ADRALN): Likewise.
22487         (BUS_ADRERR): Likewise.
22488         (BUS_OBJERR): Likewise.
22489         (BUS_MCEERR_AR): Likewise.
22490         (BUS_MCEERR_AO): Likewise.
22491         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22492         (TRAP_TRACE): Likewise.
22493         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22494         __USE_XOPEN2K8].
22495         (CLD_KILLED): Likewise.
22496         (CLD_DUMPED): Likewise.
22497         (CLD_TRAPPED): Likewise.
22498         (CLD_STOPPED): Likewise.
22499         (CLD_CONTINUED): Likewise.
22500         (POLL_IN): Likewise.
22501         (POLL_OUT): Likewise.
22502         (POLL_MSG): Likewise.
22503         (POLL_ERR): Likewise.
22504         (POLL_PRI): Likewise.
22505         (POLL_HUP): Likewise.
22506         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22507         (ILL_ILLOPN): Likewise.
22508         (ILL_ILLADR): Likewise.
22509         (ILL_ILLTRP): Likewise.
22510         (ILL_PRVOPC): Likewise.
22511         (ILL_PRVREG): Likewise.
22512         (ILL_COPROC): Likewise.
22513         (ILL_BADSTK): Likewise.
22514         (FPE_INTDIV): Likewise.
22515         (FPE_INTOVF): Likewise.
22516         (FPE_FLTDIV): Likewise.
22517         (FPE_FLTOVF): Likewise.
22518         (FPE_FLTUND): Likewise.
22519         (FPE_FLTRES): Likewise.
22520         (FPE_FLTINV): Likewise.
22521         (FPE_FLTSUB): Likewise.
22522         (SEGV_MAPERR): Likewise.
22523         (SEGV_ACCERR): Likewise.
22524         (BUS_ADRALN): Likewise.
22525         (BUS_ADRERR): Likewise.
22526         (BUS_OBJERR): Likewise.
22527         (BUS_MCEERR_AR): Likewise.
22528         (BUS_MCEERR_AO): Likewise.
22529         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22530         (TRAP_TRACE): Likewise.
22531         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22532         __USE_XOPEN2K8].
22533         (CLD_KILLED): Likewise.
22534         (CLD_DUMPED): Likewise.
22535         (CLD_TRAPPED): Likewise.
22536         (CLD_STOPPED): Likewise.
22537         (CLD_CONTINUED): Likewise.
22538         (POLL_IN): Likewise.
22539         (POLL_OUT): Likewise.
22540         (POLL_MSG): Likewise.
22541         (POLL_ERR): Likewise.
22542         (POLL_PRI): Likewise.
22543         (POLL_HUP): Likewise.
22544         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22545         (ILL_ILLOPN): Likewise.
22546         (ILL_ILLADR): Likewise.
22547         (ILL_ILLTRP): Likewise.
22548         (ILL_PRVOPC): Likewise.
22549         (ILL_PRVREG): Likewise.
22550         (ILL_COPROC): Likewise.
22551         (ILL_BADSTK): Likewise.
22552         (FPE_INTDIV): Likewise.
22553         (FPE_INTOVF): Likewise.
22554         (FPE_FLTDIV): Likewise.
22555         (FPE_FLTOVF): Likewise.
22556         (FPE_FLTUND): Likewise.
22557         (FPE_FLTRES): Likewise.
22558         (FPE_FLTINV): Likewise.
22559         (FPE_FLTSUB): Likewise.
22560         (SEGV_MAPERR): Likewise.
22561         (SEGV_ACCERR): Likewise.
22562         (BUS_ADRALN): Likewise.
22563         (BUS_ADRERR): Likewise.
22564         (BUS_OBJERR): Likewise.
22565         (BUS_MCEERR_AR): Likewise.
22566         (BUS_MCEERR_AO): Likewise.
22567         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22568         (TRAP_TRACE): Likewise.
22569         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22570         __USE_XOPEN2K8].
22571         (CLD_KILLED): Likewise.
22572         (CLD_DUMPED): Likewise.
22573         (CLD_TRAPPED): Likewise.
22574         (CLD_STOPPED): Likewise.
22575         (CLD_CONTINUED): Likewise.
22576         (POLL_IN): Likewise.
22577         (POLL_OUT): Likewise.
22578         (POLL_MSG): Likewise.
22579         (POLL_ERR): Likewise.
22580         (POLL_PRI): Likewise.
22581         (POLL_HUP): Likewise.
22582         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22583         (ILL_ILLOPN): Likewise.
22584         (ILL_ILLADR): Likewise.
22585         (ILL_ILLTRP): Likewise.
22586         (ILL_PRVOPC): Likewise.
22587         (ILL_PRVREG): Likewise.
22588         (ILL_COPROC): Likewise.
22589         (ILL_BADSTK): Likewise.
22590         (ILL_DBLFLT): Likewise.
22591         (ILL_HARDWALL): Likewise.
22592         (FPE_INTDIV): Likewise.
22593         (FPE_INTOVF): Likewise.
22594         (FPE_FLTDIV): Likewise.
22595         (FPE_FLTOVF): Likewise.
22596         (FPE_FLTUND): Likewise.
22597         (FPE_FLTRES): Likewise.
22598         (FPE_FLTINV): Likewise.
22599         (FPE_FLTSUB): Likewise.
22600         (SEGV_MAPERR): Likewise.
22601         (SEGV_ACCERR): Likewise.
22602         (BUS_ADRALN): Likewise.
22603         (BUS_ADRERR): Likewise.
22604         (BUS_OBJERR): Likewise.
22605         (BUS_MCEERR_AR): Likewise.
22606         (BUS_MCEERR_AO): Likewise.
22607         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22608         (TRAP_TRACE): Likewise.
22609         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22610         __USE_XOPEN2K8].
22611         (CLD_KILLED): Likewise.
22612         (CLD_DUMPED): Likewise.
22613         (CLD_TRAPPED): Likewise.
22614         (CLD_STOPPED): Likewise.
22615         (CLD_CONTINUED): Likewise.
22616         (POLL_IN): Likewise.
22617         (POLL_OUT): Likewise.
22618         (POLL_MSG): Likewise.
22619         (POLL_ERR): Likewise.
22620         (POLL_PRI): Likewise.
22621         (POLL_HUP): Likewise.
22622         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22623         (ILL_ILLOPN): Likewise.
22624         (ILL_ILLADR): Likewise.
22625         (ILL_ILLTRP): Likewise.
22626         (ILL_PRVOPC): Likewise.
22627         (ILL_PRVREG): Likewise.
22628         (ILL_COPROC): Likewise.
22629         (ILL_BADSTK): Likewise.
22630         (FPE_INTDIV): Likewise.
22631         (FPE_INTOVF): Likewise.
22632         (FPE_FLTDIV): Likewise.
22633         (FPE_FLTOVF): Likewise.
22634         (FPE_FLTUND): Likewise.
22635         (FPE_FLTRES): Likewise.
22636         (FPE_FLTINV): Likewise.
22637         (FPE_FLTSUB): Likewise.
22638         (SEGV_MAPERR): Likewise.
22639         (SEGV_ACCERR): Likewise.
22640         (BUS_ADRALN): Likewise.
22641         (BUS_ADRERR): Likewise.
22642         (BUS_OBJERR): Likewise.
22643         (BUS_MCEERR_AR): Likewise.
22644         (BUS_MCEERR_AO): Likewise.
22645         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22646         (TRAP_TRACE): Likewise.
22647         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22648         __USE_XOPEN2K8].
22649         (CLD_KILLED): Likewise.
22650         (CLD_DUMPED): Likewise.
22651         (CLD_TRAPPED): Likewise.
22652         (CLD_STOPPED): Likewise.
22653         (CLD_CONTINUED): Likewise.
22654         (POLL_IN): Likewise.
22655         (POLL_OUT): Likewise.
22656         (POLL_MSG): Likewise.
22657         (POLL_ERR): Likewise.
22658         (POLL_PRI): Likewise.
22659         (POLL_HUP): Likewise.
22660         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22661         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22663         [BZ #16670]
22664         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22665         before #include of <time.h>.
22666         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22667         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22668         (test-xfail-UNIX98/sched.h/conform): Likewise.
22670 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22672         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22673         error absence of trapping exception support.
22674         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22676 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22678         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22679         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22680         * timezone/Makefile (testdata): Move definition above include of
22681         Rules.
22682         (test-zones): New variable.
22683         (tests-special): Add zone files.
22684         (build-testdata): Use $(evaluate-test).
22686         * elf/Makefile (tests-special): Rename tests to end with .out.
22687         ($(objpfx)noload-mem): Likewise.
22688         ($(objpfx)tst-leaks1-mem): Likewise.
22689         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22690         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22691         $(objpfx)test-iconvconfig.out.
22692         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22693         set -e inside subshell and redirect output to file.
22694         * iconvdata/Makefile (generated): Rename tests to end with .out.
22695         Correct type.
22696         (tests-special): Rename tests to end with .out.
22697         ($(objpfx)mtrace-tst-loading): Likewise.
22698         * intl/Makefile (generated): Likewise.
22699         (tests-special): Likewise.
22700         ($(objpfx)mtrace-tst-gettext): Likewise.
22701         * misc/Makefile (generated): Likewise.
22702         (tests-special): Likewise.
22703         ($(objpfx)tst-error1-mem): Likewise.
22704         * nptl/Makefile (tests-special): Likewise.
22705         ($(objpfx)tst-stack3-mem): Likewise.
22706         (generated): Likewise.
22707         * posix/Makefile (generated): Likewise.
22708         (tests-special): Likewise.
22709         (xtests-special): Likewise.
22710         ($(objpfx)tst-fnmatch-mem): Likewise.
22711         ($(objpfx)bug-regex2-mem): Likewise.
22712         ($(objpfx)bug-regex14-mem): Likewise.
22713         ($(objpfx)bug-regex21-mem): Likewise.
22714         ($(objpfx)bug-regex31-mem): Likewise.
22715         ($(objpfx)tst-vfork3-mem): Likewise.
22716         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22717         ($(objpfx)tst-pcre-mem): Likewise.
22718         ($(objpfx)tst-boost-mem): Likewise.
22719         ($(objpfx)bug-ga2-mem): Likewise.
22720         ($(objpfx)bug-glob2-mem): Likewise.
22721         * resolv/Makefile (generate): Likewise.
22722         (tests-special): Likewise.
22723         (xtests-special): Likewise.
22724         (generated): Likewise.
22725         ($(objpfx)mtrace-tst-leaks): Likewise.
22726         ($(objpfx)mtrace-tst-leaks2): Likewise.
22728         * scripts/merge-test-results.sh: New file.
22729         * Makefile (tests-special-notdir): New variable.
22730         (tests): Run merge-test-results.sh.
22731         (xtests): Likewise.
22732         * Rules (tests-special-notdir): New variable.
22733         (xtests-special-notdir): Likewise.
22734         (tests): Run merge-test-results.sh
22735         (xtests): Likewise.
22737         * Makeconfig (test-xfail-name): New variable.
22738         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22739         compute variable name for expected failures.
22740         * conform/Makefile (conformtest-headers-data): New variable.
22741         (conformtest-standards): Likewise.
22742         (conformtest-headers-ISO): Likewise.
22743         (conformtest-headers-ISO99): Likewise.
22744         (conformtest-headers-ISO11): Likewise.
22745         (conformtest-headers-POSIX): Likewise.
22746         (conformtest-headers-XPG3): Likewise.
22747         (conformtest-headers-XPG4): Likewise.
22748         (conformtest-headers-UNIX98): Likewise.
22749         (conformtest-headers-XOPEN2K): Likewise.
22750         (conformtest-headers-POSIX2008): Likewise.
22751         (conformtest-headers-XOPEN2K8): Likewise.
22752         (conformtest-header-list-base): Likewise.
22753         (conformtest-header-list-tests): Likewise.
22754         (conformtest-header-base): Likewise.
22755         (conformtest-header-tests): Likewise.
22756         (tests-special): Add $(conformtest-header-list-tests).  If
22757         [$(fast-check) && !$(cross-compiling)], add
22758         $(conformtest-header-tests) instead of
22759         $(objpfx)run-conformtest.out.
22760         (generated): Add $(conformtest-header-list-base).  If
22761         [$(fast-check) && !$(cross-compiling)], add
22762         $(conformtest-header-base).  Remove previous setting.
22763         ($(conformtest-header-list-tests)): New target.
22764         (test-xfail-run-conformtest): Remove variable.
22765         ($(objpfx)run-conformtest.out): Remove target.
22766         (test-xfail-ISO11/complex.h/conform): New variable.
22767         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22768         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22769         (test-xfail-XPG3/varargs.h/conform): Likewise.
22770         (test-xfail-XPG4/varargs.h/conform): Likewise.
22771         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22772         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22773         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22774         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22775         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22776         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22777         (test-xfail-XPG3/ftw.h/conform): Likewise.
22778         (test-xfail-XPG3/grp.h/conform): Likewise.
22779         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22780         (test-xfail-XPG3/limits.h/conform): Likewise.
22781         (test-xfail-XPG3/pwd.h/conform): Likewise.
22782         (test-xfail-XPG3/search.h/conform): Likewise.
22783         (test-xfail-XPG3/signal.h/conform): Likewise.
22784         (test-xfail-XPG3/stdio.h/conform): Likewise.
22785         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22786         (test-xfail-XPG3/string.h/conform): Likewise.
22787         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22788         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22789         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22790         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22791         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22792         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22793         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22794         (test-xfail-XPG3/termios.h/conform): Likewise.
22795         (test-xfail-XPG3/time.h/conform): Likewise.
22796         (test-xfail-XPG3/unistd.h/conform): Likewise.
22797         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22798         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22799         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22800         (test-xfail-XPG4/netdb.h/conform): Likewise.
22801         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22802         (test-xfail-XPG4/signal.h/conform): Likewise.
22803         (test-xfail-XPG4/stdio.h/conform): Likewise.
22804         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22805         (test-xfail-XPG4/stropts.h/conform): Likewise.
22806         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22807         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22808         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22809         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22810         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22811         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22812         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22813         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22814         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22815         (test-xfail-XPG4/termios.h/conform): Likewise.
22816         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22817         (test-xfail-XPG4/unistd.h/conform): Likewise.
22818         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22819         (test-xfail-POSIX/sched.h/conform): Likewise.
22820         (test-xfail-POSIX/signal.h/conform): Likewise.
22821         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22822         (test-xfail-POSIX/tar.h/conform): Likewise.
22823         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22824         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22825         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22826         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22827         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22828         (test-xfail-UNIX98/sched.h/conform): Likewise.
22829         (test-xfail-UNIX98/signal.h/conform): Likewise.
22830         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22831         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22832         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22833         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22834         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22835         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22836         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22837         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22838         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22839         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22840         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22841         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22842         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22843         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22844         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22845         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22846         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22847         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22848         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22849         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22850         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22851         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22852         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22853         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22854         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22855         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22856         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22857         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22858         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22859         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22860         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22861         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22862         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22863         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22864         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22865         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22866         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22867         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22868         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22869         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22870         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22871         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22872         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22873         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22874         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22875         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22876         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22877         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22878         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22879         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22880         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22881         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22882         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22883         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22884         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22885         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22886         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22887         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22888         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22889         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22890         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22891         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22892         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22893         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22894         (conformtest-cc-flags): Likewise.
22895         ($(conformtest-header-tests): New target.
22896         * conform/check-header-lists.sh: New file.
22897         * conform/run-conformtest.sh: Remove.
22899         * conform/conformtest.pl: Allow ' and \ in values given for
22900         constants.
22901         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22902         inclusion.
22903         [POSIX] (sys/types.h): Likewise.
22904         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22905         inclusion.
22906         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22907         inclusion.
22908         * conform/data/signal.h-data (SIGIO): Remove expectation.
22909         [XPG3] (SIGBUS): Do not expect.
22910         [POSIX || XPG3] (SIGPOLL): Likewise.
22911         [POSIX || XPG3] (SIGPROF): Likewise.
22912         [POSIX || XPG3] (SIGSYS): Likewise.
22913         [XPG3] (SIGTRAP): Likewise.
22914         [POSIX || XPG3] (SIGURG): Likewise.
22915         [POSIX || XPG3] (SIGVTALRM): Likewise.
22916         [POSIX || XPG3] (SIGXCPU): Likewise.
22917         [POSIX || XPG3] (SIGXFSZ): Likewise.
22918         [POSIX] (SA_SIGINFO): Expect.
22919         [XPG3] (siginfo_t): Do not expect type or contents.
22920         [POSIX] (si_pid): Do not expect element.
22921         [POSIX] (si_uid): Likewise.
22922         [POSIX] (si_addr): Likewise.
22923         [POSIX] (si_status): Likewise.
22924         [POSIX] (si_band): Likewise.
22925         [XPG4] (si_value): Likewise.
22926         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22927         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22928         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22929         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22930         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22931         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22932         [POSIX || XPG3] (ILL_COPROC): Likewise.
22933         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22934         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22935         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22936         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22937         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22938         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22939         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22940         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22941         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22942         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22943         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22944         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22945         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22946         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22947         [POSIX || XPG3] (CLD_EXITED): Likewise.
22948         [POSIX || XPG3] (CLD_KILLED): Likewise.
22949         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22950         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22951         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22952         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22953         [POSIX || XPG3] (POLL_IN): Likewise.
22954         [POSIX || XPG3] (POLL_OUT): Likewise.
22955         [POSIX || XPG3] (POLL_MSG): Likewise.
22956         [POSIX || XPG3] (POLL_ERR): Likewise.
22957         [POSIX || XPG3] (POLL_PRI): Likewise.
22958         [POSIX || XPG3] (POLL_HUP): Likewise.
22959         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22960         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22961         (SIG*): Do not allow.
22962         [XPG3] (si_*): Likewise.
22963         [XPG3] (SI_*): Likewise.
22964         [XPG3 || XPG4] (sigev_*): Likewise.
22965         [XPG3 || XPG4] (SIGEV_*): Likewise.
22966         [XPG3 || XPG4] (sival_*): Likewise.
22967         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22968         [POSIX || XPG3] (BUS_*): Likewise.
22969         [POSIX || XPG3] (CLD_*): Likewise.
22970         [POSIX || XPG3] (FPE_*): Likewise.
22971         [POSIX || XPG3] (ILL_*): Likewise.
22972         [POSIX || XPG3] (POLL_*): Likewise.
22973         [POSIX || XPG3] (SEGV_*): Likewise.
22974         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22975         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22976         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22977         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22978         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22979         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22980         Specify type and value.
22981         (TVERSLEN): Likewise.
22982         (REGTYPE): Likewise.
22983         (AREGTYPE): Likewise.
22984         (LNKTYPE): Likewise.
22985         (SYMTYPE): Likewise.
22986         (CHRTYPE): Likewise.
22987         (BLKTYPE): Likewise.
22988         (DIRTYPE): Likewise.
22989         (FIFOTYPE): Likewise.
22990         (CONTTYPE): Likewise.
22991         (TSUID): Likewise.
22992         (TSGID): Likewise.
22993         (TSVTX): Likewise.
22994         (TUREAD): Likewise.
22995         (TUWRITE): Likewise.
22996         (TUEXEC): Likewise.
22997         (TGREAD): Likewise.
22998         (TGWRITE): Likewise.
22999         (TGEXEC): Likewise.
23000         (TOREAD): Likewise.
23001         (TOWRITE): Likewise.
23002         (TOEXEC): Likewise.
23003         [POSIX] (TSVTX): Expect constant.
23005 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23007         * Makefile (tests): Change dependencies to ....
23008         (tests-special): ... additions to this variable.
23009         (tests): Depend on $(tests-special).
23010         * Makerules (check-abi-list): New variable.
23011         (check-abi): Depend on $(check-abi-list).
23012         [$(subdir) = elf] (tests-special): Add
23013         $(objpfx)check-abi-libc.out.
23014         [$(build-shared) = yes && subdir] (tests-special): Add
23015         $(check-abi-list).
23016         [$(build-shared) = yes && subdir] (tests): Do not depend on
23017         check-abi.
23018         * Rules (tests): Depend on $(tests-special).
23019         (xtests): Depend on $(xtests-special).
23020         * catgets/Makefile (tests): Change dependencies to ....
23021         (tests-special): ... additions to this variable.
23022         * conform/Makefile (tests): Change dependencies to ....
23023         (tests-special): ... additions to this variable.
23024         * elf/Makefile (tests): Change dependencies to ....
23025         (tests-special): ... additions to this variable.
23026         * grp/Makefile (tests): Change dependencies to ....
23027         (tests-special): ... additions to this variable.
23028         * iconv/Makefile (xtests): Change dependencies to ....
23029         (xtests-special): ... additions to this variable.
23030         * iconvdata/Makefile (tests): Change dependencies to ....
23031         (tests-special): ... additions to this variable.
23032         * intl/Makefile (tests): Change dependencies to ....
23033         (tests-special): ... additions to this variable.  Also add
23034         $(objpfx)tst-gettext.out.
23035         * io/Makefile (tests): Change dependencies to ....
23036         (tests-special): ... additions to this variable.
23037         * libio/Makefile (tests): Change dependencies to ....
23038         (tests-special): ... additions to this variable.
23039         * malloc/Makefile (tests): Change dependencies to ....
23040         (tests-special): ... additions to this variable.
23041         * misc/Makefile (tests): Change dependencies to ....
23042         (tests-special): ... additions to this variable.
23043         * nptl/Makefile (tests): Change dependencies to ....
23044         (tests-special): ... additions to this variable.
23045         * nptl_db/Makefile (tests): Change dependencies to ....
23046         (tests-special): ... additions to this variable.
23047         * posix/Makefile (tests): Change dependencies to ....
23048         (tests-special): ... additions to this variable.
23049         (xtests): Change dependencies to ....
23050         (xtests-special): ... additions to this variable.
23051         * resolv/Makefile (tests): Change dependencies to ....
23052         (tests-special): ... additions to this variable.
23053         (xtests): Change dependencies to ....
23054         (xtests-special): ... additions to this variable.
23055         * stdio-common/Makefile (tests): Change dependencies to ....
23056         (tests-special): ... additions to this variable.
23057         (do-tst-unbputc): Remove target.
23058         (do-tst-printf): Likewise.
23059         * stdlib/Makefile (tests): Change dependencies to ....
23060         (tests-special): ... additions to this variable.
23061         * string/Makefile (tests): Change dependencies to ....
23062         (tests-special): ... additions to this variable.
23063         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23064         (tests-special): ... additions to this variable.
23066         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23067         whole file.
23068         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23069         whole file.
23070         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23071         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23073         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23074         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23075         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23076         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23077         * conform/data/libgen.h-data [XPG3]: Likewise.
23078         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23079         * conform/data/ndbm.h-data [XPG3]: Likewise.
23080         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23081         * conform/data/netdb.h-data [XPG3]: Likewise.
23082         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23083         * conform/data/poll.h-data [XPG3]: Likewise.
23084         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23085         * conform/data/strings.h-data [XPG3]: Likewise.
23086         * conform/data/stropts.h-data [XPG3]: Likewise.
23087         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23088         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23089         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23090         Likewise.
23091         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23092         * conform/data/sys/time.h-data [XPG3]: Likewise.
23093         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23094         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23095         * conform/data/sys/un.h-data [XPG3]: Likewise.
23096         * conform/data/syslog.h-data [XPG3]: Likewise.
23097         * conform/data/ucontext.h-data [XPG3]: Likewise.
23098         * conform/data/utmpx.h-data [XPG3]: Likewise.
23099         * conform/data/varargs.h-data [UNIX98]: Enable file.
23101         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23103         * math/libm-test.inc (struct test_f_f_data): Move expected results
23104         into structure for each rounding mode.
23105         (struct test_ff_f_data): Likewise.
23106         (struct test_ff_f_data_nexttoward): Likewise.
23107         (struct test_fi_f_data): Likewise.
23108         (struct test_fl_f_data): Likewise.
23109         (struct test_if_f_data): Likewise.
23110         (struct test_fff_f_data): Likewise.
23111         (struct test_c_f_data): Likewise.
23112         (struct test_f_f1_data): Likewise.
23113         (struct test_fF_f1_data): Likewise.
23114         (struct test_ffI_f1_data): Likewise.
23115         (struct test_c_c_data): Likewise.
23116         (struct test_cc_c_data): Likewise.
23117         (struct test_f_i_data): Likewise.
23118         (struct test_ff_i_data): Likewise.
23119         (struct test_f_l_data): Likewise.
23120         (struct test_f_L_data): Likewise.
23121         (struct test_fFF_11_data): Likewise.
23122         (RM_): New macro.
23123         (RM_FE_DOWNWARD): Likewise.
23124         (RM_FE_TONEAREST): Likewise.
23125         (RM_FE_TOWARDZERO): Likewise.
23126         (RM_FE_UPWARD): Likewise.
23127         (RUN_TEST_LOOP_f_f): Update references to expected results.
23128         (RUN_TEST_LOOP_2_f): Likewise.
23129         (RUN_TEST_LOOP_fff_f): Likewise.
23130         (RUN_TEST_LOOP_c_f): Likewise.
23131         (RUN_TEST_LOOP_f_f1): Likewise.
23132         (RUN_TEST_LOOP_fF_f1): Likewise.
23133         (RUN_TEST_LOOP_fI_f1): Likewise.
23134         (RUN_TEST_LOOP_ffI_f1): Likewise.
23135         (RUN_TEST_LOOP_c_c): Likewise.
23136         (RUN_TEST_LOOP_cc_c): Likewise.
23137         (RUN_TEST_LOOP_f_i): Likewise.
23138         (RUN_TEST_LOOP_f_i_tg): Likewise.
23139         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23140         (RUN_TEST_LOOP_f_b): Likewise.
23141         (RUN_TEST_LOOP_f_b_tg): Likewise.
23142         (RUN_TEST_LOOP_f_l): Likewise.
23143         (RUN_TEST_LOOP_f_L): Likewise.
23144         (RUN_TEST_LOOP_fFF_11): Likewise.
23145         * math/gen-libm-test.pl (parse_args): Output four copies of
23146         expected results for each test.
23148         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23149         (__ASSUME_UTIMES): Remove.
23150         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23151         (__ASSUME_UTIMES): Likewise.
23153         * math/gen-auto-libm-tests.c: Update comment on output format.
23154         (output_for_one_input_case): Generate before-rounding and
23155         after-rounding information as conditions on output flags not
23156         floating-point format.
23157         * math/auto-libm-test-out: Regenerated.
23158         * math/gen-libm-test.pl (cond_value): New function.
23159         (or_cond_value): Use cond_value.
23160         (generate_testfile): Handle conditional exceptions.
23162 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23164         * math/libm-test.inc (max_valid_error): New variable.
23165         (init_max_error): Take new argument specifying whether function
23166         results are exactly determined.  Set max_valid_error and bound
23167         other variables for errors based on this argument.
23168         (set_max_error): Do not record results above max_valid_error.
23169         (check_float_internal): Only accept errors of up to 0.5ulps if
23170         also at most max_valid_error.
23171         (START): Take new argument EXACT and pass it to init_max_error.
23172         (acos_test): Update call to START.
23173         (acos_test_tonearest): Likewise.
23174         (acos_test_towardzero): Likewise.
23175         (acos_test_downward): Likewise.
23176         (acos_test_upward): Likewise.
23177         (acosh_test): Likewise.
23178         (asin_test): Likewise.
23179         (asin_test_tonearest): Likewise.
23180         (asin_test_towardzero): Likewise.
23181         (asin_test_downward): Likewise.
23182         (asin_test_upward): Likewise.
23183         (asinh_test): Likewise.
23184         (atan_test): Likewise.
23185         (atanh_test): Likewise.
23186         (atan2_test): Likewise.
23187         (cabs_test): Likewise.
23188         (cacos_test): Likewise.
23189         (cacosh_test): Likewise.
23190         (carg_test): Likewise.
23191         (casin_test): Likewise.
23192         (casinh_test): Likewise.
23193         (catan_test): Likewise.
23194         (catanh_test): Likewise.
23195         (cbrt_test): Likewise.
23196         (ccos_test): Likewise.
23197         (ccosh_test): Likewise.
23198         (ceil_test): Likewise.
23199         (cexp_test): Likewise.
23200         (cimag_test): Likewise.
23201         (clog_test): Likewise.
23202         (clog10_test): Likewise.
23203         (conj_test): Likewise.
23204         (copysign_test): Likewise.
23205         (cos_test): Likewise.
23206         (cos_test_tonearest): Likewise.
23207         (cos_test_towardzero): Likewise.
23208         (cos_test_downward): Likewise.
23209         (cos_test_upward): Likewise.
23210         (cosh_test): Likewise.
23211         (cosh_test_tonearest): Likewise.
23212         (cosh_test_towardzero): Likewise.
23213         (cosh_test_downward): Likewise.
23214         (cosh_test_upward): Likewise.
23215         (cpow_test): Likewise.
23216         (cproj_test): Likewise.
23217         (creal_test): Likewise.
23218         (csin_test): Likewise.
23219         (csinh_test): Likewise.
23220         (csqrt_test): Likewise.
23221         (ctan_test): Likewise.
23222         (ctan_test_tonearest): Likewise.
23223         (ctan_test_towardzero): Likewise.
23224         (ctan_test_downward): Likewise.
23225         (ctan_test_upward): Likewise.
23226         (ctanh_test): Likewise.
23227         (ctanh_test_tonearest): Likewise.
23228         (ctanh_test_towardzero): Likewise.
23229         (ctanh_test_downward): Likewise.
23230         (ctanh_test_upward): Likewise.
23231         (erf_test): Likewise.
23232         (erfc_test): Likewise.
23233         (exp_test): Likewise.
23234         (exp_test_tonearest): Likewise.
23235         (exp_test_towardzero): Likewise.
23236         (exp_test_downward): Likewise.
23237         (exp_test_upward): Likewise.
23238         (exp10_test): Likewise.
23239         (exp10_test_tonearest): Likewise.
23240         (exp10_test_towardzero): Likewise.
23241         (exp10_test_downward): Likewise.
23242         (exp10_test_upward): Likewise.
23243         (pow10_test): Likewise.
23244         (exp2_test): Likewise.
23245         (expm1_test): Likewise.
23246         (expm1_test_tonearest): Likewise.
23247         (expm1_test_towardzero): Likewise.
23248         (expm1_test_downward): Likewise.
23249         (expm1_test_upward): Likewise.
23250         (fabs_test): Likewise.
23251         (fdim_test): Likewise.
23252         (floor_test): Likewise.
23253         (fma_test): Likewise.
23254         (fma_test_towardzero): Likewise.
23255         (fma_test_downward): Likewise.
23256         (fma_test_upward): Likewise.
23257         (fmax_test): Likewise.
23258         (fmin_test): Likewise.
23259         (fmod_test): Likewise.
23260         (fpclassify_test): Likewise.
23261         (frexp_test): Likewise.
23262         (hypot_test): Likewise.
23263         (ilogb_test): Likewise.
23264         (isfinite_test): Likewise.
23265         (finite_test): Likewise.
23266         (isgreater_test): Likewise.
23267         (isgreaterequal_test): Likewise.
23268         (isinf_test): Likewise.
23269         (isless_test): Likewise.
23270         (islessequal_test): Likewise.
23271         (islessgreater_test): Likewise.
23272         (isnan_test): Likewise.
23273         (isnormal_test): Likewise.
23274         (issignaling_test): Likewise.
23275         (isunordered_test): Likewise.
23276         (j0_test): Likewise.
23277         (j1_test): Likewise.
23278         (jn_test): Likewise.
23279         (ldexp_test): Likewise.
23280         (lgamma_test): Likewise.
23281         (gamma_test): Likewise.
23282         (lrint_test): Likewise.
23283         (lrint_test_tonearest): Likewise.
23284         (lrint_test_towardzero): Likewise.
23285         (lrint_test_downward): Likewise.
23286         (lrint_test_upward): Likewise.
23287         (llrint_test): Likewise.
23288         (llrint_test_tonearest): Likewise.
23289         (llrint_test_towardzero): Likewise.
23290         (llrint_test_downward): Likewise.
23291         (llrint_test_upward): Likewise.
23292         (log_test): Likewise.
23293         (log10_test): Likewise.
23294         (log1p_test): Likewise.
23295         (log2_test): Likewise.
23296         (logb_test): Likewise.
23297         (logb_test_downward): Likewise.
23298         (lround_test): Likewise.
23299         (llround_test): Likewise.
23300         (modf_test): Likewise.
23301         (nearbyint_test): Likewise.
23302         (nextafter_test): Likewise.
23303         (nexttoward_test): Likewise.
23304         (pow_test): Likewise.
23305         (pow_test_tonearest): Likewise.
23306         (pow_test_towardzero): Likewise.
23307         (pow_test_downward): Likewise.
23308         (pow_test_upward): Likewise.
23309         (remainder_test): Likewise.
23310         (drem_test): Likewise.
23311         (remainder_test_tonearest): Likewise.
23312         (drem_test_tonearest): Likewise.
23313         (remainder_test_towardzero): Likewise.
23314         (drem_test_towardzero): Likewise.
23315         (remainder_test_downward): Likewise.
23316         (drem_test_downward): Likewise.
23317         (remainder_test_upward): Likewise.
23318         (drem_test_upward): Likewise.
23319         (remquo_test): Likewise.
23320         (rint_test): Likewise.
23321         (rint_test_tonearest): Likewise.
23322         (rint_test_towardzero): Likewise.
23323         (rint_test_downward): Likewise.
23324         (rint_test_upward): Likewise.
23325         (round_test): Likewise.
23326         (scalb_test): Likewise.
23327         (scalbn_test): Likewise.
23328         (scalbln_test): Likewise.
23329         (signbit_test): Likewise.
23330         (sin_test): Likewise.
23331         (sin_test_tonearest): Likewise.
23332         (sin_test_towardzero): Likewise.
23333         (sin_test_downward): Likewise.
23334         (sin_test_upward): Likewise.
23335         (sincos_test): Likewise.
23336         (sinh_test): Likewise.
23337         (sinh_test_tonearest): Likewise.
23338         (sinh_test_towardzero): Likewise.
23339         (sinh_test_downward): Likewise.
23340         (sinh_test_upward): Likewise.
23341         (sqrt_test): Likewise.
23342         (sqrt_test_tonearest): Likewise.
23343         (sqrt_test_towardzero): Likewise.
23344         (sqrt_test_downward): Likewise.
23345         (sqrt_test_upward): Likewise.
23346         (tan_test): Likewise.
23347         (tan_test_tonearest): Likewise.
23348         (tan_test_towardzero): Likewise.
23349         (tan_test_downward): Likewise.
23350         (tan_test_upward): Likewise.
23351         (tanh_test): Likewise.
23352         (tgamma_test): Likewise.
23353         (trunc_test): Likewise.
23354         (y0_test): Likewise.
23355         (y1_test): Likewise.
23356         (yn_test): Likewise.
23357         (significand_test): Likewise.
23359         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23360         individual tests in comment.
23361         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23362         (prev_max_error): New variable.
23363         (prev_real_max_error): Likewise.
23364         (prev_imag_max_error): Likewise.
23365         (compare_ulp_data): Don't refer to test names in comment.
23366         (find_test_ulps): Remove function.
23367         (find_function_ulps): Likewise.
23368         (find_complex_function_ulps): Likewise.
23369         (init_max_error): Take function name as argument.  Look up ulps
23370         for that function.
23371         (print_ulps): Remove function.
23372         (print_max_error): Use prev_max_error instead of calling
23373         find_function_ulps.
23374         (print_complex_max_error): Use prev_real_max_error and
23375         prev_imag_max_error instead of calling find_complex_function_ulps.
23376         (check_float_internal): Take max_ulp parameter instead of calling
23377         find_test_ulps.  Don't call print_ulps.
23378         (check_float): Update call to check_float_internal.
23379         (check_complex): Update calls to check_float_internal.
23380         (START): Pass argument to init_max_error.
23381         * math/gen-libm-test.pl (%results): Don't include "kind"
23382         information.
23383         (parse_ulps): Don't handle ulps of individual tests.
23384         (print_ulps_file): Likewise.
23385         (output_ulps): Likewise.
23386         * math/README.libm-test: Update.
23387         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23388         individual tests.
23389         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23390         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23391         * sysdeps/arm/libm-test-ulps: Likewise.
23392         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23393         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23394         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23395         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23396         * sysdeps/microblaze/libm-test-ulps: Likewise.
23397         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23398         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23399         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23400         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23401         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23402         * sysdeps/sh/libm-test-ulps: Likewise.
23403         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23404         * sysdeps/tile/libm-test-ulps: Likewise.
23405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23407 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23409         * math/libm-test.inc (print_complex_max_error): Check separately
23410         whether real and imaginary errors are within allowed range and
23411         pass 0 to print_complex_function_ulps instead of value within
23412         allowed range.
23414 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23416         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23417         formatting.
23418         (get_handles_fopen): Likewise.
23419         (do_write_test): Likewise.
23421         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23423         * libio/fileops.c (do_ftell): Use cached offset when
23424         available.
23425         * libio/iofwide.c (do_ftell_wide): Likewise.
23426         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23427         _IO_file_attach.
23428         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23430         [BZ #16532]
23431         * libio/libioP.h (get_file_offset): New function.
23432         * libio/fileops.c (get_file_offset): Likewise.
23433         (do_ftell): Likewise.
23434         (_IO_new_file_seekoff): Split out ftell logic.
23435         * libio/wfileops.c (do_ftell_wide): Likewise.
23436         (_IO_wfile_seekoff): Split out ftell logic.
23437         * libio/tst-ftell-active-handler.c: New test case.
23438         * libio/Makefile (tests): Add it.
23440 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23442         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23443         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23445 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23447         [BZ #16639]
23448         * nscd/connections.c (nscd_init): Call do_exit.
23449         (start_threads): Call do_exit and notify_parent.
23450         (begin_drop_privileges): Call do_exit.
23451         (finish_drop_privileges): Likewise.
23452         * nscd/selinux.c (preserve_capabilities): Likewise.
23453         (install_real_capabilities): Likewise.
23454         (nscd_selinux_enabled): Likewise.
23455         (avc_create_thread): Likewise.
23456         (avc_alloc_lock): Likewise.
23457         (nscd_avc_init): Likewise.
23458         * nscd/nscd.c (parent_fd): New static variable.
23459         (main): Create a pipe between parent and child processes.
23460         Skip closing parent_fd.
23461         (monitor_child): New function.
23462         (do_exit): Likewise.
23463         (notify_parent): Likewise.
23464         * nscd/nscd.h (notify_parent): Likewise.
23465         (do_exit): Likewise.
23467 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23469         * malloc/malloc.c (__libc_calloc): Revert last change.
23471 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23475 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23477         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23479         implementation.
23480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23481         (__libc_ifunc_impl_list): Likewise.
23482         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23483         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23484         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23485         * string/strrchr.c: Define STRRCHR.
23487 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23489         * benchtest/bench-strtok.c (simple_strtok): Delete.
23490         (strtok_string): Use as benchmark.
23491         * string/strtok (STRTOK): New macro.
23493 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23495         * manual/threads.texi: Add header and standard comments to all
23496         functions.
23498         * elf/dl-lookup.c (check_match): New function.
23499         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23500         (do_lookup_x): Remove nested function check_match. Use non-nested
23501         function check_match.
23503 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23505         * csu/Makefile (generated, before-compile): Use += rather than =.
23506         * catgets/Makefile (generated, generated-dirs): Likewise.
23507         * debug/Makefile (generated): Likewise.
23508         * dlfcn/Makefile (generated): Likewise.
23509         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23510         * iconvdata/Makefile (before-compile, generated): Likewise.
23511         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23512         * libio/Makefile (generated): Likewise.
23513         * malloc/Makefile (generated): Likewise.
23514         * manual/Makefile (generated, generated-dirs): Likewise.
23515         * misc/Makefile (generated): Likewise.
23516         * posix/Makefile (generated): Likewise.
23517         * resolv/Makefile (generated): Likewise.
23518         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23519         * timezone/Makefile (generated, generated-dirs): Likewise.
23521         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23523 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23525         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23526         power8 implementation.
23527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23528         file: POWER8 llround ifunc implementation.
23529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23530         (__lllround): Add POWER8 implementation.
23531         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23532         POWER8 llround implementation.
23534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23535         power8 implementation.
23536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23537         file: POWER8 llrint ifunc implementation.
23538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23539         Add POWER8 implementation.
23540         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23541         POWER8 llrint implementation.
23543         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23544         power8 implementation.
23545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23546         file: POWER8 finite ifunc implementation.
23547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23548         Add POWER8 implementation.
23549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23550         Likewise.
23551         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23552         POWER8 finite implementation.
23553         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23556         power8 implementation.
23557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23558         file: POWER8 isinf ifunc implementation.
23559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23560         POWER8 implementation.
23561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23562         Likewise.
23563         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23564         isinf implementation.
23565         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23567         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23568         (INIT_ARCH): Add hwcap2 initialization.
23569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23570         power8 implementation.
23571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23572         file: POWER8 isnan ifunc implementation.
23573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23574         POWER8 implementation.
23575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23576         Likewise.
23577         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23578         isnan implementation.
23579         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23581 2014-02-27  Joey Ye  <joey.ye@arm.com>
23583         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23584         (_FP_NANFRAC_Q): Set to zero.
23586 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23588         [BZ #16623]
23589         * math/auto-libm-test-in: New test inputs.
23590         * math/auto-libm-test-out: Regenerate.
23591         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23592         and DA.
23593         (__cos): Likewise.
23594         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23596 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23598         * scripts/evaluate-test.sh: Take new argument indicating whether
23599         failure is expected.
23600         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23601         indicating whether failure is expected.
23602         * conform/Makefile (test-xfail-run-conformtest): New variable.
23603         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23604         level.
23605         * posix/Makefile (test-xfail-annexc): New variable.
23606         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23608 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23610         * argp/Makefile: Include Makeconfig immediately after defining
23611         subdir.
23612         * assert/Makefile: Likewise.
23613         * benchtests/Makefile: Likewise.
23614         * catgets/Makefile: Likewise.
23615         * conform/Makefile: Likewise.
23616         * crypt/Makefile: Likewise.
23617         * csu/Makefile: Likewise.
23618         (all): Remove target.
23619         * ctype/Makefile: Include Makeconfig immediately after defining
23620         subdir.
23621         * debug/Makefile: Likewise.
23622         * dirent/Makefile: Likewise.
23623         * dlfcn/Makefile: Likewise.
23624         * gmon/Makefile: Likewise.
23625         * gnulib/Makefile: Likewise.
23626         * grp/Makefile: Likewise.
23627         * gshadow/Makefile: Likewise.
23628         * hesiod/Makefile: Likewise.
23629         * hurd/Makefile: Likewise.
23630         (all): Remove target.
23631         * iconvdata/Makefile: Include Makeconfig immediately after
23632         defining subdir.
23633         * inet/Makefile: Likewise.
23634         * intl/Makefile: Likewise.
23635         * io/Makefile: Likewise.
23636         * libio/Makefile: Likewise.
23637         (all): Remove target.
23638         * locale/Makefile: Include Makeconfig immediately after defining
23639         subdir.
23640         * login/Makefile: Likewise.
23641         * mach/Makefile: Likewise.
23642         (all): Remove target.
23643         * malloc/Makefile: Include Makeconfig immediately after defining
23644         subdir.
23645         (all): Remove target.
23646         * manual/Makefile: Include Makeconfig immediately after defining
23647         subdir.
23648         * math/Makefile: Likewise.
23649         * misc/Makefile: Likewise.
23650         * nis/Makefile: Likewise.
23651         * nss/Makefile: Likewise.
23652         * po/Makefile: Likewise.
23653         (all): Remove target.
23654         * posix/Makefile: Include Makeconfig immediately after defining
23655         subdir.
23656         * pwd/Makefile: Likewise.
23657         * resolv/Makefile: Likewise.
23658         * resource/Makefile: Likewise.
23659         * rt/Makefile: Likewise.
23660         * setjmp/Makefile: Likewise.
23661         * shadow/Makefile: Likewise.
23662         * signal/Makefile: Likewise.
23663         * socket/Makefile: Likewise.
23664         * soft-fp/Makefile: Likewise.
23665         * stdio-common/Makefile: Likewise.
23666         * stdlib/Makefile: Likewise.
23667         * streams/Makefile: Likewise.
23668         * string/Makefile: Likewise.
23669         * sunrpc/Makefile: Likewise.
23670         (all): Remove target.
23671         * sysvipc/Makefile: Include Makeconfig immediately after defining
23672         subdir.
23673         * termios/Makefile: Likewise.
23674         * time/Makefile: Likewise.
23675         * timezone/Makefile: Likewise.
23676         (all): Remove target.
23677         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23678         subdir.
23679         * wctype/Makefile: Likewise.
23681 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23683         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23684         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23685         (libc_feholdexcept_setround_mips): Ditto.
23686         (libc_feholdsetround): New.
23687         (libc_feholdsetroundf): New.
23688         (libc_feholdsetroundl): New.
23689         (libc_feupdateenv_test_mips): New.
23690         (libc_feupdateenv_test): New.
23691         (libc_feupdateenv_testf): New.
23692         (libc_feupdateenv_testl): New.
23693         (libc_feresetround): New.
23694         (libc_feresetroundf): New.
23695         (libc_feresetroundl): New.
23696         (libc_fetestexcept_mips): New.
23697         (libc_fetestexcept): New.
23698         (libc_fetestexceptf): New.
23699         (libc_fetestexceptl): New.
23700         (HAVE_RM_CTX): New.
23701         (libc_feholdexcept_setround_mips_ctx): New.
23702         (libc_feholdexcept_setround_ctx): New.
23703         (libc_feholdexcept_setroundf_ctx): New.
23704         (libc_feholdexcept_setroundl_ctx): New.
23705         (libc_fesetenv_mips_ctx): New.
23706         (libc_fesetenv_ctx): New.
23707         (libc_fesetenv_ctxf): New.
23708         (libc_fesetenv_ctxl): New.
23709         (libc_feupdateenv_mips_ctx): New.
23710         (libc_feupdateenv_ctx): New.
23711         (libc_feupdateenvf_ctx): New.
23712         (libc_feupdateenvl_ctx): New.
23713         (libc_feholdsetround_mips_ctx): New.
23714         (libc_feholdsetround_ctx): New.
23715         (libc_feholdsetroundf_ctx): New.
23716         (libc_feholdsetroundl_ctx): New.
23717         (libc_feresetround_mips_ctx): New.
23718         (libc_feresetround_ctx): New.
23719         (libc_feresetroundf_ctx): New.
23720         (libc_feresetroundl_ctx): New.
23722 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23724         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23726         * manual/ipc.texi: New file.
23727         * manual/Makefile (chapters): Add ipc.
23728         * manual/job.texi: Add "Inter-Process Communication" to next.
23729         * manual/process.texi: Add "Inter-Process Communication" to prev.
23731 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23735 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23737         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23739         * manual/arith.texi: Fix spaces after sentences.
23740         * manual/charset.texi: Likewise.
23741         * manual/errno.texi: Likewise.
23742         * manual/install.texi: Likewise.
23743         * manual/llio.texi: Likewise.
23744         * manual/locale.texi: Likewise.
23745         * manual/maint.texi: Likewise.
23746         * manual/math.texi: Likewise.
23747         * manual/memory.texi: Likewise.
23748         * manual/message.texi: Likewise.
23749         * manual/probes.texi: Likewise.
23750         * manual/resource.texi: Likewise.
23751         * manual/signal.texi: Likewise.
23752         * manual/socket.texi: Likewise.
23753         * manual/stdio.texi: Likewise.
23754         * manual/string.texi: Likewise.
23755         * manual/time.texi: Likewise.
23756         * manual/users.texi: Likewise.
23758 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23760         [BZ #16632]
23761         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23762         _DEFAULT_SOURCE is defined.
23764 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23765             Carlos O'Donell  <carlos@redhat.com>
23767         [BZ #16613]
23768         * elf/dl-tls.c (_dl_count_modids): New function.
23769         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23770         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23771         audit library and increment generation counter.
23772         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23773         * elf/tst-audit9.c: New file.
23774         * elf/tst-auditmod9a.c: New file.
23775         * elf/tst-auditmod9b.c: New file.
23776         * elf/Makefile: Add rules to build and run tst-audit9.
23778 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23780         [BZ #15347]
23781         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23783 2014-02-25  Will Newton  <will.newton@linaro.org>
23785         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23786         (__longjmp): Restore sp and lr before restoring callee
23787         saved registers.  Add longjmp and longjmp_target
23788         SystemTap probe point.
23789         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23790         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23791         Define to zero to match jmpbuf layout.
23792         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23793         (__sigsetjmp): Save sp and lr before saving callee
23794         saved registers.  Add setjmp SystemTap probe point.
23796 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23798         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23800 2014-02-24  Andreas Schwab  <schwab@suse.de>
23802         [BZ #15804]
23803         * elf/pldd.c (wait_for_ptrace_stop): New function.
23804         (main): Call it after attaching.
23806 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23808         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23809         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23810         Versions files is now verboten.
23811         * hurd/Versions (libc: GLIBC_2.0):
23812         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23813         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23814         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23815         * mach/Versions: Likewise.
23817         * csu/Versions: Remove unused %include.
23818         * resolv/Versions: Likewise.
23820 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23822         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23823         ($(objpfx)check-local-headers.out): Likewise.
23824         ($(objpfx)begin-end-check.out): Likewise.
23825         * Makerules (check-abi-%.out): Likewise.
23826         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23827         ($(objpfx)test2.cat): Likewise.
23828         ($(objpfx)de/libc.cat): Likewise.
23829         ($(objpfx)test-gencat.out): Likewise.
23830         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23831         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23832         ($(objpfx)noload-mem): Likewise.
23833         ($(objpfx)tst-pathopt.out): Likewise.
23834         ($(objpfx)tst-rtld-load-self.out): Likewise.
23835         ($(objpfx)tst-array1-cmp.out): Likewise.
23836         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23837         ($(objpfx)tst-array2-cmp.out): Likewise.
23838         ($(objpfx)tst-array3-cmp.out): Likewise.
23839         ($(objpfx)tst-array4-cmp.out): Likewise.
23840         ($(objpfx)tst-array5-cmp.out): Likewise.
23841         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23842         ($(objpfx)check-textrel.out): Likewise.
23843         ($(objpfx)check-execstack.out): Likewise.
23844         ($(objpfx)check-localplt.out): Likewise.
23845         ($(objpfx)order2-cmp.out): Likewise.
23846         ($(objpfx)tst-leaks1-mem): Likewise.
23847         ($(objpfx)tst-leaks1-static-mem): Likewise.
23848         ($(objpfx)tst-initorder-cmp.out): Likewise.
23849         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23850         ($(objpfx)tst-unused-dep.out): Likewise.
23851         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23852         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23853         * iconv/Makefile (test-iconvconfig): Likewise.
23854         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23855         ($(objpfx)iconv-test.out): Likewise.
23856         ($(objpfx)tst-tables.out): Likewise.
23857         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23858         ($(objpfx)tst-gettext.out): Likewise.
23859         ($(objpfx)tst-translit.out): Likewise.
23860         ($(objpfx)tst-gettext2.out): Likewise.
23861         ($(objpfx)tst-gettext4.out): Likewise.
23862         ($(objpfx)tst-gettext6.out): Likewise.
23863         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23864         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23865         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23866         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23867         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23868         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23869         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23870         ($(objpfx)wordexp-tst.out): Likewise.
23871         ($(objpfx)annexc.out): Likewise.
23872         ($(objpfx)tst-fnmatch-mem): Likewise.
23873         ($(objpfx)bug-regex2-mem): Likewise.
23874         ($(objpfx)bug-regex14-mem): Likewise.
23875         ($(objpfx)bug-regex21-mem): Likewise.
23876         ($(objpfx)bug-regex31-mem): Likewise.
23877         ($(objpfx)tst-vfork3-mem): Likewise.
23878         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23879         ($(objpfx)tst-pcre-mem): Likewise.
23880         ($(objpfx)tst-boost-mem): Likewise.
23881         ($(objpfx)tst-getconf.out): Likewise.
23882         ($(objpfx)bug-ga2-mem): Likewise.
23883         ($(objpfx)bug-glob2-mem): Likewise.
23884         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23885         ($(objpfx)mtrace-tst-leaks2): Likewise.
23886         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23887         ($(objpfx)tst-printf.out): Likewise.
23888         ($(objpfx)tst-setvbuf1.out): Likewise.
23889         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23890         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23891         ($(objpfx)tst-fmtmsg.out): Likewise.
23892         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23893         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23895         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23896         * bits/sigaction.h [__USE_MISC]: Likewise.
23897         * bits/waitstatus.h: Update #endif comments.
23898         * ctype/ctype.h: Likewise.
23899         * dirent/dirent.h: Likewise.
23900         [__USE_MISC]: Remove redundant conditionals.
23901         * grp/grp.h: Update #endif comments.
23902         [__USE_GNU]: Remove redundant conditionals.
23903         [__USE_MISC]: Likewise.
23904         * inet/netinet/in.h [__USE_GNU]: Likewise.
23905         * io/sys/stat.h [__USE_MISC]: Likewise.
23906         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23907         * libio/bits/stdio.h: Update #endif comments.
23908         [__USE_MISC]: Remove redundant conditionals.
23909         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23910         * libio/stdio.h: Update #endif comments.
23911         [__USE_MISC]: Remove redundant conditionals.
23912         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23913         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23914         * math/math.h: Update #else and #endif comments.
23915         [__USE_MISC]: Remove redundant conditionals.
23916         * misc/sys/uio.h: Update #endif comments.
23917         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23918         * posix/glob.h [__USE_MISC]: Likewise.
23919         * posix/sys/types.h: Update #endif comments.
23920         [__USE_MISC]: Remove redundant conditionals.
23921         * posix/sys/wait.h: Update #endif comments.
23922         [__USE_MISC]: Remove redundant conditionals.
23923         * posix/unistd.h: Update #endif comments.
23924         [__USE_MISC]: Remove redundant conditionals.
23925         * pwd/pwd.h [__USE_GNU]: Likewise.
23926         [__USE_MISC]: Likewise.
23927         * resolv/netdb.h [__USE_GNU]: Likewise.
23928         * signal/signal.h: Update #endif comments.
23929         [__USE_MISC]: Remove redundant conditionals.
23930         * stdlib/stdlib.h: Update #else and #endif comments.
23931         [__USE_MISC]: Remove redundant conditionals.
23932         [__USE_GNU]: Likewise.
23933         * string/bits/string2.h [__USE_MISC]: Likewise.
23934         * string/string.h: Update #endif comments.
23935         [__USE_MISC]: Remove redundant conditionals.
23936         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23937         Likewise.
23938         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23939         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23940         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23941         Likewise.
23942         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23943         Likewise.
23944         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23945         comments.
23946         [__USE_MISC]: Remove redundant conditionals.
23947         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23948         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23949         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23950         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23951         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23952         Likewise.
23953         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23954         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23955         Likewise.
23956         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23957         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23958         Likewise.
23959         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23960         Likewise.
23961         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23962         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23963         Likewise.
23964         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23965         Likewise.
23966         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23967         * sysdeps/x86/bits/string.h: Update #endif comments.
23968         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23969         conditionals.
23970         * time/sys/time.h: Update #endif comments.
23971         * time/time.h: Likewise.
23972         [__USE_MISC]: Remove redundant conditionals.
23974 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23976         [BZ #16600]
23977         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23979 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23981         * Versions.def (librt): Add GLIBC_2.17.
23983 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23985         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23986         synonym for _SYS_AUXV_H to allow direct inclusion.
23987         * sysdeps/sparc/bits/hwcap.h: Likewise.
23988         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23989         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23990         * sysdeps/sparc/sysdep.h: Likewise.
23992 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23994         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23996 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23998         * benchtests/bench-strrchr.c: Print length instead of position.
24000 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24002         [BZ #16611]
24003         * sysdeps/unix/sysv/linux/kernel-features.h
24004         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24005         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24006         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24007         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24008         Likewise.
24009         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24010         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24011         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24012         (__ASSUME_SENDMMSG): Define instead of using previous
24013         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24014         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24015         (__ASSUME_SENDMMSG_SYSCALL): Define.
24016         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24017         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24018         Likewise.
24019         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24020         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24021         Likewise.
24022         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24023         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24024         Likewise.
24025         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24026         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24027         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24028         [__ASSUME_SENDMMSG]: Change conditionals to
24029         [__ASSUME_SENDMMSG_SOCKETCALL].
24030         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24031         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24032         Define.
24033         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24034         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24035         Likewise.
24036         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24037         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24038         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24039         [!__ASSUME_SENDMMSG]: Change conditional to
24040         [!__ASSUME_SENDMMSG_SOCKETCALL].
24041         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24042         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24043         Define.
24045         [BZ #16610]
24046         * sysdeps/unix/sysv/linux/kernel-features.h
24047         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24048         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24049         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24050         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24051         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24052         [__i386__ || __sparc__]
24053         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24054         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24055         (__ASSUME_RECVMMSG): Define instead of using previous
24056         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24057         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24058         (__ASSUME_RECVMMSG_SYSCALL): Define.
24059         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24060         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24061         Likewise.
24062         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24063         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24064         Likewise.
24065         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24066         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24067         Likewise.
24068         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24069         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24070         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24071         [__ASSUME_RECVMMSG]: Change condition to
24072         [__ASSUME_RECVMMSG_SOCKETCALL].
24073         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24074         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24075         Define.
24076         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24077         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24078         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24079         Likewise.
24080         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24081         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24082         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24083         [!__ASSUME_RECVMMSG]: Change condition to
24084         [!__ASSUME_RECVMMSG_SOCKETCALL].
24085         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24086         (__ASSUME_RECVMMSG_SYSCALL): Define.
24088         [BZ #16609]
24089         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24090         __powerpc__ || __s390__ || __sh__ || __sparc__]
24091         (__ASSUME_SOCKETCALL): Define.
24092         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24093         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24094         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24095         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24096         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24097         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24098         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24099         (__ASSUME_ACCEPT4): Define instead of using previous
24100         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24101         __powerpc__ || __sparc__ || __s390__)] condition.
24102         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24103         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24104         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24105         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24106         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24107         [!__ASSUME_ACCEPT4]: Change condition to
24108         [!__ASSUME_ACCEPT4_SOCKETCALL].
24109         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24110         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24111         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24112         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24113         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24114         __ASSUME_ACCEPT4_SYSCALL.
24115         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24116         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24117         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24118         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24119         __ASSUME_ACCEPT4_SYSCALL.
24120         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24121         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24122         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24123         [__ASSUME_ACCEPT4]: Change condition to
24124         [__ASSUME_ACCEPT4_SOCKETCALL].
24125         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24126         (__ASSUME_SOCKETCALL): Define.
24127         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24128         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24129         (__ASSUME_SOCKETCALL): Define.
24130         (__ASSUME_ACCEPT4): Remove.
24131         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24132         Define.
24133         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24134         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24135         Likewise.
24136         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24137         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24139         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24140         macro.
24141         (HWCAP_ARM_LPAE): Likewise.
24142         (HWCAP_ARM_EVTSTRM): Likewise.
24143         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24144         Add vpfd32, lpae and evtstrm.
24145         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24146         Increase to 22.
24148 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24150         * math/auto-libm-test-in: Add tests of clog10.
24151         * math/auto-libm-test-out: Regenerated.
24152         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24153         * sysdeps/i386/fpu/libm-test-ulps: Update.
24154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24156 2014-02-18  Andreas Schwab  <schwab@suse.de>
24158         [BZ #16574]
24159         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24160         Store non-zero if the second buffer was newly allocated.
24161         (send_dg): Likewise.
24162         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24163         to send_vc and send_dg.
24164         (res_nsend): Pass NULL for ansp2_malloced.
24165         * resolv/res_query.c (__libc_res_nquery): Add parameter
24166         answerp2_malloced and pass it down to __libc_res_nsend.
24167         (res_nquery): Pass additional NULL to __libc_res_nquery.
24168         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24169         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24170         second answer buffer if answerp2_malloced was set.
24171         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24172         (__libc_res_nquerydomain): Add parameter
24173         answerp2_malloced and pass it down to __libc_res_nquery.
24174         (res_nquerydomain): Pass additional NULL to
24175         __libc_res_nquerydomain.
24176         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24177         additional NULL to __libc_res_nsend and __libc_res_nquery.
24178         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24179         additional NULL to __libc_res_nsearch.
24180         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24181         parameter of __libc_res_nsearch to check for separately allocated
24182         second buffer.
24183         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24184         __libc_res_nquery.
24185         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24186         additional NULL to __libc_res_nquery.
24187         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24188         __libc_res_nsearch.
24189         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24190         * include/resolv.h: Update prototypes of __libc_res_nquery,
24191         __libc_res_nsearch, __libc_res_nsend.
24193 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24195         * math/auto-libm-test-in: Add tests of fma.
24196         * math/auto-libm-test-out: Regenerated.
24197         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24198         (fma_towardzero_test_data): Likewise.
24199         (fma_downward_test_data): Likewise.
24200         (fma_upward_test_data): Likewise.
24201         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24202         mpc_mode.
24203         (rounding_modes): Add values for new field.
24204         (func_calc_method): Add value mpfr_fff_f.
24205         (func_calc_desc): Add mpfr_fff_f union field.
24206         (test_function): Add field exact_args.
24207         (FUNC): Add macro argument EXACT_ARGS.
24208         (FUNC_mpfr_f_f): Update call to FUNC.
24209         (FUNC_mpfr_f_f): Likewise.
24210         (FUNC_mpfr_ff_f): Likewise.
24211         (FUNC_mpfr_if_f): Likewise.
24212         (FUNC_mpc_c_f): Likewise.
24213         (FUNC_mpc_c_c): Likewise.
24214         (test_functions): Add fma.  Update calls to FUNC.
24215         (handle_input_arg): Add argument exact_args.
24216         (add_test): Update call to handle_input_arg.
24217         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24218         (output_for_one_input_case): Update call to calc_generic_results.
24219         Recalculate exact zero results in each rounding mode.
24221         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24222         non-negative before setting low bit.
24223         * math/auto-libm-test-in: Mark one asin test possibly having
24224         spurious underflow.
24225         * math/auto-libm-test-out: Regenerated.
24226         * sysdeps/i386/fpu/libm-test-ulps: Update.
24227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24229 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24231         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24232         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24233         ports/sysdeps/unix/sysv/linux/microblaze.
24234         * README: Add missing listing for microblaze*-*-linux-gnu.
24236 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24238         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24239         duplicate code
24241 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24243         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24244         * sysdeps/unix/sysv/linux/ia64: Move directory from
24245         ports/sysdeps/unix/sysv/linux/ia64.
24246         * README: Update listing for ia64-*-linux-gnu.
24248 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24249             Joseph Myers  <joseph@codesourcery.com>
24251         * Makeconfig (test-name): New variable.
24252         (evaluate-test): Likewise.
24253         * Makerules (do-test-clean): Remove .test-result files.
24254         (common-mostlyclean): Likewise.
24255         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24256         * scripts/evaluate-test.sh: New file.
24258 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24260         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24261         separate $(objpfx)tst-fopenloc-cmp.out and
24262         $(objpfx)tst-fopenloc-mem.out targets.
24263         (tests): Update dependencies.
24264         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24265         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24266         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24267         (tst-rxspencer-no-utf8-ARGS): New variable.
24268         (tst-rxspencer-no-utf8-ENV): Likewise.
24269         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24270         instead of $(objpfx)tst-rxspencer-mem.
24271         ($(objpfx)tst-rxspencer-mem): Change target to
24272         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24273         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24274         * posix/tst-rxspencer-no-utf8.c: New file.
24276         * elf/Makefile ($(objpfx)order.out): Remove rule.
24277         [$(run-built-tests) = yes] (tests): Depend on
24278         $(objpfx)order-cmp.out.
24279         ($(objpfx)order-cmp.out): New rule.
24280         [$(run-built-tests) = yes] (tests): Depend on
24281         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24282         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24283         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24284         $(objpfx)tst-array5-static-cmp.out.
24285         ($(objpfx)tst-array1.out): Remove rule.
24286         ($(objpfx)tst-array1-cmp.out): New rule.
24287         ($(objpfx)tst-array1-static.out): Remove rule.
24288         ($(objpfx)tst-array1-static-cmp.out): New rule.
24289         ($(objpfx)tst-array2.out): Remove rule.
24290         ($(objpfx)tst-array2-cmp.out): New rule.
24291         ($(objpfx)tst-array3.out): Remove rule.
24292         ($(objpfx)tst-array3-cmp.out): New rule.
24293         ($(objpfx)tst-array4.out): Remove rule.
24294         ($(objpfx)tst-array4-cmp.out): New rule.
24295         ($(objpfx)tst-array5.out): Remove rule.
24296         ($(objpfx)tst-array5-cmp.out): New rule.
24297         ($(objpfx)tst-array5-static.out): Remove rule.
24298         ($(objpfx)tst-array5-static-cmp.out): New rule.
24299         [$(run-built-tests) = yes] (tests): Depend on
24300         $(objpfx)order2-cmp.out.
24301         ($(objpfx)order2.out): Remove rule.
24302         ($(objpfx)order2-cmp.out): New rule.
24303         ($(objpfx)tst-initorder.out): Remove rule.
24304         [$(run-built-tests) = yes] (tests): Depend on
24305         $(objpfx)tst-initorder-cmp.out.
24306         ($(objpfx)tst-initorder-cmp.out): New rule.
24307         ($(objpfx)tst-initorder2.out): Remove rule.
24308         [$(run-built-tests) = yes] (tests): Depend on
24309         $(objpfx)tst-initorder2-cmp.out.
24310         ($(objpfx)tst-initorder2-cmp.out): New rule.
24311         [$(run-built-tests) = yes] (tests): Depend on
24312         $(objpfx)tst-unused-dep-cmp.out.
24313         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24314         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24315         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24316         on $(objpfx)tst-setvbuf1-cmp.out.
24317         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24318         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24319         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24320         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24321         ($(objpfx)tst-svc.out): Remove rule.
24322         ($(objpfx)tst-svc-cmp.out): New rule.
24324 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24326         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24327         * ctype/ctype.h [__USE_MISC]: Likewise.
24328         * dirent/dirent.h [__USE_MISC]: Likewise.
24329         * grp/grp.h [__USE_MISC]: Likewise.
24330         * io/fcntl.h [__USE_MISC]: Likewise.
24331         * io/sys/stat.h [__USE_MISC]: Likewise.
24332         * libio/stdio.h [__USE_MISC]: Likewise.
24333         * posix/unistd.h [__USE_MISC]: Likewise.
24334         * pwd/pwd.h [__USE_MISC]: Likewise.
24335         * stdlib.h [__USE_MISC]: Likewise.
24336         * string/bits/string2.h [__USE_MISC]: Likewise.
24337         * string/string.h [__USE_MISC]: Likewise.
24338         * time/time.h [__USE_MISC]: Likewise.
24340 2014-02-13  Andreas Schwab  <schwab@suse.de>
24342         [BZ #16574]
24343         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24344         second answer buffer if it was separately allocated.
24346 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24348         * sysdeps/mips/math-tests.h: Include <features.h>.
24349         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24350         (ROUNDING_TESTS_long_double): Do not define.
24351         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24352         (EXCEPTION_TESTS_long_double): Likewise.
24353         * sysdeps/mips/mips64/libm-test-ulps: Update.
24355         * include/features.h (__USE_BSD): Remove macro definitions.
24356         (__USE_SVID): Likewise.
24357         (_BSD_SOURCE): Likewise.
24358         (_SVID_SOURCE): Likewise.
24359         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24360         from definition of _DEFAULT_SOURCE.
24361         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24362         [_DEFAULT_SOURCE].
24363         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24364         * bits/mman.h [__USE_BSD]: Likewise.
24365         * bits/termios.h [__USE_BSD]: Likewise.
24366         * bits/waitstatus.h [__USE_BSD]: Likewise.
24367         * ctype/ctype.h [__USE_SVID]: Likewise.
24368         * dirent/dirent.h [__USE_BSD]: Likewise.
24369         * grp/grp.h [__USE_SVID]: Likewise.
24370         [__USE_BSD]: Likewise.
24371         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24372         * io/fcntl.h [__USE_BSD]: Likewise.
24373         * io/ftw.h [__USE_BSD]: Likewise.
24374         * io/sys/stat.h [__USE_BSD]: Likewise.
24375         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24376         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24377         * libio/stdio.h [__USE_SVID]: Likewise.
24378         [__USE_BSD]: Likewise.
24379         * math/math.h [__USE_SVID]: Likewise.
24380         [__USE_BSD]: Likewise.
24381         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24382         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24383         * misc/search.h [__USE_SVID]: Likewise.
24384         * misc/sys/mman.h [__USE_BSD]: Likewise.
24385         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24386         * misc/sys/uio.h [__USE_BSD]: Likewise.
24387         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24388         * posix/glob.h [__USE_BSD]: Likewise.
24389         * posix/regex.h [__USE_BSD]: Likewise.
24390         * posix/sys/types.h [__USE_BSD]: Likewise.
24391         [__USE_SVID]: Likewise.
24392         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24393         * posix/sys/wait.h [__USE_BSD]: Likewise.
24394         [__USE_SVID]: Likewise.
24395         * posix/unistd.h [__USE_BSD]: Likewise.
24396         [__USE_SVID]: Likewise.
24397         * pwd/pwd.h [__USE_SVID]: Likewise.
24398         * resolv/netdb.h [__USE_BSD]: Likewise.
24399         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24400         * signal/signal.h [__USE_BSD]: Likewise.
24401         [__USE_SVID]: Likewise.
24402         * socket/sys/socket.h [__USE_BSD]: Likewise.
24403         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24404         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24405         [__USE_SVID]: Likewise.
24406         * string/bits/string2.h [__USE_BSD]: Likewise.
24407         [__USE_SVID]: Likewise.
24408         * string/bits/string3.h [__USE_BSD]: Likewise.
24409         * string/endian.h [__USE_BSD]: Likewise.
24410         * string/string.h [__USE_SVID]: Likewise.
24411         [__USE_BSD]: Likewise.
24412         * string/strings.h [__USE_BSD]: Likewise.
24413         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24414         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24415         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24416         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24417         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24418         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24419         Likewise.
24420         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24421         Likewise.
24422         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24423         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24424         Likewise.
24425         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24426         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24427         Likewise.
24428         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24429         Likewise.
24430         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24431         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24432         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24433         Likewise.
24434         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24435         Likewise.
24436         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24437         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24438         * termios/termios.h [__USE_BSD]: Likewise.
24439         * time/sys/time.h [__USE_BSD]: Likewise.
24440         * time/time.h [__USE_BSD]: Likewise.
24441         [__USE_SVID]: Likewise.
24443         * Makefile (subdir_targets): Remove subdir_lint.out.
24445         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24446         (do-tst-printf): Likewise.
24447         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24448         $(objpfx)tst-printf.out.
24450         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24452         * Makerules (check-abi-%): Change target to
24453         $(objpfx)check-abi-%.out.
24454         (check-abi target): Update dependencies.
24455         (check-abi-pattern variable): Redirect output of diff to $@.
24456         (check-abi variable): Likewise.
24457         * elf/Makefile (check-abi): Update dependencies.
24459         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24460         unused.
24461         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24462         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24463         subnormal range.
24464         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24465         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24466         value has largest subnormal exponent.
24467         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24468         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24469         * sysdeps/aarch64/soft-fp/sfp-machine.h
24470         (_FP_TININESS_AFTER_ROUNDING): New macro.
24471         * sysdeps/alpha/soft-fp/sfp-machine.h
24472         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24473         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24474         Likewise.
24475         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24476         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24477         * sysdeps/mips/soft-fp/sfp-machine.h
24478         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24479         * sysdeps/powerpc/soft-fp/sfp-machine.h
24480         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24481         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24482         Likewise.
24483         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24484         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24485         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24486         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24487         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24488         Likewise.
24490 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24492         [BZ #16545]
24493         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24494         model 1.
24496 2014-02-12  Richard Henderson  <rth@redhat.com>
24498         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24499         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24500         * sysdeps/unix/sysv/linux/alpha: Move directory from
24501         ports/sysdeps/unix/sysv/linux/alpha.
24502         * README: Update listing for alpha-*-linux-gnu.
24504 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24506         * include/features.h: Update comment documenting feature test
24507         macros.
24508         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24509         _DEFAULT_SOURCE.
24510         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24511         (_SVID_SOURCE): Likewise.
24512         (_DEFAULT_SOURCE): Update description of default features.
24513         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24514         with _GNU_SOURCE.
24515         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24516         (S_ISVTX): Likewise.
24517         * manual/math.texi (Mathematical Constants): Likewise.
24518         * manual/signal.texi (Interrupted Primitives): Likewise.
24519         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24520         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24521         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24522         Don't refer to _SVID_SOURCE in warning text.
24524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24526         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24527         already defined.
24528         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24529         * sysdeps/mips/dl-lookup.c: Remove.
24530         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24532 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24534         [BZ #16447]
24535         * math/auto-libm-test-in: Add testcase for expl.
24536         * math/auto-libm-test-out: Regenerate.
24537         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24538         calculation of unsafe.
24539         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24541 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24543         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24544         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24545         ports/sysdeps/unix/sysv/linux/aarch64.
24546         * README: Update listing for aarch64*-*-linux-gnu.
24548 2014-02-11  Will Newton  <will.newton@linaro.org>
24550         * manual/probes.texi (Mathematical Function Probes): Use
24551         "triggered" instead of "hit".
24553         * manual/probes.texi (Internal Probes): Add documentation
24554         of setjmp, longjmp and longjmp_target probes.
24556         * include/stap-probe.h: Add comment about probe argument
24557         format.
24559         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24560         definition.  (tr_where, tr_freehook, tr_mallochook,
24561         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24563 2014-02-11  David S. Miller  <davem@davemloft.net>
24565         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24566         processing int_tests.
24568 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24570         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24571         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24572         * sysdeps/unix/sysv/linux/mips: Move directory from
24573         ports/sysdeps/unix/sysv/linux/mips.
24574         * README: Update listing for mips-*-linux-gnu and
24575         mips64-*-linux-gnu.
24577 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24579         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24580         * sysdeps/unix/sysv/linux/m68k: Move directory from
24581         ports/sysdeps/unix/sysv/linux/m68k.
24582         * README: Update listing for m68k-*-linux-gnu.
24584 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24586         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24587         * sysdeps/unix/sysv/linux/generic: Move directory from
24588         ports/sysdeps/unix/sysv/linux/generic.
24589         * sysdeps/unix/sysv/linux/tile: Move directory from
24590         ports/sysdeps/unix/sysv/linux/tile.
24591         * README: Update listing for tile*-*-linux-gnu.
24593 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24595         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24596         __builtin_expect.
24597         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24598         * catgets/open_catalog.c (__open_catalog): Likewise.
24599         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24600         * debug/confstr_chk.c: Likewise.
24601         * debug/fread_chk.c (__fread_chk): Likewise.
24602         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24603         * debug/getgroups_chk.c: Likewise.
24604         * debug/mbsnrtowcs_chk.c: Likewise.
24605         * debug/mbsrtowcs_chk.c: Likewise.
24606         * debug/mbstowcs_chk.c: Likewise.
24607         * debug/memcpy_chk.c: Likewise.
24608         * debug/memmove_chk.c: Likewise.
24609         * debug/mempcpy_chk.c: Likewise.
24610         * debug/memset_chk.c: Likewise.
24611         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24612         * debug/strcat_chk.c (__strcat_chk): Likewise.
24613         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24614         * debug/strncat_chk.c (__strncat_chk): Likewise.
24615         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24616         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24617         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24618         * debug/wcpncpy_chk.c: Likewise.
24619         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24620         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24621         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24622         * debug/wcsncpy_chk.c: Likewise.
24623         * debug/wcsnrtombs_chk.c: Likewise.
24624         * debug/wcsrtombs_chk.c: Likewise.
24625         * debug/wcstombs_chk.c: Likewise.
24626         * debug/wmemcpy_chk.c: Likewise.
24627         * debug/wmemmove_chk.c: Likewise.
24628         * debug/wmempcpy_chk.c: Likewise.
24629         * debug/wmemset_chk.c: Likewise.
24630         * dirent/scandirat.c (SCANDIRAT): Likewise.
24631         * dlfcn/dladdr1.c (dladdr1): Likewise.
24632         * dlfcn/dladdr.c (dladdr): Likewise.
24633         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24634         * dlfcn/dlerror.c (__dlerror): Likewise.
24635         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24636         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24637         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24638         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24639         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24640         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24641         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24642         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24643         Likewise.
24644         * elf/dl-conflict.c: Likewise.
24645         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24646         * elf/dl-dst.h: Likewise.
24647         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24648         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24649         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24650         * elf/dl-init.c (call_init, _dl_init): Likewise.
24651         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24652         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24653         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24654         Likewise.
24655         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24656         Likewise.
24657         * elf/dl-minimal.c (__libc_memalign): Likewise.
24658         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24659         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24660         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24661         * elf/dl-sym.c (do_sym): Likewise.
24662         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24663         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24664         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24665         * elf/dl-writev.h (_dl_writev): Likewise.
24666         * elf/ldconfig.c (search_dir): Likewise.
24667         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24668         (dl_main): Likewise.
24669         * elf/setup-vdso.h (setup_vdso): Likewise.
24670         * grp/compat-initgroups.c (compat_call): Likewise.
24671         * grp/fgetgrent.c (fgetgrent): Likewise.
24672         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24673         * grp/putgrent.c (putgrent): Likewise.
24674         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24675         Likewise.
24676         * hurd/hurdinit.c: Likewise.
24677         * iconvdata/8bit-gap.c (struct): Likewise.
24678         * iconvdata/ansi_x3.110.c : Likewise.
24679         * iconvdata/big5.c : Likewise.
24680         * iconvdata/big5hkscs.c : Likewise.
24681         * iconvdata/cp1255.c: Likewise.
24682         * iconvdata/cp1258.c : Likewise.
24683         * iconvdata/cp932.c : Likewise.
24684         * iconvdata/euc-cn.c: Likewise.
24685         * iconvdata/euc-jisx0213.c : Likewise.
24686         * iconvdata/euc-jp.c: Likewise.
24687         * iconvdata/euc-jp-ms.c : Likewise.
24688         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24689         * iconvdata/gb18030.c : Likewise.
24690         * iconvdata/gbbig5.c (const): Likewise.
24691         * iconvdata/gbgbk.c: Likewise.
24692         * iconvdata/gbk.c : Likewise.
24693         * iconvdata/ibm1364.c : Likewise.
24694         * iconvdata/ibm930.c : Likewise.
24695         * iconvdata/ibm932.c: Likewise.
24696         * iconvdata/ibm933.c : Likewise.
24697         * iconvdata/ibm935.c : Likewise.
24698         * iconvdata/ibm937.c : Likewise.
24699         * iconvdata/ibm939.c : Likewise.
24700         * iconvdata/ibm943.c: Likewise.
24701         * iconvdata/iso_11548-1.c: Likewise.
24702         * iconvdata/iso-2022-cn.c : Likewise.
24703         * iconvdata/iso-2022-cn-ext.c : Likewise.
24704         * iconvdata/iso-2022-jp-3.c: Likewise.
24705         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24706         * iconvdata/iso-2022-kr.c : Likewise.
24707         * iconvdata/iso646.c (gconv_end): Likewise.
24708         * iconvdata/iso_6937-2.c : Likewise.
24709         * iconvdata/iso_6937.c : Likewise.
24710         * iconvdata/iso8859-1.c: Likewise.
24711         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24712         * iconvdata/shift_jisx0213.c : Likewise.
24713         * iconvdata/sjis.c : Likewise.
24714         * iconvdata/t.61.c : Likewise.
24715         * iconvdata/tcvn5712-1.c : Likewise.
24716         * iconvdata/tscii.c: Likewise.
24717         * iconvdata/uhc.c : Likewise.
24718         * iconvdata/unicode.c (gconv_end): Likewise.
24719         * iconvdata/utf-16.c (gconv_end): Likewise.
24720         * iconvdata/utf-32.c (gconv_end): Likewise.
24721         * iconvdata/utf-7.c (base64): Likewise.
24722         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24723         * iconv/gconv_close.c (__gconv_close): Likewise.
24724         * iconv/gconv_open.c (__gconv_open): Likewise.
24725         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24726         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24727         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24728         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24729         (ucs4le_internal_loop_single): Likewise.
24730         * iconv/iconv.c (iconv): Likewise.
24731         * iconv/iconv_close.c: Likewise.
24732         * iconv/loop.c (SINGLE): Likewise.
24733         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24734         * include/atomic.h: Likewise.
24735         * inet/inet6_option.c (option_alloc): Likewise.
24736         * intl/bindtextdom.c (set_binding_values): Likewise.
24737         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24738         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24739         * intl/localealias.c (read_alias_file): Likewise.
24740         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24741         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24742         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24743         * libio/fmemopen.c (fmemopen): Likewise.
24744         * libio/iofgets.c (_IO_fgets): Likewise.
24745         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24746         * libio/iofgetws.c (fgetws): Likewise.
24747         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24748         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24749         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24750         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24751         * locale/findlocale.c (_nl_find_locale): Likewise.
24752         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24753         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24754         Likewise.
24755         * locale/setlocale.c (setlocale): Likewise.
24756         * login/programs/pt_chown.c (main): Likewise.
24757         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24758         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24759         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24760         (mmap, mmap64, mremap, munmap): Likewise.
24761         * math/e_exp2l.c: Likewise.
24762         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24763         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24764         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24765         * math/s_catan.c (__catan): Likewise.
24766         * math/s_catanf.c (__catanf): Likewise.
24767         * math/s_catanh.c (__catanh): Likewise.
24768         * math/s_catanhf.c (__catanhf): Likewise.
24769         * math/s_catanhl.c (__catanhl): Likewise.
24770         * math/s_catanl.c (__catanl): Likewise.
24771         * math/s_ccosh.c (__ccosh): Likewise.
24772         * math/s_ccoshf.c (__ccoshf): Likewise.
24773         * math/s_ccoshl.c (__ccoshl): Likewise.
24774         * math/s_cexp.c (__cexp): Likewise.
24775         * math/s_cexpf.c (__cexpf): Likewise.
24776         * math/s_cexpl.c (__cexpl): Likewise.
24777         * math/s_clog10.c (__clog10): Likewise.
24778         * math/s_clog10f.c (__clog10f): Likewise.
24779         * math/s_clog10l.c (__clog10l): Likewise.
24780         * math/s_clog.c (__clog): Likewise.
24781         * math/s_clogf.c (__clogf): Likewise.
24782         * math/s_clogl.c (__clogl): Likewise.
24783         * math/s_csin.c (__csin): Likewise.
24784         * math/s_csinf.c (__csinf): Likewise.
24785         * math/s_csinh.c (__csinh): Likewise.
24786         * math/s_csinhf.c (__csinhf): Likewise.
24787         * math/s_csinhl.c (__csinhl): Likewise.
24788         * math/s_csinl.c (__csinl): Likewise.
24789         * math/s_csqrt.c (__csqrt): Likewise.
24790         * math/s_csqrtf.c (__csqrtf): Likewise.
24791         * math/s_csqrtl.c (__csqrtl): Likewise.
24792         * math/s_ctan.c (__ctan): Likewise.
24793         * math/s_ctanf.c (__ctanf): Likewise.
24794         * math/s_ctanh.c (__ctanh): Likewise.
24795         * math/s_ctanhf.c (__ctanhf): Likewise.
24796         * math/s_ctanhl.c (__ctanhl): Likewise.
24797         * math/s_ctanl.c (__ctanl): Likewise.
24798         * math/w_pow.c: Likewise.
24799         * math/w_powf.c: Likewise.
24800         * math/w_powl.c: Likewise.
24801         * math/w_scalb.c (sysv_scalb): Likewise.
24802         * math/w_scalbf.c (sysv_scalbf): Likewise.
24803         * math/w_scalbl.c (sysv_scalbl): Likewise.
24804         * misc/error.c (error_tail): Likewise.
24805         * misc/pselect.c (__pselect): Likewise.
24806         * nis/nis_callback.c (__nis_create_callback): Likewise.
24807         * nis/nis_call.c (__nisfind_server): Likewise.
24808         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24809         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24810         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24811         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24812         * nis/nis_lookup.c (nis_lookup): Likewise.
24813         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24814         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24815         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24816         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24817         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24818         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24819         * nis/nss_compat/compat-initgroups.c (add_group)
24820         (internal_getgrent_r): Likewise.
24821         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24822         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24823         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24824         (internal_getspnam_r): Likewise.
24825         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24826         (_nss_nis_getaliasbyname_r): Likewise.
24827         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24828         (_nss_nis_getntohost_r): Likewise.
24829         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24830         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24831         (_nss_nis_getgrgid_r): Likewise.
24832         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24833         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24834         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24835         (_nss_nis_gethostbyname4_r): Likewise.
24836         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24837         (initgroups_netid): Likewise.
24838         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24839         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24840         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24841         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24842         (_nss_nis_getprotobynumber_r): Likewise.
24843         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24844         (_nss_nis_getsecretkey): Likewise.
24845         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24846         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24847         (_nss_nis_getpwuid_r): Likewise.
24848         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24849         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24850         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24851         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24852         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24853         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24854         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24855         Likewise.
24856         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24857         (_nss_nisplus_getntohost_r): Likewise.
24858         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24859         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24860         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24861         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24862         Likewise.
24863         * nis/nss_nisplus/nisplus-initgroups.c
24864         (_nss_nisplus_initgroups_dyn): Likewise.
24865         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24866         (_nss_nisplus_getnetbyaddr_r): Likewise.
24867         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24868         (_nss_nisplus_getprotobynumber_r): Likewise.
24869         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24870         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24871         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24872         Likewise.
24873         * nis/nss_nisplus/nisplus-service.c
24874         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24875         (_nss_nisplus_getservbyport_r): Likewise.
24876         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24877         (_nss_nisplus_getspnam_r): Likewise.
24878         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24879         Likewise.
24880         * nscd/aicache.c (addhstaiX): Likewise.
24881         * nscd/cache.c (cache_search, prune_cache): Likewise.
24882         * nscd/connections.c (register_traced_file, send_ro_fd)
24883         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24884         (main_loop_epoll): Likewise.
24885         * nscd/grpcache.c (addgrbyX): Likewise.
24886         * nscd/hstcache.c (addhstbyX): Likewise.
24887         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24888         * nscd/mem.c (gc, mempool_alloc): Likewise.
24889         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24890         (addinnetgrX): Likewise.
24891         * nscd/nscd-client.h (__nscd_acquire_maplock)
24892         (__nscd_drop_map_ref): Likewise.
24893         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24894         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24895         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24896         Likewise.
24897         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24898         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24899         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24900         (__nscd_get_map_ref): Likewise.
24901         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24902         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24903         Likewise.
24904         * nscd/pwdcache.c (addpwbyX): Likewise.
24905         * nscd/selinux.c (preserve_capabilities): Likewise.
24906         * nscd/servicescache.c (addservbyX): Likewise.
24907         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24908         * posix/fnmatch.c (fnmatch): Likewise.
24909         * posix/getopt.c (_getopt_internal_r): Likewise.
24910         * posix/glob.c (glob, glob_in_dir): Likewise.
24911         * posix/wordexp.c (exec_comm_child): Likewise.
24912         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24913         (getanswer_r, gaih_getanswer_slice): Likewise.
24914         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24915         * resolv/res_init.c: Likewise.
24916         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24917         * resolv/res_query.c (__libc_res_nquery): Likewise.
24918         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24919         Likewise.
24920         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24921         * stdio-common/perror.c (perror): Likewise.
24922         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24923         * stdio-common/tmpnam.c (tmpnam): Likewise.
24924         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24925         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24926         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24927         Likewise.
24928         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24929         * stdlib/putenv.c (putenv): Likewise.
24930         * stdlib/setenv.c (__add_to_environ): Likewise.
24931         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24932         * stdlib/strtol_l.c (INTERNAL): Likewise.
24933         * string/memmem.c (memmem): Likewise.
24934         * string/strerror.c (strerror): Likewise.
24935         * string/strnlen.c (__strnlen): Likewise.
24936         * string/test-memmem.c (simple_memmem): Likewise.
24937         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24938         * sunrpc/pm_getport.c (__get_socket): Likewise.
24939         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24940         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24941         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24942         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24943         Likewise.
24944         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24945         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24946         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24947         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24948         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24949         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24950         Likewise.
24951         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24952         Likewise.
24953         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24954         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24955         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24956         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24957         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24959         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24960         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24961         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24962         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24963         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24964         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24965         Likewise.
24966         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24967         Likewise.
24968         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24969         Likewise.
24970         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24971         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24972         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24973         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24974         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24975         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24976         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24977         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24978         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24979         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24980         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24981         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24982         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24983         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24984         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24985         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24986         Likewise.
24987         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24988         Likewise.
24989         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24990         Likewise.
24991         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24992         Likewise.
24993         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24994         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24995         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24996         Likewise.
24997         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24998         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24999         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25000         * sysdeps/posix/sleep.c: Likewise.
25001         * sysdeps/posix/tempname.c: Likewise.
25002         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25003         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25004         Likewise.
25005         * sysdeps/powerpc/powerpc32/dl-machine.h
25006         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25007         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25008         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25009         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25010         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25011         Likewise.
25012         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25013         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25014         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25015         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25016         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25017         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25018         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25019         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25020         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25021         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25022         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25023         (elf_machine_lazy_rel): Likewise.
25024         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25025         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25026         (elf_machine_lazy_rel): Likewise.
25027         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25028         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25029         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25030         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25031         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25032         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25033         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25034         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25035         Likewise.
25036         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25037         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25038         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25039         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25040         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25041         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25042         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25043         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25044         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25045         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25046         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25047         Likewise.
25048         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25049         (__posix_fallocate64_l64): Likewise.
25050         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25051         (posix_fallocate): Likewise.
25052         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25053         Likewise.
25054         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25055         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25056         (getifaddrs_internal): Likewise.
25057         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25058         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25059         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25060         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25061         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25062         (__posix_fallocate64_l64): Likewise.
25063         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25064         Likewise.
25065         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25066         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25067         (__get_clockfreq): Likewise.
25068         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25069         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25070         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25071         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25072         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25073         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25074         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25075         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25076         Likewise.
25077         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25078         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25079         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25080         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25081         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25082         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25083         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25084         Likewise.
25085         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25086         (posix_fallocate): Likewise.
25087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25088         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25089         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25090         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25091         (elf_machine_rela, elf_machine_rela_relative)
25092         (elf_machine_lazy_rel): Likewise.
25093         * time/asctime.c (asctime_internal): Likewise.
25094         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25095         * time/tzset.c (__tzset_parse_tz): Likewise.
25096         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25097         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25098         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25099         * wcsmbs/wcsmbsload.h: Likewise.
25101         [BZ #15894]
25102         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25104         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25105         (arena_get2): Remove THREAD_STATS conditionals.
25106         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25107         (__malloc_stats, int): Likewise.
25109 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25111         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25112         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25114         * manual/setjmp.texi: Fix typos/grammar errors.
25116         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25117         Only return early when n is <= 0.  Delete unused return statement.
25119         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25120         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25121         * debug/tst-longjmp_chk3.c: New file.
25123         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25124         (test_main): Replace code with set_fortify_handler call.
25125         * debug/test-strcpy_chk.c: Likewise.
25126         * debug/tst-chk1.c: Likewise.
25127         * debug/tst-longjmp_chk.c: Likewise.
25128         * test-skeleton.c: Include fcntl.h & paths.h
25129         (set_fortify_handler): Define.
25131         * debug/tst-longjmp_chk.c: Add header comment and include
25132         ../test-skeleton.c.
25133         (do_test): Mark static.
25134         (TEST_FUNCTION): Define.
25136         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25137         (IP_PMTUDISC_INTERFACE): Likewise.
25138         (IP_MULTICAST_IF): Likewise.
25139         (IP_MULTICAST_TTL): Likewise.
25140         (IP_MULTICAST_LOOP): Likewise.
25141         (IP_ADD_MEMBERSHIP): Likewise.
25142         (IP_DROP_MEMBERSHIP): Likewise.
25143         (IP_UNBLOCK_SOURCE): Likewise.
25144         (IP_BLOCK_SOURCE): Likewise.
25145         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25146         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25147         (IP_MSFILTER): Likewise.
25148         (MCAST_JOIN_GROUP): Likewise.
25149         (MCAST_BLOCK_SOURCE): Likewise.
25150         (MCAST_UNBLOCK_SOURCE): Likewise.
25151         (MCAST_LEAVE_GROUP): Likewise.
25152         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25153         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25154         (MCAST_MSFILTER): Likewise.
25155         (IP_MULTICAST_ALL): Likewise.
25156         (IP_UNICAST_IF): Likewise.
25158         * timezone/Makefile: Delete $(have-ksh) check.
25159         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25160         * timezone/tzselect.ksh: Add +x mode bits.
25162         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25163         (ANON_INODE_FS_MAGIC): Likewise.
25164         (BDEVFS_MAGIC): Likewise.
25165         (BINFMTFS_MAGIC): Likewise.
25166         (BTRFS_TEST_MAGIC): Likewise.
25167         (CRAMFS_MAGIC_WEND): Likewise.
25168         (DEBUGFS_MAGIC): Likewise.
25169         (ECRYPTFS_SUPER_MAGIC): Likewise.
25170         (EXT3_SUPER_MAGIC): Likewise.
25171         (EXT4_SUPER_MAGIC): Likewise.
25172         (FUTEXFS_SUPER_MAGIC): Likewise.
25173         (HOSTFS_SUPER_MAGIC): Likewise.
25174         (HUGETLBFS_MAGIC): Likewise.
25175         (MINIX3_SUPER_MAGIC): Likewise.
25176         (MTD_INODE_FS_MAGIC): Likewise.
25177         (NILFS_SUPER_MAGIC): Likewise.
25178         (OPENPROM_SUPER_MAGIC): Likewise.
25179         (PIPEFS_MAGIC): Likewise.
25180         (PSTOREFS_MAGIC): Likewise.
25181         (QNX6_SUPER_MAGIC): Likewise.
25182         (RAMFS_MAGIC): Likewise.
25183         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25184         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25185         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25186         (SECURITYFS_MAGIC): Likewise.
25187         (SELINUX_MAGIC): Likewise.
25188         (SMACK_MAGIC): Likewise.
25189         (SOCKFS_MAGIC): Likewise.
25190         (SQUASHFS_MAGIC): Likewise.
25191         (STACK_END_MAGIC): Likewise.
25192         (TMPFS_MAGIC): Likewise.
25193         (USBDEVICE_SUPER_MAGIC): Likewise.
25194         (V9FS_MAGIC): Likewise.
25195         (XENFS_SUPER_MAGIC): Likewise.
25196         (CRAMFS_MAGIC): Fix typo in comment.
25197         (EXT2_SUPER_MAGIC): Update comment.
25198         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25200 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25202         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25203         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25204         * sysdeps/unix/sysv/linux/arm: Move directory from
25205         ports/sysdeps/unix/sysv/linux/arm.
25206         * README: Update listing for arm-*-linux-gnueabi.
25208         * README: Remove mention of am33.
25210 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25212         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25213         than the comma operator, to avoid "rhs of comma has no effect"
25214         compiler warnings.
25215         (__sigfillset, __sigandset, __sigorset): Likewise.
25216         * include/signal.h (__sigemptyset): Likewise.
25217         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25219 2014-02-07  Allan McRae  <allan@archlinux.org>
25221         * version.h (RELEASE): Set to "development".
25222         (VERSION): Set to "2.19.90"
25223         * NEWS: Add 2.20 section.
25225 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25227         [BZ #16529]
25228         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25230 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25232         * manual/contrib.texi: Update entry for Carlos O'Donell,
25233         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25235 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25237         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25239         * sysdeps/unix/sysv/linux/kernel-features.h
25240         [__LINUX_KERNEL_VERSION >= 0x020621]
25241         (__ASSUME_PROC_PID_TASK_COMM): Define.
25243 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25245         [BZ #16398]
25246         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25247         conversion when destination buffer does not have enough space.
25248         * libio/tst-ftell-partial-wide.c: New test case.
25249         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25251         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25252         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25253         Leonard and Allan McRae.
25255 2014-02-04  David S. Miller  <davem@davemloft.net>
25257         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25258         32-bit.
25260 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25263         New file
25264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25265         New file
25266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25267         New file.
25268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25269         New file.
25270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25271         New file.
25272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25273         New file.
25274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25275         New file.
25276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25277         New file.
25278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25279         New file.
25280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25281         New file.
25282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25283         New file.
25284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25285         New file.
25286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25287         New file.
25289 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25291         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25292         * shlib-versions: Likewise.
25294 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25295             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25297         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25298         (abilist-pattern): New variable, set to %-le.abilist.
25300         * Makerules (abilist-pattern): New variable.
25301         (vpath): Use $(abilist-pattern) in place of %.abilist.
25302         (check-abi-% pattern rule): Likewise.
25303         (check-abi, update-abi): Likewise.
25305 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25309 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25311         * manual/startup.texi: Add next, previous, and top entries for
25312         the `Program Arguments' and `Environment Variables' nodes.
25314 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25316         * manual/macros.texi: Add comments before MTASC-safety macros.
25318         * manual/users.texi: Document MTASC-safety properties.
25320         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25321         (pthread_getspecific, pthread_setspecific): Format with
25322         @deftypefun, and add @safety note.
25323         * manual/signal.texi: Move comments that analyze the above
25324         functions to their home place.
25326 2014-02-03  Allan McRae  <allan@archlinux.org>
25328         * po/sl.po: Update Slovenian translation from translation project.
25330 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25332         * manual/time.texi (timegm): Add missing blank after @c.
25333         Reported by Joseph Myers <joseph@codesourcery.com>.
25335 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25337         * manual/check-safety.sh: New.
25338         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25340         * manual/terminal.texi: Document MTASC-safety properties.
25342         * manual/filesys.texi: Document MTASC-safety properties.
25344         * manual/errno.texi: Document MTASC-safety properties.
25346         * manual/intro.texi: Document safety identifiers and
25347         conditionals.
25349         * manual/string.texi (wcstok): Fix prototype.
25350         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25352         * manual/time.texi: Document MTASC-safety properties.
25354         * manual/string.texi: Document MTASC-safety properties.
25356         * manual/threads.texi: Document MTASC-safety properties.
25358         * manual/stdio.texi: Document MTASC-safety properties.
25360         * manual/syslog.texi: Document MTASC-safety properties.
25362         * manual/sysinfo.texi: Document MTASC-safety properties.
25364         * manual/startup.texi: Document MTASC-safety properties.
25366         * manual/socket.texi: Document MTASC-safety properties.
25368         * manual/signal.texi: Document MTASC-safety properties.
25370 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25372         * manual/setjmp.texi: Document MTASC-safety properties.
25374         * manual/search.texi: Document MTASC-safety properties.
25376         * manual/resource.texi: Document MTASC-safety properties.
25378         * manual/process.texi: Document MTASC-safety properties.
25380         * manual/platform.texi: Document MTASC-safety properties.
25382         * manual/pipe.texi: Document MTASC-safety properties.
25384         * manual/pattern.texi: Document MTASC-safety properties.
25386         * manual/message.texi: Document MTASC-safety properties.
25388         [BZ #12751]
25389         * manual/memory.texi: Document MTASC-safety properties.
25391         * manual/math.texi: Document MTASC-safety properties.
25393         * manual/locale.texi: Document MTASC-safety properties.
25395         * manual/llio.texi: Document MTASC-safety properties.
25397         * manual/libdl.texi: New.
25399         * manual/lang.texi: Document MTASC-safety properties.
25401         * manual/job.texi: Document MTASC-safety properties.
25403         * manual/getopt.texi: Document MTASC-safety properties.
25405         * manual/ctype.texi: Document MTASC-safety properties.
25407 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25409         [BZ #16046]
25410         * csu/libc-tls.c (static_map): Remove variable.
25411         (__libc_setup_tls): Use main executable's link map for TLS data.
25412         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25413         casing for LM_ID_BASE and GL(dl_nns).
25414         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25415         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25416         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25417         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25418         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25419         member.
25420         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25421         l_phnum members.
25423 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25425         * manual/debug.texi: Document MTASC-safety properties.
25427 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25429         [BZ #16510]
25430         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25431         of __x86_64__ when disabling x87 inline functions.
25433 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25435         * manual/charset.texi: Document MTASC-safety properties.
25437         * manual/crypt.texi: Document MTASC-safety properties.
25439         * manual/conf.texi: Document MTASC-safety properties.
25441         * manual/arith.texi: Document MTASC-safety properties.
25443         * manual/argp.texi: Document MTASC-safety properties.
25445         * manual/macros.texi: Introduce macros to document multi
25446         thread, asynchronous signal and asynchronous cancellation
25447         safety properties.
25448         * manual/intro.texi: Introduce the properties themselves.
25450 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25452         * sysdeps/sh/sh4/Makefile: New file.
25454 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25456         * math/gen-libm-test.pl ($srcdir): New variable.
25457         ($auto_input): Use it.
25459 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25461         [BZ #16506]
25462         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25463         access beyond array bounds when parsing netgroups file.
25465         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25466         the old buffer before realloc.
25468 2014-01-27  Allan McRae  <allan@archlinux.org>
25470         * po/fr.po: Update French translation from translation project.
25472 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25474         * sysdeps/sh/libm-test-ulps: Regenerate.
25476 2014-01-24  David S. Miller  <davem@davemloft.net>
25478         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25480 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25482         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25483         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25485 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25487         [BZ #16474]
25488         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25489         string pointers after reallocation.
25491 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25493         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25494         __SH4A__ instead of __SH_FPU_ANY__.
25496 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25498         * sysdeps/sh/fpu_control.h: New file.
25499         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25500         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25501         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25502         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25503         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25504         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25505         * sysdeps/sh/sys/ucontext.h: Remove.
25506         * sysdeps/sh/sys: Remove directory.
25508 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25510         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25511         s390/sys/ucontext.h.
25512         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25513         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25515 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25517         [BZ #15605]
25518         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25520 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25522         [BZ#16431]
25523         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25524         Adjust the vDSO correctly for internal calls.
25525         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25527 2014-01-20  Allan McRae  <allan@archlinux.org>
25529         * po/ca.po: Update Catalan translation from translation project.
25531 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25533         * sysdeps/s390/sotruss-lib.c: New file.
25535 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25537         [BZ#16430]
25538         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25539         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25540         local calls issues by not having a PLT stub required for IFUNC calls.
25541         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25543 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25545         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25546         * math/test-fpucw-static.c: Likewise.
25548 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25550         [BZ #16453]
25551         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25553 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25555         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25556         implementation for powerpc.
25558 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25560         [BZ #14782]
25561         * sysdeps/posix/system.c (__libc_system): Do not enable
25562         asynchronous cancellation.
25564 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25566         [BZ #16427]
25567         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25568         handling only for numbers special also in the IEEE case.
25570 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25572         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25574 2014-01-11  Allan McRae  <allan@archlinux.org>
25576         * po/bg.po: Update Bulgarian translation from translation project.
25578         * po/de.po: Update German translation from translation project.
25580 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25582         * sysdeps/generic/gcc-compat.h: New file.
25584 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25586         * benchtests/asin-inputs: Correct slow inputs.
25587         * benchtests/acos-inputs: Likewise.
25589 2014-01-10  Allan McRae  <allan@archlinux.org>
25591         * po:sv.po: Update Swedish translation from translation project.
25593         * po/vi.po: Update Vietnamese translation from translation project.
25595         * po/eo.po: Update Esperanto translation from translation project.
25597         * po/cs.po: Update Czech translation from translation project.
25599         * po/nl.po: Update Dutch translation from translation project.
25601         * po/pl.po: Update Polish translation from translation project.
25603         * po/ru.po: Update Russian translation from translation project.
25605         * po/uk.po: Update Ukrainian translation from translation project.
25607 2014-01-08  Brooks Moses  <bmoses@google.com>
25609         * elf/dl-load.c: Fix comment typo.
25611 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25613         * po/header.pot: Rename to...
25614         * po/pot.header: ... this.
25615         * po/Makefile: Use pot.header.
25617 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25618             Maxim Kuvyrkov  <maxim@kugelworks.com>
25620         [BZ #16394]
25621         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25622         SRC and DEST against LEN.
25624 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25626         [BZ #16414]
25627         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25628         implementation.
25629         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25631 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25635 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25637         [BZ #16408]
25638         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25639         for large positive arguments.
25641 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25643         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25645         * math/auto-libm-test-in: Mark various tests with
25646         xfail-rounding:ldbl-128ibm.
25647         * math/auto-libm-test-out: Regenerated.
25649         [BZ #16407]
25650         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25651         Increase overflow threshold.
25653 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25655         [BZ #14286]
25656         * stdio-common/vfprintf.c: Check for integer overflow.
25658 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25660         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25661         the first argument and return value of __tls_get_addr_internal.
25663 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25665         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25666         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25668 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25670         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25671         * sysdeps/s390/rtld-global-offsets.sym: New file.
25672         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25673         GLIBC_2.19 symbol.
25674         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25675         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25676         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25677         ... this.
25678         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25679         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25680         ... this.
25681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25682         Regenerate.
25683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25684         Regenerate.
25685         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25686         halfs of GPRs for high_gprs contexts.
25687         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25688         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25689         field.
25690         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25691         uc_flags field.
25692         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25693         64 bit versions:
25694         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25695         for high GPRs (uc_high_gprs) and for future extensions
25696         (__reserved).
25697         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25698         for future extensions (__reserved).
25699         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25700         64 bit versions:
25701         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25702         SC_HIGHGPRS offset definition.
25703         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25704         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25706         * Versions.def: Add GLIBC_2.19 for libpthread.
25707         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25708         siglongjmp for libpthread with GLIBC_2.19 symver.
25709         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25710         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25711         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25712         * sysdeps/s390/__longjmp.c: New file.
25713         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25714         * sysdeps/s390/longjmp.c: New file.
25715         * sysdeps/s390/setjmp.S: New file.
25716         * sysdeps/s390/sigjmp.S: New file.
25717         * sysdeps/s390/v1-longjmp.c: New file.
25718         * sysdeps/s390/v1-setjmp.h: New file.
25719         * sysdeps/s390/v1-sigjmp.c: New file.
25720         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25721         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25722         GLIBC_2.19 version.
25723         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25724         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25725         versioned symbols for ____longjmp_chk.
25726         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25727         Likewise.
25728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25729         Regenerate.
25730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25731         Regenerate.
25732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25733         Regenerate.
25734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25735         Regenerate.
25736         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25737         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25738         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25739         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25740         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25741         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25742         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25743         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25744         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25745         * sysdeps/s390/rtld-__longjmp.c: New file.
25746         * sysdeps/s390/rtld-setjmp.S: New file.
25748 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25750         [BZ #16400]
25751         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25752         Return -__logl (x) for small positive arguments without evaluating
25753         a polynomial.
25755 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25757         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25758         Rename to ...
25759         (__ptrace_peeksiginfo_args): ... this.
25760         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25761         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25762         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25764 2014-01-06  Allan McRae  <allan@archlinux.org>
25766         * inet/netinet/in.h: Fix typo in comment.
25768 2014-01-05  Andreas Jaeger  <aj@suse.de>
25770         * sysdeps/i386/fpu/libm-test-ulps: Update.
25772 2014-01-05  Allan McRae  <allan@archlinux.org>
25774         * po/libc.pot: Regenerated.
25776         * malloc/memusagestat.c: Fix gettext call formatting.
25778 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25780         * nscd/nscd.c: Improve usage() output.
25782 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25784         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25785         * sysdeps/unix/sysv/linux/configure: Regenerated.
25786         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25787         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25789 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25791         [BZ #16390]
25792         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25793         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25795 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25797         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25798         extra tokens at end of #undef directive.
25799         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25800         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25801         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25803 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25805         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25807         * math/auto-libm-test-in: Mark various tests with
25808         xfail-rounding:ldbl-128ibm.
25809         * math/auto-libm-test-out: Regenerated.
25811 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25813         [BZ #16386]
25814         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25815         numbers with subnormal high part when calculating exponent.
25817         [BZ #16385]
25818         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25819         fabs.
25821         [BZ #16384]
25822         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25823         M_LN2l.
25824         (__ieee754_acoshl): Use __log1pl not __log1p.
25826 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25828         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25829         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25830         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25831         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25832         (reused_arena, arena_get2): Convert to GNU style.
25833         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25834         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25835         (memalign_check, __malloc_set_state): Likewise.
25836         * malloc/mallocbug.c (main): Likewise.
25837         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25838         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25839         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25840         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25841         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25842         (__posix_memalign, malloc_info): Likewise.
25843         * malloc/malloc.h: Likewise.
25844         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25845         (mallochook, memalignhook, reallochook, mabort): Likewise.
25846         * malloc/mcheck.h: Likewise.
25847         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25848         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25849         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25850         * malloc/morecore.c (__default_morecore): Likewise.
25851         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25852         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25853         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25854         (print_and_abort): Likewise.
25855         * malloc/obstack.h: Likewise.
25856         * malloc/set-freeres.c (__libc_freeres): Likewise.
25857         * malloc/tst-mallocstate.c (main): Likewise.
25858         * malloc/tst-mtrace.c (main): Likewise.
25859         * malloc/tst-realloc.c (do_test): Likewise.
25861 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25863         [BZ #16366]
25864         * nscd/netgroupcache.c (do_notfound): New function.
25865         (addgetnetgrentX): Use it.
25867         [BZ # 16365]
25868         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25869         NSS_STATUS_NOTFOUND.
25871 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25873         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25876 2014-01-01  Allan McRae  <allan@archlinux.org>
25878         * scripts/update-copyrights: Update configure input file suffix.
25880         * NEWS: Update copyright year.
25881         * catgets/gencat.c: Likewise.
25882         * csu/version.c: Likewise.
25883         * debug/catchsegv.sh: Likewise.
25884         * debug/pcprofiledump.c: Likewise.
25885         * debug/xtrace.sh: Likewise.
25886         * elf/ldconfig.c: Likewise.
25887         * elf/ldd.bash.in: Likewise.
25888         * elf/pldd.c: Likewise.
25889         * elf/sotruss.ksh: Likewise.
25890         * elf/sprof.c: Likewise.
25891         * iconv/iconv_prog.c: Likewise.
25892         * iconv/iconvconfig.c: Likewise.
25893         * locale/programs/locale.c: Likewise.
25894         * locale/programs/localedef.c: Likewise.
25895         * login/programs/pt_chown.c: Likewise.
25896         * malloc/memusage.sh: Likewise.
25897         * malloc/memusagestat.c: Likewise.
25898         * malloc/mtrace.pl: Likewise.
25899         * manual/libc.texinfo: Likewise.
25900         * nscd/nscd.c: Likewise.
25901         * nss/getent.c: Likewise.
25902         * nss/makedb.c: Likewise.
25903         * posix/getconf.c: Likewise.
25904         * scripts/test-installation.pl: Likewise.
25906         * All files with FSF copyright notices: Update copyright dates
25907         using scripts/update-copyrights.
25908         * intl/plural.c: Regenerated.
25909         * locale/programs/charmap-kw.h: Likewise.
25910         * locale/programs/locfile-kw.h: Likewise.
25912 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25914         * sysdeps/unix/sysv/linux/configure: Regenerated.
25915         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25916         the linux/fanotify.h header.
25917         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25918         HAVE_LINUX_FANOTIFY_H is defined.
25920 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25922         * benchtests/cos-inputs: New inputs.
25923         * benchtests/sin-inputs: Likewise.
25925         * benchtests/atan-inputs: New inputs. Fix name of multiple
25926         precision fallback inputs.
25928         * benchtests/atanh-inputs: New inputs.
25929         * benchtests/tanh-inputs: Likewise.
25931         * benchtests/acosh-inputs: New inputs.
25932         * benchtests/asinh-inputs: Likewise.
25934         * benchtests/cosh-inputs: New inputs.
25935         * benchtests/sinh-inputs: Likewise.
25937         * benchtests/acos-inputs: Add more inputs.
25938         * benchtests/asin-inputs: Likewise.
25940 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25942         [BZ #16375]
25943         * manual/arith.texi: Fix spelling.
25944         * manual/charset.texi: Likewise.
25945         * manual/errno.texi: Likewise.
25946         * manual/filesys.texi: Likewise.
25947         * manual/lang.texi: Likewise.
25948         * manual/llio.texi: Likewise.
25949         * manual/locale.texi: Likewise.
25950         * manual/message.texi: Likewise.
25951         * manual/resource.texi: Likewise.
25952         * manual/search.texi: Likewise.
25953         * manual/setjmp.texi: Likewise.
25954         * manual/stdio.texi: Likewise.
25955         * manual/string.texi: Likewise.
25956         * manual/sysinfo.texi: Likewise.
25957         * manual/time.texi: Likewise.
25959 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25961         * po/sl.po: New file.
25963 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25965         * .gitignore: Add core/.gdbinit/.gdb_history.
25967 2013-12-27  Allan McRae  <allan@archlinux.org>
25969         [BZ #16369]
25970         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25971         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25973 2013-12-24  Brooks Moses  <bmoses@google.com>
25975         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25976         all compilers that claim C++98 compliance, not just GCC.
25977         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25978         Likewise.
25980 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25982         * NEWS: Restore accidentally deleted bug-fix entries.
25984 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25985             Ondřej Bílka  <neleai@seznam.cz>
25987         [BZ #15073]
25988         * malloc/malloc.c (_int_free): Perform sanity check only if we
25989         have_lock.
25991 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25993         [BZ #12986]
25994         * manual/stdio.texi (String Input Conversions): Clarify that character
25995         classes are not supported.
25997 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26001 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26003         [BZ #16337]
26004         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26005         Calculate results for small negative arguments directly rather
26006         than using reflection formula with special underflow handling.
26008         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26009         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26010         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26011         (fchflags): Likewise.
26012         (revoke): Likewise.
26013         (setlogin): Likewise.
26014         (sigaltstack): Likewise.
26015         (wait4): Likewise.
26016         (sigblock): Remove.
26017         (sigsetmask): Likewise.
26018         (wait3): Likewise.
26019         (waitpid): Likewise.
26020         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26021         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26022         file.
26023         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26024         * sysdeps/unix/bsd/Makefile: ... here.
26025         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26026         * sysdeps/unix/bsd/Versions: ... here.
26027         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26028         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26029         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26030         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26031         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26032         * sysdeps/unix/bsd/sigblock.c: ... here.
26033         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26034         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26035         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26036         * sysdeps/unix/bsd/sigvec.c: ... here.
26037         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26038         * sysdeps/unix/bsd/tcdrain.c: ... here.
26039         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26040         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26041         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26042         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26043         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26044         * sysdeps/unix/bsd/wait.c: ... here.
26045         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26046         * sysdeps/unix/bsd/wait3.c: ... here.
26047         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26048         * sysdeps/unix/bsd/waitpid.c: ... here.
26050 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26052         [BZ #16356]
26053         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26054         round-to-nearest for [!USE_AS_EXPM1L].
26055         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26056         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26057         more tests of exp and exp10.  Expect some exp10 tests to miss
26058         exceptions or fail in directed rounding modes.
26059         * math/auto-libm-test-out: Regenerated.
26060         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26061         (exp10_test_tonearest): New function.
26062         (exp10_towardzero_test_data): New array.
26063         (exp10_test_towardzero): New function.
26064         (exp10_downward_test_data): New array.
26065         (exp10_test_downward): New function.
26066         (exp10_upward_test_data): New array.
26067         (exp10_test_upward): New function.
26068         (main): Call the new functions.
26069         * sysdeps/i386/fpu/libm-test-ulps: Update.
26070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26072 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26074         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26075         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26076         * math/auto-libm-test-out: Regenerated.
26077         * math/libm-test.inc (acosh_test_data): Add more tests.
26078         (atanh_test_data): Likewise.
26079         (ceil_test_data): Likewise.
26080         (copysign_test_data): Likewise.
26081         * sysdeps/i386/fpu/libm-test-ulps: Update.
26082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26084         * timezone/checktab.awk: Update from tzcode 2013i.
26085         * timezone/private.h: Likewise.
26086         * timezone/scheck.c: Likewise.
26087         * timezone/tzfile.h: Likewise.
26088         * timezone/tzselect.ksh: Likewise.
26089         * timezone/zdump.c: Likewise.
26090         * timezone/zic.c: Likewise.
26092         * math/auto-libm-test-in: Add tests of cpow.
26093         * math/auto-libm-test-out: Regenerated.
26094         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26095         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26096         mpc_cc_c.
26097         (func_calc_desc): Add mpc_cc_c union field.
26098         (test_functions): Add cpow.
26099         (special_fill_2pi): New function.
26100         (special_real_inputs): Add 2pi.
26101         (calc_generic_results): Handle mpc_cc_c.
26102         * sysdeps/i386/fpu/libm-test-ulps: Update.
26103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26105         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26106         csqrt, ctan and ctanh.
26107         * math/auto-libm-test-out: Regenerated.
26108         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26109         (TEST_COND_x86): Likewise.
26110         (ccos_test_data): Use AUTO_TESTS_c_c.
26111         (ccosh_test_data): Likewise.
26112         (cexp_test_data): Likewise.
26113         (clog_test_data): Likewise.
26114         (csqrt_test_data): Likewise.
26115         (ctan_test_data): Likewise.
26116         (ctan_tonearest_test_data): Likewise.
26117         (ctan_towardzero_test_data): Likewise.
26118         (ctan_downward_test_data): Likewise.
26119         (ctan_upward_test_data): Likewise.
26120         (ctanh_test_data): Likewise.
26121         (ctanh_tonearest_test_data): Likewise.
26122         (ctanh_towardzero_test_data): Likewise.
26123         (ctanh_downward_test_data): Likewise.
26124         (ctanh_upward_test_data): Likewise.
26125         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26126         mpc_c_c.
26127         (func_calc_desc): Add mpc_c_c union field.
26128         (FUNC_mpc_c_c): New macro.
26129         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26130         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26131         ctanh.
26132         (special_fill_min_subnorm_p120): New function.
26133         (special_real_inputs): Add min_subnorm_p120.
26134         (calc_generic_results): Handle mpc_c_c.
26135         * sysdeps/i386/fpu/libm-test-ulps: Update.
26136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26138 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26140         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26141         (do_sin_slow): New functions.
26142         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26143         (cslow2, csloww1, csloww2): Use the new functions.
26145         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26146         Use M to change sign of result instead of X.  Assume X is
26147         positive.
26148         (csloww1): Likewise.
26149         (__sin): Adjust.
26150         (__cos): Adjust.
26152         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26153         arguments A and DA.
26154         (__sin): Adjust.
26155         (__cos): Likewise.
26157         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26158         (__cos): Likewise.
26159         (sloww1): Don't adjust sign of DX.
26160         (csloww1): Likewise.
26161         (sloww2): Use X directly and don't adjust sign of DX.
26162         (csloww2): Likewise.
26164 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26166         * math/auto-libm-test-in: Add tests of cabs and carg.
26167         * math/auto-libm-test-out: Regenerated.
26168         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26169         (carg_test_data): Likewise.
26170         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26171         mpc_c_f.
26172         (func_calc_desc): Add mpc_c_f union field.
26173         (test_functions): Add cabs and carg.
26174         (calc_generic_results): Handle mpc_c_f.
26176         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26177         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26178         as a macro and a compat symbol.
26179         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26180         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26181         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26182         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26183         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26184         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26185         not use .hidden.
26186         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26187         Likewise.
26188         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26189         Likewise.
26190         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26191         Likewise.
26192         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26193         Likewise.
26194         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26195         Likewise.
26196         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26197         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26198         from GLIBC_2.3.2.
26200 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26204 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26206         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26207         trailing whitespace removed.
26208         * scripts/config.guess: Update to version 2013-11-29.
26209         * scripts/config.sub: Update to version 2013-10-01.
26211         * math/auto-libm-test-in: Add tests of sincos.
26212         * math/auto-libm-test-out: Regenerated.
26213         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26214         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26215         mpfr_f_11.
26216         (func_calc_desc): Add mpfr_f_11 union field.
26217         (test_functions): Add sincos.
26218         (calc_generic_results): Handle mpfr_f_11.
26219         * sysdeps/i386/fpu/libm-test-ulps: Update.
26220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26222 2013-12-19  Andreas Schwab  <schwab@suse.de>
26224         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26225         CALL_MCOUNT.
26226         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26227         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26228         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26230 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26232         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26233         * sysdeps/i386/fpu/libm-test-ulps: Update.
26234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26236         [BZ #16293]
26237         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26238         round-to-nearest mode when using frndint.
26239         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26240         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26241         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26242         Likewise.
26243         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26244         sinh test to fail.
26245         * math/auto-libm-test-out: Regenerated.
26246         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26247         (TEST_COND_x86): Likewise.
26248         (expm1_tonearest_test_data): New array.
26249         (expm1_test_tonearest): New function.
26250         (expm1_towardzero_test_data): New array.
26251         (expm1_test_towardzero): New function.
26252         (expm1_downward_test_data): New array.
26253         (expm1_test_downward): New function.
26254         (expm1_upward_test_data): New array.
26255         (expm1_test_upward): New function.
26256         (main): Run the new test functions.
26257         * sysdeps/i386/fpu/libm-test-ulps: Update.
26258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26260         * include/features.h: Update comment documenting feature test
26261         macros.  Mention _DEFAULT_SOURCE in comment.
26262         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26263         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26264         _BSD_SOURCE and _SVID_SOURCE.
26265         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26266         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26267         !_SVID_SOURCE]: Likewise.
26268         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26269         (__USE_POSIX_IMPLICITLY): Define.
26270         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26271         (_POSIX_SOURCE): Undefine and redefine.
26272         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26273         (_POSIX_C_SOURCE): Likewise.
26274         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26275         (Feature Test Macros): Update documentation of default features.
26277 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26279         * benchtests/Makefile: Add bench-strtok.
26280         * benchtests/bench-strtok.c: New file: strtok benchtest.
26282 2013-12-19  Allan McRae  <allan@archlinux.org>
26284         * manual/install.texi: Suppress menu for plain text output.
26285         * INSTALL: Regenerated.
26287 2013-12-18  Brooks Moses  <bmoses@google.com>
26289         [BZ #15846]
26290         * misc/getauxval.c: Include errno.h.
26291         (__getauxval): Set errno to ENOENT if the requested type is not
26292         found.
26293         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26294         don't declare with __attribute_const__.
26295         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26296         * manual/startup.texi: Document that getauxval sets errno.
26298 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26300         * math/auto-libm-test-in: Add tests of jn and yn.
26301         * math/auto-libm-test-out: Regenerated.
26302         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26303         (yn_test_data): Likewise.
26304         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26305         mpfr_if_f.
26306         (func_calc_desc): Add mpfr_if_f union field.
26307         (FUNC_mpfr_if_f): New macro.
26308         (test_functions): Add jn and yn.
26309         (calc_generic_results): Assert type of second input for
26310         mpfr_ff_f.  Handle mpfr_if_f.
26311         (output_for_one_input_case): Disable all checking for arguments
26312         fitting floating-point types in case of an integer argument.
26313         * sysdeps/i386/fpu/libm-test-ulps: Update.
26314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26317         Don't expect fegetround reference in libm.so.
26319 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26321         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26322         $(config-cflags-nofma).
26324 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26326         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26327         * math/auto-libm-test-out: Regenerated.
26329         [BZ #16338]
26330         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26331         to determine exponent and adjust argument to have exponent of -1.
26332         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26333         log2.
26334         * math/auto-libm-test-out: Regenerated.
26335         * sysdeps/i386/fpu/libm-test-ulps: Update.
26336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26338 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26340         * manual/probes.texi: Remove cases when per-thread arenas are
26341         disabled.
26343 2013-12-18  Andreas Schwab  <schwab@suse.de>
26345         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26346         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26347         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26348         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26349         * sysdeps/i386/i686/multiarch/Makefile: Update.
26350         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26352 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26354         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26355         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26357 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26359         [BZ #15968]
26360         Support TZ transition times < 00:00:00.
26361         This is needed for version-3 tz-format files; it supports time
26362         stamps past 2037 for America/Godthab (the only entry in the tz
26363         database for which this change is relevant).
26364         * manual/time.texi (TZ Variable): Document transition times
26365         from -167:59:59 through -00:00:01.
26366         * time/tzset.c (tz_rule): Time of day is now signed.
26367         (__tzset_parse_tz): Parse negative time of day.
26369         Document TZ transition times >= 25:00:00.
26370         * manual/time.texi (TZ Variable): Document transition times from
26371         25:00:00 through 167:59:59.  These are already supported, and this
26372         support will help with version-3 tz-format files.
26374         * manual/time.texi (TZ Variable): Modernize North America example
26375         to reflect current (i.e., 2007-and-later) daylight saving rules.
26377         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26379 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26381         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26382         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26383         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26384         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26385         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26386         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26387         * sysdeps/unix/bsd/clock.c: Likewise.
26388         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26389         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26390         * sysdeps/unix/bsd/init-posix.c: Likewise.
26391         * sysdeps/unix/bsd/poll.c: Likewise.
26392         * sysdeps/unix/bsd/ptsname.c: Likewise.
26393         * sysdeps/unix/bsd/seekdir.c: Likewise.
26394         * sysdeps/unix/bsd/setegid.c: Likewise.
26395         * sysdeps/unix/bsd/seteuid.c: Likewise.
26396         * sysdeps/unix/bsd/setgid.c: Likewise.
26397         * sysdeps/unix/bsd/setrgid.c: Likewise.
26398         * sysdeps/unix/bsd/setruid.c: Likewise.
26399         * sysdeps/unix/bsd/setsid.c: Likewise.
26400         * sysdeps/unix/bsd/setuid.c: Likewise.
26401         * sysdeps/unix/bsd/sigaction.c: Likewise.
26402         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26403         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26404         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26405         * sysdeps/unix/bsd/telldir.c: Likewise.
26406         * sysdeps/unix/bsd/times.c: Likewise.
26407         * sysdeps/unix/bsd/usleep.c: Likewise.
26409         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26410         ($(objpfx)libbsd-compat.a): Remove rule.
26412         * include/features.h (__FAVOR_BSD): Do not define.
26413         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26414         features conflicting with POSIX.
26415         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26416         (_BSD_SOURCE): Remove description of not being a subset of other
26417         feature test macros.
26418         * manual/job.texi (getpgrp): Do not document BSD version.
26419         (getpgid): Do not document by reference to BSD getpgrp.
26420         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26421         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26422         * signal/signal.h [__FAVOR_BSD]: Likewise.
26423         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26424         instead of making contents conditional on [__FAVOR_BSD].
26425         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26427 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26431 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26433         [BZ #16314]
26434         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26435         values below 2**-450, not 2**-500.
26436         * math/auto-libm-test-in: Don't allow spurious underflow from
26437         hypot.
26438         * math/auto-libm-test-out: Regenerated.
26440         [BZ #16316]
26441         [BZ #16330]
26442         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26443         values of ha and hb and sort them after adjusting subnormal
26444         arguments.
26445         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26446         Likewise.
26447         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26448         values of ea and eb and sort them after adjusting subnormal
26449         arguments.
26450         * math/auto-libm-test-in: Do not expect some hypot tests of
26451         subnormals to fail.  Add more hypot tests.
26452         * math/auto-libm-test-out: Regenerated.
26454 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26456         [BZ #13304]
26457         * sysdeps/sh/s_fma.c: New file.
26458         * sysdeps/sh/s_fmaf.c: New file.
26459         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26460         version.
26461         * sysdeps/sh/Implies: Add sh/soft-fp.
26463 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26465         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26466         level of indirection to members `objname', `errstring', `malloced'.
26467         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26468         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26469         it as the __longjmp argument (just pass 1 instead).
26470         (_dl_catch_error): Initialize C with argument pointers and address of
26471         volatile local ERRCODE rather than copying values out of C at return.
26473 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26475         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26476         * math/auto-libm-test-out: Regenerated.
26477         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26478         (hypot_test_data): Likewise.
26479         (pow_test_data): Likewise.
26480         (pow_tonearest_test_data): Likewise.
26481         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26482         mpfr_ff_f.
26483         (func_calc_desc): Add mpfr_ff_f union field.
26484         (FUNC_mpfr_ff_f): New macro.
26485         (test_functions): Add atan2, hypot and pow.
26486         (special_fill_min): New function.
26487         (special_fill_minus_min): Likewise.
26488         (special_fill_min_subnorm): Likewise.
26489         (special_fill_minus_min_subnorm): Likewise.
26490         (special_real_inputs): Add min, -min, min_subnorm and
26491         -min_subnorm.
26492         (calc_generic_results): Handle mpfr_ff_f.
26493         * sysdeps/i386/fpu/libm-test-ulps: Update.
26494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26496 2013-12-16  Will Newton  <will.newton@linaro.org>
26498         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26499         (Aligned Memory Blocks): Add documentation for aligned_alloc
26500         and suggest it as an alternative to posix_memalign.
26501         (Hooks for Malloc): Document __memalign_hook is also called
26502         for aligned_alloc.  (Summary of Malloc): Add summary for
26503         aligned alloc.  Document __memalign_hook is also called
26504         for aligned_alloc.
26506 2013-12-16  Will Newton  <will.newton@linaro.org>
26508         * manual/memory.texi (Malloc Examples): Clarify default
26509         alignment documentation.  Suggest posix_memalign rather
26510         than memalign or valloc.
26511         (Aligned Memory Blocks): Remove suggestion to use memalign
26512         or valloc.  Remove obsolete comment about BSD.
26513         Document memalign errno values and mark the function obsolete.
26514         Document posix_memalign returned error codes.  Mark valloc
26515         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26516         called for posix_memalign and valloc.
26517         (Summary of Malloc): Add posix_memalign to function summary.
26518         __memalign_hook is also called for posix_memalign and valloc.
26520 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26522         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26523         TAYLOR_SIN.
26524         (__sin): Adjust.
26525         (__cos): Likewise.
26526         (sloww): Use mynumber union.  Expand ternary operator into
26527         if-else statements.
26528         (cslow): use mynumber union.
26530 2013-12-16  Allan McRae  <allan@archlinux.org>
26532         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26533         * configure: Regenerated.
26535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26537         [BZ #14120]
26538         * configure.ac: Added --enable-maintainer-mode. Check for
26539         autoconf when enabled.
26540         * configure: Regenerated.
26542         * nscd/nscd.service: New file.
26543         * nscd/nscd.tmpfiles: New file.
26545 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26547         [BZ #12100]
26548         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26549         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26550         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26551         (strstr): Add __strstr_sse2_unaligned ifunc.
26552         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26553         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26554         (strcasestr): Remove __strcasestr_sse42 ifunc.
26555         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26557         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26559 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26561         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26562         * sysdeps/sh/bits/fenv.h: ... here.
26563         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26565 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26567         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26570         hypotf multiarch implementations.
26571         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26572         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26573         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26574         multiarch hypot for PPC64.
26575         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26576         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26577         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26578         multiarch hypotf for PPC64.
26580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26581         modff multiarch implementations.
26582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26585         multiarch modf for PPC64.
26586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26589         multiarch modff for PPC64.
26591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26592         and logl multiarch implementations.
26593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26596         multiarch logb for PPC64.
26597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26600         multiarch logb for PPC64.
26601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26604         multiarch logb for PPC64.
26606         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26607         isinff multiarch implementation.
26608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26609         file.
26610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26612         multiarch isinf for PPC64.
26613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26614         file.
26615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26616         multiarch isinff for PPC64.
26618         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26619         finitef multiarch implementation.
26620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26621         file.
26622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26624         multiarch finite for PPC64.
26625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26626         file.
26627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26628         multiarch finitef for PPC64.
26630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26631         lrint multiarch implementation.
26632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26633         file.
26634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26636         multiarch llrint for PPC64.
26637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26638         multiarch lrint for PPC64.
26640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26641         copysignf multiarch implementation.
26642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26643         file.
26644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26645         file.
26646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26647         multiarch copysign for PPC64.
26648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26649         multiarch copysignf for PPC64.
26651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26652         multiarch implementation.
26653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26654         file.
26655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26656         file.
26657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26658         file.
26659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26660         file.
26661         multiarch llround for PPC64.
26662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26663         multiarch trunc for PPC64.
26664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26665         multiarch truncf for PPC64.
26667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26668         multiarch implementation.
26669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26670         file.
26671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26672         file.
26673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26674         file.
26675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26676         file.
26677         multiarch llround for PPC64.
26678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26679         multiarch round for PPC64.
26680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26681         multiarch roundf for PPC64.
26683         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26684         multiarch implementation.
26685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26686         file.
26687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26688         file.
26689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26690         file.
26691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26692         file.
26693         multiarch llround for PPC64.
26694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26695         multiarch floor for PPC64.
26696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26697         multiarch floorf for PPC64.
26699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26700         multiarch implementation.
26701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26702         file.
26703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26704         file.
26705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26706         file.
26707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26708         file.
26709         multiarch llround for PPC64.
26710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26711         multiarch ceil for PPC64.
26712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26713         multiarch ceilf for PPC64.
26715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26716         multiarch implementation.
26717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26718         file.
26719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26720         file.
26721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26722         file.
26723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26724         multiarch llround for PPC64.
26725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26726         multiarch lround for PPC64.
26728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26729         multiarch implementation.
26730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26733         file.
26734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26737         multiarch isnan for PPC64.
26738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26739         multiarch isnanf for PPC64.
26741         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26742         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26743         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26744         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26745         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26748         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26749         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26750         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26751         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26754         multiarch implementations.
26755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26756         (__libc_ifunc_impl_list): Likewise.
26757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26758         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26759         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26760         multiarch stpcpy for PPC64.
26762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26763         multiarch implementations.
26764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26765         (__libc_ifunc_impl_list): Likewise.
26766         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26767         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26768         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26769         multiarch strcpy for PPC64.
26771         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26772         redefine function name.
26773         (_wordcopy_fwd_dest_aligned): Likewise.
26774         (_wordcopy_bwd_aligned): Likewise.
26775         (_wordcopy_bwd_dest_aligned): Likewise.
26776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26777         multiarch implementations.
26778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26779         (__libc_ifunc_impl_list): Likewise.
26780         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26781         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26782         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26783         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26784         multiarch wcscpy for PPC64.
26786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26787         multiarch implementations.
26788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26789         (__libc_ifunc_impl_list): Likewise.
26790         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26791         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26792         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26793         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26794         multiarch wcscpy for PPC64.
26796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26797         multiarch implementations.
26798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26799         (__libc_ifunc_impl_list): Likewise.
26800         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26801         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26802         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26803         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26804         multiarch wcsrchr for PPC64.
26806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26807         multiarch implementations.
26808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26809         (__libc_ifunc_impl_list): Likewise.
26810         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26811         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26812         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26813         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26814         multiarch wcschr for PPC64.
26816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26817         multiarch implementations.
26818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26819         (__libc_ifunc_impl_list): Likewise.
26820         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26821         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26822         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26823         multiarch strchrnul for PPC64.
26825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26826         implementations.
26827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26828         (__libc_ifunc_impl_list): Likewise.
26829         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26830         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26831         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26832         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26833         strchr for PPC64.
26835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26836         implementations.
26837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26838         (__libc_ifunc_impl_list): Likewise.
26839         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26840         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26841         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26842         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26843         strncmp for PPC64.
26845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26846         multiarch implementations.
26847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26848         (__libc_ifunc_impl_list): Likewise.
26849         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26850         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26851         strncasecmp for PPC64.
26852         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26853         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26854         multiarch strncasecmp_l for PPC64.
26856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26857         multiarch implementations.
26858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26859         (__libc_ifunc_impl_list): Likewise.
26860         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26861         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26862         multiarch strcasecmp for PPC64.
26863         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26864         file.
26865         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26866         multiarch strcasecmp_l for PPC64.
26868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26869         implementations.
26870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26871         (__libc_ifunc_impl_list): Likewise.
26872         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26873         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26874         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26875         strnlen for PPC64.
26877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26878         implementations.
26879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26880         (__libc_ifunc_impl_list): Likewise.
26881         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26882         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26883         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26884         strlen for PPC64.
26886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26887         implementations.
26888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26889         (__libc_ifunc_impl_list): Likewise.
26890         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26891         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26892         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26893         rawmemrchr for PPC64.
26895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26896         implementation.
26897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26898         (__libc_ifunc_impl_list): Likewise.
26899         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26900         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26901         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26902         memrchr for PPC64.
26904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26905         implementation.
26906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26907         (__libc_ifunc_impl_list): Likewise.
26908         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26909         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26910         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26911         memchr for PPC64.
26913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26914         implementation.
26915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26916         (__libc_ifunc_impl_list): Likewise.
26917         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26918         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26919         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26920         mempcpy for PPC64.
26922         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26923         avoid cretion of __bzero symbol.
26924         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26925         Likewise.
26926         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26927         Likewise.
26928         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26929         Likewise.
26930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26931         multiarch implementations.
26932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26933         (__libc_ifunc_impl_list): Likewise.
26934         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26935         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26936         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26937         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26938         bzero for PPC32.
26939         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26940         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26941         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26942         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26943         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26944         memset for PPC64.
26945         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26947         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26949         implementations.
26950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26951         (__libc_ifunc_impl_list): Likewise.
26952         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26953         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26954         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26955         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26956         memcmp for PPC64.
26958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26959         multiarch for POWER/PPC64.
26960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26961         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26962         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26963         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26964         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26965         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26966         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26967         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26968         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26969         memcpy for PPC64.
26971         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26972         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26973         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26974         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26975         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26976         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26977         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26978         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26979         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26980         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26981         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26982         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26983         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26984         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26985         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26994 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26996         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26998 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27000         * benchtests/Makefile (bench): Add exp2 and log2.
27001         (LDLIBS-bench-exp2): Add -lm.
27002         (LDLIBS-bench-log2): Likewise.
27003         * benchtests/exp2-inputs: New inputs file.
27004         * benchtests/log2-inputs: New inputs file.
27005         * benchtests/log-inputs: Add new inputs.
27006         * benchtests/tan-inputs: Likewise.
27008 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27010         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27011         definition...
27012         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27013         (csloww2): ... from here.
27015         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27016         instead of structures.
27017         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27018         (POLYNOMIAL): Likewise.
27019         (TAYLOR_SLOW): Likewise.
27020         (__sin): Likewise.
27021         (__cos): Likewise.
27022         (slow1): Likewise.
27023         (slow2): Likewise.
27024         (sloww): Likewise.
27025         (sloww1); Likewise.
27026         (sloww2): Likewise.
27027         (bsloww1): Likewise.
27028         (bsloww2): Likewise.
27029         (cslow2): Likewise.
27030         (csloww): Likewise.
27031         (csloww1): Likewise.
27032         (csloww2): Likewise.
27034 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27036         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27037         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27038         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27039         * malloc/hooks.c (realloc_check): Likewise.
27041         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27042         * malloc/arena.c: Remove PER_THREAD conditional.
27043         [!PER_THREAD]: Remove code.
27044         (ptmalloc_unlock_all2): Likewise.
27045         (ptmalloc_init): Likewise.
27046         (_int_new_arena): Likewise.
27047         (arena_get2): Likewise.
27048         * malloc/hooks.c (__malloc_get_state): Likewise.
27049         (__malloc_set_state): Likewise.
27050         * malloc/malloc.c: Likewise.
27051         (struct malloc_state): Likewise.
27052         (struct malloc_par): Likewise.
27053         (__libc_realloc): Likewise.
27054         (__libc_mallopt): Likewise.
27056 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27058         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27060 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27062         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27063         macro to a function.  Check for zero perturb_byte.
27064         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27066         * malloc/malloc.c: (force_reg): Remove.
27067         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27068         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27069         force_reg by atomic_forced_read.
27070         * malloc/arena.c (ptmalloc_init): Likewise.
27071         * malloc/hooks.c (top_check): Likewise.
27073 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27077 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27081 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27083         * math/auto-libm-test-in: Add tests of lgamma.
27084         * math/auto-libm-test-out: Regenerated.
27085         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27086         (M_LOG_2_SQRT_PIl): Likewise.
27087         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27088         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27089         mpfr_f_f1.
27090         (func_calc_desc): Add mpfr_f_f1 union field.
27091         (ARGS1): New macro.
27092         (ARGS2): Likewise.
27093         (ARGS3): Likewise.
27094         (ARGS4): Likewise.
27095         (RET1): Likewise.
27096         (RET2): Likewise.
27097         (CALC): Likewise.
27098         (FUNC): Likewise.
27099         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27100         (test_functions): Add lgamma.
27101         (calc_generic_results): Handle mpfr_f_f1.
27102         * sysdeps/i386/fpu/libm-test-ulps: Update.
27103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27105 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27107         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27108         __mpn_add_n for PowerPC64/POWER7.
27109         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27110         __mpn_sub_n for PowerPC64/POWER7.
27112         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27113         __mpn_addmul_1 for PowerPC64.
27114         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27115         __mpn_submul_1 for PowerPC64.
27116         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27117         for PowerPC64.
27118         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27119         for PowerPC64.
27121 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27123         [BZ #15089]
27124         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27126 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27128         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27130         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27131         add multiarch folders.
27132         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27133         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27134         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27135         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27136         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27137         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27138         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27139         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27140         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27141         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27142         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27151         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27153         New file.
27154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27155         New file.
27156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27157         multiarch __ieee754_hypot for PowerPC32.
27158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27159         New file.
27160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27161         New file.
27162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27163         multiarch __ieee754_hypotf for PowerPC32.
27165         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27166         long_double_symbol only if __logbl is defined.
27167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27168         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27170         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27171         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27172         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27173         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27174         path for implementation.
27175         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27176         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27178         logb, and logbl multiarch implementations for PowerPC32.
27179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27180         file.
27181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27182         file.
27183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27184         multiarch logb for PowerPC32.
27185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27186         file.
27187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27188         file.
27189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27190         multiarch logbf for PowerPC32.
27191         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27193         file.
27194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27195         multiarch logbl implementation for PowerPC32.
27197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27198         and modff multiarch implementations.
27199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27200         New file.
27201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27202         New file.
27203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27204         multiarch modf for PowerPC32.
27205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27206         New file.
27207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27208         New file.
27209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27210         multiarch modff for PowerPC32.
27212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27213         and lrintf multiarch implementations.
27214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27215         New file.
27216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27217         New file.
27218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27219         multiarch lrint for PowerPC32.
27220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27221         file: multiarch lrintf for PowerPC32.
27223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27224         and lroundf multiarch implementations.
27225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27226         New file.
27227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27228         New file.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27230         New file.
27231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27232         multiarch lround for PowerPC32.
27233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27234         file: multiarch lroundf for PowerPC32.
27236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27237         copysign and copysignf multiarch implementations.
27238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27239         New file.
27240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27241         New file.
27242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27243         file: multiarch copysign for PowerPC32.
27244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27245         file: multiarch copysignf for PowerPC32.
27247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27248         and truncf multiarch implementations.
27249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27250         New file.
27251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27252         file.
27253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27254         multiarch trunc for PowerPC32.
27255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27256         New file.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27258         New file.
27259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27260         multiarch truncf for PowerPC32.
27262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27263         and roundf multiarch implementations.
27264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27265         New file.
27266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27267         file.
27268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27269         multiarch round for PowerPC32.
27270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27271         New file.
27272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27273         New file.
27274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27275         multiarch roundf for PowerPC32.
27277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27278         and floorf multiarch implementations.
27279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27280         New file.
27281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27282         file.
27283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27284         multiarch floor for PowerPC32.
27285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27286         New file.
27287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27288         New file.
27289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27290         multiarch floorf for PowerPC32.
27292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27293         and ceilf multiarch implementations.
27294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27295         New file.
27296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27297         file.
27298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27299         multiarch ceil for PowerPC32.
27300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27301         New file.
27302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27303         file.
27304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27305         multiarch ceilf for PowerPC32.
27307         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27308         is defined.
27309         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27310         FINITEF is defined.
27311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27312         and finitef multiarch implementations.
27313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27314         New file.
27315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27316         file.
27317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27318         multiarch finite for PowerPC32.
27319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27320         New file.
27321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27322         file: multiarch finitef for PowerPC32.
27324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27325         and isinff multiarch implementations.
27326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27327         file.
27328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27329         file.
27330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27331         multiarch isinf for PowerPC32.
27332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27333         New file.
27334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27335         multiarch isinff for PowerPC32.
27337         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27338         alias when __isnan is defined.
27339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27340         and isnanf multiarch implementations.
27341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27342         file.
27343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27344         file.
27345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27346         file.
27347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27348         file.
27349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27350         multiarch isnan for PowerPC32.
27351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27352         New file.
27353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27354         New file.
27355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27356         multiarch isnanf for PowerPC32.
27358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27359         and sqrtf multiarch implementations.
27360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27361         file.
27362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27363         file.
27364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27365         multiarch sqrt for PowerPC32.
27366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27367         file.
27368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27369         file.
27370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27371         multiarch sqrtf for PowerPC32.
27373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27374         and llroundf multiarch implementations.
27375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27376         New file.
27377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27378         New file.
27379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27380         New file.
27381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27382         file: multiarch llround for PowerPC32.
27383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27384         file: multiarch llroundf for PowerPC32.
27386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27387         multiarch PowerPC32 fpu implementations.
27388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27389         New file.
27390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27391         New file.
27392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27393         multiarch llrint for PowerPC32.
27394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27395         New file.
27396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27397         New file.
27398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27399         file.
27401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27403         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27404         file.
27405         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27406         file.
27407         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27408         file.
27409         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27410         multiarch wordcopy for PPC32.
27411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27412         wordcopy objects.
27413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27414         (__libc_ifunc_impl_list): Likewise.
27415         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27416         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27417         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27418         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27419         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27420         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27422         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27424         file.
27425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27426         file.
27427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27428         file.
27429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27430         multiarch wcscpy for PPC32.
27431         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27432         multiarch objects.
27433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27434         (__libc_ifunc_impl_list): Likewise.
27435         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27436         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27437         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27438         sysdeps/powerpc/power6/wcscpy.c.
27440         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27442         file.
27443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27444         file.
27445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27446         file.
27447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27448         multiarch wcsrchr for PPC32.
27449         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27450         multiarch objects.
27451         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27452         (__libc_ifunc_impl_list): Likewise.
27453         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27454         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27455         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27456         sysdeps/powerpc/power6/wcsrchr.c.
27458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27459         file.
27460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27461         file.
27462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27464         multiarch wcschr for PPc32.
27465         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27466         multiarch objects.
27467         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27468         (__libc_ifunc_impl_list): Likewise.
27469         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27470         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27471         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27472         sysdeps/powerpc/power6/wcschr.c.
27474         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27475         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27476         file.
27477         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27478         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27479         file: multiarch strchr for PPC32.
27480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27481         multiarch objects.
27482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27483         (__libc_ifunc_impl_list): Likewise.
27485         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27486         name.
27487         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27488         file.
27489         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27490         file.
27491         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27492         multiarch strchrnul for PPC32.
27493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27494         multiarch objects.
27495         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27496         (__libc_ifunc_impl_list): Likewise.
27498         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27499         file.
27500         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27501         multiarch strncasecmp for PPC32.
27502         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27503         file.
27504         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27505         multiarch strncasecmp_l for PPC32.
27506         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27507         strncasecmp multiarch objects.
27508         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27509         (__libc_ifunc_impl_list): Likewise.
27511         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27512         file.
27513         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27514         multiarch strncasecmp for PPC32.
27515         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27516         New file.
27517         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27518         multiarch strcasecmp_l for PPC32.
27519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27520         multiarch objects.
27521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27522         (__libc_ifunc_impl_list): Likewise.
27524         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27525         file.
27526         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27527         file.
27528         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27529         multiarch strncmp for PPC32.
27530         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27531         multiarch objects.
27532         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27533         (__libc_ifunc_impl_list): Likewise.
27535         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27536         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27537         file.
27538         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27539         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27541         multiarch objects.
27542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27543         (__libc_ifunc_impl_list): Likewise.
27545         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27546         file.
27547         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27548         file.
27549         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27550         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27551         multiarch objects.
27552         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27553         (__libc_ifunc_impl_list): Likewise.
27555         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27556         file.
27557         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27558         file.
27559         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27560         multiarch rawmemchr for PPC32.
27561         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27562         multiarch objects.
27563         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27564         (__libc_ifunc_impl_list): Likewise.
27566         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27567         file.
27568         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27569         file.
27570         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27571         file: memrchr multiarch for PPC32.
27572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27573         multiarch objects.
27574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27575         (__libc_ifunc_impl_list): Likewise.
27577         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27578         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27579         file.
27580         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27581         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27582         multiarch memchr for PPC32.
27583         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27584         multiarch objects.
27585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27586         (__libc_ifunc_impl_list): Likewise.
27588         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27589         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27590         file.
27591         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27592         file.
27593         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27594         file: multiarch mempcpy for PPC32.
27595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27596         multiarch objects.
27597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27598         (__libc_ifunc_impl_list): Likewise.
27600         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27601         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27602         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27603         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27604         multiarch bzero for PPC32.
27605         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27606         file.
27607         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27608         file.
27609         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27610         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27611         file: multiarch memset for PPC32.
27612         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27614         memset multiarch objects.
27615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27616         (__libc_ifunc_impl_list): Likewise.
27618         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27619         file.
27620         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27621         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27622         memcmp for PPC32.
27623         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27624         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27625         multiarch objects.
27626         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27627         (__libc_ifunc_impl_list): Likewise.
27629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27630         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27631         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27632         file.
27633         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27634         file.
27635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27636         file.
27637         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27638         multiarch memcpy for PPC32.
27639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27640         multiarch objects.
27641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27642         (__libc_ifunc_impl_list): Likewise.
27644         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27645         support multiarch for POWER/PPC32.
27646         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27647         Likewise.
27648         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27650         Implies file to make multiarch folder appers before the fpu and
27651         default folder for power4 configuration.
27653 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27655         * scripts/bench.pl: Append volatile keyword to type.
27657 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27659         * sysdeps/sh/sotruss-lib.c: New file.
27660         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27662 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27666 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27668         [BZ #6810]
27669         * math/w_tgamma.c: Include <errno.h>.
27670         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27671         * math/w_tgammaf.c: Include <errno.h>.
27672         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27673         * math/w_tgammal.c: Include <errno.h>.
27674         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27675         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27676         underflow.  Add more tgamma tests.
27677         * math/auto-libm-test-out: Regenerated.
27678         * sysdeps/i386/fpu/libm-test-ulps: Update.
27679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27681         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27682         sin, sinh, tan, tanh, tgamma, y0 and y1.
27683         * math/auto-libm-test-out: Regenerated.
27684         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27685         (TEST_COND_x86): Likewise.
27686         (M_E2l): Remove macro.
27687         (M_E3l): Likewise.
27688         (M_2_SQRT_PIl): Likewise.
27689         (M_SQRT_PIl): Likewise.
27690         (M_1_DIV_El): Likewise.
27691         (log_test_data): Use AUTO_TESTS_f_f.
27692         (log10_test_data): Likewise.
27693         (log1p_test_data): Likewise.
27694         (log2_test_data): Likewise.
27695         (sin_test_data): Likewise.
27696         (sin_tonearest_test_data): Likewise.
27697         (sin_towardzero_test_data): Likewise.
27698         (sin_downward_test_data): Likewise.
27699         (sin_upward_test_data): Likewise.
27700         (sinh_test_data): Likewise.
27701         (sinh_tonearest_test_data): Likewise.
27702         (sinh_towardzero_test_data): Likewise.
27703         (sinh_downward_test_data): Likewise.
27704         (sinh_upward_test_data): Likewise.
27705         (tan_test_data): Likewise.
27706         (tan_tonearest_test_data): Likewise.
27707         (tan_towardzero_test_data): Likewise.
27708         (tan_downward_test_data): Likewise.
27709         (tan_upward_test_data): Likewise.
27710         (tanh_test_data): Likewise.
27711         (tgamma_test_data): Likewise.
27712         (y0_test_data): Likewise.
27713         (y1_test_data): Likewise.
27714         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27715         (special_real_inputs): Add pi/4.
27716         * sysdeps/i386/fpu/libm-test-ulps: Update.
27717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27719 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27721         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27722         "longjmp_target" static probes.
27723         (__longjmp): Rename to __longjmp_symbol.
27724         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27725         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27726         on which longjmp to generate.
27727         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27728         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27729         probe.
27730         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27731         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27732         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27733         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27734         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27735         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27737         __longjmp_symbol based on which __longjmp to generate.
27738         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27739         probe.
27740         (setjmp): Rename to setjmp_symbol.
27741         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27742         (_setjmp): Rename to _setjmp_symbol.
27743         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27744         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27745         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27746         which setjmp to generate.
27747         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27748         "longjmp_target" static probes.
27750 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27752         * benchtests/README: Add note about output arguments.
27753         * benchtests/bench-sincos.c: Remove file.
27754         * benchtests/sincos-inputs: New file.
27755         * scripts/bench.pl: Identify output arguments and define
27756         static variables for them.
27758         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27760         [BZ #15941]
27761         * Makefile (INSTALL): Add install-plain.texi as the primary
27762         dependency.
27763         * manual/install-plain.texi: New file.
27764         * manual/install.texi: Include node directive only for
27765         non-plaintext output.
27767 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27769         * stdlib/longlong.h: Update from GCC.
27771         [BZ #6807]
27772         [BZ #15901]
27773         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27774         * math/w_j0f.c (y0f): Likewise.
27775         * math/w_j0l.c (__y0l): Likewise.
27776         * math/w_j1.c (y1): Likewise.
27777         * math/w_j1f.c (y1f): Likewise.
27778         * math/w_j1l.c (__y1l): Likewise
27779         * math/w_jn.c (yn): Likewise.
27780         * math/w_jnf.c (ynf): Likewise.
27781         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27782         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27783         value for Bessel function domain errors outside _SVID_ mode.
27784         Adjust sign of return value for yn (negative integer, 0).
27785         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27786         by zero in return for negative x and set sign appropriately for
27787         negative n.
27788         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27789         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27790         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27791         expectations in error cases.
27792         (y1_test_data): Likewise.
27793         (yn_test_data): Likewise.
27794         * sysdeps/i386/fpu/libm-test-ulps: Update.
27795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27797 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27799         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27800         "64" to "64-v1".  Add "64-v2".
27801         (abi-64-options): Rename to ...
27802         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27803         (abi-64-condition): Rename to ...
27804         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27805         (abi-64-ld-soname): Rename to ...
27806         (abi-64-v1-ld-soname): ... this.
27807         (abi-64-v2-options): Define.
27808         (abi-64-v2-condition): Likewise.
27809         (abi-64-v2-ld-soname): Likewise.
27810         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27811         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27816 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27817             Alan Modra  <amodra@gmail.com>
27819         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27820         New versions for use with the ELFv2 ABI.
27821         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27822         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27823         declaration.
27824         (struct La_ppc64v2_retval): Likewise.
27825         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27826         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27827         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27828         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27829         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27830         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27831         Do not save or restore CR.
27832         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27833         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27834         return values for ELFv2 ABI.  Fix location of FPR return registers.
27835         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27836         updated values for _CALL_ELF == 2.
27837         (La_regs, La_retval, int_retval): Likewise.
27839 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27841         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27842         (FRAME_MIN_SIZE_PARM): Likewise.
27843         (FRAME_BACKCHAIN): Likewise.
27844         (FRAME_CR_SAVE): Likewise.
27845         (FRAME_LR_SAVE): Likewise.
27846         (FRAME_TOC_SAVE): Likewise.
27847         (FRAME_PARM_SAVE): Likewise.
27848         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27849         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27850         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27851         (call_mcount_parm_offset): New macro.
27852         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27853         (PROF): Use symbolic stack frame offsets.
27854         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27855         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27856         Redefine in terms of FRAME_MIN_SIZE.
27857         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27858         (_dl_profile_resolve): Likewise.  Update comment.
27859         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27860         symbols stack frame offsets.
27861         (__sigsetjmp): Likewise.
27862         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27863         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27864         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27865         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27868         (FRAME_BACKCHAIN): Remove.
27869         (FRAME_CR_SAVE): Likewise.
27870         (FRAME_LR_SAVE): Likewise.
27871         (FRAME_COMPILER_DW): Likewise.
27872         (FRAME_LINKER_DW): Likewise.
27873         (FRAME_TOC_SAVE): Likewise.
27874         (FRAME_PARM_SAVE): Likewise.
27875         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27876         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27877         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27879         (CHECK_SP): Use symbolic stack frame offsets.
27880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27881         zone" instead of caller's parameter save area for temp storage.
27882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27883         Likewise.  Also, use symbolic stack frame offsets.
27884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27885         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27886         our own stack frame instead of the caller's.
27887         (__socket): Use symbolic stack frame offsets.
27889 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27890             Alan Modra  <amodra@gmail.com>
27892         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27893         Define.
27894         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27895         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27896         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27897         New function.
27898         (elf_machine_fixup_plt): Call it.
27899         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27900         reloc arguments.
27901         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27902         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27903         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27904         r2 before calling target.
27906 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27907             Alan Modra  <amodra@gmail.com>
27909         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27910         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27911         versions of macros to support ELFv2 ABI.
27912         (LOCALENTRY): New macro.
27913         (ENTRY, EALIGN): Use it.
27914         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27915         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27916         fall through into ENTRY entry point.
27917         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27918         Only define if _CALL_ELF != 2.
27920         (elf_machine_matches_host): Verify ABI version matches.
27921         (RTLD_START): Use LOCALENTRY.
27922         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27923         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27924         (PLT_ENTRY_WORDS): New macro.
27925         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27926         (elf_machine_runtime_setup): Support ELFv2 ABI.
27927         (elf_machine_fixup_plt): Likewise.
27928         (elf_machine_plt_conflict): Likewise.
27929         (resolve_ifunc): Likewise.
27930         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27931         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27932         Likewise.
27933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27934         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27936         (makecontext): Support ELFv2 ABI.
27937         * elf/elf.h (EF_PPC64_ABI): Define.
27939 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27941         * sysdeps/powerpc/powerpc64/sysdep.h
27942         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27943         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27944         (ENTRY) [ASSEMBLER]: ... but instead here ...
27945         (EALIGN) [ASSEMBLER]: ... and here.
27946         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27947         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27948         (ENTRY_2) [!ASSEMBLER]: Use it.
27949         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27950         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27951         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27952         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27953         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27955         Use PPC64_LOAD_FUNCPTR.
27957         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27959 2013-12-04  Alan Modra  <amodra@gmail.com>
27961         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27962         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27963         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27964         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27967         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27968         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27969         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27970         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27971         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27973 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27976         (__makecontext): Fix incorrect CFI when backtracing out of
27977         context created via makecontext.
27978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27979         (__setcontext): Fix incorrect CFI during switch to new context.
27980         (__novec_setcontext): Likewise.
27982 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27984         [BZ #4772]
27985         * time/strptime_l.c (__strptime_internal): Allow modifiers
27986         in strptime.
27987         * time/tst-strptime.c (day_tests): Add testcase.
27989 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27991         * scripts/bench.pl: Skip over blank lines.
27993 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27995         [BZ #926]
27996         * manual/time.texi (Calendar Time): Clarify what timezone functions
27997         use.
27999 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28003 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28005         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28006         implementation.
28007         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28008         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28009         * debug/memset_chk.c (__memset_chk): Likewise.
28010         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28011         * debug/strncpy_chk.c: Likewise.
28013 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28015         [BZ #15268]
28016         [BZ #15425]
28017         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28018         (__ieee754_exp): For possibly underflowing results, check size of
28019         result and force underflow exception if required.
28020         * math/auto-libm-test-in: Add more tests of exp.
28021         * math/auto-libm-test-out: Regenerated.
28022         * sysdeps/i386/fpu/libm-test-ulps: Update.
28023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28025         [BZ #16283]
28026         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28027         * math/w_exp2f.c (__exp2f): Likewise.
28028         * math/w_exp2l.c (__exp2l): Likewise.
28029         * math/auto-libm-test-in: Do not allow missing errno on exp2
28030         underflow.
28031         * math/auto-libm-test-out: Regenerated.
28033 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28035         [BZ #16274]
28036         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28037         handle filename validation.
28038         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28039         (do_open): Delete.
28041 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28043         [BZ #6786]
28044         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28045         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28046         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28047         <float.h>.
28048         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28049         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28050         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28051         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28052         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28053         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28054         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28055         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28056         Add more erfc tests.
28057         * math/auto-libm-test-out: Regenerated.
28058         * sysdeps/i386/fpu/libm-test-ulps: Update.
28059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28061         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28062         exp2, expm1, j0 and j1.
28063         * math/auto-libm-test-out: Regenerated.
28064         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28065         (erfc_test_data): Likewise.
28066         (exp_test_data): Likewise.
28067         (exp_tonearest_test_data): Likewise.
28068         (exp_towardzero_test_data): Likewise.
28069         (exp_downward_test_data): Likewise.
28070         (exp_upward_test_data): Likewise.
28071         (exp10_test_data): Likewise.
28072         (exp2_test_data): Likewise.
28073         (expm1_test_data): Likewise.
28074         (j0_test_data): Likewise.
28075         (j1_test_data): Likewise.
28076         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28077         (input_flag_type): Add flag_xfail_rounding.
28078         (input_flags): Add xfail-rounding.
28079         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28080         (output_for_one_input_case): Handle flag_xfail_rounding.
28081         * sysdeps/i386/fpu/libm-test-ulps: Update.
28082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28084 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28086         [BZ #16289]
28087         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28088         division by 0.
28090 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28092         [BZ #16195]
28093         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28094         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28095         (STAP_PROBE0): New macro.
28096         (STAP_PROBE1): Likewise.
28097         (STAP_PROBE2): Likewise.
28098         (STAP_PROBE3): Likewise.
28099         (STAP_PROBE4): Likewise.
28101 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28103         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28105 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28107         * benchtests/Makefile (bench): Add sqrt.
28108         (LDLIBS-bench-sqrt): New.
28109         * benchtests/sqrt-input: New.
28111 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28113         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28114         (GAIH_EAI): Likewise.
28115         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28116         (gaih_inet): Likewise.
28117         (getaddrinfo): Don't use GAIH_EAI.
28119         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28120         (struct gaih): Remove definition.
28122 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28124         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28125         Use HERRNOP directly.
28127 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28131 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28133         * math/gen-auto-libm-tests.c (test_functions): Add more
28134         single-argument functions.
28135         (special_fill_pi_2): New function.
28136         (special_fill_minus_pi_2): Likewise.
28137         (special_fill_pi_6): Likewise.
28138         (special_fill_minus_pi_6): Likewise.
28139         (special_fill_pi_3): Likewise.
28140         (special_fill_2pi_3): Likewise.
28141         (special_fill_e): Likewise.
28142         (special_fill_1_e): Likewise.
28143         (special_fill_e_minus_1): Likewise.
28144         (special_real_inputs): Add more special inputs.
28145         (output_for_one_input_case): Do not require ERANGE on underflow to
28146         zero if round-to-nearest result does not underflow to zero, unless
28147         exact results required.
28148         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28149         atan, atanh, cbrt, cos and cosh.
28150         * math/auto-libm-test-out: Regenerated.
28151         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28152         (acos_tonearest_test_data): Likewise.
28153         (acos_towardzero_test_data): Likewise.
28154         (acos_downward_test_data): Likewise.
28155         (acos_upward_test_data): Likewise.
28156         (acosh_test_data): Likewise.
28157         (asin_test_data): Likewise.
28158         (asin_tonearest_test_data): Likewise.
28159         (asin_towardzero_test_data): Likewise.
28160         (asin_upward_test_data): Likewise.
28161         (asinh_test_data): Likewise.
28162         (atan_test_data): Likewise.
28163         (atanh_test_data): Likewise.
28164         (cbrt_test_data): Likewise.
28165         (cos_test_data): Likewise.
28166         (cos_tonearest_test_data): Likewise.
28167         (cos_towardzero_test_data): Likewise.
28168         (cos_downward_test_data): Likewise.
28169         (cos_upward_test_data): Likewise.
28170         (cosh_test_data): Likewise.
28171         (cosh_tonearest_test_data): Likewise.
28172         (cosh_towardzero_test_data): Likewise.
28173         (cosh_downward_test_data): Likewise.
28174         (cosh_upward_test_data): Likewise.
28175         * sysdeps/i386/fpu/libm-test-ulps: Update.
28176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28178 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28180         [BZ #6787]
28181         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28182         * math/w_exp10f.c (__exp10f): Likewise.
28183         * math/w_exp10l.c (__exp10l): Likewise.
28184         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28185         errno settings in existing tests.
28187         [BZ #14032]
28188         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28189         precision control set to double precision.
28190         * sysdeps/i386/fpu/w_sqrt.c: New file.
28191         * math/auto-libm-test-in: Add more tests.
28192         * math/auto-libm-test-out: Update.
28194         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28195         (sqrt_test_tonearest): New function.
28196         (sqrt_towardzero_test_data): New variable.
28197         (sqrt_test_towardzero): New function.
28198         (sqrt_downward_test_data): New variable.
28199         (sqrt_test_downward): New function.
28200         (sqrt_upward_test_data): New variable.
28201         (sqrt_test_upward): New function.
28202         (main): Call the new functions.
28204         * math/gen-auto-libm-tests.c: New file.
28205         * math/auto-libm-test-in: Likewise.
28206         * math/auto-libm-test-out: New generated file.
28207         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28208         variables.
28209         (%beautify): Add generated representations of zero.
28210         (top level): Set $auto_input and call parse_auto_input.
28211         (beautify): Remove trailing "f" from hex float constants.
28212         (parse_args): Handle XFAIL_TEST.
28213         (convert_condition): New function.
28214         (or_value): Likewise.
28215         (or_cond_value): Likewise.
28216         (generate_testfile): Handle AUTO_TESTS_* lines.
28217         (parse_auto_input): New function.
28218         * math/libm-test.inc (XFAIL_TEST): New macro.
28219         (ERRNO_UNCHANGED): Update value.
28220         (ERRNO_EDOM): Likewise.
28221         (ERRNO_ERANGE): Likewise.
28222         (IGNORE_RESULT): Likewise.
28223         (TEST_COND_flt_32): New macro.
28224         (TEST_COND_dbl_64): Likewise.
28225         (TEST_COND_ldbl_96_intel): Likewise.
28226         (TEST_COND_ldbl_96_m68k): Likewise.
28227         (TEST_COND_ldbl_128): Likewise.
28228         (TEST_COND_ldbl_128ibm): Likewise.
28229         (TEST_COND_long32): Likewise.
28230         (TEST_COND_long64): Likewise.
28231         (TEST_COND_before_rounding): Likewise.
28232         (TEST_COND_after_rounding): Likewise.
28233         (enable_test): Handle XFAIL_TEST flag.
28234         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28235         with finite results.
28236         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28237         auto-libm-test-out.
28239 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28240             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28242         [BZ #16214]
28243         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28244         __tls_get_addr_internal instead of __tls_get_offset in order to
28245         avoid GOT pointer dependency.  Make rtld export
28246         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28247         __tls_get_addr since we are a __tls_get_offset platform.
28248         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28249         GOT pointer being set up before.
28250         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28252 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28254         * manual/math.texi (Errors in Math Functions): Document accuracy
28255         goals.
28257         [BZ #15004]
28258         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28259         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28260         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28261         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28262         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28263         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28264         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28265         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28266         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28267         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28268         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28269         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28270         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28271         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28272         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28273         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28275         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28276         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28277         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28278         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28279         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28280         Likewise.
28281         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28282         Likewise.
28283         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28284         Likewise.
28285         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28286         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28287         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28288         atomic-feupdateenv and flt-rounds.
28289         * sysdeps/powerpc/nofpu/Versions (libc): Add
28290         __atomic_feholdexcept, __atomic_feclearexcept,
28291         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28292         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28293         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28294         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28295         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28296         here.
28297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28298         Update.
28300         * manual/arith.texi (FP Exceptions): Document that exceptions may
28301         not be raised when matherr is used.
28302         (Math Error Reporting): Document overflow in directed rounding
28303         modes.  Document that errno may not be set when finite values are
28304         returned on overflow.  Document intent to set errno on underflow
28305         only for underflow to zero.
28307         [BZ #16271]
28308         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28309         round-to-nearest then adjust result for other rounding modes.
28310         * include/fenv.h (fegetround): Use libm_hidden_proto.
28311         * math/fegetround.c (fegetround): Use libm_hidden_def.
28312         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28313         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28314         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28315         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28316         Likewise.
28317         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28318         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28319         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28320         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28322 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28324         [BZ #16077]
28325         * nss/Versions (libnss_files): Add
28326         _nss_files_gethostbyname3_r.
28327         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28328         New function.
28329         (HOST_DB_LOOKUP): Remove macro.
28330         (_nss_files_gethostbyname_r): Implement function without the
28331         HOST_DB_LOOKUP macro.
28332         (_nss_files_gethostbyname2_r): Likewise.
28334 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28336         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28338 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28340         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28341         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28342         warning.
28344 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28346         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28347         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28348         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28349         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28350         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28351         __fe_nomask_env_priv and attribute_hidden.
28352         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28353         (libc_feupdateenv_test_ppc): Likewise.
28354         (libc_feresetround_ppc): Likewise.
28355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28356         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28357         compat_symbol macro.
28358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28359         (__fe_nomask_env): Likewise.
28360         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28362 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28364         * string/Makefile: Remove ifunc tests.
28365         * string/test-string.h: Define TEST_IFUNC.
28366         * string/test-bcopy-ifunc.c: Remove.
28367         * string/test-bzero-ifunc.c: Likewise.
28368         * string/test-memccpy-ifunc.c: Likewise.
28369         * string/test-memchr-ifunc.c: Likewise.
28370         * string/test-memcmp-ifunc.c: Likewise.
28371         * string/test-memcpy-ifunc.c: Likewise.
28372         * string/test-memmem-ifunc.c: Likewise.
28373         * string/test-memmove-ifunc.c: Likewise.
28374         * string/test-mempcpy-ifunc.c: Likewise.
28375         * string/test-memrchr-ifunc.c: Likewise.
28376         * string/test-memset-ifunc.c: Likewise.
28377         * string/test-rawmemchr-ifunc.c: Likewise.
28378         * string/test-stpcpy-ifunc.c: Likewise.
28379         * string/test-stpncpy-ifunc.c: Likewise.
28380         * string/test-strcasecmp-ifunc.c: Likewise.
28381         * string/test-strcasestr-ifunc.c: Likewise.
28382         * string/test-strcat-ifunc.c: Likewise.
28383         * string/test-strchr-ifunc.c: Likewise.
28384         * string/test-strchrnul-ifunc.c: Likewise.
28385         * string/test-strcmp-ifunc.c: Likewise.
28386         * string/test-strcpy-ifunc.c: Likewise.
28387         * string/test-strcspn-ifunc.c: Likewise.
28388         * string/test-strlen-ifunc.c: Likewise.
28389         * string/test-strncasecmp-ifunc.c: Likewise.
28390         * string/test-strncat-ifunc.c: Likewise.
28391         * string/test-strncmp-ifunc.c: Likewise.
28392         * string/test-strncpy-ifunc.c: Likewise.
28393         * string/test-strnlen-ifunc.c: Likewise.
28394         * string/test-strpbrk-ifunc.c: Likewise.
28395         * string/test-strrchr-ifunc.c: Likewise.
28396         * string/test-strspn-ifunc.c: Likewise.
28397         * string/test-strstr-ifunc.c: Likewise.
28399 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28401         * benchtests/Makefile: Remove ifunc tests.
28402         * benchtests/bench-string.h: Define TEST_IFUNC.
28403         * benchtests/bench-bcopy-ifunc.c: Remove.
28404         * benchtests/bench-bzero-ifunc.c: Likewise.
28405         * benchtests/bench-memccpy-ifunc.c: Likewise.
28406         * benchtests/bench-memchr-ifunc.c: Likewise.
28407         * benchtests/bench-memcmp-ifunc.c: Likewise.
28408         * benchtests/bench-memcpy-ifunc.c: Likewise.
28409         * benchtests/bench-memmem-ifunc.c: Likewise.
28410         * benchtests/bench-memmove-ifunc.c: Likewise.
28411         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28412         * benchtests/bench-memrchr-ifunc.c: Likewise.
28413         * benchtests/bench-memset-ifunc.c: Likewise.
28414         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28415         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28416         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28417         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28418         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28419         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28420         * benchtests/bench-strcat-ifunc.c: Likewise.
28421         * benchtests/bench-strchr-ifunc.c: Likewise.
28422         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28423         * benchtests/bench-strcmp-ifunc.c: Likewise.
28424         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28425         * benchtests/bench-strcpy-ifunc.c: Likewise.
28426         * benchtests/bench-strcspn-ifunc.c: Likewise.
28427         * benchtests/bench-strlen-ifunc.c: Likewise.
28428         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28429         * benchtests/bench-strncat-ifunc.c: Likewise.
28430         * benchtests/bench-strncmp-ifunc.c: Likewise.
28431         * benchtests/bench-strncpy-ifunc.c: Likewise.
28432         * benchtests/bench-strnlen-ifunc.c: Likewise.
28433         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28434         * benchtests/bench-strrchr-ifunc.c: Likewise.
28435         * benchtests/bench-strsep-ifunc.c: Likewise.
28436         * benchtests/bench-strspn-ifunc.c: Likewise.
28437         * benchtests/bench-strstr-ifunc.c: Likewise.
28439 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28441         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28443 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28445         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28446         * rt/aio.h: Likewise.
28447         * sysdeps/gnu/bits/utmp.h: Likewise.
28448         * sysdeps/gnu/bits/utmpx.h: Likewise.
28449         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28450         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28451         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28452         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28453         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28454         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28455         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28456         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28457         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28458         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28459         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28460         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28461         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28463         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28464         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28465         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28466         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28467         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28468         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28469         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28470         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28471         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28472         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28473         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28474         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28475         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28476         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28477         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28478         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28479         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28480         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28481         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28482         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28483         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28484         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28485         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28486         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28487         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28488         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28489         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28490         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28492 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28494         [BZ #16245]
28495         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28496         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28498 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28500         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28501         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28502         Likewise.
28504 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28506         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28507         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28508         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28509         (__fesetround): Remove define.
28510         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28511         rounding and exceptions handling.
28512         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28513         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28514         (__fe_nomask_env): Likewise.
28515         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28516         __fegetround instead of fegetround.
28517         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28518         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28520 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28522         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28523         it's there.
28525         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28527 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28529         [BZ #11157]
28530         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28531         (encrypt_r): Likewise.
28532         * malloc/obstack.h (obstack_free): Likewise.
28533         * posix/unistd.h (encrypt): Likewise.
28535 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28537         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28538         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28539         DL_CALL_DT_FINI() that call the functions directly.
28540         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28541         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28542         * elf/dl-fini.c: Likewise.
28544 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28546         * malloc/hooks.c (memalign_check): Add alignment rounding.
28547         * malloc/malloc.c (_mid_memalign): New function.
28548         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28549         Implement by calling _mid_memalign.
28550         * manual/probes.texi (Memory Allocation Probes): Remove
28551         memory_valloc_retry and memory_pvalloc_retry.
28553 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28555         * locale/programs/locarchive.c (open_archive): Add const
28556         qualifier to ARCHIVEFNAME and copy default fname to
28557         DEFAULT_FNAME.
28559         [BZ #15601]
28560         * libio/tst-widetext.input: Rename Oriya to Odia.
28561         * locale/iso-639.def: Likewise.
28563         * manual/probes.texi (Mathematical Function Probes): Add
28564         documentation for sin, cos, asin and acos probes.
28565         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28566         (__sin32): Add slowasin probe.
28567         (__cos32): Add slowacos probe.
28568         (__mpsin): Add slowsin probe.
28569         (__mpcos): Add slowcos probe.
28571 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28573         [BZ #15483]
28574         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28575         thread-local __sim_exceptions_thread and global
28576         __sim_exceptions_global.
28577         (__sim_disabled_exceptions): Change to thread-local
28578         __sim_disabled_exceptions_thread and global
28579         __sim_disabled_exceptions_global.
28580         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28581         and global __sim_round_mode_global.
28582         (__simulate_exceptions): Use thread-local floating-point state and
28583         set global state from it as needed.
28584         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28585         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28586         __sim_round_mode_thread.
28587         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28588         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28589         and global __sim_exceptions_global.
28590         (__sim_disabled_exceptions): Change to thread-local
28591         __sim_disabled_exceptions_thread and global
28592         __sim_disabled_exceptions_global.
28593         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28594         and global __sim_round_mode_global.
28595         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28596         (SIM_SET_GLOBAL): Likewise.
28597         * sysdeps/powerpc/soft-fp/sfp-machine.h
28598         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28599         __sim_round_mode_thread.
28600         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28601         __sim_disabled_exceptions_thread.
28602         (__sim_exceptions): Change to __sim_exceptions_thread.
28603         (__sim_disabled_exceptions): Change to
28604         __sim_disabled_exceptions_thread.
28605         (__sim_round_mode): Change to __sim_round_mode_thread.
28606         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28607         thread-local floating-point state and set global state from it as
28608         needed.
28609         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28610         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28611         (__sim_disabled_exceptions): Remove extern declaration.
28612         (feenableexcept): Use thread-local floating-point state and set
28613         global state from it as needed.
28614         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28615         extern declaration.
28616         (__sim_disabled_exceptions): Likewise.
28617         (__sim_round_mode): Likewise.
28618         (__fegetenv): Use thread-local floating-point state.
28619         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28620         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28621         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28622         floating-point state and set global state from it as needed.
28623         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28624         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28625         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28626         Likewise.
28627         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28628         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28629         Likewise.
28630         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28631         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28632         Use __sim_round_mode_thread.
28633         * math/test-fenv-tls.c: New file.
28634         * math/Makefile (tests): Add test-fenv-tls.
28635         ($(objpfx)test-fenv-tls): Depend on
28636         $(common-objpfx)nptl/libpthread.so.
28638 2013-11-19  Andreas Schwab  <schwab@suse.de>
28640         * locale/programs/locale.c (show_info): Decode wordarray elements.
28641         * locale/categories.def (LC_MONETARY): Add element for
28642         _NL_MONETARY_CRNCYSTR.
28643         * locale/C-monetary.c (conversion_rate): New variable.
28644         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28645         element.
28647 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28649         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28650         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28652 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28654         * elf/Makefile (tst-auxv): New test.
28655         * elf/tst-auxv.c: New
28656         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28658 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28660         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28661         (hidden_proto): Caller changed.
28662         (hidden_tls_proto): New macro.
28663         (libc_hidden_tls_proto): Likewise.
28664         (rtld_hidden_tls_proto): Likewise.
28665         (libm_hidden_tls_proto): Likewise.
28666         (libresolv_hidden_tls_proto): Likewise.
28667         (librt_hidden_tls_proto): Likewise.
28668         (libdl_hidden_tls_proto): Likewise.
28669         (libnss_files_hidden_tls_proto): Likewise.
28670         (libnsl_hidden_tls_proto): Likewise.
28671         (libnss_nisplus_hidden_tls_proto): Likewise.
28672         (libutil_hidden_tls_proto): Likewise.
28674 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28676         [BZ #10253]
28677         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28678         (decompose_rpath): Defer expansion to fillin_rpath.
28679         (_dl_init_paths): Pass linkmap to fillin_rpath.
28681 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28683         * benchtests/Makefile: Add strsep.
28684         * benchtests/bench-strsep.c: New file: strsep benchtest.
28685         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28687 2013-11-18  Andreas Schwab  <schwab@suse.de>
28689         * locale/programs/locale.c (show_info) [case byte]: Check for
28690         '\377' instead of '\177'.
28691         * locale/C-monetary.c (not_available): Always use "\377".
28692         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28693         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28694         detect unavailable sign_posn locale elements.
28695         * locale/localeconv.c (__localeconv): For grouping and
28696         mon_grouping handle "\177" and "\377" like no grouping.
28697         (INT_ELEM): New macro.  Use it to set all numeric members.
28698         * locale/programs/ld-monetary.c (monetary_read)
28699         <tok_mon_grouping>: Normalize single -1 to the empty string.
28700         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28701         Likewise.
28703 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28705         [BZ #16055]
28706         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28707         when we match (nil).
28708         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28710 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28712         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28713         (NO_TEST_INLINE): Update value.
28714         (ERRNO_UNCHANGED): Likewise.
28715         (ERRNO_EDOM): Likewise.
28716         (ERRNO_ERANGE): Likewise.
28717         (IGNORE_RESULT): Likewise.
28718         (check_float_internal): Check signs of NaN results if
28719         TEST_NAN_SIGN used.
28720         (check_complex): Pass TEST_NAN_SIGN flag through to second
28721         check_float_internal call.
28722         (copysign_test_data): Add tests with quiet NaNs as second
28723         argument.  Use TEST_NAN_SIGN.
28724         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28725         TEST_NAN_SIGN.
28726         (signbit_test_data): Add tests of quiet NaN argument.
28727         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28729         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28730         $ignore_result.
28731         (parse_args): Handle function results specified as IGNORE.
28732         * math/libm-test.inc (IGNORE_RESULT): New macro.
28733         (check_float_internal): Do not check numerical result if flag
28734         IGNORE_RESULT set.
28735         (check_complex): Pass through IGNORE_RESULT to second
28736         check_float_internal call.
28737         (check_int): Do not check numerical result if flag IGNORE_RESULT
28738         set.
28739         (check_long): Likewise.
28740         (check_bool): Likewise.
28741         (check_longlong): Likewise.
28742         (lrint_test_data): Add tests of infinite and NaN arguments.
28743         (lrint_tonearest_test_data): Likewise.
28744         (lrint_towardzero_test_data): Likewise.
28745         (lrint_downward_test_data): Likewise.
28746         (lrint_upward_test_data): Likewise.
28747         (llrint_test_data): Likewise.
28748         (llrint_tonearest_test_data): Likewise.
28749         (llrint_towardzero_test_data): Likewise.
28750         (llrint_downward_test_data): Likewise.
28751         (llrint_upward_test_data): Likewise.
28752         (lround_test_data): Likewise.
28753         (llround_test_data): Likewise.
28755         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28756         (ERRNO_UNCHANGED): Update value.
28757         (ERRNO_EDOM): Likewise.
28758         (ERRNO_ERANGE): Likewise.
28759         (NO_TEST_INLINE_FLOAT): New macro.
28760         (NO_TEST_INLINE_DOUBLE): Likewise.
28761         (enable_test): New function.
28762         (RUN_TEST_f_f): Check enable_test before running test.
28763         (RUN_TEST_2_f): Likewise.
28764         (RUN_TEST_fff_f): Likewise.
28765         (RUN_TEST_c_f): Likewise.
28766         (RUN_TEST_f_f1): Likewise.
28767         (RUN_TEST_fF_f1): Likewise.
28768         (RUN_TEST_fI_f1): Likewise.
28769         (RUN_TEST_ffI_f1): Likewise.
28770         (RUN_TEST_c_c): Likewise.
28771         (RUN_TEST_cc_c): Likewise.
28772         (RUN_TEST_f_i): Likewise.
28773         (RUN_TEST_f_i_tg): Likewise.
28774         (RUN_TEST_ff_i_tg): Likewise.
28775         (RUN_TEST_f_b): Likewise.
28776         (RUN_TEST_f_b_tg): Likewise.
28777         (RUN_TEST_f_l): Likewise.
28778         (RUN_TEST_f_L): Likewise.
28779         (RUN_TEST_fFF_11): Likewise.
28780         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28781         conditionals.
28782         (cosh_test_data): Likewise.
28783         (exp_test_data): Likewise.
28784         (expm1_test_data): Likewise.
28785         (hypot_test_data): Likewise.
28786         (pow_test_data): Likewise.
28787         (sinh_test_data): Likewise.
28788         (tanh_test_data): Likewise.
28789         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28790         flags argument.
28792         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28793         tests with quiet NaN input and output.
28794         (acosh_test_data): Likewise.
28795         (asin_test_data): Likewise.
28796         (asinh_test_data): Likewise.
28797         (atan_test_data): Likewise.
28798         (atanh_test_data): Likewise.
28799         (atan2_test_data): Likewise.
28800         (cbrt_test_data): Likewise.
28801         (cos_test_data): Likewise.
28802         (cosh_test_data): Likewise.
28803         (erf_test_data): Likewise.
28804         (erfc_test_data): Likewise.
28805         (exp_test_data): Likewise.
28806         (exp10_test_data): Likewise.
28807         (exp2_test_data): Likewise.
28808         (expm1_test_data): Likewise.
28809         (hypot_test_data): Likewise.
28810         (j0_test_data): Likewise.
28811         (j1_test_data): Likewise.
28812         (jn_test_data): Likewise.
28813         (lgamma_test_data): Likewise.
28814         (log_test_data): Likewise.
28815         (log10_test_data): Likewise.
28816         (log1p_test_data): Likewise.
28817         (log2_test_data): Likewise.
28818         (pow_test_data): Likewise.
28819         (scalb_test_data): Likewise.
28820         (sin_test_data): Likewise.
28821         (sincos_test_data): Likewise.
28822         (sinh_test_data): Likewise.
28823         (tan_test_data): Likewise.
28824         (tanh_test_data): Likewise.
28825         (tgamma_test_data): Likewise.
28826         (y0_test_data): Likewise.
28827         (y1_test_data): Likewise.
28828         (yn_test_data): Likewise.
28830         [BZ #16167]
28831         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28832         argument being NaN and avoid computations with second argument in
28833         that case.
28834         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28835         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28836         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28838 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28840         * locale/iso-639.def: Add Chitwani Tharu (the).
28842 2013-11-14  Andreas Schwab  <schwab@suse.de>
28844         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28845         word instead of empty string.
28847 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28850         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28852         (__fe_nomask_env): Likewise.
28854 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28856         * benchtests/bench-timing.h: Include time.h.
28858 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28860         [BZ #15997]
28861         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28862         to 3.4.0 for x32.
28863         * sysdeps/unix/sysv/linux/configure: Regenerated.
28865 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28867         [BZ #16151]
28868         * stdlib/strtod_l.c (round_and_return): Do not consider
28869         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28870         exponent one less than half the least subnormal exponent.
28871         * stdlib/test-strtod-round-data: Add more tests.
28872         * stdlib/tst-strtod-round.c (tests): Regenerated.
28874 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28876         [BZ #14143]
28877         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28878         (__fe_mask_env): Likewise.
28879         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28880         libm_hidden_proto and add function prototype.
28881         (__fe_mask_env): Add function prototype.
28882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28883         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28885         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28887         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28889 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28891         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28892         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28894 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28896         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28897         of htab_find_slot().
28899 2013-11-11  David S. Miller  <davem@davemloft.net>
28901         [BZ #16150]
28902         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28903         symbol in the non-vis3 case in static builds.
28904         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28905         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28906         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28907         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28909 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28911         [BZ #387]
28912         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28913         it is empty.
28915 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28917         * benchtests/Makefile: Add bench-strtod.
28918         * benchtests/bench-strtod.c: New file: strtod benchtest
28920 2013-11-11  Andreas Schwab  <schwab@suse.de>
28922         [BZ #16153]
28923         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28924         terminating NUL in key length.
28926 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28928         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28929         Add artificial ODP entry for vDSO symbol for PPC64.
28930         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28931         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28933 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28935         [BZ #15374]
28936         * nss/getent.c (services_keys): Recognize services starting with digit.
28938 2013-11-06  David S. Miller  <davem@davemloft.net>
28940         [BZ #15985]
28941         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28942         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28944 2013-11-06  Will Newton  <will.newton@linaro.org>
28946         * manual/memory.texi (Malloc Examples): Remove register
28947         keyword from examples.
28949 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28951         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28953 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28955         [BZ #6981]
28956         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28957         depending on [__GCC_IEC_559 > 0].
28958         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28959         depending on [__GCC_IEC_559_COMPLEX > 0].
28961 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28963         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28964         to iso-639.def.
28966 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28968         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28970 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28972         [BZ #16112]
28973         * malloc/malloc (malloc_info): Do not handle first bin as
28974         special case.
28976 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28978         * locale/iso-639.def: Add Central Nahuatl (nhn).
28980 2013-11-01  Bruno Haible  <bruno@clisp.org>
28982         [BZ #7003]
28983         * manual/math.texi (BSD Random): Specify range upper bound as
28984         in POSIX.
28986 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28988         * locale/iso-639.def: Add Meadow Mari (mhr).
28990 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28992         [BZ #14752], [BZ #15763]
28993         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28994         Validate name.
28995         * rt/tst_shm.c: Add test for escaping directory.
28997 2013-10-31  Andreas Schwab  <schwab@suse.de>
28999         [BZ #15917]
29000         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29001         followed by 'x' as part of digit sequence.
29002         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29004 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29006         [BZ #16037]
29007         * configure.ac: allow GNU Make 4.0 and greater.
29008         * configure: Regenerated.
29010 2013-10-30  Will Newton  <will.newton@linaro.org>
29012         [BZ #16038]
29013         * malloc/hooks.c (memalign_check): Limit alignment to the
29014         maximum representable power of two.
29015         * malloc/malloc.c (__libc_memalign): Likewise.
29016         * malloc/tst-memalign.c (do_test): Add test for very
29017         large alignment values.
29018         * malloc/tst-posix_memalign.c (do_test): Likewise.
29020 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29022         [BZ #11087]
29023         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29024         (munmap_chunk): Likewise.
29025         (mremap_chunk): Likewise.
29027 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29029         [BZ #15799]
29030         * stdlib/div.c (div): Remove obsolete code.
29031         * stdlib/ldiv.c (ldiv): Likewise.
29032         * stdlib/lldiv.c (lldiv): Likewise.
29034 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29036         [BZ #16071]
29037         * nss/nss_files/files-XXX.c (get_contents_ret): New
29038         enumerator.
29039         (get_contents): New function.
29040         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29042 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29044         * configure.in: Moved to ...
29045         * configure.ac: ... here. Change reference to configure.in
29046         to configure.ac.
29047         * sysdeps/arm/preconfigure.ac: ... here.
29048         configure.in to configure.ac.
29049         * sysdeps/gnu/configure.in: Moved to ...
29050         * sysdeps/gnu/configure.ac: ... here.
29051         * sysdeps/i386/configure.in: Moved to ...
29052         * sysdeps/i386/configure.ac: ... here.
29053         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29054         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29055         * sysdeps/mach/configure.in: Moved to ...
29056         * sysdeps/mach/configure.ac: ... here.
29057         * sysdeps/mach/hurd/configure.in: Moved to ...
29058         * sysdeps/mach/hurd/configure.ac: ... here.
29059         * sysdeps/powerpc/configure.in: Moved to ...
29060         * sysdeps/powerpc/configure.ac: ... here.
29061         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29062         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29063         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29064         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29065         * sysdeps/s390/s390-32/configure.in: Moved to ...
29066         * sysdeps/s390/s390-32/configure.ac: ... here.
29067         * sysdeps/s390/s390-64/configure.in: Moved to ...
29068         * sysdeps/s390/s390-64/configure.ac: ... here.
29069         * sysdeps/sh/configure.in: Moved to ...
29070         * sysdeps/sh/configure.ac: ... here.
29071         * sysdeps/sparc/configure.in: Moved to ...
29072         * sysdeps/sparc/configure.ac: ... here.
29073         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29074         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29075         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29076         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29077         * sysdeps/x86_64/configure.in: Moved to ...
29078         * sysdeps/x86_64/configure.ac: ... here.
29079         * sysdeps/x86_64/preconfigure.in: Moved to ...
29080         * sysdeps/x86_64/preconfigure.ac: ... here.
29081         * aclocal.m4: Change reference to configure.in to configure.ac.
29082         * config.h.in: Likewise.
29083         * manual/install.texi: Likewise.
29084         * manual/maint.texi: Likewise.
29085         * Makefile: Likewise.
29086         * malloc/Makefile: Likewise.
29087         * nscd/Makefile: Likewise.
29088         * Makeconfig: Change reference to configure.in and
29089         preconfigure.in to configure.ac and preconfigure.ac
29090         respectively.
29091         * INSTALL: Regenerated.
29092         * configure: Likewise.
29093         * sysdeps/gnu/configure: Likewise.
29094         * sysdeps/i386/configure: Likewise.
29095         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29096         * sysdeps/mach/configure: Likewise.
29097         * sysdeps/mach/hurd/configure: Likewise.
29098         * sysdeps/powerpc/configure: Likewise.
29099         * sysdeps/powerpc/powerpc32/configure: Likewise.
29100         * sysdeps/powerpc/powerpc64/configure: Likewise.
29101         * sysdeps/s390/s390-32/configure: Likewise.
29102         * sysdeps/s390/s390-64/configure: Likewise.
29103         * sysdeps/sh/configure: Likewise.
29104         * sysdeps/sparc/configure: Likewise.
29105         * sysdeps/unix/sysv/linux/configure: Likewise.
29106         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29107         * sysdeps/x86_64/configure: Likewise.
29108         * sysdeps/x86_64/preconfigure: Likewise.
29110 2013-10-29  Andreas Schwab  <schwab@suse.de>
29112         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29114 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29116         * benchtests/pow-inputs: Add new inputs.
29118         * benchtests/exp-inputs: Add new inputs.
29120         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29121         conditional check for return value.
29122         (__cos32): Likewise.
29124 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29126         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29127         to provide a boost for large inputs with word alignment.
29128         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29129         implementation based on optimized PPC64 strcpy.
29130         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29131         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29132         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29133         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29135 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29137         [BZ #2801]
29138         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29140 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29142         [BZ #14876]
29143         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29144         * time/tst-strptime.c (day_tests): Add testcase.
29146 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29148         [BZ #14029]
29149         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29151 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29153         [BZ #16074]
29154         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29155         MAP_FAILED on error.
29157 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29159         [BZ #16072]
29160         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29161         heap for large requests.
29163 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29165         [BZ #9954]
29166         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29167         result if the result has no associated interface.
29168         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29169         interface for all 127.X.Y.Z addresses.
29171 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29173         * locale/iso-639.def: Add Ligurian (lij)
29175 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29177         [BZ #15825]
29178         * sunrpc/rpc_main.c: Document rpcgen -5.
29180 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29182         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29184 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29186         [BZ #10278]
29187         * posix/glob.c: Match only directories when trailing slash is present.
29188         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29189         (main): Add testcase.
29191 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29193         [BZ #15670]
29194         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29196 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29198         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29199         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29200         AUTH_DES and cindex for FIPS 140-2.
29201         (DES Encryption): Add cindex FIPS 46-3.
29203         * locale/locarchive.h (struct locarhandle): Add fname.
29204         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29205         if an optional argument was specified to --list-archive,
29206         otherwise NULL.
29207         * locale/programs/locarchive.c (show_archive_content): Take new
29208         argument fname and pass it via ah.fname to open_archive.
29209         * locale/programs/localedef.h: Update decl.
29210         (open_archive): If AH->fname is non-null, open that file
29211         rather than the default file name, and don't ignore ENOENT.
29212         (create_archive): Set AH.fname to NULL.
29213         (delete_locales_from_archive): Likewise.
29214         (add_locales_to_archive): Likewise.
29215         * locale/programs/locfile.c (write_all_categories): Likewise.
29217 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29218             Aldy Hernandez  <aldyh@redhat.com>
29220         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29221         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29222         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29223         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29224         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29225         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29226         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29227         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29228         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29229         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29230         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29231         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29232         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29233         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29234         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29235         Likewise.
29236         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29237         Likewise.
29238         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29239         Likewise.
29240         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29241         Likewise.
29242         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29243         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29244         Likewise.
29245         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29246         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29247         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29248         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29249         Likewise.
29250         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29251         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29252         * sysdeps/powerpc/preconfigure: Likewise.
29253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29254         Likewise.
29255         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29256         Replace contents of file by #include of <fenv_libc.h>.
29257         * sysdeps/powerpc/soft-fp/sfp-machine.h
29258         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29259         and <sys/prctl.h>.
29260         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29261         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29262         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29263         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29264         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29265         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29267         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29268         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29269         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29270         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29271         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29273         Allow copysignl PLT reference to be missing.
29275 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29276             Joseph Myers  <joseph@codesourcery.com
29278         [BZ #15948]
29279         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29280         single character.
29281         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29283 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29285         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29286         * elf/tst-tls1.c: Likewise.
29287         * elf/tst-tls10.h: Likewise.
29288         * elf/tst-tls14.c: Likewise.
29289         * elf/tst-tls2.c: Likewise.
29290         * elf/tst-tls3.c: Likewise.
29291         * elf/tst-tls4.c: Likewise.
29292         * elf/tst-tls5.c: Likewise.
29293         * elf/tst-tls6.c: Likewise.
29294         * elf/tst-tls7.c: Likewise.
29295         * elf/tst-tls8.c: Likewise.
29296         * elf/tst-tls9.c: Likewise.
29297         * elf/tst-tlsmod1.c: Likewise.
29298         * elf/tst-tlsmod13.c: Likewise.
29299         * elf/tst-tlsmod13a.c: Likewise.
29300         * elf/tst-tlsmod14a.c: Likewise.
29301         * elf/tst-tlsmod16a.c: Likewise.
29302         * elf/tst-tlsmod16b.c: Likewise.
29303         * elf/tst-tlsmod2.c: Likewise.
29304         * elf/tst-tlsmod3.c: Likewise.
29305         * elf/tst-tlsmod4.c: Likewise.
29306         * elf/tst-tlsmod5.c: Likewise.
29307         * elf/tst-tlsmod6.c: Likewise.
29309 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29311         [BZ #12486]
29312         * malloc/malloc.c: remove checks for statistics.
29314 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29316         [BZ #15277]
29317         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29318         * inet/tst-network.c: Add testcase.
29320 2013-10-17  Andreas Schwab  <schwab@suse.de>
29322         [BZ #15218]
29323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29324         to determine canonical name.
29326 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29328         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29329         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29330         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29331         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29332         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29333         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29334         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29335         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29336         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29337         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29338         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29339         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29340         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29341         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29342         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29343         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29344         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29345         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29346         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29347         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29348         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29349         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29350         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29351         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29352         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29353         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29354         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29355         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29356         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29357         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29358         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29359         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29360         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29361         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29362         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29363         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29364         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29365         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29366         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29367         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29368         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29369         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29370         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29371         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29372         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29373         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29374         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29375         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29376         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29377         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29378         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29379         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29380         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29381         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29382         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29383         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29384         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29385         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29387 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29389         [BZ #16041]
29390         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29391         make result into a quiet NaN.
29393 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29395         * soft-fp/adddf3.c: Fix horizontal whitespace.
29396         * soft-fp/addsf3.c: Likewise.
29397         * soft-fp/addtf3.c: Likewise.
29398         * soft-fp/divdf3.c: Likewise.
29399         * soft-fp/divsf3.c: Likewise.
29400         * soft-fp/divtf3.c: Likewise.
29401         * soft-fp/double.h: Likewise.
29402         * soft-fp/eqdf2.c: Likewise.
29403         * soft-fp/eqsf2.c: Likewise.
29404         * soft-fp/eqtf2.c: Likewise.
29405         * soft-fp/extenddftf2.c: Likewise.
29406         * soft-fp/extended.h: Likewise.
29407         * soft-fp/extendsfdf2.c: Likewise.
29408         * soft-fp/extendsftf2.c: Likewise.
29409         * soft-fp/extendxftf2.c: Likewise.
29410         * soft-fp/fixdfdi.c: Likewise.
29411         * soft-fp/fixdfsi.c: Likewise.
29412         * soft-fp/fixdfti.c: Likewise.
29413         * soft-fp/fixsfdi.c: Likewise.
29414         * soft-fp/fixsfsi.c: Likewise.
29415         * soft-fp/fixsfti.c: Likewise.
29416         * soft-fp/fixtfdi.c: Likewise.
29417         * soft-fp/fixtfsi.c: Likewise.
29418         * soft-fp/fixtfti.c: Likewise.
29419         * soft-fp/fixunsdfdi.c: Likewise.
29420         * soft-fp/fixunsdfsi.c: Likewise.
29421         * soft-fp/fixunsdfti.c: Likewise.
29422         * soft-fp/fixunssfdi.c: Likewise.
29423         * soft-fp/fixunssfsi.c: Likewise.
29424         * soft-fp/fixunssfti.c: Likewise.
29425         * soft-fp/fixunstfdi.c: Likewise.
29426         * soft-fp/fixunstfsi.c: Likewise.
29427         * soft-fp/fixunstfti.c: Likewise.
29428         * soft-fp/floatdidf.c: Likewise.
29429         * soft-fp/floatdisf.c: Likewise.
29430         * soft-fp/floatditf.c: Likewise.
29431         * soft-fp/floatsidf.c: Likewise.
29432         * soft-fp/floatsisf.c: Likewise.
29433         * soft-fp/floatsitf.c: Likewise.
29434         * soft-fp/floattidf.c: Likewise.
29435         * soft-fp/floattisf.c: Likewise.
29436         * soft-fp/floattitf.c: Likewise.
29437         * soft-fp/floatundidf.c: Likewise.
29438         * soft-fp/floatundisf.c: Likewise.
29439         * soft-fp/floatunditf.c: Likewise.
29440         * soft-fp/floatunsidf.c: Likewise.
29441         * soft-fp/floatunsisf.c: Likewise.
29442         * soft-fp/floatunsitf.c: Likewise.
29443         * soft-fp/floatuntidf.c: Likewise.
29444         * soft-fp/floatuntisf.c: Likewise.
29445         * soft-fp/floatuntitf.c: Likewise.
29446         * soft-fp/fmadf4.c: Likewise.
29447         * soft-fp/fmasf4.c: Likewise.
29448         * soft-fp/fmatf4.c: Likewise.
29449         * soft-fp/gedf2.c: Likewise.
29450         * soft-fp/gesf2.c: Likewise.
29451         * soft-fp/getf2.c: Likewise.
29452         * soft-fp/ledf2.c: Likewise.
29453         * soft-fp/lesf2.c: Likewise.
29454         * soft-fp/letf2.c: Likewise.
29455         * soft-fp/muldf3.c: Likewise.
29456         * soft-fp/mulsf3.c: Likewise.
29457         * soft-fp/multf3.c: Likewise.
29458         * soft-fp/negdf2.c: Likewise.
29459         * soft-fp/negsf2.c: Likewise.
29460         * soft-fp/negtf2.c: Likewise.
29461         * soft-fp/op-1.h: Likewise.
29462         * soft-fp/op-2.h: Likewise.
29463         * soft-fp/op-4.h: Likewise.
29464         * soft-fp/op-8.h: Likewise.
29465         * soft-fp/op-common.h: Likewise.
29466         * soft-fp/quad.h: Likewise.
29467         * soft-fp/single.h: Likewise.
29468         * soft-fp/soft-fp.h: Likewise.
29469         * soft-fp/sqrtdf2.c: Likewise.
29470         * soft-fp/sqrtsf2.c: Likewise.
29471         * soft-fp/sqrttf2.c: Likewise.
29472         * soft-fp/subdf3.c: Likewise.
29473         * soft-fp/subsf3.c: Likewise.
29474         * soft-fp/subtf3.c: Likewise.
29475         * soft-fp/truncdfsf2.c: Likewise.
29476         * soft-fp/trunctfdf2.c: Likewise.
29477         * soft-fp/trunctfsf2.c: Likewise.
29478         * soft-fp/trunctfxf2.c: Likewise.
29479         * soft-fp/unorddf2.c: Likewise.
29480         * soft-fp/unordsf2.c: Likewise.
29481         * soft-fp/unordtf2.c: Likewise.
29483 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29485         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29486         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29488 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29490         * elf/dl-libc.c: Clear initfini list after freeing.
29492 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29494         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29495         * soft-fp/addsf3.c: Likewise.
29496         * soft-fp/addtf3.c: Likewise.
29497         * soft-fp/divdf3.c: Likewise.
29498         * soft-fp/divsf3.c: Likewise.
29499         * soft-fp/divtf3.c: Likewise.
29500         * soft-fp/double.h: Likewise.
29501         * soft-fp/eqdf2.c: Likewise.
29502         * soft-fp/eqsf2.c: Likewise.
29503         * soft-fp/eqtf2.c: Likewise.
29504         * soft-fp/extenddftf2.c: Likewise.
29505         * soft-fp/extended.h: Likewise.
29506         * soft-fp/extendsfdf2.c: Likewise.
29507         * soft-fp/extendsftf2.c: Likewise.
29508         * soft-fp/extendxftf2.c: Likewise.
29509         * soft-fp/fixdfdi.c: Likewise.
29510         * soft-fp/fixdfsi.c: Likewise.
29511         * soft-fp/fixdfti.c: Likewise.
29512         * soft-fp/fixsfdi.c: Likewise.
29513         * soft-fp/fixsfsi.c: Likewise.
29514         * soft-fp/fixsfti.c: Likewise.
29515         * soft-fp/fixtfdi.c: Likewise.
29516         * soft-fp/fixtfsi.c: Likewise.
29517         * soft-fp/fixtfti.c: Likewise.
29518         * soft-fp/fixunsdfdi.c: Likewise.
29519         * soft-fp/fixunsdfsi.c: Likewise.
29520         * soft-fp/fixunsdfti.c: Likewise.
29521         * soft-fp/fixunssfdi.c: Likewise.
29522         * soft-fp/fixunssfsi.c: Likewise.
29523         * soft-fp/fixunssfti.c: Likewise.
29524         * soft-fp/fixunstfdi.c: Likewise.
29525         * soft-fp/fixunstfsi.c: Likewise.
29526         * soft-fp/fixunstfti.c: Likewise.
29527         * soft-fp/floatdidf.c: Likewise.
29528         * soft-fp/floatdisf.c: Likewise.
29529         * soft-fp/floatditf.c: Likewise.
29530         * soft-fp/floatsidf.c: Likewise.
29531         * soft-fp/floatsisf.c: Likewise.
29532         * soft-fp/floatsitf.c: Likewise.
29533         * soft-fp/floattidf.c: Likewise.
29534         * soft-fp/floattisf.c: Likewise.
29535         * soft-fp/floattitf.c: Likewise.
29536         * soft-fp/floatundidf.c: Likewise.
29537         * soft-fp/floatundisf.c: Likewise.
29538         * soft-fp/floatunsidf.c: Likewise.
29539         * soft-fp/floatunsisf.c: Likewise.
29540         * soft-fp/floatuntidf.c: Likewise.
29541         * soft-fp/floatuntisf.c: Likewise.
29542         * soft-fp/floatuntitf.c: Likewise.
29543         * soft-fp/fmadf4.c: Likewise.
29544         * soft-fp/fmasf4.c: Likewise.
29545         * soft-fp/fmatf4.c: Likewise.
29546         * soft-fp/gedf2.c: Likewise.
29547         * soft-fp/gesf2.c: Likewise.
29548         * soft-fp/getf2.c: Likewise.
29549         * soft-fp/ledf2.c: Likewise.
29550         * soft-fp/lesf2.c: Likewise.
29551         * soft-fp/letf2.c: Likewise.
29552         * soft-fp/muldf3.c: Likewise.
29553         * soft-fp/mulsf3.c: Likewise.
29554         * soft-fp/multf3.c: Likewise.
29555         * soft-fp/negdf2.c: Likewise.
29556         * soft-fp/negsf2.c: Likewise.
29557         * soft-fp/negtf2.c: Likewise.
29558         * soft-fp/op-1.h: Likewise.
29559         * soft-fp/op-2.h: Likewise.
29560         * soft-fp/op-4.h: Likewise.
29561         * soft-fp/op-8.h: Likewise.
29562         * soft-fp/op-common.h: Likewise.
29563         * soft-fp/quad.h: Likewise.
29564         * soft-fp/single.h: Likewise.
29565         * soft-fp/soft-fp.h: Likewise.
29566         * soft-fp/sqrtdf2.c: Likewise.
29567         * soft-fp/sqrtsf2.c: Likewise.
29568         * soft-fp/sqrttf2.c: Likewise.
29569         * soft-fp/subdf3.c: Likewise.
29570         * soft-fp/subsf3.c: Likewise.
29571         * soft-fp/subtf3.c: Likewise.
29572         * soft-fp/truncdfsf2.c: Likewise.
29573         * soft-fp/trunctfdf2.c: Likewise.
29574         * soft-fp/trunctfsf2.c: Likewise.
29575         * soft-fp/trunctfxf2.c: Likewise.
29576         * soft-fp/unorddf2.c: Likewise.
29577         * soft-fp/unordsf2.c: Likewise.
29578         * soft-fp/unordtf2.c: Likewise.
29580 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29582         [BZ #15672]
29583         * misc/error.c (error_tail): Fix possible buffer overflow.
29585 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29587         [BZ #13028]
29588         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29589         address.
29591 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29593         [BZ #832]
29594         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29595         testing pipefail option.
29597 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29599         * soft-fp/double.h: Indent preprocessor directives inside #if.
29600         * soft-fp/extended.h: Likewise.
29601         * soft-fp/op-2.h: Likewise.
29602         * soft-fp/op-4.h: Likewise.
29603         * soft-fp/op-common.h: Likewise.
29604         * soft-fp/quad.h: Likewise.
29605         * soft-fp/single.h: Likewise.
29606         * soft-fp/soft-fp.h: Likewise.
29608 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29610         * iconv/iconv_prog.c: Fix typos.
29611         * stdio-common/psiginfo-data.h: Likewise.
29613 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29615         [BZ #15764]
29616         * locale/setlocale.c: Fix typo.
29618 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29620         [BZ #16036]
29621         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29622         signaling NaN arguments.
29623         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29624         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29626         [BZ #14910]
29627         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29628         unordered operands.
29629         * soft-fp/gesf2.c (__gesf2): Likewise.
29630         * soft-fp/getf2.c (__getf2): Likewise.
29631         * soft-fp/ledf2.c (__ledf2): Likewise.
29632         * soft-fp/lesf2.c (__lesf2): Likewise.
29633         * soft-fp/letf2.c (__letf2): Likewise.
29635         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29636         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29637         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29638         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29639         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29640         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29641         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29642         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29643         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29644         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29645         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29646         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29647         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29648         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29649         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29650         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29651         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29652         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29653         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29654         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29655         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29656         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29657         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29658         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29659         * soft-fp/floattidf.c (__floattidf): Likewise.
29660         * soft-fp/floattisf.c (__floattisf): Likewise.
29661         * soft-fp/floattitf.c (__floattitf): Likewise.
29662         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29663         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29664         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29665         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29666         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29667         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29668         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29669         * soft-fp/gesf2.c (__gesf2): Likewise.
29670         * soft-fp/getf2.c (__getf2): Likewise.
29671         * soft-fp/ledf2.c (__ledf2): Likewise.
29672         * soft-fp/lesf2.c (__lesf2): Likewise.
29673         * soft-fp/letf2.c (__letf2): Likewise.
29675         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29676         Undefine and redefine.
29677         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29678         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29679         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29680         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29681         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29682         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29683         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29684         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29685         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29686         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29687         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29688         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29689         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29690         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29691         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29693         [BZ #16032]
29694         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29695         without decrementing exponent if mantissa >= that for the
29696         denominator, not >.
29697         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29698         denominator, not >.  Decrement exponent in < case instead of
29699         incrementing in >= case.
29700         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29701         without decrementing exponent if mantissa >= that for the
29702         denominator, not >.
29704         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29705         computing saturated result for unsigned overflow.
29707 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29708             Jeff Law  <law@redhat.com>
29710         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29711         (atan2Mp): Add systemtap probe marker.
29712         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29713         (__ieee754_log): Add systemtap probe marker.
29714         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29715         (atanMp): Add systemtap probe marker.
29716         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29717         (tanMp): Add systemtap probe marker.
29718         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29719         (__slowexp): Add systemtap probe marker.
29720         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29721         (__slowpow): Add systemtap probe marker.
29722         * manual/probes.texi: Document probes.
29724 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29726         [BZ #15362]
29727         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29728         written.
29729         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29730         written.
29731         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29732         written to buffer but not flushed.
29733         * libio/iofwrite_u.c:  Likewise.
29734         * libio/iopadn.c:  Return bytes returned even if EOF was
29735         encountered.
29736         * libio/iowpadn.c:  Likewise.
29737         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29738         if _IO_padn does not write the whole buffer.
29739         [!COMPILE_WPRINTF] (PAD): Likewise.
29741 2013-10-10  David S. Miller  <davem@davemloft.net>
29743         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29744         directory block.
29746 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29748         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29749         instead of FSF address.
29750         * soft-fp/fixdfti.c: Likewise.
29751         * soft-fp/fixsfti.c: Likewise.
29752         * soft-fp/fixtfti.c: Likewise.
29753         * soft-fp/fixunsdfti.c: Likewise.
29754         * soft-fp/fixunssfti.c: Likewise.
29755         * soft-fp/fixunstfti.c: Likewise.
29756         * soft-fp/floattidf.c: Likewise.
29757         * soft-fp/floattisf.c: Likewise.
29758         * soft-fp/floattitf.c: Likewise.
29759         * soft-fp/floatuntidf.c: Likewise.
29760         * soft-fp/floatuntisf.c: Likewise.
29761         * soft-fp/floatuntitf.c: Likewise.
29762         * soft-fp/trunctfxf2.c: Likewise.
29764         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29765         * soft-fp/fixdfti.c: Likewise.
29766         * soft-fp/fixsfti.c: Likewise.
29767         * soft-fp/fixtfti.c: Likewise.
29768         * soft-fp/fixunsdfti.c: Likewise.
29769         * soft-fp/fixunssfti.c: Likewise.
29770         * soft-fp/fixunstfti.c: Likewise.
29771         * soft-fp/floattidf.c: Likewise.
29772         * soft-fp/floattisf.c: Likewise.
29773         * soft-fp/floattitf.c: Likewise.
29774         * soft-fp/floatuntidf.c: Likewise.
29775         * soft-fp/floatuntisf.c: Likewise.
29776         * soft-fp/floatuntitf.c: Likewise.
29777         * soft-fp/trunctfxf2.c: Likewise.
29779 2013-10-10  David S. Miller  <davem@davemloft.net>
29781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29783 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29785         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29786         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29787         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29788         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29789         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29790         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29791         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29793         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29794         for NaNs before doing comparisons on argument.
29795         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29796         Likewise.
29798 2013-10-10  Will Newton  <will.newton@linaro.org>
29800         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29801         passed to _int_memalign does not overflow.
29803 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29805         * scripts/bench.pl: Add include-sources directive.
29806         * benchtests/README: Update documentation.
29808 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29810         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29811         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29812         instead of FP_INIT_ROUNDMODE.
29813         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29814         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29816         [BZ #16034]
29817         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29818         copy class of input value.
29819         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29820         not handle exceptions.
29821         * soft-fp/negsf2.c (__negsf2): Likewise.
29822         * soft-fp/negtf2.c (__negtf2): Likewise.
29823         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29825 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29827         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29828         semicolon.  From Linux kernel.
29830 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29832         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29834 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29836         [BZ #156]
29837         * manual/socket.texi: Added statement about buffer
29838         for gethostbyname2_r.
29840 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29842         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29843         Use .p2align directive instead, throughout.
29844         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29845         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29846         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29847         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29848         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29849         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29850         * sysdeps/x86_64/strchr.S: Likewise.
29851         * sysdeps/x86_64/strrchr.S: Likewise.
29853 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29855         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29857         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29859         * sysdeps/generic/math_private.h (__mpsin1): Remove
29860         declaration.
29861         (__mpcos1): Likewise.
29862         (__mpsin): New argument __range_reduce.
29863         (__mpcos): Likewise.
29864         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29865         (slow): Use __mpsin and __mpcos.
29866         (slow1): Likewise.
29867         (slow2): Likewise.
29868         (sloww): Likewise.
29869         (sloww1): Likewise.
29870         (sloww2): Likewise.
29871         (bsloww): Likewise.
29872         (bsloww1): Likewise.
29873         (bsloww2): Likewise.
29874         (cslow2): Likewise.
29875         (csloww): Likewise.
29876         (csloww1): Likewise.
29877         (csloww2): Likewise.
29878         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29879         range_reduce.  Merge in __mpsin1.
29880         (__mpcos): Likewise.
29881         (__mpsin1): Remove.
29882         (__mpcos1): Likewise.
29884 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29886         * locale/loadlocale.c (_nl_intern_locale_data): Use
29887         LOCFILE_ALIGNED_P.
29888         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29889         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29890         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29891         obstack data is appropriately aligned.
29892         (obstack_int32_grow_fast): Likewise.
29893         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29894         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29895         (add_locale_uint32_array): Likewise.
29897 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29899         * benchtests/Makefile: Remove ARGLIST and RET variables.
29900         ($(objpfx)bench-%.c): Pass only function name to the script.
29901         * benchtests/README: Update documentation.
29902         * benchtests/acos-inputs: Add new directives.
29903         * benchtests/acosh-inputs: Likewise.
29904         * benchtests/asin-inputs: Likewise.
29905         * benchtests/asinh-inputs: Likewise.
29906         * benchtests/atan-inputs: Likewise.
29907         * benchtests/atanh-inputs: Likewise.
29908         * benchtests/cos-inputs: Likewise.
29909         * benchtests/cosh-inputs: Likewise.
29910         * benchtests/exp-inputs: Likewise.
29911         * benchtests/log-inputs: Likewise.
29912         * benchtests/pow-inputs: Likewise.
29913         * benchtests/rint-inputs: Likewise.
29914         * benchtests/sin-inputs: Likewise.
29915         * benchtests/sinh-inputs: Likewise.
29916         * benchtests/tan-inputs: Likewise.
29917         * benchtests/tanh-inputs: Likewise.
29918         * scripts/bench.pl: Add support for new directives.
29920 2013-10-07  Alan Modra  <amodra@gmail.com>
29922         * README: Fix careless merge.
29924 2013-10-05  Alan Modra  <amodra@gmail.com>
29926         * NEWS: Mention powerpc64le support and bugs fixed.
29927         * README: Both big-endian and little-endian powerpc64 supported.
29929 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29931         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29932         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29933         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29934         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29936 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29938         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29939         match prototype.
29941 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29943         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29944         Move -mhard-float appending from
29945         ports/sysdeps/powerpc/powerpc32/Makefile.
29946         [$(with-fp) = yes] (ASFLAGS): Likewise.
29947         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29948         * sysdeps/powerpc/nofpu: Move directory from
29949         ports/sysdeps/powerpc/nofpu.
29950         * sysdeps/powerpc/soft-fp: Move directory from
29951         ports/sysdeps/powerpc/soft-fp.
29952         * sysdeps/powerpc/powerpc32/405: Move directory from
29953         ports/sysdeps/powerpc/powerpc32/405.
29954         * sysdeps/powerpc/powerpc32/440: Move directory from
29955         ports/sysdeps/powerpc/powerpc32/440.
29956         * sysdeps/powerpc/powerpc32/464: Move directory from
29957         ports/sysdeps/powerpc/powerpc32/464.
29958         * sysdeps/powerpc/powerpc32/476: Move directory from
29959         ports/sysdeps/powerpc/powerpc32/476.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29961         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29963         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29965         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29967         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29969         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29970         * README: Update for powerpc-*-linux-gnu software floating point
29971         support in libc.
29973         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29974         case to powerpc/powerpc32*.
29975         * sysdeps/unix/sysv/linux/configure: Regenerated.
29977         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29978         (_FPU_MASK_OM): Define as 0x04.
29979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29981         0x00c10080.
29982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29983         0x0000003c.
29984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29987         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29988         getcontext_e500.
29989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29990         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29991         setcontext_e500.
29992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29993         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29994         and setcontext_e500.
29996 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29998         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30000 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30002         * manual/threads.texi (Default Thread Attributes): Fix typo.
30004 2013-10-04  Will Newton  <will.newton@linaro.org>
30006         * malloc/Makefile: Add tst-memalign.
30007         * malloc/tst-memalign.c: New file.
30009         * malloc/tst-posix_memalign.c: Add comments.
30010         (do_test): Add comments and call free on all potentially
30011         allocated pointers. Add space after cast.
30013         * malloc/tst-pvalloc.c: Add comments.
30014         (do_test): Add comments and call free on all potentially
30015         allocated pointers. Remove duplicate check for NULL pointer.
30016         Add space after cast.
30018         * malloc/tst-valloc.c: Add comments.
30019         (do_test): Add comments and call free on all potentially
30020         allocated pointers. Remove duplicate check for NULL pointer.
30021         Add space after cast.
30023 2013-10-04  Alan Modra  <amodra@gmail.com>
30025         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30026         Use stdint types in rather than __attribute__((mode())).
30027         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30029 2013-10-04  Alan Modra  <amodra@gmail.com>
30031         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30032         Correct handling of unaligned relocs for little-endian.
30033         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30035 2013-10-04  Alan Modra  <amodra@gmail.com>
30037         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30038         * configure: Regenerate.
30039         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30040         * shlib-versions: Likewise.
30042 2013-10-04  Alan Modra  <amodra@gmail.com>
30044         * string/tester.c (test_memrchr): Increment reported test cycle.
30046 2013-10-04  Alan Modra  <amodra@gmail.com>
30048         * string/test-memcpy.c (do_one_test): When reporting errors, print
30049         string address and don't overrun end of string.
30051 2013-10-04  Alan Modra  <amodra@gmail.com>
30053         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30054         insrdi.  Make better use of reg selection to speed exit slightly.
30055         Schedule entry path a little better.  Remove useless "are we done"
30056         checks on entry to main loop.  Handle wrapping around zero address.
30057         Correct main loop count.  Handle single left-over word from main
30058         loop inline rather than by using loop_small.  Remove extra word
30059         case in loop_small caused by wrong loop count.  Add little-endian
30060         support.
30061         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30062         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30063         cache hint.
30064         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30065         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30066         support.  Avoid rlwimi.
30067         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30069 2013-10-04  Alan Modra  <amodra@gmail.com>
30071         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30072         insrdi.  Formatting.
30073         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30074         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30075         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30076         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30077         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30078         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30080 2013-10-04  Alan Modra  <amodra@gmail.com>
30082         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30083         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30084         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30085         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30086         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30087         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30088         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30089         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30090         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30091         use of regs.  Use power7 mtocrf.  Tidy function tails.
30093 2013-10-04  Alan Modra  <amodra@gmail.com>
30095         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30096         Formatting.  Consistently use rXXX register defines or rN defines.
30097         Use early exit labels that avoid restoring unused non-volatile regs.
30098         Make cr field use more consistent with rWORDn compares.  Rename
30099         regs used as shift registers for unaligned loop, using rN defines
30100         for short lifetime/multiple use regs.
30101         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30102         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30103         addi 1,1,64 to pop stack frame.  Simplify return value code.
30104         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30106 2013-10-04  Alan Modra  <amodra@gmail.com>
30108         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30109         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30110         rather than rlwimi.
30111         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30112         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30113         little-endian support.  Correct typos.
30114         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30115         rather than rlwimi.
30116         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30117         in loop and entry code to keep "and." results.
30118         (strchr): Add little-endian support.  Comment.  Move cntlzd
30119         earlier in tail.
30120         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30122 2013-10-04  Alan Modra  <amodra@gmail.com>
30124         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30125         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30126         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30127         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30129 2013-10-04  Alan Modra  <amodra@gmail.com>
30131         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30132         (rTMP): Define as r11.
30133         (strcmp): Add little-endian support.  Optimise tail.
30134         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30135         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30136         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30137         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30138         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30139         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30140         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30142 2013-10-04  Alan Modra  <amodra@gmail.com>
30144         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30145         little-endian support.  Remove unnecessary "are we done" tests.
30146         Handle "s" wrapping around zero and extremely large "size".
30147         Correct main loop count.  Handle single left-over word from main
30148         loop inline rather than by using small_loop.  Correct comments.
30149         Delete "zero" tail, use "end_max" instead.
30150         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30152 2013-10-04  Alan Modra  <amodra@gmail.com>
30154         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30155         support.  Don't branch over align.
30156         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30157         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30158         support.  Rearrange tmp reg use to suit.  Comment.
30159         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30161 2013-10-04  Alan Modra  <amodra@gmail.com>
30163         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30165 2013-10-04  Alan Modra  <amodra@gmail.com>
30167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30168         conditional form of branch and link when obtaining pc.
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30171 2013-10-04  Alan Modra  <amodra@gmail.com>
30173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30174         HIWORD/LOWORD.
30175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30178 2013-10-04  Alan Modra  <amodra@gmail.com>
30180         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30181         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30182         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30183         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30184         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30185         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30186         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30187         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30188         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30189         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30191 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30192             Alistair Popple <alistair@ozlabs.au.ibm.com>
30193             Alan Modra <amodra@gmail.com>
30195         [BZ #15723]
30196         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30197         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30198         _dl_hwcap access for little-endian.
30199         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30200         destroy vmx regs when saving unaligned.
30201         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30202         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30203         destroy vmx regs when saving unaligned.
30205 2013-10-04  Alan Modra  <amodra@gmail.com>
30207         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30208         Don't use a union to pack hi/low value.
30210 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30212         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30213         for little-endian.
30214         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30216         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30217         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30218         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30220 2013-10-04  Alan Modra  <amodra@gmail.com>
30222         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30223         constants to usual value for .cst8 section, and remove redundant
30224         high address load.
30225         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30226         constant for 0x1p52.  Load little-endian words of double from
30227         correct stack offsets.
30229 2013-10-04  Alan Modra  <amodra@gmail.com>
30231         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30232         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30233         words of double from correct stack offsets.
30234         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30235         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30236         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30237         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30238         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30239         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30240         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30241         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30242         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30243         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30244         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30245         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30246         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30247         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30248         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30249         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30250         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30252 2013-10-04  Alan Modra  <amodra@gmail.com>
30254         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30255         64-bit int/double union.
30256         (_FPU_SETCW): Likewise.
30257         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30258         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30260 2013-10-04  Alan Modra  <amodra@gmail.com>
30262         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30263         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30265 2013-10-04  Alan Modra  <amodra@gmail.com>
30267         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30268         use vector int constants.
30269         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30271 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30273         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30274         array with long long.
30275         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30276         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30277         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30278         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30279         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30280         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30281         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30282         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30283         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30284         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30285         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30286         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30287         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30289 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30291         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30292         (__signbit): Likewise.  Correct for little-endian.
30293         (__signbitl): Call __signbit.
30294         (lrint): Correct for little-endian.
30295         (lrintf): Call lrint.
30297 2013-10-04  Alan Modra  <amodra@gmail.com>
30299         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30300         union 32-bit int array member with 64-bit int array.
30301         (t515, tm256): Double rather than long double.
30302         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30304 2013-10-04  Alan Modra  <amodra@gmail.com>
30306         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30307         Delete.
30308         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30310         version of math_ldbl.h.
30312 2013-10-04  Alan Modra  <amodra@gmail.com>
30314         [BZ #15734], [BZ #15735]
30315         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30316         all uses of ieee875 long double macros and unions.  Simplify test
30317         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30318         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30319         normalize after ldbl_extract_mantissa, and don't add hidden bit
30320         already handled.  Don't treat low word of ieee854 mantissa like
30321         low word of IBM long double and mask off bit when testing for
30322         zero.
30323         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30324         all uses of ieee875 long double macros and unions.  Simplify tests
30325         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30326         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30327         two1022, instead use their values.  Recognise that tests for large
30328         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30329         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30330         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30331         test for 0.0L and nan.  Correct negation.
30332         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30333         ieee875 long double macros and unions.  Correct output for large
30334         magnitude x.  Correct absolute value calculation.
30335         (__erfcl): Likewise.
30336         * math/libm-test.inc: Add tests for errors discovered in IBM long
30337         double versions of fmodl, remainderl, erfl and erfcl.
30339 2013-10-04  Alan Modra  <amodra@gmail.com>
30341         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30342         all uses of ieee854 long double macros and unions.  Simplify tests
30343         for long doubles that are fully specified by the high double.
30344         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30345         Likewise.
30346         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30347         Remove dead code too.
30348         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30349         (__ieee754_ynl): Likewise.
30350         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30351         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30352         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30353         Remove dead code too.
30354         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30355         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30356         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30357         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30358         Simplify.
30359         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30360         Simplify.
30361         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30362         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30363         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30364         Comment on variable precision.
30365         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30366         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30367         Likewise.
30368         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30369         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30370         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30371         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30372         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30374 2013-10-04  Alan Modra  <amodra@gmail.com>
30376         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30377         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30378         all uses of ieee854 long double macros and unions.
30379         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30380         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30381         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30382         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30383         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30384         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30385         Likewise.
30386         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30387         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30388         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30389         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30390         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30391         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30392         Simplify sign and nan test too.
30393         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30394         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30395         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30396         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30397         Likewise.
30398         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30399         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30400         Likewise.
30401         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30402         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30403         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30404         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30405         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30406         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30408 2013-10-04  Alan Modra  <amodra@gmail.com>
30410         * stdio-common/printf_size.c (__printf_size): Don't use
30411         union ieee854_long_double in fpnum union.
30412         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30413         signbit macro to retrieve sign from long double.
30414         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30415         retrieve sign from long double.
30416         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30417         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30418         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30419         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30420         * math/test-misc.c (main): Don't use union ieee854_long_double.
30422 2013-10-04  Alan Modra  <amodra@gmail.com>
30424         [BZ #15680]
30425         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30426         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30427         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30428         calculation.  Remove unnecessary test for denormal exponent.
30429         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30430         Correct handling of denormals.  Avoid undefined shift behaviour.
30431         Correct normalisation of low mantissa when low double is denormal.
30432         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30433         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30434         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30435         Correct normalisation of low mantissa.  Test for overflow of high
30436         mantissa and normalise.
30437         (ldbl_nearbyint): Use more readable constant for two52.
30438         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30439         (__mpn_construct_long_double): Fix test for overflow of high
30440         mantissa and correct normalisation.  Avoid undefined shift.
30442 2013-10-04  Alan Modra  <amodra@gmail.com>
30444         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30445         (union ibm_extended_long_double): Define as an array of ieee754_double.
30446         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30447         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30448         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30449         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30451         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30452         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30453         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30454         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30455         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30456         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30458 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30460         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30461         page size instead of calling getpagesize.
30463         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30464         (LOCFILE_ALIGN_MASK): Likewise.
30465         (LOCFILE_ALIGN_UP): Likewise.
30466         (LOCFILE_ALIGNED_P): Likewise.
30467         * locale/programs/ld-collate.c (collate_output): Use the new
30468         macros instead of __alignof__ (int32_t).
30469         * locale/weight.h (findidx): Likewise.
30471 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30473         [BZ #431]
30474         * manual/string.texi: Fix strncat and wcsncat.
30476 2013-10-03  Brooks Moses  <bmoses@google.com>
30478         [BZ #15915]
30479         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30480         * Makerules: ...here, and adjust associated comments.
30482 2013-10-02  Will Newton  <will.newton@linaro.org>
30484         * malloc/Makefile: Add tst-pvalloc.
30485         * malloc/tst-pvalloc.c: New file.
30487 2013-10-02  Will Newton  <will.newton@linaro.org>
30489         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30490         improve test coverage.
30492 2013-10-02  Will Newton  <will.newton@linaro.org>
30494         * malloc/Makefile: Add tst-posix_memalign.
30495         * malloc/tst-posix_memalign.c: New file.
30497 2013-10-01  Eric Blake  <eblake@redhat.com>
30499         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30500         Use __THROWNL rather than __THROW on static functions.
30502 2013-09-30  Petr Machata  <pmachata@redhat.com>
30504         * elf/elf.h (R_AARCH64_ABS16): New macro.
30505         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30506         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30507         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30508         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30509         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30510         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30511         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30512         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30513         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30514         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30515         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30516         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30517         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30518         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30519         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30520         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30521         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30522         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30523         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30524         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30525         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30526         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30527         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30528         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30529         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30530         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30531         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30532         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30533         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30534         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30535         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30536         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30537         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30538         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30539         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30540         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30541         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30542         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30543         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30544         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30545         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30546         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30547         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30548         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30549         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30550         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30551         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30552         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30553         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30554         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30555         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30556         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30557         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30558         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30559         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30560         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30561         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30562         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30563         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30564         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30565         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30566         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30567         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30568         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30569         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30570         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30571         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30572         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30573         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30574         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30575         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30576         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30577         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30578         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30579         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30580         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30581         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30582         (R_AARCH64_TLSDESC_LDR): Likewise.
30583         (R_AARCH64_TLSDESC_ADD): Likewise.
30584         (R_AARCH64_TLSDESC_CALL): Likewise.
30586 2013-09-30  Andreas Schwab  <schwab@suse.de>
30588         [BZ #15048]
30589         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30590         the nss database lookup.
30591         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30594 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30596         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30598 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30600         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30601         ${Bash-specific parameter/pattern/string} parameter expansion.
30602         * sysdeps/unix/make-syscalls.sh: Likewise.
30604 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30606         * sysdeps/sh/stackguard-macros.h: New file.
30608 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30612         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30613         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30614         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30615         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30617 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30619         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30620         Fix thread ID register.
30622 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30624         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30625         [POSIX || UNIX98]: Require rather than permitting all symbols from
30626         <time.h>.
30627         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30628         element of struct sched_param.
30629         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30630         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30631         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30632         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30633         constant.
30635 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30637         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30638         argument calculation.
30640 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30642         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30643         Expect macro.
30644         [POSIX] (pthread_attr_t): Do not require type.
30645         [POSIX] (pthread_cond_t): Likewise.
30646         [POSIX] (pthread_condattr_t): Likewise.
30647         [POSIX] (pthread_key_t): Likewise.
30648         [POSIX] (pthread_mutex_t): Likewise.
30649         [POSIX] (pthread_mutexattr_t): Likewise.
30650         [POSIX] (pthread_once_t): Likewise.
30651         [POSIX] (pthread_t): Likewise.
30652         [POSIX-based standards] (pthread_atfork): Expect function.
30654 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30655             Richard Sandiford  <richard@codesourcery.com>
30657         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30658         (swap_endianness_p): New extern variable.
30659         (set_big_endian): New inline function.
30660         (maybe_swap_uint32): Likewise.
30661         (maybe_swap_uint32_array): Likewise.
30662         (maybe_swap_uint32_obstack): Likewise.
30663         * locale/programs/locfile.c: Include <stdbool.h>.
30664         (swap_endianness_p): New variable.
30665         (add_locale_uint32): Call maybe_swap_uint32.
30666         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30667         (write_locale_data): Call maybe_swap_uint32_array.
30668         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30669         maybe_swap_uint32.
30670         (obstack_int32_grow_fast): Likewise.
30671         (output_weightwc): Call maybe_swap_uint32_obstack.
30672         (collate_output): Likewise.
30673         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30674         (OPT_LITTLE_ENDIAN): Likewise.
30675         (options): Add --little-endian and --big-endian options.
30676         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30677         * locale/programs/locarchive.c: Include "locfile.h".
30678         (GET): New macro.
30679         (SET): Likewise.
30680         (INC): Likewise.
30681         (create_archive): Use the new macros to access fields of
30682         structures directly mapped from or written to locale archives.
30683         (oldlocrecentcmp): Likewise.
30684         (enlarge_archive): Likewise.
30685         (insert_name): Likewise.
30686         (add_alias): Likewise.
30687         (add_locale): Likewise.
30688         (delete_locales_from_archive): Likewise.
30689         (show_archive_content): Likewise.
30690         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30691         locale data.
30693 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30695         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30696         http://www.gnu.org/doc/freemanuals.texi.
30697         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30699 2013-09-24  Will Newton  <will.newton@linaro.org>
30701         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30702         macro.
30704 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30706         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30707         unsigned char.
30709 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30711         * manual/threads.texi (POSIX Threads): Fix a typo.
30713 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30715         [BZ #14547]
30716         * string/tst-strcoll-overflow.c: New test case.
30717         * string/Makefile (xtests): Add tst-strcoll-overflow.
30718         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30719         cache if string sizes may cause integer overflow.
30721         [BZ #14547]
30722         * string/strcoll_l.c (coll_seq): New members rule, idx,
30723         save_idx and back_us.
30724         (get_next_seq_nocache): New function.
30725         (do_compare_nocache): New function.
30726         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30727         when malloc fails.
30729 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30731         [BZ #15754]
30732         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30733         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30734         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30736         [BZ #15754]
30737         * elf/Makefile (tests): Add tst-ptrguard1.
30738         (tests-static): Add tst-ptrguard1-static.
30739         (tst-ptrguard1-ARGS): Define.
30740         (tst-ptrguard1-static-ARGS): Define.
30741         * elf/tst-ptrguard1.c: New file.
30742         * elf/tst-ptrguard1-static.c: New file.
30743         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30744         * sysdeps/i386/stackguard-macros.h: Likewise.
30745         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30746         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30747         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30748         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30749         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30750         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30752 2013-09-23  Hector Marco  <hecmargi@upv.es>
30753             Ismael Ripoll  <iripoll@disca.upv.es>
30754             Carlos O'Donell  <carlos@redhat.com>
30756         [BZ #15754]
30757         * sysdeps/generic/stackguard-macros.h: Define
30758         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30759         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30760         Define __pointer_chk_guard_local.
30761         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30762         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30764 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30766         [BZ #15859]
30767         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30769 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30771         * include/string.h (__ffs): Declare as hidden.
30772         * string/ffs.c (__ffs): Define as hidden.
30773         * sysdeps/i386/ffs.c (__ffs): Likewise.
30774         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30775         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30776         * sysdeps/s390/ffs.c (__ffs): Likewise.
30777         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30779 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30781         * NEWS: Mention malloc probes.
30783         * malloc/arena.c (new_heap): New memory_heap_new probe.
30784         (grow_heap): New memory_heap_more probe.
30785         (shrink_heap): New memory_heap_less probe.
30786         (heap_trim): New memory_heap_free probe.
30787         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30788         (systrim): New memory_sbrk_less probe.
30789         * manual/probes.texi: Document them.
30791         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30792         * manual/probes.texi: Document it.
30794         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30795         (__libc_realloc): Add memory_realloc_retry probe.
30796         (__libc_memalign): Add memory_memalign_retry probe.
30797         (__libc_valloc): Add memory_valloc_retry probe.
30798         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30799         (__libc_calloc): Add memory_calloc_retry probe.
30800         * manual/probes.texi: Document them.
30802         * malloc/arena.c (get_free_list): Add probe
30803         memory_arena_reuse_free_list.
30804         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30805         and memory_arena_reuse.
30806         (arena_get2) [!PER_THREAD]: Likewise.
30807         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30808         memory_arena_reuse_realloc.
30809         * manual/probes.texi: Document them.
30811         * malloc/malloc.c (__libc_free): Add
30812         memory_mallopt_free_dyn_thresholds probe.
30813         (__libc_mallopt): Add multiple memory_mallopt probes.
30814         * manual/probes.texi: Document them.
30816         * malloc/malloc.c: Include stap-probe.h.
30817         (__libc_mallopt): Add memory_mallopt probe.
30818         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30819         * manual/probes.texi: New.
30820         * manual/Makefile (chapters): Add probes.
30821         * manual/threads.texi: Set next node.
30823 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30825         [BZ #15963, #13985]
30826         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30827         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30828         Add `Chinese' to `nan' entry name.
30830 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30832         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30833         (POLYNOMIAL): Likewise.
30834         (TAYLOR_SINCOS): Likewise.
30835         (TAYLOR_SLOW): Likewise.
30836         (__sin): Use TAYLOR_SINCOS.
30837         (__cos): Likewise.
30838         (slow): Use TAYLOR_SLOW.
30839         (sloww): Likewise.
30840         (bsloww): Likewise.
30841         (csloww): Likewise.
30843 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30845         * stdlib/strtod_l.c: Fix buffer overrun.
30847 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30849         * benchtests/Makefile (bench): Add sincos.
30850         * benchtests/bench-sincos.c: New file.
30852         * math/libm-test.inc (cos_test_data): New test inputs.
30853         (sin_test_data): Likewise.
30855         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30856         macro.
30857         (__sin): Use it.
30858         (__cos): Likewise.
30859         (slow1): Likewise.
30860         (slow2): Likewise.
30861         (sloww1): Likewise.
30862         (sloww2): Likewise.
30863         (bsloww1): Likewise.
30864         (bsloww2): Likewise.
30865         (cslow2): Likewise.
30866         (csloww1): Likewise.
30867         (csloww2): Likewise.
30869         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30870         function.
30871         (__sin): Use it.
30872         (__cos): Likewise.
30874         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30875         gotos.
30876         (__cos): Likewise.
30878 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30880         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30881         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30882         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30883         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30884         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30885         * elf/cache.c (print_entry): Handle the new cache flags.
30887 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30888             Aldy Hernandez  <aldyh@redhat.com>
30890         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30891         Change condition to [_SOFT_FLOAT].
30892         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30900         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30901         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30902         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30904         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30907         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30908         declaration.
30910 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30912         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30913         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30914         (__longjmp): Use LOAD_GP to load saved GPRs.
30915         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30916         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30917         (__sigsetjmp): Use SAVE_GP to save GPRs.
30919         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30920         Do not append -msoft-float.
30921         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30923 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30925         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30927 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30929         [BZ #15966]
30930         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30931         (_FPU_GETCW): Use initial "__" on variable and field names but not
30932         on macro parameter name.
30933         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30934         parentheses around reference to macro parameter.
30936 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30938         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30939         prototype.
30940         (ctype_startup): Use uint32_t in cast and sizeof for
30941         ctype->charnames.
30943 2013-09-11  Jia Liu  <proljc@gmail.com>
30945         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30946         __daddr_t_defined.
30947         [__FreeBSD__]: Likewise.
30949 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30952         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30953         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30954         (strchr): Remove __strchr_sse42 ifunc selection.
30955         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30956         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30958 2013-09-11  Will Newton  <will.newton@linaro.org>
30960         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30961         parameter to RES. Remove hardcoded 1000 value.
30962         * benchtests/bench-skeleton.c (main): Pass RES parameter
30963         to TIMING_INIT and multiply result by 1000.
30965 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30969 2013-09-11  Andreas Schwab  <schwab@suse.de>
30971         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30972         if not defined.
30973         (O_TMPFILE) [__USE_GNU]: Define.
30974         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30975         Define.
30977 2013-09-11  Will Newton  <will.newton@linaro.org>
30979         [BZ #15857]
30980         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30981         does not overflow.
30983 2013-09-11  Will Newton  <will.newton@linaro.org>
30985         [BZ #15856]
30986         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30987         does not overflow.
30989 2013-09-11  Will Newton  <will.newton@linaro.org>
30991         [BZ #15855]
30992         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30993         does not overflow.
30995 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30997         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30998         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30999         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31000         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31001         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31003 2013-09-10  Allan McRae  <allan@archlinux.org>
31005         [BZ #15748]
31006         * manual/arith.texi (Parsing of Floats): Clarify
31007         cross-reference.
31009         [BZ #15849]
31010         * manual/install.texi (Running make install): Mention
31011         --enable-pt-chown.
31012         * INSTALL: Regenerated.
31014 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31016         * csu/init-first.c (_init): Remove the !SHARED condition around
31017         FPU control word initialization.
31018         * elf/dl-support.c (_dl_fpu_control): New variable.
31019         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31020         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31021         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31022         * math/test-fpucw-static.c: New file.
31023         * math/test-fpucw-ieee.c: New file.
31024         * math/test-fpucw-ieee-static.c: New file.
31025         * math/Makefile (tests): Add `test-fpucw-ieee' and
31026         `$(tests-static)'.
31027         (tests-static): New variable.
31028         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31029         dependency to...
31030         [($(build-shared),yes)]
31031         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31032         ... this.
31033         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31034         New dependency.
31036 2013-09-09  Allan McRae  <allan@archlinux.org>
31038         [BZ #15939]
31039         * manual/string.texi (Collation Functions): Fix typo in
31040         strcoll example.
31041         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31043         [BZ #15893]
31044         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31046         [BZ #15892]
31047         * libio/memstream.c (open_memstream): Fix memory leak.
31048         * libio/wmemstream.c (open_wmemstream): Likewise.
31050         [BZ #15895]
31051         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31053 2013-09-09  Will Newton  <will.newton@linaro.org>
31055         * malloc/Makefile: Add tst-realloc to tests.
31056         * malloc/tst-realloc.c: New file.
31058 2013-09-09  Allan McRae  <allan@archlinux.org>
31060         [BZ #15844]
31061         * COPYING: Update from GNU website to fix FSF address.
31062         * COPYING.LIB: Likewise.
31064 2013-09-06  David S. Miller  <davem@davemloft.net>
31066         * po/zh_TW.po: Update Chinese (traditional) translation from
31067         translation project.
31069 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31070             Joseph Myers  <joseph@codesourcery.com>
31072         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31073         "localeinfo.h".
31074         (obstack_chunk_alloc): New macro.
31075         (obstack_chunk_free): Likewise.
31076         (record_offset): New function.
31077         (init_locale_data): Likewise.
31078         (align_locale_data): Likewise.
31079         (add_locale_empty): Likewise.
31080         (add_locale_raw_data): Likewise.
31081         (add_locale_raw_obstack): Likewise.
31082         (add_locale_string): Likewise.
31083         (add_locale_wstring): Likewise.
31084         (add_locale_uint32): Likewise.
31085         (add_locale_uint32_array): Likewise.
31086         (add_locale_char): Likewise.
31087         (start_locale_structure): Likewise.
31088         (end_locale_structure): Likewise.
31089         (start_locale_prelude): Likewise.
31090         (end_locale_prelude): Likewise.
31091         (write_locale_data): Take locale_file structure rather than an
31092         iovec.
31093         * locale/programs/locfile.h: Include "obstack.h".
31094         (struct locale_file): Change to store locale file contents instead
31095         of header.
31096         (init_locale_data): New prototype.
31097         (align_locale_data): Likewise.
31098         (add_locale_empty): Likewise.
31099         (add_locale_raw_data): Likewise.
31100         (add_locale_raw_obstack): Likewise.
31101         (add_locale_string): Likewise.
31102         (add_locale_wstring): Likewise.
31103         (add_locale_uint32): Likewise.
31104         (add_locale_uint32_array): Likewise.
31105         (add_locale_char): Likewise.
31106         (start_locale_structure): Likewise.
31107         (end_locale_structure): Likewise.
31108         (start_locale_prelude): Likewise.
31109         (end_locale_prelude): Likewise.
31110         (write_locale_data): Update prototype.
31111         * locale/programs/3level.h (struct TABLE): Remove result field.
31112         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31113         Use new locale_file interface.
31114         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31115         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31116         * locale/programs/ld-address.c (address_output): Use new
31117         locale_file interface.
31118         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31119         NO_ADD_LOCALE.
31120         (collate_finish): Don't call collseq_table_finalize.
31121         (collate_output): Use new locale_file interface.
31122         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31123         in file.
31124         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31125         (TABLE): Move defines earlier in file.
31126         (ELEMENT): Likewise.
31127         (DEFAULT): Likewise.
31128         (wctrans_table_add): Move macro and inline function earlier in
31129         file.
31130         (struct wctype_table): Move type earlier in file.
31131         (add_locale_wctype_table): New static prototype.
31132         (struct locale_ctype_t): Use logical types instead of struct iovec
31133         pointers for members.
31134         (ctype_output): Use new locale_file interface.
31135         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31136         new locale_file interface.
31137         (allocate_arrays): Update for use of new locale_file interface.
31138         * locale/programs/ld-identification.c (identification_output): Use
31139         new locale_file interface.
31140         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31141         * locale/programs/ld-messages.c (messages_output): Likewise.
31142         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31143         * locale/programs/ld-name.c (name_output): Likewise.
31144         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31145         * locale/programs/ld-paper.c (paper_output): Likewise.
31146         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31147         * locale/programs/ld-time.c (time_output): Likewise.
31149 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31151         * benchtests/Makefile: Add memrchr benchmark.
31152         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31153         benchmark as memrchr.
31154         * benchtests/bench-memrchr-ifunc.c: New file.
31155         * benchtests/bench-memrchr.c: New file.
31157 2013-09-06   Will Newton  <will.newton@linaro.org>
31159         * benchtests/Makefile (string-bench): Add memcpy.
31161 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31162             Cong Wang  <amwang@redhat.com>
31164         [BZ #15850]
31165         * sysdeps/unix/sysv/linux/bits/in.h
31166         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31167         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31168         before __USE_KERNEL_IPV6_DEFS uses.
31169         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31170         IPPROTO_BEETPH.
31171         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31172         sockaddr_in6, or ipv6_mreq.
31174 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31176         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31177         memory access for final bytes in some large inputs.
31178         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31180 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31182         * string/test-memrchr.c: New file.
31183         * string/test-memrchr-ifunc.c: New file.
31184         * string/Makefile: Add new memrchr testcase.
31186 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31188         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31189         fanotify_init returns EPERM.
31191 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31193         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31194         errors.
31195         (top level): Treat second token from macro or constant entries for
31196         allowed headers as allowed.
31197         * include/complex.h: Condition internal declarations on
31198         [!_ISOMAC].
31199         * include/fenv.h: Condition include of <stdbool.h> and internal
31200         declarations on [!_ISOMAC].
31202 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31204         [BZ #15923]
31205         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31207 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31209         * configure.in (--enable-versioning): Remove configure option.
31210         (libc_cv_asm_symver_directive): Remove configure test.
31211         (libc_cv_ld_version_script_option): Likewise.
31212         (VERSIONING): Remove variable and AC_SUBST.
31213         (DO_VERSIONING): Remove AC_DEFINE.
31214         * configure: Regenerated.
31215         * config.h.in (DO_VERSIONING): Remove macro.
31216         * Makerules [$(versioning) = yes]: Change conditionals to
31217         [$(build-shared) = yes].
31218         * config.make.in (versioning): Remove variable.
31219         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31220         [$(build-shared) = yes].
31221         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31222         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31223         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31224         [$(build-shared) = yes].
31225         * extra-lib.mk [$(versioning) = yes]: Likewise.
31226         * hurd/Makefile [$(versioning) = yes]: Likewise.
31227         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31228         [SHARED].
31229         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31230         [SHARED].
31231         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31232         [SHARED && !NO_HIDDEN].
31233         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31234         [SHARED].
31235         [SHARED && DO_VERSIONING]: Likewise..
31236         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31237         [$(build-shared) = yes].
31238         * manual/install.texi (--disable-versioning): Remove
31239         documentation.
31240         * INSTALL: Regenerated.
31241         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31242         to [SHARED].
31243         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31244         [$(build-shared) = yes].
31245         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31246         * sysdeps/i386/i686/multiarch/strstr-c.c
31247         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31248         [SHARED && !NO_HIDDEN].
31249         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31250         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31251         * sysdeps/powerpc/powerpc32/dl-machine.c
31252         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31253         * sysdeps/powerpc/powerpc32/sysdep.h
31254         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31255         to [SHARED && PIC && !NO_HIDDEN].
31256         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31257         conditional to [SHARED].
31259 2013-09-04   Will Newton  <will.newton@linaro.org>
31261         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31262         * benchtests/bench-string.h: Include bench-timing.h instead
31263         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31264         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31265         call to HP_TIMING_DIFF_INIT.
31266         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31267         instead of hp-timing.h macros.
31268         * benchtests/bench-memchr.c: Likewise.
31269         * benchtests/bench-memcmp.c: Likewise.
31270         * benchtests/bench-memcpy.c: Likewise.
31271         * benchtests/bench-memmem.c: Likewise.
31272         * benchtests/bench-memmove.c: Likewise.
31273         * benchtests/bench-memset.c: Likewise.
31274         * benchtests/bench-rawmemchr.c: Likewise.
31275         * benchtests/bench-strcasecmp.c: Likewise.
31276         * benchtests/bench-strcasestr.c: Likewise.
31277         * benchtests/bench-strcat.c: Likewise.
31278         * benchtests/bench-strchr.c: Likewise.
31279         * benchtests/bench-strcmp.c: Likewise.
31280         * benchtests/bench-strcpy.c: Likewise.
31281         * benchtests/bench-strcpy_chk.c: Likewise.
31282         * benchtests/bench-strlen.c: Likewise.
31283         * benchtests/bench-strncasecmp.c: Likewise.
31284         * benchtests/bench-strncat.c: Likewise.
31285         * benchtests/bench-strncmp.c: Likewise.
31286         * benchtests/bench-strncpy.c: Likewise.
31287         * benchtests/bench-strnlen.c: Likewise.
31288         * benchtests/bench-strpbrk.c: Likewise.
31289         * benchtests/bench-strrchr.c: Likewise.
31290         * benchtests/bench-strspn.c: Likewise.
31291         * benchtests/bench-strstr.c: Likewise.
31293 2013-09-04  Will Newton  <will.newton@linaro.org>
31295         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31297 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31299         [BZ #15427]
31300         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31301         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31302         * math/libm-test.inc (lgamma_test_data): Add more tests.
31303         * sysdeps/i386/fpu/libm-test-ulps: Update.
31304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31306 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31308         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31310         Add ifunc.
31311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31312         Add strcmp-sse2-unaligned
31313         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31315 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31317         * Versions.def (libc): Add GLIBC_2.19.
31319 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31321         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31322         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31324 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31326         [BZ #14155]
31327         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31328         intermediate calculations in recurrence.
31329         (__ieee754_ynf): Likewise.
31330         * math/libm-test.inc (jn_test_data): Do not allow spurious
31331         underflow exception.  Add more tests.
31332         (yn_test_data): Add more tests.
31333         * sysdeps/i386/fpu/libm-test-ulps: Update.
31334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31336 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31338         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31340 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31342         * csu/init-first.c: Fix then/than typos.
31343         * locale/programs/ld-collate.c: Likewise.
31344         * locale/programs/linereader.h: Likewise.
31345         * manual/charset.texi: Likewise.
31346         * manual/filesys.texi: Likewise.
31347         * manual/stdio.texi: Likewise.
31348         * manual/string.texi: Likewise.
31349         * stdlib/fmtmsg.c: Likewise.
31350         * sysdeps/i386/stpncpy.S: Likewise.
31351         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31352         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31353         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31354         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31356 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31358         * elf/dl-open.c: Fix typos.
31359         * iconvdata/gbbig5.c: Likewise.
31360         * iconvdata/iso-2022-jp.c: Likewise.
31361         * iconv/gconv_int.h: Likewise.
31362         * iconv/loop.c: Likewise.
31363         * nis/rpcsvc/nis.h: Likewise.
31364         * resolv/ns_name.c: Likewise.
31365         * stdio-common/vfscanf.c: Likewise.
31366         * streams/stropts.h: Likewise.
31367         * sunrpc/rpc_thread.c: Likewise.
31368         * sysdeps/i386/strpbrk.S: Likewise.
31369         * sysdeps/ieee754/k_standard.c: Likewise.
31370         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31371         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31372         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31373         * sysdeps/mach/hurd/profil.c: Likewise.
31374         * sysdeps/s390/dl-procinfo.h: Likewise.
31375         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31376         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31377         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31378         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31379         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31381 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31383         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31384         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31386 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31388         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31389         aix specific files.
31390         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31391         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31392         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31393         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31394         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31395         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31396         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31397         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31399 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31400             Roland McGrath  <roland@hack.frob.com>
31402         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31403         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31405 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31407         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31408         __executable_start symbol instead of _start.
31410 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31412         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31413         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31414         Move macros to...
31415         * sysdeps/gnu/ldsodefs.h: ... this new file.
31417         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31418         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31419         instead of ELFOSABI_LINUX.
31421         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31422         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31423         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31424         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31425         Likewise.
31426         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31427         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31428         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31429         Likewise.
31430         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31431         (ibm_extended_long_double): Add ieee_nan member.
31432         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31433         (do_test): New function.
31435         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31436         TEST_TRUNC.
31437         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31438         functions, renamed from truncdfsf_test, trunctfsf_test,
31439         trunctfdf_test.
31440         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31441         functions.
31442         (do_test): Run all these.
31444 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31446         * argp/argp-help.c: Fix typos.
31447         * argp/argp-parse.c: Likewise.
31448         * debug/backtracesyms.c: Likewise.
31449         * elf/elf.h: Likewise.
31450         * malloc/malloc.c: Likewise.
31451         * nis/nis_print.c: Likewise.
31452         * resolv/res_comp.c: Likewise.
31453         * stdlib/stdlib.h: Likewise.
31454         * sunrpc/clnt_tcp.c: Likewise.
31455         * sunrpc/clnt_udp.c: Likewise.
31456         * sunrpc/clnt_unix.c: Likewise.
31457         * sysdeps/unix/bsd/ptsname.c: Likewise.
31458         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31459         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31461         Likewise.
31462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31463         Likewise.
31464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31465         Likewise.
31466         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31468 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31470         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31473 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31475         [BZ #15897]
31476         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31477         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31478         ($(objpfx)bug-dl-leaf): New rule.
31479         ($(objpfx)bug-dl-leaf.so): Likewise.
31480         ($(objpfx)bug-dl-leaf.out): Likewise.
31481         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31482         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31483         * dlfcn/bug-dl-leaf.c: New test.
31484         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31485         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31486         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31487         (dlclose): Likewise.
31488         (dlmopen): Likewise.
31490 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31492         * include/netdb.h [!_ISOMAC]:
31493         Don't include <tls.h>.
31494         (h_errno, __libc_h_errno): Move declaration and macros out of
31495         [_LIBC_REENTRANT].
31497         * include/resolv.h [_RESOLV_H_]:
31498         Don't include <tls.h>.
31499         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31500         * resolv/res_libc.c: Don't include <tls.h>.
31501         (_res): Use __attribute__ ((nocommon)) in place of
31502         __attribute__ ((section (".bss"))).
31504         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31505         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31507         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31509         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31510         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31512         * resolv/res_mkquery.c: Include <sys/time.h>.
31514         * inet/ifreq.c: Moved to ...
31515         * sysdeps/unix/ifreq.c: ... here.
31516         * inet/ifreq.c: New file, true stub version.
31518         * socket/sa_len.c: New file.
31519         * socket/Makefile (aux): Add it.
31520         * sysdeps/unix/sysv/linux/Makefile
31521         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31522         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31523         and #include <socket/sa_len.c>.
31524         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31525         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31527         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31528         * bits/socket.h: ... here.
31530         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31531         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31532         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31534 2013-08-27  Andreas Schwab  <schwab@suse.de>
31536         [BZ #15736]
31537         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31538         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31539         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31540         * string/test-strcasecmp.c (test_main): Run tests in several
31541         locales.
31542         * string/test-strncasecmp.c (test_main): Likewise.
31544         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31545         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31546         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31548         (__strncasecmp_ssse3) [PIC]: Likewise.
31550 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31552         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31554         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31555         instead of explicitly declaring xdecrypt.
31556         * nis/nss_nis/nis-publickey.c: Likewise.
31558 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31560         [BZ #15890]
31561         * nscd/aicache.c: Include res_hconf.h.
31562         (addhstaiX): Initialize res_hconf.
31564 2013-08-26  Andreas Schwab  <schwab@suse.de>
31566         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31567         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31569 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31571         * nscd/aicache.c (addhstaiX): Fix indentation.
31573 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31575         * configure.ac: Quote $build_pt_chown test.
31576         * configure: Regenerated.
31578 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31580         [BZ #15532]
31581         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31582         * math/s_cexpf.c (__cexpf): Likewise.
31583         * math/s_cexpl.c (__cexpl): Likewise.
31584         * math/libm-test.inc (cexp_test_data): Correct expected return
31585         value for NaN + i0.  Add another test.
31587 2013-08-22  David S. Miller  <davem@davemloft.net>
31589         * po/ca.po: Update Catalan translation from translation project.
31590         * po/uk.po: Add Ukrainian translations from translation project.
31592 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31594         [BZ #15797]
31595         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31596         is infinite, not alongside NaN test.
31597         * math/s_fdimf.c (__fdimf): Likewise.
31598         * math/s_fdiml.c (__fdiml): Likewise.
31599         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31600         errno is unchanged.
31602 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31604         * argp/argp-help.c: Fix typos.
31605         * crypt/speeds.c: Likewise.
31606         * csu/check_fds.c: Likewise.
31607         * elf/dl-load.c: Likewise.
31608         * elf/dl-open.c: Likewise.
31609         * elf/reldep3.c: Likewise.
31610         * elf/reldep.c: Likewise.
31611         * elf/sprof.c: Likewise.
31612         * iconv/iconv_charmap.c: Likewise.
31613         * iconv/skeleton.c: Likewise.
31614         * iconv/strtab.c: Likewise.
31615         * io/lockf64.c: Likewise.
31616         * libio/libioP.h: Likewise.
31617         * resolv/gai_notify.c: Likewise.
31618         * resolv/ns_name.c: Likewise.
31619         * resolv/ns_samedomain.c: Likewise.
31620         * resolv/res_send.c: Likewise.
31621         * stdlib/random.c: Likewise.
31622         * sunrpc/rpc/xdr.h: Likewise.
31623         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31624         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31625         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31626         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31627         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31628         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31629         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31630         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31631         * sysdeps/mach/hurd/check_fds.c: Likewise.
31632         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31633         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31634         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31635         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31636         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31637         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31638         * sysdeps/pthread/aio_notify.c: Likewise.
31639         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31640         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31641         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31642         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31643         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31645 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31647         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31648         version if bit_Slow_SSE4_2 is set.
31649         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31650         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31652 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31654         [BZ #15867]
31655         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31656         trampoline stack frame information.
31657         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31658         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31659         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31660         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31661         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31662         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31663         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31664         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31665         sa_flags value.
31666         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31667         interrupting a syscall and set with option SA_SIGINFO.
31669 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31671         [BZ #15531]
31672         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31673         argument is infinite.
31674         * math/s_cprojf.c (__cprojf): Likewise.
31675         * math/s_cprojl.c (__cprojl): Likewise.
31676         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31677         * math/libm-test.inc (cproj_test_data): Add more tests.
31679         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31681         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31682         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31683         size.  Use __ffs to determine corresponding shift.
31685 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31686             Roland McGrath  <roland@hack.frob.com>
31688         * Makefile (INSTALL): Remove trailing blank lines from output of
31689         makeinfo.
31691 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31693         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31694         Align 32 bit compat elf_greg to 8 bytes.
31696 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31698         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31700 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31702         * string/strcoll_l.c (coll_seq): New structure.
31703         (get_next_seq_cached): New function.
31704         (get_next_seq): New function.
31705         (do_compare): New function.
31706         (STRCOLL): Use GNU style definition.  Simplify implementation
31707         by using get_next_seq, get_next_seq_cached and do_compare.
31709 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31711         [BZ #14699]
31712         CVE-2013-4237
31713         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31714         member.
31715         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31716         member.
31717         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31718         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31719         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31720         conditional.
31721         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31722         GETDENTS_64BIT_ALIGNED.
31723         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31724         * manual/filesys.texi (Reading/Closing Directory): Document
31725         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31726         strongly.
31727         * manual/conf.texi (Limits for Files): Add portability note to
31728         NAME_MAX, PATH_MAX.
31729         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31731 2013-08-13  Andreas Schwab  <schwab@suse.de>
31733         [BZ #15749]
31734         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31735         of fabs.
31736         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31737         LDBL_MAX_EXP >= 16384]: Add tests for it.
31739 2013-08-12  David S. Miller  <davem@davemloft.net>
31741         * version.h (RELEASE): Set to "development".
31742         (VERSION): Set to "2.18.90".
31743         * NEWS: Add 2.19 section.
31745 2013-08-03  David S. Miller  <davem@davemloft.net>
31747         * po/ko.po: Update Korean translation from translation project.
31749 2013-08-01  David S. Miller  <davem@davemloft.net>
31751         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31752         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31753         Bilka.
31755 2013-07-30  David S. Miller  <davem@davemloft.net>
31757         * po/fr.po: Update French translation from translation project.
31759 2013-07-28  David S. Miller  <davem@davemloft.net>
31761         * po/cs.po: Update Czech translation from translation project.
31763         * po/sv.po: Update Swedish translation from translation project.
31765 2013-07-27  David S. Miller  <davem@davemloft.net>
31767         * po/eo.po: Update Esperanto translation from translation project.
31769         * po/vi.po: Update Vietnamese translation from translation project.
31771         * po/de.po: Update German translation from translation project.
31773 2013-07-26  David S. Miller  <davem@davemloft.net>
31775         * po/bg.po: Update Bulgarian translation from translation project.
31777         * po/nl.po: Update Dutch translation from translation project.
31778         * po/pl.po: Update Polish translation from translation project.
31779         * po/ru.po: Update Russian translation from translation project.
31781 2013-07-24  David S. Miller  <davem@davemloft.net>
31783         * po/libc.pot: Update.
31785 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31787         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31788         variable page size.
31789         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31790         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31791         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31793 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31795         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31797 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31798             Andreas Schwab  <schwab@suse.de>
31799             Roland McGrath  <roland@hack.frob.com>
31800             Joseph Myers  <joseph@codesourcery.com>
31801             Carlos O'Donell  <carlos@redhat.com>
31803         [BZ #15755]
31804         * config.h.in: Define HAVE_PT_CHOWN.
31805         * config.make.in (build-pt-chown): New variable.
31806         * configure.in (--enable-pt_chown): New configure option.
31807         * configure: Regenerate.
31808         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31809         build-pt-chown is enabled.
31810         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31811         pt_chown to fix pty ownership.
31812         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31813         CLOSE_ALL_FDS.
31814         * manual/install.texi (Configuring and compiling): Mention
31815         --enable-pt_chown. Add @findex for grantpt.
31816         * INSTALL: Regenerate.
31818 2013-07-20  David S. Miller  <davem@davemloft.net>
31820         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31821         difference between 32-bit and 64-bit.
31823 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31825         [BZ #15711]
31826         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31827         Avoid system header dependency with -ffreestanding.
31828         ($(objpfx)bits/syscall%d): Likewise.
31830 2013-07-13  David S. Miller  <davem@davemloft.net>
31832         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31833         underflows from atanl/atan2l due to bug 15319.
31834         (casinh_test_data): Likewise.
31836 2013-07-07  David S. Miller  <davem@davemloft.net>
31838         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31840 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31842         * sysdeps/i386/fpu/libm-test-ulps: Update.
31843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31845 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31847         * configure.in (--enable-lock-elision): Fix message text.
31848         * INSTALL: Regenerate.
31849         * configure: Regenerate.
31851 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31855 2013-07-03  Andreas Jaeger  <aj@suse.de>
31857         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31858         define.
31859         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31860         (ptrace_peeksiginfo_args): Add.
31861         (__ptrace_peeksiginfo_flags): Add.
31862         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31863         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31864         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31866 2013-07-03  Allan McRae  <allan@archlinux.org>
31868         * sysdeps/i386/fpu/libm-test-ulps: Update.
31870 2013-07-02  David S. Miller  <davem@davemloft.net>
31872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31874 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31878 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31880         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31883 2013-07-02  Andi Kleen <ak@linux.intel.com>
31885         * config.h.in (ENABLE_LOCK_ELISION): Add.
31886         * configure.in (--enable-lock-elision): Add option.
31887         * manual/install.texi: Document --enable lock elision.
31888         * configure: Regenerate
31889         * INSTALL: Regenerate.
31891 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31893         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31894         SSE4.2 strcasecmp for libc.a.
31895         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31897 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31899         [BZ #13304]
31900         * soft-fp/op-common.h (_FP_FMA): New macro.
31901         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31902         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31903         (_FP_MUL_MEAT_1_imm): ... here.
31904         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31905         (_FP_MUL_MEAT_1_wide): ... here.
31906         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31907         (_FP_MUL_MEAT_1_hard): ... here.
31908         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31909         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31910         (_FP_MUL_MEAT_2_wide): ... here.
31911         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31912         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31913         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31914         (_FP_MUL_MEAT_2_gmp): ... here.
31915         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31916         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31917         (_FP_MUL_MEAT_4_wide): ... here.
31918         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31919         (_FP_MUL_MEAT_4_gmp): ... here.
31920         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31921         (_FP_WFRACBITS_DW_S): Likewise.
31922         (_FP_WFRACXBITS_DW_S): Likewise.
31923         (_FP_HIGHBIT_DW_S): Likewise.
31924         (FP_FMA_S): Likewise.
31925         (_FP_FRAC_HIGH_DW_S): Likewise.
31926         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31927         (_FP_WFRACBITS_DW_D): Likewise.
31928         (_FP_WFRACXBITS_DW_D): Likewise.
31929         (_FP_HIGHBIT_DW_D): Likewise.
31930         (FP_FMA_D): Likewise.
31931         (_FP_FRAC_HIGH_DW_D): Likewise.
31932         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31933         (_FP_WFRACBITS_DW_E): Likewise.
31934         (_FP_WFRACXBITS_DW_E): Likewise.
31935         (_FP_HIGHBIT_DW_E): Likewise.
31936         (FP_FMA_E): Likewise.
31937         (_FP_FRAC_HIGH_DW_E): Likewise.
31938         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31939         (_FP_WFRACBITS_DW_Q): Likewise.
31940         (_FP_WFRACXBITS_DW_Q): Likewise.
31941         (_FP_HIGHBIT_DW_Q): Likewise.
31942         (FP_FMA_Q): Likewise.
31943         (_FP_FRAC_HIGH_DW_Q): Likewise.
31944         * soft-fp/fmasf4.c: New file.
31945         * soft-fp/fmadf4.c: Likewise.
31946         * soft-fp/fmatf4.c: Likewise.
31948 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31951         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31952         Silvermont.
31953         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31954         macro.
31955         (index_Slow_SSE4_2): Likewise.
31956         (index_Prefer_PMINUB_for_stringop): Likewise.
31957         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31958         bit_Slow_SSE4_2 is set.
31959         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31960         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31962 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31964         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31965         rtld_global._dl_hwcap2.
31966         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31967         POWER8.
31968         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31969         POWER8 feature descriptions defined in _dl_hwcap2.
31970         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31971         string handling for POWER8 feature bits.
31972         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31973         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31974         _dl_powerpc_cap_flags.
31975         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31976         * sysdeps/powerpc/rtld-global-offsets.sym
31977         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31978         _dl_hwcap2 in the rtld_global_ro structure.
31980 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31982         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31983         hardware capabilities in support of AT_HWCAP2.
31984         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31985         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31986         GLRO(dl_hwcap2).
31987         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31988         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31989         explicitly the unknown a_type display mechanism is used.
31990         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31991         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31992         struct member.
31993         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31994         to macro prototype for AT_HWCAP2 support.
31995         * sysdeps/i386/dl-procinfo.h: Likewise.
31996         * sysdeps/s390/dl-procinfo.h: Likewise.
31997         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31998         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31999         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32000         return -1 for unknown a_type display fallback.
32001         * sysdeps/sparc/dl-procinfo.h: Likewise.
32002         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32003         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32005 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32007         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32008         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32010 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32012         [BZ #12492]
32013         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32014         mprotect making __stack_prot writable.
32016 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32017             Joseph Myers  <joseph@codesourcery.com>
32019         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32020         as being properly aligned.
32022 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32024         * dlfcn/modstatic5.c: New file.
32025         * dlfcn/tststatic5.c: New file.
32026         * dlfcn/Makefile (tests): Add tststatic5.
32027         (tests-static): Likewise.
32028         (modules-names): Add modstatic5.
32029         (tststatic5-ENV): New variable.
32030         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32032         [BZ #15022]
32033         * elf/dl-support.c (_dl_main_map): New variable.
32034         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32035         (_dl_nns, _dl_load_adds): Set to 1.
32036         (_dl_initial_searchlist): Refer to _dl_main_map.
32037         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32038         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32039         call to _dl_get_origin.
32040         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32041         around call_map.
32042         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32043         * dlfcn/modstatic3.c: New file.
32044         * dlfcn/tststatic3.c: New file.
32045         * dlfcn/tststatic4.c: New file.
32046         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32047         (tests-static): Likewise.
32048         (modules-names): Add modstatic3.
32049         (tststatic3-ENV, tststatic4-ENV): New variables.
32050         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32051         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32053 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32055         * configure.in (CC): Require GCC version 4.4 or later.
32056         * configure: Regenerated.
32057         * manual/install.texi (Tools for Compilation): Update GCC version
32058         requirement.
32059         * INSTALL: Regenerated.
32061 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32063         [BZ #15674]
32064         * string/test-memcmp.c (check2): New.
32065         (main): Call check2.
32067         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32069 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32071         [BZ #15022]
32072         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32073         over to...
32074         (dl_open_worker) [!SHARED]: ... here.
32076 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32078         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32080 2013-06-25  Richard Henderson  <rth@redhat.com>
32082         * locale/programs/locarchive.c: Include <libc-internal.h>
32084 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32086         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32087         trailing whitespace removed.
32089 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32091         [BZ #10283]
32092         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32093         * locale/programs/locarchive.c: Include libc-mmap.h.
32094         (prepare_address_space): Take two new outputs (the mmap base and len).
32095         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32096         values.
32097         (create_archive): Declare new mmap base and len values for
32098         prepare_address_space, and store the result in ah.
32099         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32100         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32101         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32102         Declare new mmap base and len values for
32103         prepare_address_space, and store the result in new_ah.
32104         (open_archive): Declare new mmap base and len values for
32105         prepare_address_space, and store the result in ah.
32106         (close_archive): If ah->mmap_base is not NULL, use that and
32107         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32108         * sysdeps/generic/libc-mmap.h: New file.
32110 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32112         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32113         (ALIGN_UP): Likewise.
32114         (PTR_ALIGN_DOWN): Likewise.
32115         (PTR_ALIGN_UP): Likewise.
32117 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32119         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32120         entry mapped to PPC_PLATFORM_POWER8.
32121         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32122         POWER8.
32123         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32124         (_dl_string_platform): Add case for exporting platform position for
32125         POWER8.
32126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32127         search path to sysdeps/powerpc/powerpc32/power8 directory.
32128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32129         search path to sysdeps/powerpc/powerpc64/power8 directory.
32130         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32131         power7 directories.
32132         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32133         power7 directories.
32135 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32137         * INSTALL: Regenerate.
32139         * nscd/connections.c (nscd_init): Fix comment.
32141 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32143         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32145         [BZ #15667]
32146         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32147         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32149 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32151         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32152         DL_DST_REQ_STATIC.
32153         (DL_DST_REQ_STATIC): Remove macro.
32155 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32157         [BZ #7006]
32158         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32159         with a shift of 0 bits.
32161 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32163         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32164         $(tststatic-ENV).
32166 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32168         [BZ #15655]
32169         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32171 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32173         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32174         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32175         accepts -fno-tree-loop-distribute-patterns.
32176         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32177         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32178         recursive call.
32179         * string/memset.c (memset): Likewise.
32180         * string/test-memmove.c (simple_memmove): Disable loop transformation
32181         to library calls.
32182         * string/test-memset.c (simple_memset): Likewise.
32183         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32184         * benchtests/bench-memset.c (simple_memset): Likewise.
32185         * configure: Regenerated.
32187 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32189         * math/test-misc.c (main): Ignore fesetround failure when failures
32190         of subsequent rounding tests would be ignored.
32192         [BZ #15654]
32193         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32194         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32195         * math/fegetenv.c (__fegetenv): Return 0.
32196         * math/fegetexcept.c (fegetexcept): Return 0.
32197         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32198         FE_TONEAREST.
32199         * math/feholdexcpt.c (feholdexcept): Return 0.
32200         * math/fesetenv.c (__fesetenv): Return 0.
32201         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32202         argument FE_TONEAREST.
32203         * math/feupdateenv.c (__feupdateenv): Return 0.
32204         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32206 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32208         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32209         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32210         ($(objpfx)rtld-%.os rules): Use them.
32212 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32214         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32215         fields.
32217 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32219         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32220         length of target pattern, then descending length of dependency pattern.
32221         * configure.in (AWK): Require gawk 3.1.2 or newer.
32222         * manual/install.texi (Tools for Compilation): Say that we do.
32223         * configure: Regenerated.
32225         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32226         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32227         * scripts/sysd-rules.awk: ... this new script.
32228         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32229         than a glob-style pattern.
32231 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32233         * math/test-misc.c (main): Do not treat incorrectly rounded
32234         conversions as failure unless ROUNDING_TESTS passes.
32236 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32238         [BZ #15631]
32239         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32240         restore exception state around main square root computation, then
32241         check for inexactness explicitly.
32243         * math/libm-test.inc (fma_test_data): Add another test.
32245 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32247         * manual/threads.texi (Non-POSIX Extensions): New document
32248         node.  Document pthread_getattr_default_np and
32249         pthread_setattr_default_np.
32251         * Versions.def (libpthread): Add GLIBC_2.18.
32252         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32254         Likewise.
32255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32256         Likewise.
32257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32258         Likewise.
32259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32260         Likewise.
32261         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32262         Likewise.
32263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32264         Likewise.
32265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32266         Likewise.
32267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32268         Likewise.
32269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32270         Likewise.
32272 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32274         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32275         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32277 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32278             H.J. Lu  <hjl.tools@gmail.com>
32280         [BZ #15627]
32281         * sysdeps/x86_64/rtld-memset.c: Remove file.
32282         * sysdeps/x86_64/rtld-memset.S: New file.
32284 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32286         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32287         (test_in_one_mode): Take arguments for whether the rounding mode
32288         is supported for each floating-point type.
32289         (do_test): Pass new arguments to test_in_one_mode using
32290         ROUNDING_TESTS.
32292 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32294         * posix/tst-waitid.c (do_test): Distinguish different instances of
32295         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32296         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32297         before entering the kernel for waitpid.
32299 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32301         * NEWS: Fix note on clock function precision.  Text by Roland
32302         McGrath.
32304 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32306         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32307         it into place only when and if the sanity check passes.
32309 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32311         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32312         output for whether conversion result is exact.  Take argument
32313         indicating whether type is IBM long double.
32314         (round_for_all): Change need_exact field to ibm_ld.
32315         * stdlib/tst-strtod-round.c (struct exactness): New type.
32316         (struct test): Change bool ld_ok field to struct exactness exact.
32317         (TEST): Update all definitions for change to field.
32318         (tests): Regenerate array contents.
32319         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32320         field value.  Check for IBM long double here.
32321         (do_test): Update calls to test_in_one_mode.
32323 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32325         [BZ #12515]
32326         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32327         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32329 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32331         [BZ #15605]
32332         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32333         generated by the compiler on loop optimizations.
32334         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32335         general definitions.
32337 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32339         * math/bug-nextafter.c: Include <math-tests.h>.
32340         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32341         the relevant type.
32342         * math/bug-nexttoward.c: Include <math-tests.h>.
32343         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32344         the relevant type.
32345         * math/test-misc.c: Include <math-tests.h>.
32346         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32347         the relevant type.
32349 2013-06-12  Andreas Jaeger  <aj@suse.de>
32351         * po/ia.po: Update Interlingua translation from translation
32352         project.
32354 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32356         * include/fenv.h: Include stdbool.h.
32357         (struct rm_ctx): New structure.
32358         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32359         Define macro.
32360         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32361         (SET_RESTORE_ROUNDF): Likewise.
32362         (SET_RESTORE_ROUNDL): Likewise.
32363         (SET_RESTORE_ROUND_NOEX): Likewise.
32364         (SET_RESTORE_ROUND_NOEXF): Likewise.
32365         (SET_RESTORE_ROUND_NOEXL): Likewise.
32366         (SET_RESTORE_ROUND_53BIT): Likewise.
32367         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32368         (libc_feresetround_noexf_ctx): Likewise.
32369         (libc_feresetround_noexl_ctx): Likewise.
32370         (libc_feholdsetround_53bit_ctx): Likewise.
32371         (libc_feresetround_53bit_ctx): Likewise.
32372         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32373         (libc_feholdexcept_setround_sse_ctx): New function.
32374         (libc_fesetenv_sse_ctx): Likewise.
32375         (libc_feupdateenv_sse_ctx): Likewise.
32376         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32377         (libc_feholdexcept_setround_387_ctx): Likewise.
32378         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32379         (libc_feholdsetround_387_prec_ctx): Likewise.
32380         (libc_feholdsetround_387_ctx): Likewise.
32381         (libc_feholdsetround_387_53bit_ctx): Likewise.
32382         (libc_feholdsetround_sse_ctx): Likewise.
32383         (libc_feresetround_sse_ctx): Likewise.
32384         (libc_feresetround_387_ctx): Likewise.
32385         (libc_feupdateenv_387_ctx): Likewise.
32386         (libc_feholdexcept_setroundf_ctx): Define macro.
32387         (libc_fesetenvf_ctx): Likewise.
32388         (libc_feupdateenvf_ctx): Likewise.
32389         (libc_feholdsetroundf_ctx): Likewise.
32390         (libc_feresetroundf_ctx): Likewise.
32391         (libc_feholdexcept_setround_ctx): Likewise.
32392         (libc_fesetenv_ctx): Likewise.
32393         (libc_feupdateenv_ctx): Likewise.
32394         (libc_feholdsetround_ctx): Likewise.
32395         (libc_feresetround_ctx): Likewise.
32396         (libc_feholdexcept_setroundl_ctx): Likewise.
32397         (libc_feupdateenvl_ctx): Likewise.
32398         (libc_feholdsetroundl_ctx): Likewise.
32399         (libc_feresetroundl_ctx): Likewise.
32400         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32401         (libc_feresetround_53bit_ctx): Likewise.
32403 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32405         * locale/iso-639.def: Convert to UTF-8.
32407 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32409         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32410         (EXCEPTION_TESTS_double): Likewise.
32411         (EXCEPTION_TESTS_long_double): Likewise.
32412         (EXCEPTION_TESTS): Likewise.
32413         * math/libm-test.inc (test_exceptions): Only test exceptions if
32414         EXCEPTION_TESTS (FLOAT).
32416 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32418         * benchtests/Makefile (string-bench): Add strcpy_chk and
32419         stpcpy_chk.
32420         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32421         * benchtests/bench-stpcpy_chk.c: New file.
32422         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32423         * benchtests/bench-strcpy_chk.c: New file.
32424         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32425         code.
32426         (do_test): Likewise.
32428 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32430         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32431         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32432         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32433         with tabs where appropriate.
32434         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32435         dl-procinfo.h.
32436         [PPC_PLATFORM_PPC440]: Likewise.
32437         [PPC_PLATFORM_PPC464]: Likewise.
32438         [PPC_PLATFORM_PPC476]: Likewise.
32439         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32440         ppc464, and ppc476 platform strings merging from ports/
32441         dl-procinfo.h.
32443 2013-06-11  Andreas Schwab  <schwab@suse.de>
32445         [BZ #14991]
32446         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32447         (from_ucs4_idx): Regenerate.
32448         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32449         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32450         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32451         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32452         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32453         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32454         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32455         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32456         from FROM_LOOP and TO_LOOP specific macros.
32457         (BODY): Handle combining characters.
32458         * iconvdata/BIG5HKSCS.irreversible: Update.
32459         * iconvdata/BIG5HKSCS.precomposed: New file.
32460         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32461         characters.
32462         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32464 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32466         * include/sys/time.h: Fix indentation and add copyright header.
32468         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32469         (do_test): Likewise.
32470         * string/test-memchr.c (do_one_test): Likewise.
32471         (do_test): Likewise.
32472         * string/test-memcmp.c (do_one_test): Likewise.
32473         (do_test): Likewise.
32474         * string/test-memcpy.c (do_one_test): Likewise.
32475         (do_test): Likewise.
32476         * string/test-memmem.c (do_one_test): Likewise.
32477         (do_test): Likewise.
32478         (do_random_tests): Likewise.
32479         * string/test-memmove.c (do_one_test): Likewise.
32480         (do_test): Likewise.
32481         * string/test-memset.c (do_one_test): Likewise.
32482         (do_test): Likewise.
32483         * string/test-rawmemchr.c (do_one_test): Likewise.
32484         (do_test): Likewise.
32485         * string/test-strcasecmp.c (do_one_test): Likewise.
32486         (do_test): Likewise.
32487         * string/test-strcasestr.c (do_one_test): Likewise.
32488         (do_test): Likewise.
32489         * string/test-strcat.c (do_one_test): Likewise.
32490         (do_test): Likewise.
32491         * string/test-strchr.c (do_one_test): Likewise.
32492         (do_test): Likewise.
32493         * string/test-strcmp.c (do_one_test): Likewise.
32494         (do_test): Likewise.
32495         * string/test-strcpy.c (do_one_test): Likewise.
32496         (do_test): Likewise.
32497         * string/test-string.h: Likewise.
32498         (test_init): Likewise.
32499         * string/test-strlen.c (do_one_test): Likewise.
32500         (do_test): Likewise.
32501         * string/test-strncasecmp.c (do_one_test): Likewise.
32502         (do_test): Likewise.
32503         * string/test-strncat.c (do_one_test): Likewise.
32504         (do_test): Likewise.
32505         * string/test-strncmp.c (do_one_test): Likewise.
32506         (do_test_limit): Likewise.
32507         (do_test): Likewise.
32508         * string/test-strncpy.c (do_one_test): Likewise.
32509         (do_test): Likewise.
32510         * string/test-strnlen.c (do_one_test): Likewise.
32511         (do_test): Likewise.
32512         * string/test-strpbrk.c (do_one_test): Likewise.
32513         (do_test): Likewise.
32514         * string/test-strrchr.c (do_one_test): Likewise.
32515         (do_test): Likewise.
32516         * string/test-strspn.c (do_one_test): Likewise.
32517         (do_test): Likewise.
32518         * string/test-strstr.c (do_one_test): Likewise.
32519         (do_test): Likewise.
32521         * benchtests/Makefile (string-bench): Add string benchmarks.
32522         * benchtests/bench-bcopy-ifunc.c: New file.
32523         * benchtests/bench-bcopy.c: New file.
32524         * benchtests/bench-bzero-ifunc.c: New file.
32525         * benchtests/bench-bzero.c: New file.
32526         * benchtests/bench-memccpy-ifunc.c: New file.
32527         * benchtests/bench-memccpy.c: New file.
32528         * benchtests/bench-memchr-ifunc.c: New file.
32529         * benchtests/bench-memchr.c: New file.
32530         * benchtests/bench-memcmp-ifunc.c: New file.
32531         * benchtests/bench-memcmp.c: New file.
32532         * benchtests/bench-memmem-ifunc.c: New file.
32533         * benchtests/bench-memmem.c: New file.
32534         * benchtests/bench-memmove-ifunc.c: New file.
32535         * benchtests/bench-memmove.c: New file.
32536         * benchtests/bench-mempcpy-ifunc.c: New file.
32537         * benchtests/bench-mempcpy.c: New file.
32538         * benchtests/bench-memset-ifunc.c: New file.
32539         * benchtests/bench-memset.c: New file.
32540         * benchtests/bench-rawmemchr-ifunc.c: New file.
32541         * benchtests/bench-rawmemchr.c: New file.
32542         * benchtests/bench-stpcpy-ifunc.c: New file.
32543         * benchtests/bench-stpcpy.c: New file.
32544         * benchtests/bench-stpncpy-ifunc.c: New file.
32545         * benchtests/bench-stpncpy.c: New file.
32546         * benchtests/bench-strcasecmp-ifunc.c: New file.
32547         * benchtests/bench-strcasecmp.c: New file.
32548         * benchtests/bench-strcasestr-ifunc.c: New file.
32549         * benchtests/bench-strcasestr.c: New file.
32550         * benchtests/bench-strcat-ifunc.c: New file.
32551         * benchtests/bench-strcat.c: New file.
32552         * benchtests/bench-strchr-ifunc.c: New file.
32553         * benchtests/bench-strchr.c: New file.
32554         * benchtests/bench-strchrnul-ifunc.c: New file.
32555         * benchtests/bench-strchrnul.c: New file.
32556         * benchtests/bench-strcmp-ifunc.c: New file.
32557         * benchtests/bench-strcmp.c: New file.
32558         * benchtests/bench-strcpy-ifunc.c: New file.
32559         * benchtests/bench-strcpy.c: New file.
32560         * benchtests/bench-strcspn-ifunc.c: New file.
32561         * benchtests/bench-strcspn.c: New file.
32562         * benchtests/bench-strlen-ifunc.c: New file.
32563         * benchtests/bench-strlen.c: New file.
32564         * benchtests/bench-strncasecmp-ifunc.c: New file.
32565         * benchtests/bench-strncasecmp.c: New file.
32566         * benchtests/bench-strncat-ifunc.c: New file.
32567         * benchtests/bench-strncat.c: New file.
32568         * benchtests/bench-strncmp-ifunc.c: New file.
32569         * benchtests/bench-strncmp.c: New file.
32570         * benchtests/bench-strncpy-ifunc.c: New file.
32571         * benchtests/bench-strncpy.c: New file.
32572         * benchtests/bench-strnlen-ifunc.c: New file.
32573         * benchtests/bench-strnlen.c: New file.
32574         * benchtests/bench-strpbrk-ifunc.c: New file.
32575         * benchtests/bench-strpbrk.c: New file.
32576         * benchtests/bench-strrchr-ifunc.c: New file.
32577         * benchtests/bench-strrchr.c: New file.
32578         * benchtests/bench-strspn-ifunc.c: New file.
32579         * benchtests/bench-strspn.c: New file.
32580         * benchtests/bench-strstr-ifunc.c: New file.
32581         * benchtests/bench-strstr.c: New file.
32583         * benchtests/Makefile: Disable parallel execution of targets.
32584         (string-bench): Add memcpy.
32585         (benchset): New variable to store a list of benchmark sets.
32586         (bench-func): Renamed from bench.
32587         (bench-set): New target.
32588         (bench): Depend on bench-func and bench-set.
32589         * benchtests/README: Add section on benchmark sets.
32590         * benchtests/bench-memcpy-ifunc.c: New file.
32591         * benchtests/bench-memcpy.c: New file.
32592         * benchtests/bench-string.h: New file.
32594 2013-06-11  Andreas Schwab  <schwab@suse.de>
32596         [BZ #15577]
32597         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32598         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32599         values in the triple.
32600         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32601         terminator in the group key.
32603 2013-06-11  Andreas Jaeger  <aj@suse.de>
32605         * po/zh_TW.po: Update Chinese (traditional) translation from
32606         translation project.
32608 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32610         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32611         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32612         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32613         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32614         (clock_getcpuclockid): Likewise.
32615         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32616         Add weak_alias and libc_hidden_def.
32617         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32618         * rt/clock_gettime.c (clock_gettime): Rename to
32619         __clock_gettime.  Add weak_alias and libc_hidden_def.
32620         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32621         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32622         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32623         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32624         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32625         Likewise.
32626         * rt/clock_settime.c (clock_settime): Rename to
32627         __clock_settime.  Add weak_alias and libc_hidden_def.
32628         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32630 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32632         * mach/err_boot.sub: Remove trailing whitespace.
32633         * mach/err_ipc.sub: Likewise.
32634         * mach/err_mach.sub: Likewise.
32636         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32637         (ROUNDING_TESTS_double): Likewise.
32638         (ROUNDING_TESTS_long_double): Likewise.
32639         (ROUNDING_TESTS): Likewise.
32640         * math/libm-test.inc: Include <math-tests.h>.
32641         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32642         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32643         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32644         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32646 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32648         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32649         of assigning.
32651 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32653         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32654         otherwise empty TRANS lines.
32655         * sysdeps/gnu/errlist.c: Regenerated.
32657         * catgets/gencat.c (error_print): Use (void) in function
32658         definition.
32659         * crypt/crypt_util.c (__init_des): Likewise.
32660         * crypt/speeds.c (Stop): Likewise.
32661         (main): Likewise.
32662         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32663         * inet/ruserpass.c (token): Likewise.
32664         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32665         * intl/localealias.c (extend_alias_table): Likewise.
32666         * intl/plural-exp.c (init_germanic_plural): Likewise.
32667         * libio/fcloseall.c (__fcloseall): Likewise.
32668         * libio/genops.c (_IO_flush_all): Likewise.
32669         (_IO_flush_all_linebuffered): Likewise.
32670         (_IO_cleanup): Likewise.
32671         (_IO_iter_begin): Likewise.
32672         (_IO_iter_end): Likewise.
32673         (_IO_list_lock): Likewise.
32674         (_IO_list_unlock): Likewise.
32675         (_IO_list_resetlock): Likewise.
32676         * libio/getchar.c (getchar): Likewise.
32677         * libio/getchar_u.c (getchar_unlocked): Likewise.
32678         * libio/getwchar.c (getwchar): Likewise.
32679         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32680         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32681         * login/getpt.c (__getpt): Likewise.
32682         * login/tst-utmp.c (main): Likewise.
32683         * malloc/hooks.c (__malloc_check_init): Likewise.
32684         * malloc/malloc.c (__malloc_stats): Likewise.
32685         * malloc/mtrace.c (tr_break): Likewise.
32686         (mtrace): Likewise.
32687         (muntrace): Likewise.
32688         * misc/fstab.c (endfsent): Likewise.
32689         * misc/getclktck.c (__getclktck): Likewise.
32690         * misc/getdtsz.c (__getdtablesize): Likewise.
32691         * misc/gethostid.c (gethostid): Likewise.
32692         * misc/getpagesize.c (__getpagesize): Likewise.
32693         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32694         (__get_nprocs): Likewise.
32695         (__get_phys_pages): Likewise.
32696         (__get_avphys_pages): Likewise.
32697         * misc/getttyent.c (getttyent): Likewise.
32698         (setttyent): Likewise.
32699         (endttyent): Likewise.
32700         * misc/getusershell.c (getusershell): Likewise.
32701         (endusershell): Likewise.
32702         (setusershell): Likewise.
32703         (initshells): Likewise.
32704         * misc/hsearch.c (__hdestroy): Likewise.
32705         * misc/sync.c (sync): Likewise.
32706         * misc/syslog.c (closelog_internal): Likewise.
32707         (closelog): Likewise.
32708         * misc/ttyslot.c (ttyslot): Likewise.
32709         * misc/vhangup.c (vhangup): Likewise.
32710         * posix/fork.c (__fork): Likewise.
32711         * posix/getegid.c (__getegid): Likewise.
32712         * posix/geteuid.c (__geteuid): Likewise.
32713         * posix/getgid.c (__getgid): Likewise.
32714         * posix/getpid.c (__getpid): Likewise.
32715         * posix/getppid.c (__getppid): Likewise.
32716         * posix/getuid.c (__getuid): Likewise.
32717         * posix/pause.c (pause): Likewise.
32718         * posix/setpgrp.c (setpgrp): Likewise.
32719         * posix/setsid.c (__setsid): Likewise.
32720         * posix/test-vfork.c (noop): Likewise.
32721         * resolv/gethnamaddr.c (_endhtent): Likewise.
32722         (_gethtent): Likewise.
32723         (ht_endhostent): Likewise.
32724         (gethostent): Likewise.
32725         (dns_service): Likewise.
32726         * stdlib/drand48.c (drand48): Likewise.
32727         * stdlib/lrand48.c (lrand48): Likewise.
32728         * stdlib/mrand48.c (mrand48): Likewise.
32729         * stdlib/rand.c (rand): Likewise.
32730         * stdlib/random.c (__random): Likewise.
32731         * stdlib/setenv.c (clearenv): Likewise.
32732         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32733         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32734         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32735         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32736         (__get_nprocs): Likewise.
32737         (__get_phys_pages): Likewise.
32738         (__get_avphys_pages): Likewise.
32739         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32740         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32741         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32742         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32743         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32744         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32745         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32746         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32747         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32748         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32749         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32750         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32751         * sysdeps/posix/clock.c (clock): Likewise.
32752         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32753         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32754         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32755         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32756         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32757         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32758         (__get_nprocs_conf): Likewise.
32759         (__get_phys_pages): Likewise.
32760         (__get_avphys_pages): Likewise.
32761         * time/clock.c (clock): Likewise.
32762         * time/tzset.c (__tzname_max): Likewise.
32764 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32766         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32767         (__bswap_32): Do not use "register".
32768         * crypt/crypt.c (_ufc_doit_r): Likewise.
32769         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32770         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32771         * gmon/gmon.c (__monstartup): Likewise.
32772         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32773         * hurd/hurdmalloc.c (more_memory): Likewise.
32774         (malloc): Likewise.
32775         (free): Likewise.
32776         (realloc): Likewise.
32777         (malloc_fork_prepare): Likewise.
32778         (malloc_fork_parent): Likewise.
32779         (malloc_fork_child): Likewise.
32780         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32781         (_svcauth_des): Likewise.
32782         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32783         * inet/inet_net.c (inet_network): Likewise.
32784         * inet/inet_netof.c (inet_netof): Likewise.
32785         * inet/rcmd.c (__validuser2_sa): Likewise.
32786         * io/fts.c (fts_open): Likewise.
32787         (fts_load): Likewise.
32788         (fts_close): Likewise.
32789         (fts_read): Likewise.
32790         (fts_children): Likewise.
32791         (fts_build): Likewise.
32792         (fts_stat): Likewise.
32793         (fts_sort): Likewise.
32794         (fts_alloc): Likewise.
32795         (fts_lfree): Likewise.
32796         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32797         (_IO_file_xsgetn): Likewise.
32798         (_IO_file_xsgetn_mmap): Likewise.
32799         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32800         (_IO_cookie_write): Likewise.
32801         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32802         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32803         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32804         * malloc/obstack.c (_obstack_begin): Likewise.
32805         (_obstack_begin_1): Likewise.
32806         (_obstack_newchunk): Likewise.
32807         (_obstack_allocated_p): Likewise.
32808         (obstack_free): Likewise.
32809         (_obstack_memory_used): Likewise.
32810         * misc/getttyent.c (getttynam): Likewise.
32811         (getttyent): Likewise.
32812         (skip): Likewise.
32813         (value): Likewise.
32814         * misc/getusershell.c (initshells): Likewise.
32815         * misc/syslog.c (__vsyslog_chk): Likewise.
32816         * misc/ttyslot.c (ttyslot): Likewise.
32817         * nis/nis_hash.c (__nis_hash): Likewise.
32818         * posix/fnmatch_loop.c (FCT): Likewise.
32819         * posix/getconf.c (print_all): Likewise.
32820         (main): Likewise.
32821         * posix/getopt.c (exchange): Likewise.
32822         * posix/glob.c (globfree): Likewise.
32823         (prefix_array): Likewise.
32824         (__glob_pattern_type): Likewise.
32825         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32826         (NS_GET32): Likewise.
32827         (NS_PUT16): Likewise.
32828         (NS_PUT32): Likewise.
32829         * resolv/gethnamaddr.c (getanswer): Likewise.
32830         (gethostbyname2): Likewise.
32831         (gethostbyaddr): Likewise.
32832         (_gethtent): Likewise.
32833         (_gethtbyname2): Likewise.
32834         (_gethtbyaddr): Likewise.
32835         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32836         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32837         * resolv/res_init.c (__res_vinit): Likewise.
32838         (net_mask): Likewise.
32839         * resolv/res_mkquery.c (outchar): Likewise.
32840         (PRINT): Likewise.
32841         * stdio-common/printf_fp.c (outchar): Likewise.
32842         (PRINT): Likewise.
32843         * stdio-common/printf_fphex.c (outchar): Likewise.
32844         (PRINT): Likewise.
32845         * stdio-common/printf_size.c (outchar): Likewise.
32846         (PRINT): Likewise.
32847         * stdio-common/test_rdwr.c (main): Likewise.
32848         * stdio-common/tfformat.c (matches): Likewise.
32849         * stdio-common/vfprintf.c (outchar): Likewise.
32850         (printf_unknown): Likewise.
32851         (buffered_vfprintf): Likewise.
32852         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32853         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32854         (ReadFile): Likewise.
32855         * stdlib/qsort.c (SWAP): Likewise.
32856         (_quicksort): Likewise.
32857         * stdlib/setenv.c (__add_to_environ): Likewise.
32858         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32859         * stdlib/strtol_l.c (__strtol_l): Likewise.
32860         * stdlib/tst-strtod.c (main): Likewise.
32861         * stdlib/tst-strtol.c (main): Likewise.
32862         * stdlib/tst-strtoll.c (main): Likewise.
32863         * string/bits/string2.h (__strcmp_cc): Likewise.
32864         (__strcmp_cg): Likewise.
32865         (__strcspn_c1): Likewise.
32866         (__strcspn_c2): Likewise.
32867         (__strcspn_c3): Likewise.
32868         (__strspn_c1): Likewise.
32869         (__strspn_c2): Likewise.
32870         (__strspn_c3): Likewise.
32871         (__strsep_1c): Likewise.
32872         (__strsep_2c): Likewise.
32873         (__strsep_3c): Likewise.
32874         * string/memccpy.c (__memccpy): Likewise.
32875         * string/stpcpy.c (__stpcpy): Likewise.
32876         * string/strcmp.c (strcmp): Likewise.
32877         * string/strrchr.c (strrchr): Likewise.
32878         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32879         Likewise.
32880         * sysdeps/mach/hurd/getcwd.c
32881         (_hurd_canonicalize_directory_name_internal): Likewise.
32882         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32883         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32884         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32885         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32886         Likewise, in both definitions.
32887         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32888         definitions.
32889         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32890         64] (__bswap_64): Likewise.
32891         * time/test_time.c (main): Likewise.
32892         * time/tzfile.c (__tzfile_read): Likewise.
32893         (__tzfile_compute): Likewise.
32894         * time/tzset.c (__tzset_parse_tz): Likewise.
32895         (tzset_internal): Likewise.
32896         (compute_change): Likewise.
32897         * wcsmbs/wcscat.c (__wcscat): Likewise.
32898         * wcsmbs/wcschr.c (wcschr): Likewise.
32899         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32900         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32901         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32902         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32903         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32904         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32905         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32906         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32907         * wcsmbs/wmemset.c (wmemset): Likewise.
32909 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32911         * scripts/config.guess: Update to version 2013-05-16.
32912         * scripts/config.sub: Update to version 2013-04-24.
32913         * scripts/install-sh: Update to version 2011-11-20.07.
32914         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32915         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32917 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32919         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32920         * elf/sln.c: Likewise.
32921         * hurd/hurd/ioctl.h: Likewise.
32922         * hurd/hurdmalloc.c: Likewise.
32923         * hurd/xattr.c: Likewise.
32924         * include/shlib-compat.h: Likewise.
32925         * inet/ruserpass.c: Likewise.
32926         * libio/iofgets_u.c: Likewise.
32927         * libio/iofgetws_u.c: Likewise.
32928         * locale/programs/ld-identification.c: Likewise.
32929         * locale/programs/ld-time.c: Likewise.
32930         * mach/msg-destroy.c: Likewise.
32931         * nss/nss_files/files-netgrp.c: Likewise.
32932         * resolv/res_data.c: Likewise.
32933         * soft-fp/op-1.h: Likewise.
32934         * soft-fp/op-2.h: Likewise.
32935         * soft-fp/op-4.h: Likewise.
32936         * soft-fp/op-common.h: Likewise.
32937         * stdio-common/printf_fphex.c: Likewise.
32938         * stdlib/strtod_l.c: Likewise.
32939         * sunrpc/rpc/clnt.h: Likewise.
32940         * sysdeps/generic/framestate.c: Likewise.
32941         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32942         * sysdeps/i386/bsd-setjmp.S: Likewise.
32943         * sysdeps/i386/__longjmp.S: Likewise.
32944         * sysdeps/i386/setjmp.S: Likewise.
32945         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32946         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32947         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32948         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32949         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32950         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32951         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32952         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32953         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32954         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32955         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32956         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32957         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32958         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32959         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32960         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32961         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32962         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32963         * sysdeps/ieee754/support.c: Likewise.
32964         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32965         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32966         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32967         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32968         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32969         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32970         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32971         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32972         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32973         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32974         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32975         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32976         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32977         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32978         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32979         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32980         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32983 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32985         * posix/transbug.c: Remove executable mode.
32987 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32989         * crypt/speeds.c: Remove trailing whitespace.
32990         * dlfcn/default.c: Likewise.
32991         * elf/ifuncdep2.c: Likewise.
32992         * elf/ifuncmain1.c: Likewise.
32993         * elf/ifuncmain1vis.c: Likewise.
32994         * elf/testobj.h: Likewise.
32995         * elf/tst-stackguard1.c: Likewise.
32996         * gmon/sys/gmon.h: Likewise.
32997         * hurd/hurdmsg.c: Likewise.
32998         * hurd/new-fd.c: Likewise.
32999         * hurd/ports-get.c: Likewise.
33000         * iconvdata/ibm1008_420.c: Likewise.
33001         * inet/tst-getni1.c: Likewise.
33002         * inet/tst-getni2.c: Likewise.
33003         * libio/ioungetc.c: Likewise.
33004         * libio/wfiledoalloc.c: Likewise.
33005         * manual/libm-err-tab.pl: Likewise.
33006         * math/w_dremf.c: Likewise.
33007         * misc/ftruncate.c: Likewise.
33008         * posix/bug-glob2.c: Likewise.
33009         * posix/tst-pcre.c: Likewise.
33010         * posix/wait4.c: Likewise.
33011         * resolv/README: Likewise.
33012         * resolv/res_debug.h: Likewise.
33013         * resolv/tst-inet_ntop.c: Likewise.
33014         * setjmp/bug269-setjmp.c: Likewise.
33015         * soft-fp/extended.h: Likewise.
33016         * soft-fp/op-1.h: Likewise.
33017         * soft-fp/op-2.h: Likewise.
33018         * soft-fp/op-4.h: Likewise.
33019         * soft-fp/op-8.h: Likewise.
33020         * soft-fp/testit.c: Likewise.
33021         * stdio-common/bug16.c: Likewise.
33022         * stdlib/random.c: Likewise.
33023         * sunrpc/rpcsvc/rquota.x: Likewise.
33024         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33025         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33026         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33027         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33028         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33029         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33030         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33031         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33032         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33033         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33034         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33035         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33036         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33037         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33038         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33039         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33040         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33041         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33042         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33043         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33044         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33045         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33046         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33047         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33048         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33049         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33050         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33051         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33052         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33053         * sysdeps/ieee754/s_lib_version.c: Likewise.
33054         * sysdeps/mach/hurd/check_fds.c: Likewise.
33055         * sysdeps/mach/hurd/getsockname.c: Likewise.
33056         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33057         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33058         * sysdeps/powerpc/bits/link.h: Likewise.
33059         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33060         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33061         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33062         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33063         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33064         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33065         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33066         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33067         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33068         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33069         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33070         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33071         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33072         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33073         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33074         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33075         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33076         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33077         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33078         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33079         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33080         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33081         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33082         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33083         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33084         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33085         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33086         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33087         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33088         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33089         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33090         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33091         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33092         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33093         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33094         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33095         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33096         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33097         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33098         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33099         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33100         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33101         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33102         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33103         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33104         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33105         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33106         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33107         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33108         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33109         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33110         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33111         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33112         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33113         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33114         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33115         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33116         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33117         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33118         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33119         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33120         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33121         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33122         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33123         * sysdeps/powerpc/sysdep.h: Likewise.
33124         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33125         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33126         * sysdeps/sh/dl-trampoline.S: Likewise.
33127         * sysdeps/sh/memset.S: Likewise.
33128         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33129         * sysdeps/sh/strlen.S: Likewise.
33130         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33131         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33132         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33133         * sysdeps/sparc/sparc32/rem.S: Likewise.
33134         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33135         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33136         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33137         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33138         * sysdeps/sparc/sparc32/urem.S: Likewise.
33139         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33140         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33141         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33142         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33143         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33144         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33145         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33146         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33147         * sysdeps/unix/bsd/times.c: Likewise.
33148         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33149         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33153         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33154         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33155         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33156         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33157         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33158         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33159         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33160         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33161         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33162         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33163         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33164         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33165         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33166         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33167         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33168         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33169         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33170         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33171         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33172         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33173         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33174         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33175         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33176         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33177         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33178         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33179         * sysdeps/x86_64/strcspn.S: Likewise.
33181 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33183         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33184         generated file.  Regenerate properly from gen-translit.pl.
33185         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33186         locale/C-translit.h.
33188 2013-06-05  Andreas Schwab  <schwab@suse.de>
33190         [BZ #15100]
33191         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33192         week as 6 instead of -1.
33193         * time/tst-strptime.c (day_tests): Add test case.
33195 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33197         * sysdeps/generic/math_private.h
33198         (libc_feholdexcept_setround_53bit): Replace with
33199         libc_feholdsetround_53bit.
33200         (libc_feupdateenv_53bit): Replace with
33201         libc_feresetround_53bit.
33202         (SET_RESTORE_ROUND_53BIT): Adjust.
33204 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33206         * string/test-strchrnul.c: Add copyright header.
33208         * posix/tst-getaddrinfo4.c: Increase test timeout.
33210 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33212         [BZ #15536]
33213         * math/libm-test.inc (MAX_EXP): Remove
33214         (MIN_EXP): Define.
33215         (ulp): Use MIN_EXP - MANT_DIG.
33216         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33218 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33220         * po/be.po: Revert last change.
33221         * po/zh_CN.po: Likewise.
33222         * po/header.pot: Likewise.
33224 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33226         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33227         link-libc-deps to empty as target-specific variable.
33228         * Makerules (link-libc-args): New variable.
33229         (libc-for-link): Likewise.
33230         (link-libc-deps): Likewise.
33231         (lib%.so): Depend on $(link-libc-deps).  Link with
33232         $(link-libc-args).
33233         (build-module): Link with $(link-libc-args).
33234         (build-module-asneeded): Likewise.
33235         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33236         list of objects.
33237         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33238         target-specific variable.
33239         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33240         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33241         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33242         libc.
33243         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33244         libc and ld.so.
33245         ($(objpfx)libpcprofile.so): Likewise.
33246         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33247         libc_nonshared.a.
33248         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33249         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33250         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33251         $(link-libc-deps).
33252         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33253         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33254         * login/Makefile ($(objpfx)libutil.so): Likewise.
33255         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33256         * math/Makefile ($(objpfx)libm.so): Likewise.
33257         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33258         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33259         variable instead of depending directly on libc.
33260         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33261         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33262         $(link-libc-deps).
33263         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33264         libc.
33265         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33266         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33267         ($(objpfx)libanl.so): Likewise.
33268         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33269         ld.so.
33270         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33271         $(link-libc-deps).
33272         * sysdeps/i386/fpu/Makefile: Remove file.
33273         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33274         ($(objpfx)libm.so): Remove dependency on ld.so.
33276 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33278         [BZ # 15553]
33279         * nis/yp_xdr.c (XDRMAXNAME): Define.
33280         (XDRMAXRECORD): Define.
33281         (xdr_domainname): Use XDRMAXNAME.
33282         (xdr_mapname): Likewise.
33283         (xdr_peername): Likewise.
33284         (xdr_keydat): Use XDRMAXRECORD.
33285         (xdr_valdat): Likewise.
33287 2013-05-30  Jeff Law  <law@redhat.com>
33289         [BZ #14256]
33290         * manual/errno.texi (ESTALE): Update to account for more than
33291         just NFS file systems.
33292         * sysdeps/gnu/errlist.c: Regenerated.
33294 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33296         [BZ #15465]
33297         * elf/Makefile (tests): Add tst-null-argv.
33298         (modules-names):  Add tst-null-argv-lib.
33299         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33300         (tst-null-argv-ENV): Set environment for tst-null-argv.
33301         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33302         (RTLD_PROGNAME): New macro.
33303         * elf/tst-null-argv.c: New test case.
33304         * elf/tst-null-argv-lib.c: Library for test case.
33305         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33306         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33307         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33308         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33309         * elf/dl-init.c (call_init): Likewise.
33310         (_dl_init): Likewise.
33311         * elf/dl-load.c (print_search_path): Likewise.
33312         (_dl_map_object): Likewise.
33313         * elf/dl-lookup.c (do_lookup_x): Likewise.
33314         (add_dependency): Likewise.
33315         (_dl_lookup_symbol_x): Likewise.
33316         (_dl_debug_bindings): Likewise.
33317         * elf/dl-open.c (_dl_show_scope): Likewise.
33318         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33319         * elf/dl-version.c (match_symbol): Likewise.
33320         (_dl_check_map_versions): Likewise.
33321         * elf/rtld.c (dl_main): Likewise.
33322         (print_unresolved): Use RTLD_PROGNAME.
33323         (print_missing_version): Likewise.
33324         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33325         (elf_machine_rela): Likewise.
33326         * sysdeps/powerpc/powerpc32/dl-machine.c
33327         (__process_machine_rela): Likewise.
33328         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33329         Likewise.
33330         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33331         Likewise.
33332         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33333         Likewise.
33334         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33336         Likewise.
33337         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33338         Likewise.
33339         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33341 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33343         * po/be.po: Add descriptive title.
33344         * po/zh_CN.po: Likewise.
33345         * po/header.pot: Likewise.
33347 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33349         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33350         error message.
33351         (enlarge_archive): Likewise.
33353 2013-05-28  Ben North  <ben@redfrontdoor.org>
33355         * manual/arith.texi (frexp): It is the magnitude of the return
33356         value which lies in [0.5, 1), not the return value itself.
33358 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33362 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33364         * stdio-common/bug26.c (main): Correct fscanf template.
33366         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33367         declare _dl_skip_args.
33369         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33370         Don't declare.
33372         * manual/platform.texi: Add missing @end deftypefun.
33374 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33376         [BZ #15529]
33377         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33378         bit of mantissa of 2^16382.
33379         * math/libm-test.inc (hypot_test_data): Add more tests.
33381         * math/libm-test.inc: Add drem and pow10 to list of tested
33382         functions.
33383         (pow10_test): New function.
33384         (drem_test): Likewise.
33385         (drem_test_tonearest): Likewise.
33386         (drem_test_towardzero): Likewise.
33387         (drem_test_downward): Likewise.
33388         (drem_test_upward): Likewise.
33389         (main): Call the new functions.
33391         * math/libm-test.inc (finite_test_data): Remove.
33392         (finite_test): Run tests from isfinite_test_data.
33393         (gamma_test_data): Remove.
33394         (gamma_test): Run tests from lgamma_test_data.
33395         * sysdeps/i386/fpu/libm-test-ulps: Update.
33396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33398 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33400         * manual/platform.texi: Add PowerPC PPR function set documentation.
33401         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33402         implementation.
33404 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33406         * math/libm-test.inc (MAX_EXP): Define.
33407         (ULPDIFF): Define.
33408         (ulp): New function.
33409         (check_float_internal): Use ULPDIFF.
33410         (cpow_test): Disable failing test.
33411         (check_ulp): Test ulp() implemetnation.
33412         (main): Call check_ulp before starting tests.
33414 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33416         * math/gen-libm-test.pl (generate_testfile): Do not handle
33417         START_DATA and END_DATA.
33418         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33419         END_DATA.
33420         (acos_tonearest_test_data): Likewise.
33421         (acos_towardzero_test_data): Likewise.
33422         (acos_downward_test_data): Likewise.
33423         (acos_upward_test_data): Likewise.
33424         (acosh_test_data): Likewise.
33425         (asin_test_data): Likewise.
33426         (asin_tonearest_test_data): Likewise.
33427         (asin_towardzero_test_data): Likewise.
33428         (asin_downward_test_data): Likewise.
33429         (asin_upward_test_data): Likewise.
33430         (asinh_test_data): Likewise.
33431         (atan_test_data): Likewise.
33432         (atanh_test_data): Likewise.
33433         (atan2_test_data): Likewise.
33434         (cabs_test_data): Likewise.
33435         (cacos_test_data): Likewise.
33436         (cacosh_test_data): Likewise.
33437         (carg_test_data): Likewise.
33438         (casin_test_data): Likewise.
33439         (casinh_test_data): Likewise.
33440         (catan_test_data): Likewise.
33441         (catanh_test_data): Likewise.
33442         (cbrt_test_data): Likewise.
33443         (ccos_test_data): Likewise.
33444         (ccosh_test_data): Likewise.
33445         (ceil_test_data): Likewise.
33446         (cexp_test_data): Likewise.
33447         (cimag_test_data): Likewise.
33448         (clog_test_data): Likewise.
33449         (clog10_test_data): Likewise.
33450         (conj_test_data): Likewise.
33451         (copysign_test_data): Likewise.
33452         (cos_test_data): Likewise.
33453         (cos_tonearest_test_data): Likewise.
33454         (cos_towardzero_test_data): Likewise.
33455         (cos_downward_test_data): Likewise.
33456         (cos_upward_test_data): Likewise.
33457         (cosh_test_data): Likewise.
33458         (cosh_tonearest_test_data): Likewise.
33459         (cosh_towardzero_test_data): Likewise.
33460         (cosh_downward_test_data): Likewise.
33461         (cosh_upward_test_data): Likewise.
33462         (cpow_test_data): Likewise.
33463         (cproj_test_data): Likewise.
33464         (creal_test_data): Likewise.
33465         (csin_test_data): Likewise.
33466         (csinh_test_data): Likewise.
33467         (csqrt_test_data): Likewise.
33468         (ctan_test_data): Likewise.
33469         (ctan_tonearest_test_data): Likewise.
33470         (ctan_towardzero_test_data): Likewise.
33471         (ctan_downward_test_data): Likewise.
33472         (ctan_upward_test_data): Likewise.
33473         (ctanh_test_data): Likewise.
33474         (ctanh_tonearest_test_data): Likewise.
33475         (ctanh_towardzero_test_data): Likewise.
33476         (ctanh_downward_test_data): Likewise.
33477         (ctanh_upward_test_data): Likewise.
33478         (erf_test_data): Likewise.
33479         (erfc_test_data): Likewise.
33480         (exp_test_data): Likewise.
33481         (exp_tonearest_test_data): Likewise.
33482         (exp_towardzero_test_data): Likewise.
33483         (exp_downward_test_data): Likewise.
33484         (exp_upward_test_data): Likewise.
33485         (exp10_test_data): Likewise.
33486         (exp2_test_data): Likewise.
33487         (expm1_test_data): Likewise.
33488         (fabs_test_data): Likewise.
33489         (fdim_test_data): Likewise.
33490         (finite_test_data): Likewise.
33491         (floor_test_data): Likewise.
33492         (fma_test_data): Likewise.
33493         (fma_towardzero_test_data): Likewise.
33494         (fma_downward_test_data): Likewise.
33495         (fma_upward_test_data): Likewise.
33496         (fmax_test_data): Likewise.
33497         (fmin_test_data): Likewise.
33498         (fmod_test_data): Likewise.
33499         (fpclassify_test_data): Likewise.
33500         (frexp_test_data): Likewise.
33501         (gamma_test_data): Likewise.
33502         (hypot_test_data): Likewise.
33503         (ilogb_test_data): Likewise.
33504         (isfinite_test_data): Likewise.
33505         (isgreater_test_data): Likewise.
33506         (isgreaterequal_test_data): Likewise.
33507         (isinf_test_data): Likewise.
33508         (isless_test_data): Likewise.
33509         (islessequal_test_data): Likewise.
33510         (islessgreater_test_data): Likewise.
33511         (isnan_test_data): Likewise.
33512         (isnormal_test_data): Likewise.
33513         (issignaling_test_data): Likewise.
33514         (isunordered_test_data): Likewise.
33515         (j0_test_data): Likewise.
33516         (j1_test_data): Likewise.
33517         (jn_test_data): Likewise.
33518         (ldexp_test_data): Likewise.
33519         (lgamma_test_data): Likewise.
33520         (lrint_test_data): Likewise.
33521         (lrint_tonearest_test_data): Likewise.
33522         (lrint_towardzero_test_data): Likewise.
33523         (lrint_downward_test_data): Likewise.
33524         (lrint_upward_test_data): Likewise.
33525         (llrint_test_data): Likewise.
33526         (llrint_tonearest_test_data): Likewise.
33527         (llrint_towardzero_test_data): Likewise.
33528         (llrint_downward_test_data): Likewise.
33529         (llrint_upward_test_data): Likewise.
33530         (log_test_data): Likewise.
33531         (log10_test_data): Likewise.
33532         (log1p_test_data): Likewise.
33533         (log2_test_data): Likewise.
33534         (logb_test_data): Likewise.
33535         (logb_downward_test_data): Likewise.
33536         (lround_test_data): Likewise.
33537         (llround_test_data): Likewise.
33538         (modf_test_data): Likewise.
33539         (nearbyint_test_data): Likewise.
33540         (nextafter_test_data): Likewise.
33541         (nexttoward_test_data): Likewise.
33542         (pow_test_data): Likewise.
33543         (pow_tonearest_test_data): Likewise.
33544         (pow_towardzero_test_data): Likewise.
33545         (pow_downward_test_data): Likewise.
33546         (pow_upward_test_data): Likewise.
33547         (remainder_test_data): Likewise.
33548         (remainder_tonearest_test_data): Likewise.
33549         (remainder_towardzero_test_data): Likewise.
33550         (remainder_downward_test_data): Likewise.
33551         (remainder_upward_test_data): Likewise.
33552         (remquo_test_data): Likewise.
33553         (rint_test_data): Likewise.
33554         (rint_tonearest_test_data): Likewise.
33555         (rint_towardzero_test_data): Likewise.
33556         (rint_downward_test_data): Likewise.
33557         (rint_upward_test_data): Likewise.
33558         (round_test_data): Likewise.
33559         (scalb_test_data): Likewise.
33560         (scalbn_test_data): Likewise.
33561         (scalbln_test_data): Likewise.
33562         (signbit_test_data): Likewise.
33563         (sin_test_data): Likewise.
33564         (sin_tonearest_test_data): Likewise.
33565         (sin_towardzero_test_data): Likewise.
33566         (sin_downward_test_data): Likewise.
33567         (sin_upward_test_data): Likewise.
33568         (sincos_test_data): Likewise.
33569         (sinh_test_data): Likewise.
33570         (sinh_tonearest_test_data): Likewise.
33571         (sinh_towardzero_test_data): Likewise.
33572         (sinh_downward_test_data): Likewise.
33573         (sinh_upward_test_data): Likewise.
33574         (sqrt_test_data): Likewise.
33575         (tan_test_data): Likewise.
33576         (tan_tonearest_test_data): Likewise.
33577         (tan_towardzero_test_data): Likewise.
33578         (tan_downward_test_data): Likewise.
33579         (tan_upward_test_data): Likewise.
33580         (tanh_test_data): Likewise.
33581         (tgamma_test_data): Likewise.
33582         (trunc_test_data): Likewise.
33583         (y0_test_data): Likewise.
33584         (y1_test_data): Likewise.
33585         (yn_test_data): Likewise.
33586         (significand_test_data): Likewise.
33588         * math/gen-libm-test.pl (@functions): Remove variable.
33589         (generate_testfile): Don't handle START and END lines.
33590         * math/libm-test.inc (START): New macro.
33591         (END): Likewise.
33592         (END_COMPLEX): Likewise.
33593         (acos_test): Use END macro without arguments.
33594         (acos_test_tonearest): Likewise.
33595         (acos_test_towardzero): Likewise.
33596         (acos_test_downward): Likewise.
33597         (acos_test_upward): Likewise.
33598         (acosh_test): Likewise.
33599         (asin_test): Likewise.
33600         (asin_test_tonearest): Likewise.
33601         (asin_test_towardzero): Likewise.
33602         (asin_test_downward): Likewise.
33603         (asin_test_upward): Likewise.
33604         (asinh_test): Likewise.
33605         (atan_test): Likewise.
33606         (atanh_test): Likewise.
33607         (atan2_test): Likewise.
33608         (cabs_test): Likewise.
33609         (cacos_test): Use END_COMPLEX macro without arguments.
33610         (cacosh_test): Likewise.
33611         (carg_test): Use END macro without arguments.
33612         (casin_test): Use END_COMPLEX macro without arguments.
33613         (casinh_test): Likewise.
33614         (catan_test): Likewise.
33615         (catanh_test): Likewise.
33616         (cbrt_test): Use END macro without arguments.
33617         (ccos_test): Use END_COMPLEX macro without arguments.
33618         (ccosh_test): Likewise.
33619         (ceil_test): Use END macro without arguments.
33620         (cexp_test): Use END_COMPLEX macro without arguments.
33621         (cimag_test): Use END macro without arguments.
33622         (clog_test): Use END_COMPLEX macro without arguments.
33623         (clog10_test): Likewise.
33624         (conj_test): Likewise.
33625         (copysign_test): Use END macro without arguments.
33626         (cos_test): Likewise.
33627         (cos_test_tonearest): Likewise.
33628         (cos_test_towardzero): Likewise.
33629         (cos_test_downward): Likewise.
33630         (cos_test_upward): Likewise.
33631         (cosh_test): Likewise.
33632         (cosh_test_tonearest): Likewise.
33633         (cosh_test_towardzero): Likewise.
33634         (cosh_test_downward): Likewise.
33635         (cosh_test_upward): Likewise.
33636         (cpow_test): Use END_COMPLEX macro without arguments.
33637         (cproj_test): Likewise.
33638         (creal_test): Use END macro without arguments.
33639         (csin_test): Use END_COMPLEX macro without arguments.
33640         (csinh_test): Likewise.
33641         (csqrt_test): Likewise.
33642         (ctan_test): Likewise.
33643         (ctan_test_tonearest): Likewise.
33644         (ctan_test_towardzero): Likewise.
33645         (ctan_test_downward): Likewise.
33646         (ctan_test_upward): Likewise.
33647         (ctanh_test): Likewise.
33648         (ctanh_test_tonearest): Likewise.
33649         (ctanh_test_towardzero): Likewise.
33650         (ctanh_test_downward): Likewise.
33651         (ctanh_test_upward): Likewise.
33652         (erf_test): Use END macro without arguments.
33653         (erfc_test): Likewise.
33654         (exp_test): Likewise.
33655         (exp_test_tonearest): Likewise.
33656         (exp_test_towardzero): Likewise.
33657         (exp_test_downward): Likewise.
33658         (exp_test_upward): Likewise.
33659         (exp10_test): Likewise.
33660         (exp2_test): Likewise.
33661         (expm1_test): Likewise.
33662         (fabs_test): Likewise.
33663         (fdim_test): Likewise.
33664         (finite_test): Likewise.
33665         (floor_test): Likewise.
33666         (fma_test): Likewise.
33667         (fma_test_towardzero): Likewise.
33668         (fma_test_downward): Likewise.
33669         (fma_test_upward): Likewise.
33670         (fmax_test): Likewise.
33671         (fmin_test): Likewise.
33672         (fmod_test): Likewise.
33673         (fpclassify_test): Likewise.
33674         (frexp_test): Likewise.
33675         (gamma_test): Likewise.
33676         (hypot_test): Likewise.
33677         (ilogb_test): Likewise.
33678         (isfinite_test): Likewise.
33679         (isgreater_test): Likewise.
33680         (isgreaterequal_test): Likewise.
33681         (isinf_test): Likewise.
33682         (isless_test): Likewise.
33683         (islessequal_test): Likewise.
33684         (islessgreater_test): Likewise.
33685         (isnan_test): Likewise.
33686         (isnormal_test): Likewise.
33687         (issignaling_test): Likewise.
33688         (isunordered_test): Likewise.
33689         (j0_test): Likewise.
33690         (j1_test): Likewise.
33691         (jn_test): Likewise.
33692         (ldexp_test): Likewise.
33693         (lgamma_test): Likewise.
33694         (lrint_test): Likewise.
33695         (lrint_test_tonearest): Likewise.
33696         (lrint_test_towardzero): Likewise.
33697         (lrint_test_downward): Likewise.
33698         (lrint_test_upward): Likewise.
33699         (llrint_test): Likewise.
33700         (llrint_test_tonearest): Likewise.
33701         (llrint_test_towardzero): Likewise.
33702         (llrint_test_downward): Likewise.
33703         (llrint_test_upward): Likewise.
33704         (log_test): Likewise.
33705         (log10_test): Likewise.
33706         (log1p_test): Likewise.
33707         (log2_test): Likewise.
33708         (logb_test): Likewise.
33709         (logb_test_downward): Likewise.
33710         (lround_test): Likewise.
33711         (llround_test): Likewise.
33712         (modf_test): Likewise.
33713         (nearbyint_test): Likewise.
33714         (nextafter_test): Likewise.
33715         (nexttoward_test): Likewise.
33716         (pow_test): Likewise.
33717         (pow_test_tonearest): Likewise.
33718         (pow_test_towardzero): Likewise.
33719         (pow_test_downward): Likewise.
33720         (pow_test_upward): Likewise.
33721         (remainder_test): Likewise.
33722         (remainder_test_tonearest): Likewise.
33723         (remainder_test_towardzero): Likewise.
33724         (remainder_test_downward): Likewise.
33725         (remainder_test_upward): Likewise.
33726         (remquo_test): Likewise.
33727         (rint_test): Likewise.
33728         (rint_test_tonearest): Likewise.
33729         (rint_test_towardzero): Likewise.
33730         (rint_test_downward): Likewise.
33731         (rint_test_upward): Likewise.
33732         (round_test): Likewise.
33733         (scalb_test): Likewise.
33734         (scalbn_test): Likewise.
33735         (scalbln_test): Likewise.
33736         (signbit_test): Likewise.
33737         (sin_test): Likewise.
33738         (sin_test_tonearest): Likewise.
33739         (sin_test_towardzero): Likewise.
33740         (sin_test_downward): Likewise.
33741         (sin_test_upward): Likewise.
33742         (sincos_test): Likewise.
33743         (sinh_test): Likewise.
33744         (sinh_test_tonearest): Likewise.
33745         (sinh_test_towardzero): Likewise.
33746         (sinh_test_downward): Likewise.
33747         (sinh_test_upward): Likewise.
33748         (sqrt_test): Likewise.
33749         (tan_test): Likewise.
33750         (tan_test_tonearest): Likewise.
33751         (tan_test_towardzero): Likewise.
33752         (tan_test_downward): Likewise.
33753         (tan_test_upward): Likewise.
33754         (tanh_test): Likewise.
33755         (tgamma_test): Likewise.
33756         (trunc_test): Likewise.
33757         (y0_test): Likewise.
33758         (y1_test): Likewise.
33759         (yn_test): Likewise.
33760         (significand_test): Likewise.
33762 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33764         [BZ #15381]
33765         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33767 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33769         [BZ #14894]
33770         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33771         __ppc_mdoio and __ppc_mdoom.
33772         * manual/platform.texi: Document new functions __ppc_yield,
33773         __ppc_mdoio and __ppc_mdoom.
33775 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33777         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33778         (main): Mention "tls" pseudo-hwcap is legacy.
33779         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33781 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33783         * math/gen-libm-test.pl (parse_args): Output only string of
33784         arguments as text for test name, not full call or descriptions of
33785         tests for extra outputs.
33786         (generate_testfile): Do not pass function name to parse_args.
33787         Generate this_func variable from START.
33788         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33789         field to arg_str.
33790         (struct test_ff_f_data): Likewise.
33791         (test_ff_f_data_nexttoward): Likewise.
33792         (struct test_fi_f_data): Likewise.
33793         (struct test_fl_f_data): Likewise.
33794         (struct test_if_f_data): Likewise.
33795         (struct test_fff_f_data): Likewise.
33796         (struct test_c_f_data): Likewise.
33797         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33798         (struct test_fF_f1_data): Likewise.
33799         (struct test_ffI_f1_data): Likewise.
33800         (struct test_c_c_data): Rename test_name field to arg_str.
33801         (struct test_cc_c_data): Likewise.
33802         (struct test_f_i_data): Likewise.
33803         (struct test_ff_i_data): Likewise.
33804         (struct test_f_l_data): Likewise.
33805         (struct test_f_L_data): Likewise.
33806         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33807         and extra2_name.
33808         (COMMON_TEST_SETUP): New macro.
33809         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33810         (COMMON_TEST_CLEANUP): Likewise.
33811         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33812         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33813         macros.
33814         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33815         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33816         macros.
33817         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33818         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33819         cleanup macros.
33820         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33821         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33822         macros.
33823         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33824         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33825         macros.
33826         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33827         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33828         cleanup macros.
33829         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33830         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33831         cleanup macros.
33832         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33833         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33834         cleanup macros.
33835         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33836         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33837         macros.
33838         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33839         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33840         macros.
33841         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33842         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33843         macros.
33844         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33845         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33846         cleanup macros.
33847         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33848         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33849         cleanup macros.
33850         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33851         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33852         macros.
33853         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33854         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33855         cleanup macros.
33856         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33857         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33858         macros.
33859         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33860         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33861         macros.
33862         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33863         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33864         cleanup macros.
33865         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33867 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33869         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33870         to _sifields.sigfault.
33871         (si_addr_lsb): Define new macro.
33872         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33873         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33874         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33876 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33878         [BZ #15441]
33879         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33880         returns -1.
33881         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33882         null return -1.
33883         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33884         loading the domain.
33886 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33888         * math/gen-libm-test.pl (parse_args): Do not include expected
33889         result in test name.
33890         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33891         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33892         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33893         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33894         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33897 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33899         * benchtests/Makefile: Sort function entries.
33901         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33902         tanh, asinh, acosh, atanh.
33903         * benchtests/acos-inputs: New file.
33904         * benchtests/acosh-inputs: New file.
33905         * benchtests/asin-inputs: New file.
33906         * benchtests/asinh-inputs: New file.
33907         * benchtests/atanh-inputs: New file.
33908         * benchtests/cosh-inputs: New file.
33909         * benchtests/log-inputs: New file.
33910         * benchtests/sinh-inputs: New file.
33911         * benchtests/tanh-inputs: New file.
33913 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33915         [BZ #15339]
33916         * posix/tst-getaddrinfo4.c: New test.
33917         * posix/Makefile (tests): Add it.
33919 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33921         [BZ #15339]
33922         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33923         when no services were used.
33924         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33925         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33927 2013-05-21  Andreas Schwab  <schwab@suse.de>
33929         [BZ #15014]
33930         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33931         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33932         successful.
33933         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33934         redundant variable declarations and reallocation of buffer when
33935         parsing as IPv6 address.  Always set NSS status when called from
33936         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33937         buffer too small.  Correct computation of needed size.
33938         * nss/Makefile (tests): Add test-digits-dots.
33939         * nss/test-digits-dots.c: New test.
33941 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33943         * benchtests/Makefile: Remove instructions for adding
33944         benchmark tests.
33945         * benchtests/README: New file to explain how to execute and
33946         enhance the benchmark tests.
33948 2013-05-21  Andreas Schwab  <schwab@suse.de>
33950         [BZ #15493]
33951         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33952         * setjmp/tst-sigsetjmp.c: New test.
33954 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33956         * sysdeps/x86_64/memset.S (memset): New implementation.
33957         (__bzero): Likewise.
33958         (__memset_tail): New function.
33960 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33962         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33963         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33964         __memcpy_sse2_unaligned ifunc selection.
33965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33966         Add memcpy-sse2-unaligned.S.
33967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33968         Add: __memcpy_sse2_unaligned.
33970 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33972         [BZ #15490]
33973         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33974         math_force_eval before restoring floating-point envrionment.
33975         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33976         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33977         Likewise.
33978         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33979         <math_private.h>.
33980         (__nearbyintl): Use math_force_eval before restoring
33981         floating-point environment.
33982         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33984         * math/gen-libm-test.pl (special_functions): Remove.
33985         (parse_args): Don't handle TEST_extra.  Handle functions with no
33986         return value.
33987         * math/libm-test.inc (struct test_sincos_data): Replace with
33988         struct test_fFF_11_data.
33989         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33990         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33991         (sincos_test_data): Change element type to struct
33992         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33993         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33994         RUN_TEST_LOOP_sincos.
33995         * math/README.libm-test: Don't mention special handling of
33996         individual functions.
33997         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33998         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33999         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34000         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34001         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34004         * math/gen-libm-test.pl (get_variable): Remove function.
34005         (parse_args): Don't show pointer parameters to call in test
34006         names.  Use "extra output N" in test names for extra outputs
34007         rather than naming variables.
34009 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34011         [BZ #15488]
34012         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34013         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34014         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34015         double tests.
34016         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34017         disable.
34018         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34019         check_long_double.
34021         * math/gen-libm-test.pl (@tests): Remove variable.
34022         ($count): Likewise.
34023         (new_test): Remove function.
34024         (show_exceptions): New function.
34025         (special_functions): Use show_exceptions instead of new_test.
34026         (parse_args): Likewise.
34027         (generate_testfile): Pass only function name in generated call to
34028         print_max_error or print_complex_max_error.
34029         (get_ulps): Do not handle complex tests specially.
34030         (output_test): Rename to ...
34031         (get_all_ulps_for_test): ... this.  Return a string rather than
34032         printing to a file.  Require ulps to be present.
34033         (output_ulps): Generate arrays rather than #defines.
34034         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34035         (struct ulp_data): New type.
34036         (BUILD_COMPLEX_ULP): Remove macro.
34037         (compare_ulp_data): New function.
34038         (find_ulps): Likewise.
34039         (find_test_ulps): Likewise.
34040         (find_function_ulps): Likewise.
34041         (find_complex_function_ulps): Likewise.
34042         (print_max_error): Determine allowed ulps using
34043         find_function_ulps.
34044         (print_complex_max_error): Determine allowed ulps using
34045         find_complex_function_ulps.
34046         (check_float_internal): Determine max ulps using find_test_ulps.
34047         (check_float): Do not take max_ulp parameter.  Update call to
34048         check_float_internal.
34049         (check_complex): Likewise.
34050         (check_int): Do not take max_ulp parameter.
34051         (check_long): Likewise.
34052         (check_bool): Likewise.
34053         (check_longlong): Likewise.
34054         (struct test_f_f_data): Remove max_ulp field.
34055         (struct test_ff_f_data): Likewise.
34056         (struct test_ff_f_data_nexttoward): Likewise.
34057         (struct test_fi_f_data): Likewise.
34058         (struct test_fl_f_data): Likewise.
34059         (struct test_if_f_data): Likewise.
34060         (struct test_fff_f_data): Likewise.
34061         (struct test_c_f_data): Likewise.
34062         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34063         (struct test_fF_f1_data): Likewise.
34064         (struct test_ffI_f1_data): Likewise.
34065         (struct test_c_c_data): Remove max_ulp field.
34066         (struct test_cc_c_data): Likewise.
34067         (struct test_f_i_data): Likewise.
34068         (struct test_ff_i_data): Likewise.
34069         (struct test_f_l_data): Likewise.
34070         (struct test_f_L_data): Likewise.
34071         (struct test_sincos_data): Likewise.
34072         (RUN_TEST_f_f): Do not handle ulps.
34073         (RUN_TEST_LOOP_f_f): Likewise.
34074         (RUN_TEST_2_f): Likewise.
34075         (RUN_TEST_LOOP_2_f): Likewise.
34076         (RUN_TEST_fff_f): Likewise.
34077         (RUN_TEST_LOOP_fff_f): Likewise.
34078         (RUN_TEST_c_f): Likewise.
34079         (RUN_TEST_LOOP_c_f): Likewise.
34080         (RUN_TEST_f_f1): Likewise.
34081         (RUN_TEST_LOOP_f_f1): Likewise.
34082         (RUN_TEST_fF_f1): Likewise.
34083         (RUN_TEST_LOOP_fF_f1): Likewise.
34084         (RUN_TEST_fI_f1): Likewise.
34085         (RUN_TEST_LOOP_fI_f1): Likewise.
34086         (RUN_TEST_ffI_f1): Likewise.
34087         (RUN_TEST_LOOP_ffI_f1): Likewise.
34088         (RUN_TEST_c_c): Likewise.
34089         (RUN_TEST_LOOP_c_c): Likewise.
34090         (RUN_TEST_cc_c): Likewise.
34091         (RUN_TEST_LOOP_cc_c): Likewise.
34092         (RUN_TEST_f_i): Likewise.
34093         (RUN_TEST_LOOP_f_i): Likewise.
34094         (RUN_TEST_f_i_tg): Likewise.
34095         (RUN_TEST_LOOP_f_i_tg): Likewise.
34096         (RUN_TEST_ff_i_tg): Likewise.
34097         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34098         (RUN_TEST_f_b): Likewise.
34099         (RUN_TEST_LOOP_f_b): Likewise.
34100         (RUN_TEST_f_b_tg): Likewise.
34101         (RUN_TEST_LOOP_f_b_tg): Likewise.
34102         (RUN_TEST_f_l): Likewise.
34103         (RUN_TEST_LOOP_f_l): Likewise.
34104         (RUN_TEST_f_L): Likewise.
34105         (RUN_TEST_LOOP_f_L): Likewise.
34106         (RUN_TEST_sincos): Likewise.
34107         (RUN_TEST_LOOP_sincos): Likewise.
34109 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34111         [BZ #15480]
34112         [BZ #15485]
34113         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34114         main case of finite arguments, set rounding mode to FE_TONEAREST
34115         and discard exceptions.
34116         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34117         exceptions.
34118         (remainder_tonearest_test_data): New variable.
34119         (remainder_test_tonearest): New function.
34120         (remainder_towardzero_test_data): New variable.
34121         (remainder_test_towardzero): New function.
34122         (remainder_downward_test_data): New variable.
34123         (remainder_test_downward): New function.
34124         (remainder_upward_test_data): New variable.
34125         (remainder_test_upward): New function.
34126         (main): Call the new test functions.
34128         * math/libm-test.inc (struct test_f_f1_data): Remove field
34129         extra_init.
34130         (struct test_fF_f1_data): Likewise.
34131         (struct test_ffI_f1_data): Likewise.
34132         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34133         based on value of EXTRA_EXPECTED.
34134         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34135         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34136         EXTRA_VAR based on value of EXTRA_EXPECTED.
34137         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34138         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34139         EXTRA_VAR based on value of EXTRA_EXPECTED.
34140         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34141         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34142         EXTRA_VAR based on value of EXTRA_EXPECTED.
34143         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34144         * math/gen-libm-test.pl (parse_args): Don't output initializers
34145         for extra output values.
34147         * math/libm-test.inc (check_int): Expect result to be exactly
34148         equal to expected value and do not handle ulps.
34149         (check_long): Likewise.
34150         (check_longlong): Likewise.
34152         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34153         exceptions.
34154         (cimag_test_data): Likewise.
34155         (conj_test_data): Likewise.
34156         (copysign_test_data): Likewise.
34157         (cproj_test_data): Likewise.
34158         (creal_test_data): Likewise.
34159         (fabs_test_data): Likewise.
34160         (fdim_test_data): Likewise.
34161         (finite_test_data): Likewise.
34162         (floor_test_data): Likewise.
34163         (fmax_test_data): Likewise.
34164         (fmin_test_data): Likewise.
34165         (fmod_test_data): Likewise.
34166         (fpclassify_test_data): Likewise.
34167         (frexp_test_data): Likewise.
34168         (ilogb_test_data): Likewise.
34169         (isfinite_test_data): Likewise.
34170         (isgreater_test_data): Likewise.
34171         (isgreaterequal_test_data): Likewise.
34172         (isinf_test_data): Likewise.
34173         (isless_test_data): Likewise.
34174         (islessequal_test_data): Likewise.
34175         (islessgreater_test_data): Likewise.
34176         (isnan_test_data): Likewise.
34177         (isnormal_test_data): Likewise.
34178         (issignaling_test_data): Likewise.
34179         (isunordered_test_data): Likewise.
34180         (ldexp_test_data): Likewise.
34181         (lrint_test_data): Likewise.
34182         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34183         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34184         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34185         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34186         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34187         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34188         test input.
34189         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34190         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34191         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34192         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34193         that test input.
34194         (lrint_downward_test_data): Test for "inexact" exceptions.
34195         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34196         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34197         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34198         test input.
34199         (lrint_upward_test_data): Test for "inexact" exceptions.
34200         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34201         test input.
34202         (llrint_test_data): Test for "inexact" exceptions.
34203         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34204         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34205         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34206         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34207         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34208         (llrint_downward_test_data): Test for "inexact" exceptions.
34209         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34210         (llrint_upward_test_data): Test for "inexact" exceptions.
34211         (logb_test_data): Likewise.
34212         (logb_downward_test_data): Likewise.
34213         (nextafter_test_data): Likewise.
34214         (nexttoward_test_data): Likewise.
34215         (remainder_test_data): Likewise.
34216         (remquo_test_data): Likewise.
34217         (scalbn_test_data): Likewise.
34218         (scalbln_test_data): Likewise.
34219         (signbit_test_data): Likewise.
34220         (sqrt_test_data): Likewise.
34221         (significand_test_data): Likewise.
34223 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34225         [BZ #15424]
34226         * benchtests/bench-modf.c (struct args): Mark arg0 as
34227         volatile.
34228         * scripts/bench.pl: Mark members of struct args as volatile.
34230 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34232         [BZ # 15497]
34233         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34234         negative infinity on POWER6 or lower.
34235         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34237 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34239         [BZ #15442]
34240         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34241         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34242         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34243         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34244         (_FP_SETQNAN): New macro.
34245         (_FP_SETQNAN_SEMIRAW): Likewise.
34246         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34247         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34248         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34249         (FP_EXTEND): Use _FP_FRAC_SNANP.
34250         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34251         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34252         into account.
34253         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34254         New macro.
34255         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34256         Likewise.
34258 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34260         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34261         with DIVIDE_BY_ZERO_EXCEPTION.
34262         (gamma_test_data): Likewise.
34263         (lgamma_test_data): Likewise.
34264         (log_test_data): Likewise.
34265         (log10_test_data): Likewise.
34266         (log2_test_data): Likewise.
34267         (tgamma_test_data): Likewise.
34269         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34270         (acos_test_tonearest): Likewise.
34271         (acos_test_towardzero): Likewise.
34272         (acos_test_downward): Likewise.
34273         (acos_test_upward): Likewise.
34274         (acosh_test): Likewise.
34275         (asin_test): Likewise.
34276         (asin_test_tonearest): Likewise.
34277         (asin_test_towardzero): Likewise.
34278         (asin_test_downward): Likewise.
34279         (asin_test_upward): Likewise.
34280         (asinh_test): Likewise.
34281         (atan_test): Likewise.
34282         (atanh_test): Likewise.
34283         (atan2_test): Likewise.
34284         (cabs_test): Likewise.
34285         (cacos_test): Likewise.
34286         (cacosh_test): Likewise.
34287         (casin_test): Likewise.
34288         (casinh_test): Likewise.
34289         (catan_test): Likewise.
34290         (catanh_test): Likewise.
34291         (cbrt_test): Likewise.
34292         (ccos_test): Likewise.
34293         (ccosh_test): Likewise.
34294         (cexp_test): Likewise.
34295         (clog_test): Likewise.
34296         (clog10_test): Likewise.
34297         (cos_test): Likewise.
34298         (cos_test_tonearest): Likewise.
34299         (cos_test_towardzero): Likewise.
34300         (cos_test_downward): Likewise.
34301         (cos_test_upward): Likewise.
34302         (cosh_test): Likewise.
34303         (cosh_test_tonearest): Likewise.
34304         (cosh_test_towardzero): Likewise.
34305         (cosh_test_downward): Likewise.
34306         (cosh_test_upward): Likewise.
34307         (cpow_test): Likewise.
34308         (csin_test): Likewise.
34309         (csinh_test): Likewise.
34310         (csqrt_test): Likewise.
34311         (ctan_test): Likewise.
34312         (ctan_test_tonearest): Likewise.
34313         (ctan_test_towardzero): Likewise.
34314         (ctan_test_downward): Likewise.
34315         (ctan_test_upward): Likewise.
34316         (ctanh_test): Likewise.
34317         (ctanh_test_tonearest): Likewise.
34318         (ctanh_test_towardzero): Likewise.
34319         (ctanh_test_downward): Likewise.
34320         (ctanh_test_upward): Likewise.
34321         (erf_test): Likewise.
34322         (erfc_test): Likewise.
34323         (exp_test): Likewise.
34324         (exp_test_tonearest): Likewise.
34325         (exp_test_towardzero): Likewise.
34326         (exp_test_downward): Likewise.
34327         (exp_test_upward): Likewise.
34328         (exp10_test): Likewise.
34329         (exp2_test): Likewise.
34330         (expm1_test): Likewise.
34331         (fmod_test): Likewise.
34332         (gamma_test): Likewise.
34333         (hypot_test): Likewise.
34334         (j0_test): Likewise.
34335         (j1_test): Likewise.
34336         (jn_test): Likewise.
34337         (lgamma_test): Likewise.
34338         (log_test): Likewise.
34339         (log10_test): Likewise.
34340         (log1p_test): Likewise.
34341         (log2_test): Likewise.
34342         (logb_test_downward): Likewise.
34343         (pow_test): Likewise.
34344         (pow_test_tonearest): Likewise.
34345         (pow_test_towardzero): Likewise.
34346         (pow_test_downward): Likewise.
34347         (pow_test_upward): Likewise.
34348         (remainder_test): Likewise.
34349         (remquo_test): Likewise.
34350         (sin_test): Likewise.
34351         (sin_test_tonearest): Likewise.
34352         (sin_test_towardzero): Likewise.
34353         (sin_test_downward): Likewise.
34354         (sin_test_upward): Likewise.
34355         (sincos_test): Likewise.
34356         (sinh_test): Likewise.
34357         (sinh_test_tonearest): Likewise.
34358         (sinh_test_towardzero): Likewise.
34359         (sinh_test_downward): Likewise.
34360         (sinh_test_upward): Likewise.
34361         (sqrt_test): Likewise.
34362         (tan_test): Likewise.
34363         (tan_test_tonearest): Likewise.
34364         (tan_test_towardzero): Likewise.
34365         (tan_test_downward): Likewise.
34366         (tan_test_upward): Likewise.
34367         (tanh_test): Likewise.
34368         (tgamma_test): Likewise.
34369         (y0_test): Likewise.
34370         (y1_test): Likewise.
34371         (yn_test): Likewise.
34373         * math/gen-libm-test.pl (adjust_arg): Remove function.
34374         (special_function): Remove argument $in_func.  Only handle
34375         generating output for tables of tests, not inside functions.
34376         (parse_args): Likewise.
34377         (generate_testfile): Remove variable $in_func.  Update call to
34378         parse_args.
34379         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34380         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34381         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34382         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34383         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34384         (MAX_VALUE_INIT): Rename macro to max_value.
34385         (MIN_VALUE_INIT): Rename macro to min_value.
34386         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34387         (plus_zero): Remove variable.
34388         (minus_zero): Likewise.
34389         (plus_infty): Likewise.
34390         (minus_infty): Likewise.
34391         (qnan_value): Likewise.
34392         (max_value): Likewise.
34393         (min_value): Likewise.
34394         (min_subnorm_value): Likewise.
34396 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34398         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34399         uint64_t or uint32_t usage.
34400         * crypt/sha256-block.c: Likewise.
34401         * crypt/sha256-crypt.c: Likewise.
34402         * crypt/sha256.c: Likewise.
34403         * crypt/sha512-block.c: Likewise.
34404         * crypt/sha512-crypt.c: Likewise.
34405         * crypt/sha512.c: Likewise.
34406         * debug/backtrace-tst.c: Likewise.
34407         * debug/pcprofiledump.c: Likewise.
34408         * elf/cache.c: Likewise.
34409         * elf/dl-cache.c: Likewise.
34410         * elf/dl-misc.c: Likewise.
34411         * elf/dl-profile.c: Likewise.
34412         * elf/dl-support.c: Likewise.
34413         * elf/ldconfig.c: Likewise.
34414         * elf/sprof.c: Likewise.
34415         * iconv/dummy-repertoire.c: Likewise.
34416         * iconv/iconv_charmap.c: Likewise.
34417         * iconv/skeleton.c: Likewise.
34418         * iconvdata/8bit-generic.c: Likewise.
34419         * iconvdata/cp737.h: Likewise.
34420         * iconvdata/cp775.h: Likewise.
34421         * iconvdata/ibm1008.h: Likewise.
34422         * iconvdata/ibm1025.h: Likewise.
34423         * iconvdata/ibm1046.h: Likewise.
34424         * iconvdata/ibm1097.h: Likewise.
34425         * iconvdata/ibm1112.h: Likewise.
34426         * iconvdata/ibm1122.h: Likewise.
34427         * iconvdata/ibm1123.h: Likewise.
34428         * iconvdata/ibm1124.h: Likewise.
34429         * iconvdata/ibm1129.h: Likewise.
34430         * iconvdata/ibm1130.h: Likewise.
34431         * iconvdata/ibm1132.h: Likewise.
34432         * iconvdata/ibm1133.h: Likewise.
34433         * iconvdata/ibm1137.h: Likewise.
34434         * iconvdata/ibm1140.h: Likewise.
34435         * iconvdata/ibm1141.h: Likewise.
34436         * iconvdata/ibm1142.h: Likewise.
34437         * iconvdata/ibm1143.h: Likewise.
34438         * iconvdata/ibm1144.h: Likewise.
34439         * iconvdata/ibm1145.h: Likewise.
34440         * iconvdata/ibm1146.h: Likewise.
34441         * iconvdata/ibm1147.h: Likewise.
34442         * iconvdata/ibm1148.h: Likewise.
34443         * iconvdata/ibm1149.h: Likewise.
34444         * iconvdata/ibm1153.h: Likewise.
34445         * iconvdata/ibm1154.h: Likewise.
34446         * iconvdata/ibm1155.h: Likewise.
34447         * iconvdata/ibm1156.h: Likewise.
34448         * iconvdata/ibm1157.h: Likewise.
34449         * iconvdata/ibm1158.h: Likewise.
34450         * iconvdata/ibm1160.h: Likewise.
34451         * iconvdata/ibm1161.h: Likewise.
34452         * iconvdata/ibm1162.h: Likewise.
34453         * iconvdata/ibm1163.h: Likewise.
34454         * iconvdata/ibm1164.h: Likewise.
34455         * iconvdata/ibm1166.h: Likewise.
34456         * iconvdata/ibm1167.h: Likewise.
34457         * iconvdata/ibm12712.h: Likewise.
34458         * iconvdata/ibm1390.h: Likewise.
34459         * iconvdata/ibm1399.h: Likewise.
34460         * iconvdata/ibm16804.h: Likewise.
34461         * iconvdata/ibm4517.h: Likewise.
34462         * iconvdata/ibm4899.h: Likewise.
34463         * iconvdata/ibm4909.h: Likewise.
34464         * iconvdata/ibm4971.h: Likewise.
34465         * iconvdata/ibm5347.h: Likewise.
34466         * iconvdata/ibm803.h: Likewise.
34467         * iconvdata/ibm856.h: Likewise.
34468         * iconvdata/ibm901.h: Likewise.
34469         * iconvdata/ibm902.h: Likewise.
34470         * iconvdata/ibm9030.h: Likewise.
34471         * iconvdata/ibm9066.h: Likewise.
34472         * iconvdata/ibm921.h: Likewise.
34473         * iconvdata/ibm922.h: Likewise.
34474         * iconvdata/ibm9448.h: Likewise.
34475         * iconvdata/isiri-3342.h: Likewise.
34476         * iconvdata/jis0201.h: Likewise.
34477         * include/link.h: Likewise.
34478         * include/netdb.h: Likewise.
34479         * inet/check_native.c: Likewise.
34480         * inet/check_pf.c: Likewise.
34481         * inet/getipv4sourcefilter.c: Likewise.
34482         * inet/getnameinfo.c: Likewise.
34483         * inet/getsourcefilter.c: Likewise.
34484         * inet/htonl.c: Likewise.
34485         * inet/setipv4sourcefilter.c: Likewise.
34486         * inet/setsourcefilter.c: Likewise.
34487         * inet/test-inet6_opt.c: Likewise.
34488         * inet/tst-network.c: Likewise.
34489         * locale/C-collate.c: Likewise.
34490         * locale/C-ctype.c: Likewise.
34491         * locale/C-time.c: Likewise.
34492         * locale/C-translit.h: Likewise.
34493         * locale/loadarchive.c: Likewise.
34494         * locale/programs/3level.h: Likewise.
34495         * locale/programs/charmap.c: Likewise.
34496         * locale/programs/charmap.h: Likewise.
34497         * locale/programs/ld-address.c: Likewise.
34498         * locale/programs/ld-collate.c: Likewise.
34499         * locale/programs/ld-ctype.c: Likewise.
34500         * locale/programs/ld-identification.c: Likewise.
34501         * locale/programs/ld-measurement.c: Likewise.
34502         * locale/programs/ld-messages.c: Likewise.
34503         * locale/programs/ld-monetary.c: Likewise.
34504         * locale/programs/ld-name.c: Likewise.
34505         * locale/programs/ld-numeric.c: Likewise.
34506         * locale/programs/ld-paper.c: Likewise.
34507         * locale/programs/ld-telephone.c: Likewise.
34508         * locale/programs/ld-time.c: Likewise.
34509         * locale/programs/linereader.c: Likewise.
34510         * locale/programs/locale.c: Likewise.
34511         * locale/programs/locarchive.c: Likewise.
34512         * locale/programs/locfile.h: Likewise.
34513         * locale/programs/repertoire.c: Likewise.
34514         * locale/programs/simple-hash.c: Likewise.
34515         * locale/programs/simple-hash.h: Likewise.
34516         * malloc/memusage.c: Likewise.
34517         * malloc/memusagestat.c: Likewise.
34518         * nis/nis_defaults.c: Likewise.
34519         * nis/nis_hash.c: Likewise.
34520         * nis/nis_print.c: Likewise.
34521         * nis/nis_xdr.c: Likewise.
34522         * nscd/connections.c: Likewise.
34523         * nscd/hstcache.c: Likewise.
34524         * nscd/nscd_gethst_r.c: Likewise.
34525         * nscd/nscd_getserv_r.c: Likewise.
34526         * nscd/nscd_helper.c: Likewise.
34527         * nscd/servicescache.c: Likewise.
34528         * nss/makedb.c: Likewise.
34529         * nss/nss_db/db-XXX.c: Likewise.
34530         * nss/nss_db/db-initgroups.c: Likewise.
34531         * nss/nss_db/db-netgrp.c: Likewise.
34532         * nss/nss_files/files-network.c: Likewise.
34533         * nss/nss_files/files-parse.c: Likewise.
34534         * posix/bug-regex5.c: Likewise.
34535         * posix/fnmatch_loop.c: Likewise.
34536         * posix/regcomp.c: Likewise.
34537         * posix/regexec.c: Likewise.
34538         * posix/tst-rfc3484-2.c: Likewise.
34539         * posix/tst-rfc3484-3.c: Likewise.
34540         * posix/tst-rfc3484.c: Likewise.
34541         * resolv/nss_dns/dns-canon.c: Likewise.
34542         * resolv/nss_dns/dns-network.c: Likewise.
34543         * resolv/res_init.c: Likewise.
34544         * resolv/res_mkquery.c: Likewise.
34545         * resolv/tst-aton.c: Likewise.
34546         * stdlib/cxa_atexit.c: Likewise.
34547         * stdlib/cxa_finalize.c: Likewise.
34548         * stdlib/gen-fpioconst.c: Likewise.
34549         * stdlib/strtol_l.c: Likewise.
34550         * string/tst-endian.c: Likewise.
34551         * sunrpc/auth_des.c: Likewise.
34552         * sunrpc/clnt_udp.c: Likewise.
34553         * sunrpc/rtime.c: Likewise.
34554         * sunrpc/svcauth_des.c: Likewise.
34555         * sunrpc/xdr.c: Likewise.
34556         * sunrpc/xdr_intXX_t.c: Likewise.
34557         * sunrpc/xdr_rec.c: Likewise.
34558         * sysdeps/generic/ldconfig.h: Likewise.
34559         * sysdeps/generic/ldsodefs.h: Likewise.
34560         * sysdeps/generic/memusage.h: Likewise.
34561         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34562         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34563         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34564         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34565         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34566         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34567         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34568         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34569         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34570         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34571         * sysdeps/posix/getaddrinfo.c: Likewise.
34572         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34573         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34574         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34575         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34576         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34577         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34578         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34579         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34580         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34581         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34582         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34583         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34584         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34585         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34586         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34587         * sysdeps/x86_64/dl-tls.h: Likewise.
34588         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34589         * time/alt_digit.c: Likewise.
34590         * time/era.c: Likewise.
34591         * wcsmbs/tst-c16c32-1.c: Likewise.
34593 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34595         * math/libm-test.inc (struct test_sincos_data): New type.
34596         (RUN_TEST_LOOP_sincos): New macro.
34597         (sincos_test_data): New variable.
34598         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34600 2013-05-16  Richard Henderson  <rth@redhat.com>
34602         * math/atest-exp2.c (LIMB64): New macro.
34603         (CONSTSZ): New macro.
34604         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34605         (hexdig): Move ...
34606         (print_mpn_fp): ... to function scope.
34607         (read_mpn_hex): Remove.
34608         (get_log2): Remove.
34609         (exp2_mpn): Use mp_log2.
34610         (main): Use mp_exp1.
34612 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34614         * math/libm-test.inc: Remove comment about not testing "inexact"
34615         exceptions.
34616         (INEXACT_EXCEPTION): New macro.
34617         (NO_INEXACT_EXCEPTION): Likewise.
34618         (INVALID_EXCEPTION_OK): Update value.
34619         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34620         (OVERFLOW_EXCEPTION_OK): Likewise.
34621         (UNDERFLOW_EXCEPTION_OK): Likewise.
34622         (IGNORE_ZERO_INF_SIGN): Likewise.
34623         (ERRNO_UNCHANGED): Likewise.
34624         (ERRNO_EDOM): Likewise.
34625         (ERRNO_ERANGE): Likewise.
34626         (test_exceptions): Handle testing "inexact" exceptions.
34627         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34628         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34629         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34630         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34631         INEXACT_EXCEPTION.
34632         (rint_towardzero_test_data): Likewise.
34633         (rint_downward_test_data): Likewise.
34634         (rint_upward_test_data): Likewise.
34636         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34637         with OVERFLOW_EXCEPTION.
34638         (exp10_test_data): Likewise.
34639         (exp2_test_data): Likewise.
34640         (expm1_test_data): Likewise.
34641         (lgamma_test_data): Likewise.
34642         (pow_test_data): Likewise.
34643         (tgamma_test_data): Likewise.
34644         (yn_test_data): Remove duplicate test of overflow.
34646         * math/libm-test.inc (struct test_cc_c_data): New type.
34647         (RUN_TEST_LOOP_cc_c): New macro.
34648         (cpow_test_data): New variable.
34649         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34651         * math/libm-test.inc (struct test_f_L_data): New type.
34652         (RUN_TEST_LOOP_f_L): New macro.
34653         (llrint_test_data): New variable.
34654         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34655         (llrint_tonearest_test_data): New variable.
34656         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34657         (llrint_towardzero_test_data): New variable.
34658         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34659         (llrint_downward_test_data): New variable.
34660         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34661         (llrint_upward_test_data): New variable.
34662         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34663         (llround_test_data): New variable.
34664         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34666 2013-05-13  Peter Collingbourne  <pcc@google.com>
34668         * math/atest-exp2.c (get_log2): Remove const attribute.
34670 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34672         * math/libm-test.inc (struct test_f_l_data): New type.
34673         (RUN_TEST_LOOP_f_l): New macro.
34674         (lrint_test_data): New variable.
34675         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34676         (lrint_tonearest_test_data): New variable.
34677         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34678         (lrint_towardzero_test_data): New variable.
34679         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34680         (lrint_downward_test_data): New variable.
34681         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34682         (lrint_upward_test_data): New variable.
34683         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34684         (lround_test_data): New variable.
34685         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34687 2013-05-15  Peter Collingbourne  <pcc@google.com>
34689         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34690         (EXTRACT_WORDS64) Use where appropriate.
34691         (INSERT_WORDS64) Likewise.
34693         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34694         constraints with x constraints.
34695         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34697         * malloc/obstack.c (_obstack_compat): Add initializer.
34699 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34701         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34702         si_trapno and add si_addr_lsb to _sifields.sigfault.
34703         (si_trapno): Remove macro.
34704         (si_addr_lsb): Define new macro.
34705         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34707 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34709         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34710         instead of TEST_f_l.
34711         (llrint_test_tonearest): Likewise.
34712         (llrint_test_towardzero): Likewise.
34713         (llrint_test_downward): Likewise.
34714         (llrint_test_upward): Likewise.
34715         (llround_test): Likewise.
34717         * math/libm-test.inc (struct test_f_i_data): Add comment.
34718         (RUN_TEST_LOOP_f_b): New macro.
34719         (RUN_TEST_LOOP_f_b_tg): Likewise.
34720         (finite_test_data): New variable.
34721         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34722         (isfinite_test_data): New variable.
34723         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34724         (isinf_test_data): New variable.
34725         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34726         (isnan_test_data): New variable.
34727         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34728         (isnormal_test_data): New variable.
34729         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34730         (issignaling_test_data): New variable.
34731         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34732         (signbit_test_data): New variable.
34733         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34735         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34736         with INVALID_EXCEPTION.
34737         (acosh_test_data): Likewise.
34738         (asin_test_data): Likewise.
34739         (atanh_test_data): Likewise.
34740         (fmod_test_data): Likewise.
34741         (log_test_data): Likewise.
34742         (log10_test_data): Likewise.
34743         (log2_test_data): Likewise.
34744         (pow_test_data): Likewise.
34745         (sqrt_test_data): Likewise.
34746         (y0_test_data): Likewise.
34747         (y1_test_data): Likewise.
34748         (yn_test_data): Likewise.
34750         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34751         function contents.
34753         * math/libm-test.inc (struct test_ff_i_data): New type.
34754         (RUN_TEST_LOOP_ff_i_tg): New macro.
34755         (isgreater_test_data): New variable.
34756         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34757         (isgreaterequal_test_data): New variable.
34758         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34759         (isless_test_data): New variable.
34760         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34761         (islessequal_test_data): New variable.
34762         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34763         (islessgreater_test_data): New variable.
34764         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34765         (isunordered_test_data): New variable.
34766         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34768 2013-05-14  David S. Miller  <davem@davemloft.net>
34770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34772 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34774         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34776         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34777         extra_test to int.
34778         (struct test_f_i_data): Change type of max_ulp to int.
34780         * math/libm-test.inc (test_ffI_f1_data): New type.
34781         (RUN_TEST_LOOP_ffI_f1): New macro.
34782         (remquo_test_data): New variable.
34783         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34785         * setjmp/tst-setjmp-fp.c: New file.
34786         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34787         (link-libm): New variable.
34788         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34790         * math/libm-test.inc (struct test_f_i_data): New type.
34791         (RUN_TEST_LOOP_f_i): New macro.
34792         (RUN_TEST_LOOP_f_i_tg): Likewise.
34793         (fpclassify_test_data): New variable.
34794         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34795         (ilogb_test_data): New variable.
34796         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34798         * math/libm-test.inc (scalbln_test): Correct function name in END
34799         call.
34801         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34802         (RUN_TEST_LOOP_fI_f1): New macro.
34803         (frexp_test_data): New variable.
34804         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34806         * math/libm-test.inc (struct test_fF_f1_data): New type.
34807         (RUN_TEST_LOOP_fF_f1): New macro.
34808         (modf_test_data): New variable.
34809         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34811         * math/libm-test.inc (struct test_f_f1_data): New type.
34812         (RUN_TEST_LOOP_f_f1): New macro.
34813         (gamma_test_data): New variable.
34814         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34815         (lgamma_test_data): New variable.
34816         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34818 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34820         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34821         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34822         (main): Comment "tls" pseudo-hwcap.
34824 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34826         * math/libm-test.inc (struct test_fl_f_data): New type.
34827         (RUN_TEST_LOOP_fl_f): New variable.
34828         (scalbln_test_data): New variable.
34829         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34831         * math/libm-test.inc (struct test_fi_f_data): New type.
34832         (RUN_TEST_LOOP_fi_f): New macro.
34833         (ldexp_test_data): New variable.
34834         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34835         (scalbn_test_data): New variable.
34836         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34838         * math/libm-test.inc (struct test_c_f_data): New type.
34839         (RUN_TEST_LOOP_c_f): New macro.
34840         (cabs_test_data): New variable.
34841         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34842         (carg_test_data): New variable.
34843         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34844         (cimag_test_data): New variable.
34845         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34846         (creal_test_data): New variable.
34847         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34849         * math/libm-test.inc (struct test_if_f_data): New type.
34850         (RUN_TEST_LOOP_if_f): New macro.
34851         (jn_test_data): New variable.
34852         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34853         (yn_test_data): New variable.
34854         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34856         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34858 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34860         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34861         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34863 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34865         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34866         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34867         (bench-deps): Add bench-timing.h.
34868         * benchtests-bench-skeleton.c: Include bench-timing.h.
34869         (main): Use TIMING_* macros instead of clock_gettime.
34870         * benchtests/bench-timing.h: New file.
34872         [BZ #14582]
34873         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34874         Renamed from _LIB_VERSION.
34875         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34877 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34879         * math/libm-test.inc (struct test_fff_f_data): New type.
34880         (RUN_TEST_LOOP_fff_f): New macro.
34881         (fma_test_data): New variable.
34882         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34883         (fma_towardzero_test_data): New variable.
34884         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34885         (fma_downward_test_data): New variable.
34886         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34887         (fma_upward_test_data): New variable.
34888         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34890         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34891         (struct test_c_c_data): New type.
34892         (RUN_TEST_LOOP_c_c): New macro.
34893         (cacos_test_data): New variable.
34894         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34895         (cacosh_test_data): New variable.
34896         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34897         (casin_test_data): New variable.
34898         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34899         (casinh_test_data): New variable.
34900         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34901         (catan_test_data): New variable.
34902         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34903         (catanh_test_data): New variable.
34904         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34905         (ccos_test_data): New variable.
34906         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34907         (ccosh_test_data): New variable.
34908         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34909         (cexp_test_data): New variable.
34910         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34911         (clog_test_data): New variable.
34912         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34913         (clog10_test_data): New variable.
34914         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34915         (conj_test_data): New variable.
34916         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34917         (cproj_test_data): New variable.
34918         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34919         (csin_test_data): New variable.
34920         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34921         (csinh_test_data): New variable.
34922         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34923         (csqrt_test_data): New variable.
34924         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34925         (ctan_test_data): New variable.
34926         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34927         (ctan_tonearest_test_data): New variable.
34928         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34929         (ctan_towardzero_test_data): New variable.
34930         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34931         (ctan_downward_test_data): New variable.
34932         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34933         (ctan_upward_test_data): New variable.
34934         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34935         (ctanh_test_data): New variable.
34936         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34937         (ctanh_tonearest_test_data): New variable.
34938         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34939         (ctanh_towardzero_test_data): New variable.
34940         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34941         (ctanh_downward_test_data): New variable.
34942         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34943         (ctanh_upward_test_data): New variable.
34944         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34945         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34946         of BUILD_COMPLEX.
34948         * math/libm-test.inc (struct test_ff_f_data): New type.
34949         (struct test_ff_f_data_nexttoward): Likewise.
34950         (RUN_TEST_LOOP_2_f): New macro.
34951         (RUN_TEST_LOOP_ff_f): Likewise.
34952         (atan2_test_data): New variable.
34953         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34954         (copysign_test_data): New variable.
34955         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34956         (fdim_test_data): New variable.
34957         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34958         (fmax_test_data): New variable.
34959         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34960         (fmin_test_data): New variable.
34961         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34962         (fmod_test_data): New variable.
34963         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34964         (hypot_test_data): New variable.
34965         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34966         (nextafter_test_data): New variable.
34967         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34968         (nexttoward_test_data): New variable.
34969         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34970         (pow_test_data): New variable.
34971         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34972         (pow_tonearest_test_data): New variable.
34973         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34974         (pow_towardzero_test_data): New variable.
34975         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34976         (pow_downward_test_data): New variable.
34977         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34978         (pow_upward_test_data): New variable.
34979         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34980         (remainder_test_data): New variable.
34981         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34982         (scalb_test_data): New variable.
34983         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34984         * sysdeps/i386/fpu/libm-test-ulps: Update.
34986 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34988         * math/libm-test.inc (fma_test): Use max_value instead of local
34989         variable fltmax.
34990         (nextafter_test): Likewise.
34992         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34993         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34994         (acos_downward_test_data): New variable.
34995         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34996         (acos_upward_test_data): New variable.
34997         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34998         (acosh_test_data): New variable.
34999         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35000         (asin_test_data): New variable.
35001         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35002         (asin_tonearest_test_data): New variable.
35003         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35004         (asin_towardzero_test_data): New variable.
35005         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35006         (asin_downward_test_data): New variable.
35007         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35008         (asin_upward_test_data): New variable.
35009         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35010         (asinh_test_data): New variable.
35011         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35012         (atan_test_data): New variable.
35013         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35014         (atanh_test_data): New variable.
35015         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35016         (cbrt_test_data): New variable.
35017         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35018         (ceil_test_data): New variable.
35019         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35020         (cos_test_data): New variable.
35021         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35022         (cos_tonearest_test_data): New variable.
35023         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35024         (cos_towardzero_test_data): New variable.
35025         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35026         (cos_downward_test_data): New variable.
35027         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35028         (cos_upward_test_data): New variable.
35029         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35030         (cosh_test_data): New variable.
35031         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35032         (cosh_tonearest_test_data): New variable.
35033         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35034         (cosh_towardzero_test_data): New variable.
35035         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35036         (cosh_downward_test_data): New variable.
35037         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35038         (cosh_upward_test_data): New variable.
35039         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35040         (erf_test_data): New variable.
35041         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35042         (erfc_test_data): New variable.
35043         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35044         (exp_test_data): New variable.
35045         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35046         (exp_tonearest_test_data): New variable.
35047         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35048         (exp_towardzero_test_data): New variable.
35049         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35050         (exp_downward_test_data): New variable.
35051         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35052         (exp_upward_test_data): New variable.
35053         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35054         (exp10_test_data): New variable.
35055         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35056         (exp2_test_data): New variable.
35057         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35058         (expm1_test_data): New variable.
35059         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35060         (fabs_test_data): New variable.
35061         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35062         (floor_test_data): New variable.
35063         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35064         (j0_test_data): New variable.
35065         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35066         (j1_test_data): New variable.
35067         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35068         (log_test_data): New variable.
35069         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35070         (log10_test_data): New variable.
35071         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35072         (log1p_test_data): New variable.
35073         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35074         (log2_test_data): New variable.
35075         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35076         (logb_test_data): New variable.
35077         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35078         (logb_downward_test_data): New variable.
35079         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35080         (nearbyint_test_data): New variable.
35081         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35082         (rint_test_data): New variable.
35083         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35084         (rint_tonearest_test_data): New variable.
35085         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35086         (rint_towardzero_test_data): New variable.
35087         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35088         (rint_downward_test_data): New variable.
35089         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35090         (rint_upward_test_data): New variable.
35091         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35092         (round_test_data): New variable.
35093         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35094         (sin_test_data): New variable.
35095         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35096         (sin_tonearest_test_data): New variable.
35097         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35098         (sin_towardzero_test_data): New variable.
35099         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35100         (sin_downward_test_data): New variable.
35101         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35102         (sin_upward_test_data): New variable.
35103         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35104         (sinh_test_data): New variable.
35105         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35106         (sinh_tonearest_test_data): New variable.
35107         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35108         (sinh_towardzero_test_data): New variable.
35109         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35110         (sinh_downward_test_data): New variable.
35111         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35112         (sinh_upward_test_data): New variable.
35113         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35114         (sqrt_test_data): New variable.
35115         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35116         (tan_test_data): New variable.
35117         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35118         (tan_tonearest_test_data): New variable.
35119         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35120         (tan_towardzero_test_data): New variable.
35121         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35122         (tan_downward_test_data): New variable.
35123         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35124         (tan_upward_test_data): New variable.
35125         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35126         (tanh_test_data): New variable.
35127         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35128         (tgamma_test_data): New variable.
35129         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35130         (trunc_test_data): New variable.
35131         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35132         (y0_test_data): New variable.
35133         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35134         (y1_test_data): New variable.
35135         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35136         (significand_test_data): New variable.
35137         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35139 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35141         [BZ #12387]
35142         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35144 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35146         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35148 2013-05-10  Andreas Jaeger  <aj@suse.de>
35150         [BZ #15448]
35151         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35152         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35154 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35156         * math/gen-libm-test.pl (adjust_arg): New function.
35157         (special_functions): Handle generating output in both functions
35158         and arrays.
35159         (parse_args): Likewise.
35160         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35161         $in_func argument to parse_args.
35162         * math/libm-test.inc (struct test_f_f_data): New type.
35163         (IF_ROUND_INIT_): New macro.
35164         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35165         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35166         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35167         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35168         (ROUND_RESTORE_): Likewise.
35169         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35170         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35171         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35172         (ROUND_RESTORE_FE_UPWARD): Likewise.
35173         (RUN_TEST_LOOP_f_f): New macro.
35174         (acos_test_data): New variable.
35175         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35176         (acos_tonearest_test_data): New variable.
35177         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35179 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35181         * benchtests/bench-skeleton.c (startup): Fix coding style.
35183 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35185         [BZ #6809]
35186         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35187         negative infinity argument.
35188         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35189         negative infinity argument.
35190         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35191         negative infinity argument.
35192         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35193         domain errors.
35195 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35197         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35198         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35199         * iconv/iconv_prog.c (main): Likewise.
35200         * locale/programs/charmap-dir.c (charmap_readdir)
35201         (fopen_uncompressed): Likewise.
35202         * locale/programs/locfile.c (siblings_uncached)
35203         (write_locale_data): Use lstat64 instead of lstat.
35204         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35205         stat.
35207 2013-05-10  Andreas Jaeger  <aj@suse.de>
35209         [BZ #15395]
35210         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35211         localization.
35212         Include <locale.h>.
35214 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35216         * elf/dl-close.c (_dl_close_worker): Add comments.
35218 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35220         [BZ #15359]
35221         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35222         high part of pi/2.
35223         (__ieee754_rem_pio2l): Update comments.
35225         [BZ #15429]
35226         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35227         high part of pi/2.
35228         (__ieee754_rem_pio2l): Update comments.
35230         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35231         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35233         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35234         M_PI_4l.
35236         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35237         (M_PI_34_LOG10El): Likewise.
35238         (M_PI2_LOG10El): Likewise.
35239         (M_PI4_LOG10El): Likewise.
35240         (M_PI_LOG10El): Likewise.
35242 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35246 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35248         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35249         (MINUS_ZERO_INIT): Likewise.
35250         (PLUS_INFTY_INIT): Likewise.
35251         (MINUS_INFTY_INIT): Likewise.
35252         (QNAN_VALUE_INIT): Likewise.
35253         (MAX_VALUE_INIT): Likewise.
35254         (MIN_VALUE_INIT): Likewise.
35255         (MIN_SUBNORM_VALUE_INIT): Likewise.
35256         (plus_zero): Initialize with PLUS_ZERO_INIT.
35257         (minus_zero): Initialize with MINUS_ZERO_INIT.
35258         (plus_infty): Initialize with PLUS_INFTY_INIT.
35259         (minus_infty): Initialize with MINUS_INFTY_INIT.
35260         (qnan_value): Initialize with QNAN_VALUE_INIT.
35261         (max_value): Initialize with MAX_VALUE_INIT.
35262         (min_value): Initialize with MIN_VALUE_INIT.
35263         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35265         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35266         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35267         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35268         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35270         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35271         (RUN_TEST_2_f): Likewise.
35272         (RUN_TEST_ff_f): Likewise.
35273         (RUN_TEST_fi_f): Likewise.
35274         (RUN_TEST_fl_f): Likewise.
35275         (RUN_TEST_fff_f): Likewise.
35276         (RUN_TEST_c_f): Likewise.
35277         (RUN_TEST_f_f1): Likewise.
35278         (RUN_TEST_fF_f1): Likewise.
35279         (RUN_TEST_fI_f1): Likewise.
35280         (RUN_TEST_ffI_f1): Likewise.
35281         (RUN_TEST_c_c): Likewise.
35282         (RUN_TEST_cc_c): Likewise.
35283         (RUN_TEST_f_i): Likewise.
35284         (RUN_TEST_f_i_tg): Likewise.
35285         (RUN_TEST_ff_i_tg): Likewise.
35286         (RUN_TEST_f_b): Likewise.
35287         (RUN_TEST_f_b_tg): Likewise.
35288         (RUN_TEST_f_l): Likewise.
35289         (RUN_TEST_f_L): Likewise.
35290         (RUN_TEST_sincos): Likewise.
35291         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35292         whether to show exceptions.  Do not include ");\n" in return
35293         value.
35294         (special_functions): Output call to RUN_TEST_sincos instead of
35295         check_float calls.  Update calls to new_test.
35296         (parse_args): Output call to single RUN_TEST_* macro instead of
35297         check_* calls and other assignments.  Update calls to new_test.
35299         [BZ #2546]
35300         [BZ #2560]
35301         [BZ #5159]
35302         [BZ #15426]
35303         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35304         input to result for tgamma overflow.
35305         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35306         (gamma_coeff): New variable.
35307         (NCOEFF): New macro.
35308         (gamma_positive): New function.
35309         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35310         underflow here.  Use gamma_positive instead of exp (lgamma) for
35311         other arguments.
35312         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35313         (gamma_coeff): New variable.
35314         (NCOEFF): New macro.
35315         (gammaf_positive): New function.
35316         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35317         underflow here.  Use gamma_positive instead of exp (lgamma) for
35318         other arguments.
35319         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35320         (gamma_coeff): New variable.
35321         (NCOEFF): New macro.
35322         (gammal_positive): New function.
35323         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35324         underflow here.  Use gamma_positive instead of exp (lgamma) for
35325         other arguments.
35326         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35327         (gamma_coeff): New variable.
35328         (NCOEFF): New macro.
35329         (gammal_positive): New function.
35330         (__ieee754_gammal_r): Handle positive infinity, overflow and
35331         underflow here.  Handle NaN the same as positive infinity.  Remove
35332         check x < 0xffffffff for negative integers.  Use gamma_positive
35333         instead of exp (lgamma) for other arguments.
35334         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35335         (gamma_coeff): New variable.
35336         (NCOEFF): New macro.
35337         (gammal_positive): New function.
35338         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35339         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35340         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35341         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35342         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35343         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35344         * sysdeps/generic/math_private.h (__gamma_productf): New
35345         prototype.
35346         (__gamma_product): Likewise.
35347         (__gamma_productl): Likewise.
35348         * math/Makefile (libm-calls): Add gamma_product.
35349         * math/libm-test.inc (tgamma_test): Add more tests.
35350         * sysdeps/i386/fpu/libm-test-ulps: Update.
35351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35353 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35355         * benchtests/bench-skeleton.c (main): Preheat CPU.
35357 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35359         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35361 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35363         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35364         and _dl_skip_args_internal.
35366 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35368         * manual/message.texi (Message Translation): Talk about users.
35369         Message to key mapping impacts design.
35371 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35373         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35375         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35377         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35378         * sysdeps/wordsize-64/glob64.c: ... here.
35380         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35381         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35382         New macros.
35384         * debug/getlogin_r_chk.c: Moved to ...
35385         * login/getlogin_r_chk.c: ... here.
35386         * debug/Makefile (routines): Move getlogin_r_chk to ...
35387         * login/Makefile (routines): ... here.
35388         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35389         * login/Versions (libc: GLIBC_2.4): ... here.
35391         * io/poll.c (__poll): Renamed from poll.
35392         Add libc_hidden_def.
35393         (poll): Define as weak alias.
35395         * debug/ptsname_r_chk.c: Moved to ...
35396         * login/ptsname_r_chk.c: ... here.
35397         * debug/Makefile (routines): Move ptsname_r_chk to ...
35398         * login/Makefile (routines): ... here.
35399         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35400         * login/Versions (libc: GLIBC_2.4): ... here.
35402         * posix/getlogin.c: Moved to ...
35403         * login/getlogin.c: ... here.
35404         * posix/getlogin_r.c: Moved to ...
35405         * login/getlogin_r.c: ... here.
35406         * posix/getlogin_r.c: Moved to ...
35407         * login/getlogin_r.c: ... here.
35408         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35409         * login/Makefile (routines): ... here.
35410         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35411         * login/Versions (libc: GLIBC_2.0): ... here.
35413         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35414         (setrlimit): Define as weak alias.
35416         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35417         Call __ names for open, ftruncate, and close.
35418         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35419         (truncate): Define as weak alias.
35421 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35423         * math/gen-libm-test.pl (parse_args): Initialize x before each
35424         test of frexp, modf and remquo.
35426         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35427         test signgam value.
35429 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35431         [BZ #15418]
35432         [BZ #15419]
35433         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35434         internal tests.
35435         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35437 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35439         * elf/dl-writev.h: New file.
35440         * elf/dl-misc.c: Include it.
35441         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35442         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35444 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35446         * math/libm-test.inc (noXFails): Remove variable.
35447         (noXPasses): Likewise.
35448         (BUILD_COMPLEX_INT): Remove macro.
35449         (print_screen): Remove xfail argument.
35450         (print_screen_max_error): Likewise.
35451         (update_stats): Likewise.
35452         (print_max_error): Likewise.  Update calls to other affected
35453         functions.
35454         (print_complex_max_error): Likewise.
35455         (test_single_exception): Update calls to print_screen.
35456         (test_single_errno): Likewise.
35457         (check_float_internal): Remove xfail argument.  Update calls to
35458         other affected functions.
35459         (check_float): Likewise.
35460         (check_complex): Likewise.
35461         (check_int): Likewise.
35462         (check_long): Likewise.
35463         (check_bool): Likewise.
35464         (check_longlong): Likewise.
35465         (main): Don't print noXFails and noXPasses.
35466         * math/gen-libm-test.pl (top level): Don't mention expected
35467         failure handling in comment.
35468         (new_test): Don't handle expected failures.
35469         (parse_args): Don't mention expected failure handling in comment.
35470         (generate_testfile): Don't handle expected failures.
35471         (parse_ulps): Likewise.
35472         (print_ulps_file): Likewise.
35473         (get_failure): Remove function.
35474         (output_test): Don't handle expected failures.
35475         * make/README.libm-test: Don't mention expected failure handling.
35477         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35478         (minus_zero): Likewise.
35479         (plus_infty): Likewise.
35480         (minus_infty): Likewise.
35481         (qnan_value): Likewise.
35482         (max_value): Likewise.
35483         (min_value): Likewise.
35484         (min_subnorm_value): Likewise.
35485         (initialize): Do not initialize those variables dynamically.
35487 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35489         * io/open.c (__open_2): Moved to ...
35490         * io/open_2.c: ... this new file.
35491         * io/open64.c (__open64_2): Moved to ...
35492         * io/open64_2.c: ... this new file.
35493         * io/openat.c (__openat_2): Moved to ...
35494         * io/openat_2.c: ... this new file.
35495         * io/openat64.c (__openat64_2): Moved to ...
35496         * io/openat64_2.c: ... this new file.
35497         * io/Makefile (routines): Add them.
35498         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35499         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35500         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35501         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35502         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35503         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35504         (__openat64): Add hidden_ver.
35505         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35506         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35508         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35509         Separately conditionalize setting of GLRO(dl_sysinfo) so
35510         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35511         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35513 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35515         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35516         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35517         definition.
35518         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35519         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35520         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35521         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35522         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35524 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35526         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35527         test signgam value.
35529         * math/libm-test.inc (hypot_test): Do not use
35530         IGNORE_ZERO_INF_SIGN.
35532 2013-05-03  Andreas Jaeger  <aj@suse.de>
35534         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35535         Linux 3.9.
35536         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35537         (PF_MAX): Adjust for VSOCK change.
35539 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35543 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35545         [BZ #15264]
35546         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35547         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35548         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35550 2013-05-02  David S. Miller  <davem@davemloft.net>
35552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35554 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35556         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35558 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35560         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35562 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35564         [BZ #14952]
35565         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35566         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35567         Use __attribute__ ((__gnu_inline__)).
35568         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35569         Don't use __attribute__ ((__gnu_inline__)).
35571 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35573         [BZ #15423]
35574         * math/s_catan.c (__catan): Handle small real or imaginary part of
35575         input specially to avoid spurious underflow.
35576         * math/s_catanf.c (__catanf): Likewise.
35577         * math/s_catanh.c (__catanh): Likewise.
35578         * math/s_catanhf.c (__catanhf): Likewise.
35579         * math/s_catanhl.c (__catanhl): Likewise.
35580         * math/s_catanl.c (__catanl): Likewise.
35581         * math/libm-test.inc (catan_test): Add more tests.
35582         (catanh_test): Likewise.
35583         * sysdeps/i386/fpu/libm-test-ulps: Update.
35584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35586 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35590 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35592         [BZ #15416]
35593         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35594         accurately for denominator in atan2.
35595         * math/s_catanf.c (__catanf): Likewise.
35596         * math/s_catanh.c (__catanh): Likewise.
35597         * math/s_catanhf.c (__catanhf): Likewise.
35598         * math/s_catanhl.c (__catanhl): Likewise.
35599         * math/s_catanl.c (__catanl): Likewise.
35600         * math/libm-test.inc (catan_test): Add more tests.
35601         (catanh_test): Likewise.
35602         * sysdeps/i386/fpu/libm-test-ulps: Update.
35603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35605 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35607         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35609         * benchtests/Makefile (bench): Remove slow benchmarks.
35610         * benchtests/atan-inputs: Add slow benchmark inputs.
35611         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35612         (BENCH_FUNC): Accept variant offset.
35613         (VARIANT): Define.
35614         * benchtests/bench-skeleton.c (main): Run benchmark for each
35615         variant.
35616         * benchtests/cos-inputs: Add slow benchmark inputs.
35617         * benchtests/exp-inputs: Likewise.
35618         * benchtests/pow-inputs: Likewise.
35619         * benchtests/sin-inputs: Likewise.
35620         * benchtests/slowatan-inputs: Remove.
35621         * benchtests/slowatan.c: Remove.
35622         * benchtests/slowcos-inputs: Remove.
35623         * benchtests/slowcos.c: Remove.
35624         * benchtests/slowexp-inputs: Remove.
35625         * benchtests/slowexp.c: Remove.
35626         * benchtests/slowpow-inputs: Remove.
35627         * benchtests/slowpow.c: Remove.
35628         * benchtests/slowsin-inputs: Remove.
35629         * benchtests/slowsin.c: Remove.
35630         * benchtests/slowtan-inputs: Remove.
35631         * benchtests/slowtan.c: Remove.
35632         * benchtests/tan-inputs: Add slow benchmark inputs.
35633         * scripts/bench.pl: Parse comments and directives.
35635         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35636         in CPPFLAGS.
35637         ($(objpfx)bench-%.c): Remove *-ITER.
35638         * benchtests/bench-modf.c: Remove definition of ITER.
35639         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35640         (main): Loop for DURATION seconds instead of fixed number of
35641         iterations.
35642         * scripts/bench.pl: Don't expect iterations in parameters.
35644 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35646         * io/fchdir.c (__fchdir): Renamed from fchdir.
35647         (fchdir): Define as weak alias.
35649 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35651         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35652         (ERRNO_EDOM): Likewise.
35653         (ERRNO_ERANGE): Likewise.
35654         (noErrnoTests): New variable.
35655         (init_max_error): Set errno to 0.
35656         (test_single_errno): New function.
35657         (test_errno): Likewise.
35658         (check_float_internal): Call test_errno.  Set errno to 0.
35659         (check_complex): Refer to errno tests in comment.
35660         (check_int): Call test_errno.  Set errno to 0.
35661         (check_long): Likewise.
35662         (check_bool): Likewise.
35663         (check_longlong): Likewise.
35664         (cos_test): Use ERRNO_* flags for errno tests instead of
35665         check_int.
35666         (expm1_test): Likewise.
35667         (fmod_test): Likewise.
35668         (ilogb_test): Likewise.
35669         (lgamma_test): Likewise.
35670         (pow_test): Likewise.
35671         (remainder_test): Likewise.
35672         (sin_test): Likewise.
35673         (tan_test): Likewise.
35674         (yn_test): Likewise.
35675         (initialize): Set errno to 0.
35676         (main): Print number of errno tests.
35677         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35679 2013-04-29  Andreas Jaeger  <aj@suse.de>
35681         [BZ #15084]
35682         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35683         and RES_USEVC.
35685         [BZ #15085]
35686         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35687         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35688         unimplemented.
35690         [BZ #15380]
35691         * stdlib/random.c (__initstate): Return NULL if
35692         __initstate fails.
35694         [BZ #15086]
35695         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35696         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35697         RES_SNGLKUPREOP.
35699 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35703 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35705         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35706         of individual tests.
35707         (casin_test): Likewise.
35708         (casinh_test): Likewise.
35710 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35712         [BZ #15409]
35713         * math/s_catan.c (__catan): Handle arguments with large real or
35714         imaginary part separately without squaring.
35715         * math/s_catanf.c (__catanf): Likewise.
35716         * math/s_catanh.c (__catanh): Likewise.
35717         * math/s_catanhf.c (__catanhf): Likewise.
35718         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35719         and redefine.
35720         (__catanhl): Handle arguments with large real or imaginary part
35721         separately without squaring.
35722         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35723         and redefine.
35724         (__catanl): Handle arguments with large real or imaginary part
35725         separately without squaring.
35726         * math/libm-test.inc (catan_test): Add more tests.
35727         (catanh_test): Likewise.
35728         * sysdeps/i386/fpu/libm-test-ulps: Update.
35729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35731 2013-04-27  Andreas Jaeger  <aj@suse.de>
35733         [BZ #15007]
35734         * stdlib/stdlib.h: Update guards for qecvt.
35735         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35736         <stdlib.h>.
35738 2013-04-27  Allan McRae  <allan@archlinux.org>
35740         * sysdeps/i386/fpu/libm-test-ulps: Update.
35742 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35744         [BZ #15406]
35745         * math/s_catan.c: Include <float.h>.
35746         (__catan): Ensure underflow exception occurs for underflowed
35747         result.
35748         * math/s_catanf.c: Include <float.h>.
35749         (__catanf): Ensure underflow exception occurs for underflowed
35750         result.
35751         * math/s_catanh.c: Include <float.h>.
35752         (__catanh): Ensure underflow exception occurs for underflowed
35753         result.
35754         * math/s_catanhf.c: Include <float.h>.
35755         (__catanhf): Ensure underflow exception occurs for underflowed
35756         result.
35757         * math/s_catanhl.c: Include <float.h>.
35758         (__catanhl): Ensure underflow exception occurs for underflowed
35759         result.
35760         * math/s_catanl.c: Include <float.h>.
35761         (__catanl): Ensure underflow exception occurs for underflowed
35762         result.
35763         * math/libm-test.inc (catan_test): Add more tests.
35764         (catanh_test): Likewise.
35766         [BZ #15405]
35767         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35768         underflowed result.
35769         * math/s_ccoshf.c (__ccoshf): Likewise.
35770         * math/s_ccoshl.c (__ccoshl): Likewise.
35771         * math/s_csin.c (__csin): Likewise.
35772         * math/s_csinf.c (__csinf): Likewise.
35773         * math/s_csinh.c (__csinh): Likewise.
35774         * math/s_csinhf.c (__csinhf): Likewise.
35775         * math/s_csinhl.c (__csinhl): Likewise.
35776         * math/s_csinl.c (__csinl): Likewise.
35777         * math/libm-test.inc (ccos_test): Add more tests.
35778         (ccosh_test): Likewise.
35779         (csin_test): Likewise.
35780         (csinh_test): Likewise.
35782 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35784         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35785         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35786         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35787         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35788         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35789         powerpc/power5+/fpu folders.
35790         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35793 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35797 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35799         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35800         additions to variable.
35801         [$(config-machine) = x86_64] (modules-names): Likewise.
35802         ($(objpfx)tst-audit3): Remove dependency.
35803         ($(objpfx)tst-audit3.out): Likewise.
35804         ($(objpfx)tst-audit4): Likewise.
35805         ($(objpfx)tst-audit4.out): Likewise.
35806         ($(objpfx)tst-audit5): Likewise.
35807         ($(objpfx)tst-audit5.out): Likewise.
35808         ($(objpfx)tst-audit6): Likewise.
35809         ($(objpfx)tst-audit6.out): Likewise.
35810         ($(objpfx)tst-audit7): Likewise.
35811         ($(objpfx)tst-audit7.out): Likewise.
35812         (tst-audit3-ENV): Remove variable.
35813         (tst-audit4-ENV): Likewise.
35814         (tst-audit5-ENV): Likewise.
35815         (tst-audit6-ENV): Likewise.
35816         (tst-audit7-ENV): Likewise.
35817         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35818         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35819         addition to variable.
35820         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35821         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35822         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35823         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35824         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35825         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35826         tst-audit3, tst-audit4 and tst-audit5.
35827         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35828         tst-audit6 and tst-audit7.
35829         [$(subdir) = elf] (modules-names): Add audit modules for those
35830         tests.
35831         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35832         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35833         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35834         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35835         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35836         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35837         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35838         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35839         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35840         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35841         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35842         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35843         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35844         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35845         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35846         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35847         Likewise.
35848         [$(subdir) = elf && $(config-cflags-avx) = yes]
35849         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35850         [$(subdir) = elf && $(config-cflags-avx) = yes]
35851         (CFLAGS-tst-auditmod4a.c): Likewise.
35852         [$(subdir) = elf && $(config-cflags-avx) = yes]
35853         (CFLAGS-tst-auditmod4b.c): Likewise.
35854         [$(subdir) = elf && $(config-cflags-avx) = yes]
35855         (CFLAGS-tst-auditmod6b.c): Likewise.
35856         [$(subdir) = elf && $(config-cflags-avx) = yes]
35857         (CFLAGS-tst-auditmod6c.c): Likewise.
35858         [$(subdir) = elf && $(config-cflags-avx) = yes]
35859         (CFLAGS-tst-auditmod7b.c): Likewise.
35860         * elf/tst-audit3.c: Move to ...
35861         * sysdeps/x86_64/tst-audit3.c: ... here.
35862         * elf/tst-audit4.c: Move to ...
35863         * sysdeps/x86_64/tst-audit4.c: ... here.
35864         * elf/tst-audit5.c: Move to ...
35865         * sysdeps/x86_64/tst-audit5.c: ... here.
35866         * elf/tst-audit6.c: Move to ...
35867         * sysdeps/x86_64/tst-audit6.c: ... here.
35868         * elf/tst-audit7.c: Move to ...
35869         * sysdeps/x86_64/tst-audit7.c: ... here.
35870         * elf/tst-auditmod3a.c: Move to ...
35871         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35872         * elf/tst-auditmod3b.c: Move to ...
35873         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35874         * elf/tst-auditmod4a.c: Move to ...
35875         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35876         * elf/tst-auditmod4b.c: Move to ...
35877         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35878         * elf/tst-auditmod5a.c: Move to ...
35879         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35880         * elf/tst-auditmod5b.c: Move to ...
35881         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35882         * elf/tst-auditmod6a.c: Move to ...
35883         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35884         * elf/tst-auditmod6b.c: Move to ...
35885         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35886         * elf/tst-auditmod6c.c: Move to ...
35887         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35888         * elf/tst-auditmod7a.c: Move to ...
35889         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35890         * elf/tst-auditmod7b.c: Move to ...
35891         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35893 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35895         [BZ #15366]
35896         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35897         define unconditionally.
35898         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35899         define unconditionally.
35900         (INT8_C, INT16_C, etc.): Likewise.
35902 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35904         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35905         __ehdr_start with hidden visibility.
35907         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35909 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35911         * math/libm-test.inc (cos_test): Use accurate hex constants.
35912         (sincost_test): Likewise.
35914 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35916         * math/libm-test.inc (catan_test): Add more tests.
35917         (catanh_test): Likewise.
35919         * math/s_catanf.c (__catanf): Use suffixed floating-point
35920         constants.
35921         * math/s_catanhf.c (__catanhf): Likewise.
35922         * math/s_catanhl.c (__catanhl): Likewise.
35923         * math/s_catanl.c (__catanl): Likewise.
35925         [BZ #15394]
35926         * math/s_catan.c (__catan): Calculate imaginary part of result
35927         with log1p not log unless computing log of number close to 0.
35928         * math/s_catanf.c (__catanf): Likewise.
35929         * math/s_catanl.c (__catanl): Likewise.
35930         * math/s_catanh.c (__catanh): Calculate real part of result with
35931         log1p not log unless computing log of number close to 0.
35932         * math/s_catanhf.c (__catanhf): Likewise.
35933         * math/s_catanhl.c (__catanhl): Likewise.
35934         * math/libm-test.inc (catan_test): Add more tests.
35935         (catanh_test): Likewise.
35936         * sysdeps/i386/fpu/libm-test-ulps: Update.
35937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35939 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35941         * benchtests/Makefile: Mention files in which fast and slow
35942         paths of math functions are implemented.
35944 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35946         * sysdeps/posix/timespec_get.c: New file.
35948 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35950         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35951         POWER.
35952         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35953         for POWER.
35954         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35955         powerpc/power5/fpu folders.
35956         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35957         * benchtests/Makefile: Add modf testcase.
35958         * benchtests/bench-modf.c: New file: Benchmark test for mo
35960 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35962         [BZ #14888]
35963         * time/Makefile (tests): Add tst-strptime-whitespace.
35964         * time/strptime_l.c (get_number): Use ISSPACE.
35965         (__strptime_internal): Likewise.
35966         * time/tst-strptime-whitespace.c: New test case.
35968 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35970         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35971         member.
35972         (_nss_files_init): Set it here.
35974 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35976         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35977         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35978         unsigned.
35980 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35982         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35984 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35986         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35987         size just once.
35989 2013-04-21  David S. Miller  <davem@davemloft.net>
35991         * po/ru.po: Update Russion translation from translation project.
35993 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35995         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35996         and setfsgid.
35998 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36000         * configure.in: Remove i386 configure warning. Remove i386 case.
36001         * configure: Regenerate.
36002         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36003         Add example to error message.
36004         * sysdeps/i386/configure: Regenerate.
36006 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36008         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36009         slowtan.
36010         * benchtests/cos-inputs: New file.
36011         * benchtests/slowcos-inputs: New file.
36012         * benchtests/slowcos.c: New file.
36013         * benchtests/slowtan-inputs: New file.
36014         * benchtests/slowtan.c: New file.
36015         * benchtests/tan-inputs: New file.
36017 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36019         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36020         considered kosher.
36022 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36024         * benchtests/Makefile: Include cppflags-iterator.mk to add
36025         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36027         * Makefile.in (bench-clean): New target.
36028         * benchtests/Makefile (bench-clean): Likewise.
36030 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36032         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36034 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36036         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36038 2013-04-15  Andreas Schwab  <schwab@suse.de>
36040         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36041         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36042         * nscd/pwdcache.c (cache_addpw): Likewise.
36043         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36044         more than recsize.
36046 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36048         * benchtests/Makefile (bench): Write all output to
36049         bench-out.tmp together.
36051 2013-04-15  Andreas Schwab  <schwab@suse.de>
36053         * nscd/nscd.c (main): Don't fork again after closing files.
36055 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36057         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36059         * benchtests/Rules (bench-deps): Collect dependencies into a
36060         single variable.  Add Makefile to dependencies.
36061         ($(objpfx)bench-%.c): Depend on bench-deps.
36063 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36064             Xavier Roche  <roche+kml2@exalead.com>
36066         [BZ #15361]
36067         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36068         just that it's a file descriptor.
36069         * manual/llio.texi (Synchronizing AIO Operations): Update description
36070         for EBADF error from aio_fsync.
36072 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36074         * Rules (bench): Move target definition...
36075         * benchtests/Makefile: ... here.
36077 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36079         * math/libm-test.inc (cos_test): Fix PI/2 test.
36080         (sincos_test): Likewise.
36081         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36082         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36084 2013-04-11  Andreas Schwab  <schwab@suse.de>
36086         [BZ #13988]
36087         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36088         accept exponent character only when digits were seen.
36089         * stdio-common/Makefile (tests): Add bug26.
36090         * stdio-common/bug26.c: New file.
36092         [BZ #14293]
36093         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36094         non-freeable.
36096 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36098         * Makeconfig (rtld-prefix): Define built linker prefix.
36099         * Rules (run-bench): Use it.
36100         * math/Makefile (run-regen-ulps): Likewise.
36102         * Rules (bench): Remove eval.
36104 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36105             Roland McGrath  <roland@hack.frob.com>
36106             Ondrej Bilka  <neleai@seznam.cz>
36108         [BZ #15346]
36109         * time/getdate.c: Include ctype.h and alloca.h.
36110         (__getdate_r): Trim leading and trailing spaces of input.
36111         * time/tst-getdate.c (tests): Add tests with leading and
36112         trailing spaces.
36114 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36116         [BZ #14280]
36117         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36118         when computing value.
36120 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36122         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36123         Use testrun.sh to run libm tests.
36125         [BZ #15309]
36126         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36128 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36130         [BZ #15264]
36131         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36133 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36135         * Makefile.in (regen-ulps): New target.
36136         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36137         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36138         [ifneq (no,$(PERL)] (regen-ulps): New target.
36139         [ifeq (no,$(PERL)] (regen-ulps): New target.
36140         * math/libm-test.inc (ulps_file_name): Define.
36141         (output_dir): New variable.
36142         (options): Add "output-dir" option.
36143         (parse_opt): Handle 'o' case.
36144         (main): If output_dir is non-NULL use it as a prefix
36145         otherwise use "".
36146         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36148 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36150         [BZ #10060, #10062]
36151         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36152         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36153         fail configure if __sync_val_compare_and_swap is not inlined.
36154         * sysdeps/i386/configure: Regenerate.
36155         * configure.in: Build for i686 when configured for i386.
36156         * configure: Regenerate.
36157         * README: Remove i386 reference.
36159 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36161         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36162         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36164 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36166         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36167         (lmsnanval): New variables.
36168         (F): Add conversion tests.
36169         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36170         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36172         * stdio-common/tstdiomisc.c (F): Properly collect individual
36173         tests' results.
36175         [BZ #14686, #15336]
36176         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36177         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36178         Instead, use input NaN values or generate a qNaN by arithmetic
36179         operation.  Also fix bugs to comply with the standard.
36180         * math/libm-test.inc (remainder_test): Add more tests.
36182         [BZ #15335, #15342]
36183         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36184         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36185         input NaN values or generate a qNaN by arithmetic operation.
36187         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36188         unreachable code.
36190         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36191         definitions.
36193 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36195         [BZ #14478]
36196         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36197         underflowed result.
36198         * math/s_cexpf.c (__cexpf): Likewise.
36199         * math/s_cexpl.c (__cexpl): Likewise.
36200         * math/libm-test.inc (cexp_test): Add more tests.
36202 2013-04-03  Andreas Schwab  <schwab@suse.de>
36204         [BZ #15330]
36205         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36206         order arrays from heap if bigger than alloca cutoff.
36208 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36210         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36211         (SNAN_TESTS_double): Refer to GCC PR56831.
36212         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36213         GCC PR56828.
36215 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36217         * Rules (bench): Move bench.out after the run is complete.
36219         * Rules (bench): Echo currently running benchmark.
36221         * benchtests/Makefile (bench): Add atan and slowatan.
36222         * benchtests/atan-inputs: New file.
36223         * benchtests/slowatan-inputs: New file.
36224         * benchtests/slowatan.c: New file.
36226         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36227         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36228         its value.
36230         [BZ #15305]
36231         * sysdeps/unix/sysv/linux/kernel-features.h
36232         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36233         __ASSUME_XFS_RESTRICTED_CHOWN.
36234         * sysdeps/unix/sysv/linux/pathconf.c
36235         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36236         Save and restore errno.
36238 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36240         [BZ #15327]
36241         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36242         arguments using __kernel_casinh.
36243         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36244         arguments using __kernel_casinhf.
36245         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36246         arguments using __kernel_casinhl.
36247         * math/libm-test.inc (cacosh_test): Add more tests.
36248         * sysdeps/i386/fpu/libm-test-ulps: Update.
36249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36251 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36253         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36254         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36256         * bench/Makefile (bench): Add sin and slowsin.
36257         * benchtests/sin-inputs: New file.
36258         * benchtests/slowsin-inputs: New file.
36259         * benchtests/slowsin.c: New file.
36261         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36262         (bench): Add slowexp and slowpow.
36263         (exp-ITER): Increase iterations.
36264         (pow-ITER): Likewise.
36265         * benchtests/exp-inputs: Change input.
36266         * benchtests/pow-inputs: Likewise.
36267         * benchtests/slowexp-inputs: New file.
36268         * benchtests/slowexp.c: New file.
36269         * benchtests/slowpow-inputs: New file.
36270         * benchtests/slowpow.c: New file.
36272 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36274         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36275         instructions.
36276         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36277         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36278         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36279         * benchtests/Makefile: Add rint benchtest.
36280         * benchtests/rint-inputs: Input for rint benchtest.
36282 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36284         * Versions.def (libm): Add GLIBC_2.18.
36285         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36286         hidden libm prototypes.
36287         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36288         * math/Makefile (libm-calls): Add s_issignaling.
36289         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36290         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36291         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36292         declaration.
36293         * math/math.h [__USE_GNU] (issignaling): New macro.
36294         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36295         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36296         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36297         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36298         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36299         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36300         * manual/arith.texi (issignaling): New section.
36301         * manual/libm-err-tab.pl (@all_functions): Update comment.
36302         * math/gen-libm-test.pl (parse_args): Apply special handling for
36303         issignaling.
36304         * math/libm-test.inc (print_float, issignaling_test): New
36305         functions.
36306         (check_float_internal): Add issignaling checks.
36307         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36308         default definition.
36309         * sysdeps/powerpc/math-tests.h: New file.
36310         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36311         tests.
36312         * math/test-snan.c (TEST_FUNC): Likewise.
36314 2013-03-30  David S. Miller  <davem@davemloft.net>
36316         * po/de.po: Update from translation team.
36318 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36320         [BZ #10357]
36321         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36322         imaginary part less than 1.0 and real part less than 0.5
36323         specially.
36324         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36325         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36326         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36327         (cacos_test): Add more tests.
36328         (casin_test): Likewise.
36329         (casinh_test): Likewise.
36330         * sysdeps/i386/fpu/libm-test-ulps: Update.
36331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36333 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36335         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36336         ONE with its value.
36338         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36339         (__pow_mp): Replace ONE and MONE with their values.
36340         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36341         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36342         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36343         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36344         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36345         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36347         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36349         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36350         (__pow_mp): Replace ZERO and MZERO with their values.
36351         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36352         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36353         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36354         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36355         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36356         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36357         (__sqr): Likewise.
36359         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36361         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36363 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36365         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36366         Declare with __attribute__ ((weak)).
36367         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36368         Call __call_tls_dtors only if it's not NULL.
36370 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36372         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36373         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36374         magic __ehdr_start linker symbol if it's defined.
36375         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36376         them up here if it was already done.
36378         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36379         (_dl_aux_init): Use const in cast when setting it.
36380         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36381         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36382         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36384         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36385         Declare them here.
36386         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36387         * csu/libc-tls.c: Nor here.
36388         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36390         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36391         (__libc_message): Never call vsyslog.
36393 2013-03-28  Alan Modra  <amodra@gmail.com>
36395         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36396         Define as empty.
36397         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36398         Likewise.
36400 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36402         [BZ #15214]
36403         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36404         underflow.
36405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36407 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36409         [BZ #15304]
36410         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36411         Don't add gid passed as argument.
36413         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36415 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36417         [BZ #15307]
36418         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36419         imaginary part between 1.0 and 1.5 and real part less than 0.5
36420         specially.
36421         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36422         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36423         * math/libm-test.inc (cacos_test): Add more tests.
36424         (casin_test): Likewise.
36425         (casinh_test): Likewise.
36426         * sysdeps/i386/fpu/libm-test-ulps: Update.
36427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36429 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36431         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36432         constants.
36433         (norm): Likewise.
36434         (denorm): Likewise.
36435         (__dbl_mp): Likewise.
36436         (add_magnitudes): Likewise.
36437         (sub_magnitudes): Likewise.
36438         (__add): Likewise.
36439         (__sub): Likewise.
36440         (__mul): Likewise.
36441         (__sqr): Likewise.
36442         (__inv): Likewise.
36443         (__dvd): Likewise.
36445         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36446         commented code.
36447         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36448         (__dubcos): Likewise.
36449         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36450         (__ieee754_acos): Likewise.
36451         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36452         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36453         (__exp1): Likewise.
36454         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36455         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36456         (log1): Likewise.
36457         (my_log2): Likewise.
36458         (checkint): Likewise.
36459         * sysdeps/ieee754/dbl-64/e_remainder.c
36460         (__ieee754_remainder): Likewise.
36461         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36463         (bsloww): Likewise.
36464         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36466         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36467         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36468         MANTISSA_STORE_T to store computations on mantissa.  Use
36469         macros for rounding and division.
36470         (denorm): Likewise.
36471         (__dbl_mp): Likewise.
36472         (add_magnitudes): Likewise.
36473         (sub_magnitudes): Likewise.
36474         (__mul): Likewise.
36475         (__sqr): Likewise.
36476         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36477         powers of two in terms of TWOPOW macro.
36478         (mp_no): Make type of mantissa as MANTISSA_T.
36479         [!RADIXI]: Define RADIXI.
36480         [!TWO52]: Define TWO52.
36481         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36483 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36485         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36486         llroundl symbol when building for PPC32.
36488 2013-03-24  Mark H Weaver  <mhw@netris.org>
36490         * manual/arith.texi (Normalization Functions): Fix prototypes for
36491         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36493 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36495         [BZ #13889]
36496         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36497         high value to check if expl overflow.
36498         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36499         to check for underflow and overflow.
36500         * math/libm-test.inc: Add exp test.
36502 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36504         [BZ #11120]
36505         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36506         with NOT_IN_libc.
36508 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36510         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36511         symbol.
36513 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36515         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36516         wrap blocks consisting of several statements.
36518         * sysdeps/generic/math-tests.h: New file.
36519         * sysdeps/i386/fpu/math-tests.h: Likewise.
36520         * math/test-snan.c: Include it.
36521         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36523 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36525         [BZ #15285]
36526         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36527         (__ieee754_j0l): Do not improve calculations using cos of twice
36528         input for inputs above LDBL_MAX / 2.0L.
36529         (__ieee754_y0l): Likewise.
36530         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36531         (__ieee754_j1l): Do not improve calculations using cos of twice
36532         input for inputs above LDBL_MAX / 2.0L.
36533         (__ieee754_y1l): Likewise.
36534         * math/libm-test.inc (j0_test): Add another test.
36535         (j1_test): Likewise.
36536         (y0_test): Likewise.
36537         (y1_test): Likewise.
36538         * sysdeps/i386/fpu/libm-test-ulps: Update.
36540 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36542         * Rules ($(objpfx)bench-%.c): Include code from a C source
36543         file.
36545 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36547         [BZ #15287]
36548         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36549         imaginary part 1.0 and real part less than 0.5 specially.
36550         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36551         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36552         * math/libm-test.inc (cacos_test): Add more tests.
36553         (casin_test): Likewise.
36554         (casinh_test): Likewise.
36555         * sysdeps/i386/fpu/libm-test-ulps: Update.
36556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36558 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36560         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36561         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36563 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36565         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36566         * config.make.in (config-cflags-sse4): Remove variable.
36567         (config-cflags-avx): Likewise.
36568         (config-cflags-sse2avx): Likewise.
36569         (config-cflags-novzeroupper): Likewise.
36570         (config-asflags-i686): Likewise.
36571         (have-mfma4): Likewise.
36572         (have-as-vis3): Likewise.
36573         (MIG): Likewise.
36574         * configure.in (MIG): Do not AC_SUBST.
36575         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36576         (libc_cv_cc_sse4): Do not AC_SUBST.
36577         (libc_cv_cc_avx): Likewise.
36578         (libc_cv_cc_sse2avx): Likewise.
36579         (libc_cv_cc_novzeroupper): Likewise.
36580         (libc_cv_cc_fma4): Likewise.
36581         (libc_cv_as_i686): Likewise.
36582         (libc_cv_sparc_as_vis3): Likewise.
36583         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36584         LIBC_CONFIG_VAR.
36585         (config-asflags-i686): Likewise.
36586         (config-cflags-avx): Likewise.
36587         (config-cflags-sse2avx): Likewise.
36588         (have-mfma4): Likewise.
36589         (config-cflags-novzeroupper): Likewise.
36590         * sysdeps/mach/configure.in (MIG): Likewise.
36591         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36592         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36593         LIBC_CONFIG_VAR.
36594         (config-cflags-avx): Likewise.
36595         (config-cflags-sse2avx): Likewise.
36596         (have-mfma4): Likewise.
36597         (config-cflags-novzeroupper): Likewise.
36598         * configure: Regenerated.
36599         * sysdeps/i386/configure: Likewise.
36600         * sysdeps/mach/configure: Likewise.
36601         * sysdeps/sparc/configure: Likewise.
36602         * sysdeps/x86_64/configure: Likewise.
36604 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36606         [BZ #14812]
36607         * locale/programs/localedef.c (options): Put N_ translation marker
36608         on argument names, not just descriptions.
36610 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36612         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36614 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36616         [BZ #14176]
36617         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36619 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36621         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36622         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36623         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36624         [!BEFORE_ABORT] (before_abort): New function.
36625         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36626         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36627         (writev_for_fatal): New function.
36628         (WRITEV_FOR_FATAL): New macro; call that.
36629         (backtrace_and_maps): New function.
36630         (BEFORE_ABORT): New macro; call that.
36631         (struct str_list): Type removed.
36632         (__libc_message, __libc_fatal): Functions removed.
36633         Include <sysdeps/posix/libc_fatal.c> instead.
36635 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36637         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36638         constants.
36639         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36640         double constants.
36642 2013-03-19  Andreas Schwab  <schwab@suse.de>
36644         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36645         * sysdeps/gnu/configure: Regenerate.
36647         * configure.in: Substitute libc_cv_rtlddir.
36648         * configure: Regenerate.
36649         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36650         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36651         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36652         * elf/Makefile (install-others, CFLAGS-interp.c)
36653         (ldso_install, common-ldd-rewrite): Likewise.
36654         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36655         $(inst_slibdir)/$(rtld-installed-name).
36656         * scripts/rellns-sh: Add -p option.
36657         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36658         for source.
36660 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36662         * manual/nptl.texi: Renamed to ...
36663         * manual/threads.texi: ... this.
36664         * manual/Makefile (chapters): Update.
36666 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36668         [BZ #14812]
36669         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36670         on argument names, not just descriptions.
36671         * malloc/memusagestat.c (options): Likewise.
36672         * nss/getent.c (options): Likewise.
36674 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36676         [BZ #14812]
36677         * iconv/iconv_prog.c (options): Put N_ translation marker
36678         on argument names, not just descriptions.
36679         * iconv/iconvconfig.c (options): Likewise.
36681 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36683         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36684         implementation which is faster on all x86_64 architectures.
36685         Tested on AMD, Intel Nehalem, SNB, IVB.
36686         * sysdeps/x86_64/strnlen.S: Likewise.
36688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36689         Remove all multiarch strlen and strnlen versions.
36690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36691         Remove strlen and strnlen related parts.
36693         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36694         Inline strlen part.
36695         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36697         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36698         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36699         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36700         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36701         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36702         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36704 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36706         * manual/memory.texi (Malloc Tunable Parameters):
36707         Sort parameters alphabetically. Add comments for missing entries.
36709 2013-03-17  David S. Miller  <davem@davemloft.net>
36711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36713 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36715         [BZ #15283]
36716         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36717         for arguments at most half maximum finite value.
36718         * math/libm-test.inc (j0_test): Add more tests.
36719         (j1_test): Likewise.
36720         (y0_test): Likewise.
36721         (y1_test): Likewise.
36722         * sysdeps/i386/fpu/libm-test-ulps: Update.
36723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36725         [BZ #14155]
36726         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36727         1 / x and functions P and Q for arguments above 0x1p256L.
36728         (__ieee754_y0l): Likewise.
36729         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36730         (__ieee754_y1l): Likewise.
36731         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36732         (j1_test): Likewise.
36733         (y0_test): Likewise.
36734         (y1_test): Likewise.
36736 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36738         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36739         variable.
36741 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36743         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36744         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36745         zero since it's initialized to EXEC_PAGESIZE.
36747         * sysdeps/unix/sysv/linux/ldsodefs.h
36748         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36749         * sysdeps/generic/ldsodefs.h: ... here.
36751 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36753         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36755         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36756         math/test-snan.c.
36757         * math/test-snan.c: Renamed from
36758         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36759         * math/Makefile (tests): Add test-snan.
36760         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36761         test-powerpc-snan.
36763         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36764         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36765         functions.
36766         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36767         __builtin_nan family of functions.
36768         * math/libm-test.inc (initialize): Initialize qnan_value with
36769         __builtin_nan family of functions.
36770         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36771         Remove variables.
36772         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36773         Remove functions.
36774         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36775         storage class.  Initialize qNaN_var and sNaN_var with
36776         __builtin_nan and __builtin_nans families of functions,
36777         respectively.
36779         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36780         (sqrt_test): Remove duplicate test with qNaN input.
36781         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36782         (round_test, signbit_test, significand_test): Note missing +/-Inf
36783         as well as qNaN tests.
36785         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36786         qNaN_var.  Fix a few strings, too.
36787         * math/libm-test.inc (nan_value): Rename to qnan_value.
36788         * math/gen-libm-test.pl (%beautify): Adjust to that.
36789         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36790         * math/test-misc.c (main): Likewise.
36791         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36792         to __qnan_bytes, and __qnan_union, respectively.
36793         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36794         Likewise.
36795         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36796         and lqnanval, respectively.
36797         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36798         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36799         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36800         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36802         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36803         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36804         doubles.
36806         * math/test-misc.c (main): Fix copy'n'pastos.
36807         * misc/tst-efgcvt.c (special): Likewise.
36809         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36810         Remove declarations.
36812 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36814         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36815         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36816         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36817         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36819 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36821         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36822         macro to return vdso values correctly in IFUNC implementations.
36823         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36824         Optimization by using IFUNC.
36826 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36827             Richard Henderson  <rth@redhat.com>
36828             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36830         * Makefile.in (bench): New target.
36831         * NEWS: Mention the benchmark framework.
36832         * Rules (bench): Likewise.
36833         (binaries-bench): Generate binaries for functions to
36834         benchmark.
36835         * benchtests/Makefile: New makefile for benchmark tests.
36836         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36837         programs.
36838         * benchtests/exp-inputs: New input file for EXP function.
36839         * benchtests/pow-inputs: New input file for POW function.
36840         * scripts/bench.pl: New script to generate source files for
36841         benchmark programs.
36843 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36845         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36846         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36847         computations on mantissa.  Use macros for rounding and
36848         division.
36849         (denorm): Likewise.
36850         (__dbl_mp): Likewise.
36851         (add_magnitudes): Likewise.
36852         (sub_magnitudes): Likewise.
36853         (__mul): Likewise.
36854         (__sqr): Likewise.
36855         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36856         powers of two in terms of TWOPOW macro.
36857         (mp_no): Make type of mantissa as MANTISSA_T.
36858         [!RADIXI]: Define RADIXI.
36859         [!TWO52]: Define TWO52.
36860         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36862         * manual/nptl.texi (cindex): Modify threads to pthreads.
36864 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36866         * sysdeps/x86_64/preconfigure: Regenerated.
36868 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36870         [BZ #14155]
36871         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36872         0x1p28 and above.
36873         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36874         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36875         0x1p28 and above.
36876         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36877         * math/libm-test.inc (j0_test): Do not allow one spurious
36878         underflow exception.
36879         (y1_test): Likewise.
36881 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36883         * manual/Makefile (chapters): Add nptl.
36884         * manual/debug.texi (Debugging Support): Add link to Threads
36885         chapter.
36886         * manual/nptl.texi: New file.
36888         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36890 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36892         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36893         for non-NULL pointer before the memory validity test. Pointed
36894         out by Holger Brunck <holger.brunck@keymile.com>.
36896 2013-03-13  Andreas Schwab  <schwab@suse.de>
36898         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36899         instead of .os.
36901 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36903         * timezone/zic.c: Update from tzcode 2013b.
36905 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36907         * manual/install.texi (Configuring and compiling):
36908         Mention i686 and i586.
36909         * INSTALL: Regenerate.
36911 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36913         * sysdeps/init_array/elf-init.c: New file.
36914         * csu/elf-init.c
36915         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36916         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36918         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36919         __gmon_start__ as global, but as static with a .preinit_array pointer.
36920         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36921         * sysdeps/init_array/crti.S: New file, empty except for comments.
36922         * sysdeps/init_array/crtn.S: Likewise.
36924 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36926         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36927         definining bcopy.
36928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36929         Remove Prefer_SSE_for_memop.
36930         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36931         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36932         HAS_PREFER_SSE_FOR_MEMOP.
36933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36934         memset-x86-64.
36935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36936         Remove bzero, memset ifunc support.
36937         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36938         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36939         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36940         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36942 2013-03-11  Andreas Schwab  <schwab@suse.de>
36944         [BZ #15234]
36945         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36946         by SHLIB_COMPAT.
36947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36948         (GLIBC_2.16): Remove pthread_atfork.
36950 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36952         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36953         (ptestcases.h): Likewise.
36955 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36957         * Makeconfig ($(common-objpfx)config.status): Depend on
36958         sysdeps/*/preconfigure{,.in} too.
36960 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36962         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36963         (__free_hook): Use void * instead of __malloc_ptr_t.
36964         (__malloc_hook): Likewise.
36965         (__realloc_hook): Likewise.
36966         (__memalign_hook): Likewise.
36967         (__after_morecore_hook): Likewise.
36968         * malloc/arena.c (save_malloc_hook): Likewise.
36969         (save_free_hook): Likewise.
36970         * malloc/hooks.c (malloc_hook_ini): Likewise.
36971         (realloc_hook_ini): Likewise.
36972         (memalign_hook_ini): Likewise.
36973         * malloc/malloc.c (malloc_hook_ini): Likewise.
36974         (realloc_hook_ini): Likewise.
36975         (memalign_hook_ini): Likewise.
36976         (__free_hook): Likewise.
36977         (__malloc_hook): Likewise.
36978         (__realloc_hook): Likewise.
36979         (__memalign_hook): Likewise.
36980         (__libc_malloc): Likewise.
36981         (__libc_free): Likewise.
36982         (__libc_realloc): Likewise.
36983         (__libc_memalign): Likewise.
36984         (__libc_valloc): Likewise.
36985         (__libc_pvalloc): Likewise.
36986         (__libc_calloc): Likewise.
36987         (__posix_memalign): Likewise.
36988         * malloc/morecore.c (__sbrk): Likewise.
36989         (__default_morecore): Likewise.
36991         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36993         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36994         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36995         __malloc_ptrdiff_t.
36997         * malloc/malloc.h (__malloc_size_t): Remove macro.
36998         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36999         __malloc_size_t.
37000         (old_memalign_hook): Likewise.
37001         (old_realloc_hook): Likewise.
37002         (struct hdr): Likewise.
37003         (flood): Likewise.
37004         (mallochook): Likewise.
37005         (memalignhook): Likewise.
37006         (reallochook): Likewise.
37007         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37008         (tr_old_realloc_hook): Likewise.
37009         (tr_old_memalign_hook): Likewise.
37010         (tr_mallochook): Likewise.
37011         (tr_reallochook): Likewise.
37012         (tr_memalignhook): Likewise.
37014 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37016         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37017         default_ldbl_pack and using as default implementation.
37018         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37019         implementation.
37020         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37021         redundant definition.
37022         (ldbl_insert_mantissa): Likewise.
37023         (ldbl_canonicalize): Likewise.
37024         (ldbl_nearbyint): Likewise.
37025         (ldbl_pack): Rename to ldbl_pack_ppc.
37026         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37027         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37028         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37030 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37033         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37034         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37035         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37037         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37038         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37039         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37041 2013-03-07  Andreas Jaeger  <aj@suse.de>
37043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37044         bits/mman-linux.h.
37046 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37048         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37049         Include mpa.h and declare __MPEXP.
37050         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37051         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37052         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37053         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37054         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37055         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37056         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37058         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37059         (__slowpow): Use long double EXPL and LOGL functions to
37060         compute POW.
37061         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37062         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37063         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37064         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37065         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37066         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37068         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37069         intermediate variable to calculate exponent.
37070         (__sqr): Likewise.
37071         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37072         Likewise.
37073         (__sqr): Likewise.
37075         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37076         [!NO__SQR]: Define __sqr.
37077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37078         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37079         sysdeps/ieee754/dbl-64/mpa.c.
37080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37082         [BZ #12723]
37083         * posix/Makefile (tests): Add tst-pathconf.
37084         * posix/tst-pathconf.c: New test case.
37085         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37086         _PC_PIPE_BUF.
37087         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37089 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37091         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37093 2013-03-06  Andreas Jaeger  <aj@suse.de>
37095         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37096         definition via __MAP_ANONYMOUS.
37098         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37099         it's not part of Linux headers.
37101         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37102         (MAP_HUGE_MASK): Define.
37104         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37105         Define.
37106         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37107         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37108         Define.
37109         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37110         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37111         Define.
37112         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37113         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37114         Define.
37115         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37117         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37118         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37119         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37120         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37121         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37122         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37124         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37125         Handle f2fs.
37127         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37128         Handle f2fs and efivarfs.
37130         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37131         f2fs.
37133         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37134         (EFIVARFS_MAGIC): Add.
37135         (F2FS_LINK_MAX): Add.
37137 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37139         * stdio-common/vfprintf.c: Replace __builtin_expect with
37140         __glibc_unlikely.
37142 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37144         [BZ #13550]
37145         * sysdeps/generic/bp-sym.h: Remove file.
37146         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37147         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37148         <bp-sym.h> and <bp-asm.h>.
37149         (__longjmp): Don't use BP_SYM.
37150         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37151         and <bp-asm.h>.
37152         (memcpy): Don't use BP_SYM.
37153         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37154         <bp-sym.h> and <bp-asm.h>.
37155         (memcpy): Don't use BP_SYM.
37156         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37157         <bp-asm.h>.
37158         (memcpy): Don't use BP_SYM.
37159         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37160         <bp-asm.h>.
37161         (memset): Don't use BP_SYM.
37162         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37163         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37164         (__bzero): Don't use BP_SYM.
37165         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37166         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37167         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37168         <bp-sym.h> and <bp-asm.h>.
37169         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37170         pointers.
37171         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37172         <bp-sym.h> and <bp-asm.h>.
37173         (memcpy): Don't use BP_SYM.
37174         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37175         <bp-sym.h> and <bp-asm.h>.
37176         (memset): Don't use BP_SYM.
37177         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37178         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37179         (__bzero): Don't use BP_SYM.
37180         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37181         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37182         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37183         <bp-sym.h> and <bp-asm.h>.
37184         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37185         pointers.
37186         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37187         <bp-sym.h> and <bp-asm.h>.
37188         (memcpy): Don't use BP_SYM.
37189         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37190         <bp-sym.h> and <bp-asm.h>.
37191         (memset): Don't use BP_SYM.
37192         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37193         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37194         (__bzero): Don't use BP_SYM.
37195         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37196         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37197         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37198         <bp-sym.h> and <bp-asm.h>.
37199         (__memchr): Don't use BP_SYM.
37200         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37201         <bp-sym.h> and <bp-asm.h>.
37202         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37203         pointers.
37204         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37205         <bp-sym.h> and <bp-asm.h>.
37206         (memcpy): Don't use BP_SYM.
37207         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37208         <bp-sym.h> and <bp-asm.h>.
37209         (__mempcpy): Don't use BP_SYM.
37210         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37211         <bp-sym.h> and <bp-asm.h>.
37212         (__memrchr): Don't use BP_SYM.
37213         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37214         <bp-sym.h> and <bp-asm.h>.
37215         (memset): Don't use BP_SYM.
37216         (__bzero): Likewise.
37217         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37218         <bp-sym.h> and <bp-asm.h>.
37219         (__rawmemchr): Don't use BP_SYM.
37220         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37221         <bp-sym.h> and <bp-asm.h>.
37222         (__STRCMP): Don't use BP_SYM.
37223         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37224         <bp-sym.h> and <bp-asm.h>.
37225         (strchr): Don't use BP_SYM.
37226         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37227         <bp-sym.h> and <bp-asm.h>.
37228         (__strchrnul): Don't use BP_SYM.
37229         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37230         <bp-sym.h> and <bp-asm.h>.
37231         (strlen): Don't use BP_SYM.
37232         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37233         <bp-sym.h> and <bp-asm.h>.
37234         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37235         pointers.
37236         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37237         <bp-sym.h> and <bp-asm.h>.
37238         (__strnlen): Don't use BP_SYM.
37239         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37240         <bp-sym.h> and <bp-asm.h>.
37241         (__GI__setjmp): Don't use BP_SYM.
37242         (_setjmp): Likewise.
37243         (__sigsetjmp): Likewise.
37244         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37245         (L(start_addresses)): Don't use BP_SYM.
37246         (_start): Likewise.
37247         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37248         <bp-asm.h>.
37249         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37250         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37251         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37252         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37253         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37254         <bp-asm.h>.
37255         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37256         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37257         about bounded pointers.
37258         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37259         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37260         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37261         <bp-asm.h>.
37262         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37263         about bounded pointers.  Remove GKM FIXME comments.
37264         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37265         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37266         <bp-asm.h>.
37267         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37268         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37269         Remove GKM FIXME comments.
37270         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37271         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37272         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37273         <bp-asm.h>.
37274         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37275         about bounded pointers.  Remove GKM FIXME comment.
37276         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37277         and <bp-asm.h>.
37278         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37279         pointers.
37280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37281         <bp-sym.h> and <bp-asm.h>.
37282         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37284         <bp-sym.h> and <bp-asm.h>.
37285         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37286         comment.
37288 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37290         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37291         call free(NULL).
37293 2013-03-05  David S. Miller  <davem@davemloft.net>
37295         * po/es.po: Update from translation team.
37297 2013-03-05  Andreas Jaeger  <aj@suse.de>
37299         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37300         <bits/mman-linux.h>.
37301         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37302         is fine.
37303         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37304         <bits/mman-linux.h> to end of file.
37305         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37306         is fine.
37307         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37308         <bits/mman-linux.h> to end of file.
37309         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37310         is fine.
37311         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37312         <bits/mman-linux.h> to end of file.
37314         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37315         (MCL_CURRENT, MCL_FUTURE): Define here.
37317 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37319         [BZ #15232]
37320         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37321         attribute_hidden.
37322         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37324 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37326         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37327         fourth parameter needed for rt_sigprocmask syscall.
37328         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37329         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37330         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37331         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37332         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37333         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37335 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37337         [BZ #13550]
37338         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37339         comment about bounded pointers.
37340         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37341         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37343 2013-03-04  Andreas Jaeger  <aj@suse.de>
37345         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37346         common definitions.
37348         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37349         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37350         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37351         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37352         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37353         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37355 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37357         [BZ #15055]
37358         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37359         __ieee754_sqrl instead of __sqrl.
37361 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37363         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37364         * sysdeps/powerpc/fpu_control.h: ... here.
37365         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37366         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37367         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37368         * sysdeps/powerpc/bits/mathinline.h: ... here.
37370 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37372         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37373         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37374         to just [NEED_DL_SYSINFO_DSO].
37375         * elf/dl-support.c: Likewise.
37376         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37377         * elf/rtld.c (dl_main): Likewise.
37378         * elf/setup-vdso.h (setup_vdso): Likewise.
37379         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37380         * sysdeps/unix/sysv/linux/dl-sysdep.c
37381         (_dl_discover_osversion): Likewise.
37383 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37385         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37386         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37388 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37390         * NEWS: Mention libm performance improvements and non-x86 PI
37391         futex support.
37393         * csu/libc-start.c (__pthread_initialize_minimal): Change
37394         function arguments.
37395         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37397 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37399         [BZ #13550]
37400         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37401         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37402         <bp-sym.h> and <bp-asm.h>.
37403         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37404         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37405         and <bp-asm.h>.
37406         (memcpy): Don't use BP_SYM.
37407         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37408         <bp-asm.h>.
37409         (__mpn_add_n): Don't use BP_SYM.
37410         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37411         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37412         and <bp-asm.h>.
37413         (__mpn_addmul_1): Don't use BP_SYM.
37414         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37415         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37416         <bp-sym.h>.
37417         (_setjmp): Don't use BP_SYM.
37418         (__novmx_setjmp): Likewise.
37419         (__GI__setjmp): Likewise.
37420         (__vmx_setjmp): Likewise.
37421         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37422         <bp-sym.h>.
37423         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37424         (__bzero): Don't use BP_SYM.
37425         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37426         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37427         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37428         <bp-sym.h> and <bp-asm.h>.
37429         (memcpy): Don't use BP_SYM.
37430         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37431         <bp-sym.h> and <bp-asm.h>.
37432         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37433         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37434         <bp-sym.h> and <bp-asm.h>.
37435         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37436         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37437         <bp-asm.h>.
37438         (__mpn_lshift): Don't use BP_SYM.
37439         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37440         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37441         <bp-asm.h>.
37442         (memset): Don't use BP_SYM.
37443         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37444         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37445         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37446         <bp-asm.h>.
37447         (__mpn_mul_1): Don't use BP_SYM.
37448         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37449         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37450         <bp-sym.h> and <bp-asm.h>.
37451         (memcmp): Don't use BP_SYM.
37452         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37453         <bp-sym.h> and <bp-asm.h>.
37454         (memcpy): Don't use BP_SYM.
37455         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37456         <bp-sym.h> and <bp-asm.h>.
37457         (memset): Don't use BP_SYM.
37458         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37459         <bp-sym.h> and <bp-asm.h>.
37460         (strncmp): Don't use BP_SYM.
37461         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37462         <bp-sym.h> and <bp-asm.h>.
37463         (memcpy): Don't use BP_SYM.
37464         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37465         <bp-sym.h> and <bp-asm.h>.
37466         (memset): Don't use BP_SYM.
37467         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37468         <bp-sym.h> and <bp-asm.h>.
37469         (__memchr): Don't use BP_SYM.
37470         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37471         <bp-sym.h> and <bp-asm.h>.
37472         (memcmp): Don't use BP_SYM.
37473         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37474         <bp-sym.h> and <bp-asm.h>.
37475         (memcpy): Don't use BP_SYM.
37476         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37477         <bp-sym.h> and <bp-asm.h>.
37478         (__mempcpy): Don't use BP_SYM.
37479         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37480         <bp-sym.h> and <bp-asm.h>.
37481         (__memrchr): Don't use BP_SYM.
37482         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37483         <bp-sym.h> and <bp-asm.h>.
37484         (memset): Don't use BP_SYM.
37485         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37486         <bp-sym.h> and <bp-asm.h>.
37487         (__rawmemchr): Don't use BP_SYM.
37488         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37489         <bp-sym.h> and <bp-asm.h>.
37490         (__STRCMP): Don't use BP_SYM.
37491         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37492         <bp-sym.h> and <bp-asm.h>.
37493         (strchr): Don't use BP_SYM.
37494         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37495         <bp-sym.h> and <bp-asm.h>.
37496         (__strchrnul): Don't use BP_SYM.
37497         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37498         <bp-sym.h> and <bp-asm.h>.
37499         (strlen): Don't use BP_SYM.
37500         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37501         <bp-sym.h> and <bp-asm.h>.
37502         (strncmp): Don't use BP_SYM.
37503         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37504         <bp-sym.h> and <bp-asm.h>.
37505         (__strnlen): Don't use BP_SYM.
37506         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37507         <bp-asm.h>.
37508         (__mpn_rshift): Don't use BP_SYM.
37509         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37510         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37511         <bp-sym.h> and <bp-asm.h>.
37512         (__sigsetjmp): Don't use BP_SYM.
37513         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37514         (L(start_addresses)): Don't use BP_SYM.
37515         (_start): Likewise.
37516         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37517         <bp-asm.h>.
37518         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37519         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37520         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37521         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37522         <bp-asm.h>.
37523         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37524         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37525         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37526         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37527         <bp-asm.h>.
37528         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37529         comments.
37530         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37531         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37532         <bp-asm.h>.
37533         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37534         FIXME comments.
37535         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37536         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37537         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37538         <bp-asm.h>.
37539         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37540         comment.
37541         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37542         and <bp-asm.h>.
37543         (strncmp): Don't use BP_SYM,
37544         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37545         <bp-asm.h>.
37546         (__mpn_sub_n): Don't use BP_SYM.
37547         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37548         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37549         and <bp-asm.h>.
37550         (__mpn_submul_1): Don't use BP_SYM.
37551         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37553         <bp-sym.h> and <bp-asm.h>.
37554         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37556         <bp-sym.h> and <bp-asm.h>.
37557         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37558         comment.
37560 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37563         Use ZK to minimize writes to Z.
37564         (sub_magnitudes): Simplify code a bit.
37565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37566         Use ZK to minimize writes to Z.
37567         (sub_magnitudes): Simplify code a bit.
37569 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37571         * csu/gmon-start.c: Add special exception to license text.
37573 2013-02-27  Richard Henderson  <rth@redhat.com>
37575         * scripts/config.guess: Update from config.git.
37576         * scripts/config.sub: Likewise.
37578 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37580         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37582         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37584         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37586         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37588         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37590 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37592         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37593         [$(build-shared = yes].
37595 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37597         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37598         (__mul): Reduce iterations for calculating mantissa.
37600         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37601         MPTWO.
37602         (__mpranred): Likewise.
37604         [BZ #15160]
37605         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37606         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37608 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37610         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37611         Define __attribute__.
37613 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37615         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37616         unused.
37617         * posix/regex_internal.h (__attribute): Remove.
37618         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37619         (re_string_context_at): Likewise.
37620         (bitset_not): Use __attribute__ and mark function as possibly
37621         unused.
37622         (bitset_merge): Likewise.
37623         (bitset_mask): Likewise.
37624         (re_string_char_size_at): Likewise.
37625         (re_string_wchar_at): Likewise.
37626         (re_string_elem_size_at): Likewise.
37628 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37630         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37631         code.
37632         (cc32): Likewise.
37634         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37635         (__acr): Likewise.
37636         (__cpy): Likewise.
37637         (norm): Likewise.
37638         (denorm): Likewise.
37639         (__dbl_mp): Likewise.
37640         (add_magnitudes): Likewise.
37641         (sub_magnitudes): Likewise.
37642         (__mul): Likewise.
37643         (__inv): Likewise.
37645         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37646         style.
37648         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37649         style.
37651         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37652         code.
37654         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37655         up changes with default code.
37656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37657         Likewise.
37659 2013-02-24  Allan McRae  <allan@archlinux.org>
37661         * manual/socket.texi (The Internet Namespace): Order menu items
37662         to match that in the file.
37664         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37665         node listing of the info page menu.
37667 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37669         [BZ #13550]
37670         * sysdeps/i386/bp-asm.h: Remove file.
37671         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37672         (PARMS): Do not use macros from bp-asm.h.
37673         (S1): Likewise.
37674         (S2): Likewise.
37675         (SIZE): Likewise.
37676         (__mpn_add_n): Do not use BP_SYM
37677         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37678         "bp-asm.h".
37679         (PARMS): Do not use macros from bp-asm.h.
37680         (S1): Likewise.
37681         (SIZE): Likewise.
37682         (__mpn_addmul_1): Do not use BP_SYM
37683         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37684         "bp-asm.h".
37685         (PARMS): Do not use macros from bp-asm.h.
37686         (SIGMSK): Likewise.
37687         (_setjmp): Likewise.  Do not use BP_SYM.
37688         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37689         "bp-asm.h".
37690         (PARMS): Do not use macros from bp-asm.h.
37691         (SIGMSK): Likewise.
37692         (setjmp): Likewise.  Do not use BP_SYM.
37693         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37694         "bp-asm.h".
37695         (PARMS): Do not use macros from bp-asm.h.
37696         (__frexp): Do not use BP_SYM.
37697         (frexp): Likewise.
37698         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37699         "bp-asm.h".
37700         (PARMS): Do not use macros from bp-asm.h.
37701         (__frexpf): Do not use BP_SYM.
37702         (frexpf): Likewise.
37703         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37704         "bp-asm.h".
37705         (PARMS): Do not use macros from bp-asm.h.
37706         (__frexpl): Do not use BP_SYM.
37707         (frexpl): Likewise.
37708         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37709         "bp-asm.h".
37710         (PARMS): Do not use macros from bp-asm.h.
37711         (__remquo): Do not use BP_SYM.
37712         (remquo): Likewise.
37713         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37714         "bp-asm.h".
37715         (PARMS): Do not use macros from bp-asm.h.
37716         (__remquof): Do not use BP_SYM.
37717         (remquof): Likewise.
37718         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37719         "bp-asm.h".
37720         (PARMS): Do not use macros from bp-asm.h.
37721         (__remquol): Do not use BP_SYM.
37722         (remquol): Likewise.
37723         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37724         "bp-asm.h".
37725         (PARMS): Do not use macros from bp-asm.h.
37726         (DEST): Likewise.
37727         (SRC): Likewise.
37728         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37729         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37730         "bp-asm.h".
37731         (PARMS): Do not use macros from bp-asm.h.
37732         (strlen): Do not use BP_SYM.
37733         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37734         "bp-asm.h".
37735         (PARMS): Do not use macros from bp-asm.h.
37736         (S1): Likewise.
37737         (S2): Likewise.
37738         (SIZE): Likewise.
37739         (__mpn_add_n): Do not use BP_SYM.
37740         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37741         "bp-asm.h".
37742         (PARMS): Do not use macros from bp-asm.h.
37743         (S1): Likewise.
37744         (SIZE): Likewise.
37745         (__mpn_addmul_1): Do not use BP_SYM.
37746         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37747         weak_alias.
37748         (bzero): Likewise.
37749         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37750         "bp-asm.h".
37751         (PARMS): Do not use macros from bp-asm.h.
37752         (S): Likewise.
37753         (SIZE): Likewise.
37754         (__mpn_lshift): Do not use BP_SYM.
37755         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37756         "bp-asm.h".
37757         (PARMS): Do not use macros from bp-asm.h.
37758         (DEST): Likewise.
37759         (SRC): Likewise.
37760         (LEN): Likewise.
37761         (memcpy): Likewise.  Do not use BP_SYM.
37762         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37763         libc_hidden_def and weak_alias.
37764         (mempcpy): Do not use BP_SYM in weak_alias.
37765         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37766         "bp-asm.h".
37767         (PARMS): Do not use macros from bp-asm.h.
37768         (DEST): Likewise.
37769         (LEN): Likewise.
37770         [!BZERO_P] (CHR): Likewise.
37771         (memset): Likewise.  Do not use BP_SYM.
37772         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37773         "bp-asm.h".
37774         (PARMS): Do not use macros from bp-asm.h.
37775         (S1): Likewise.
37776         (SIZE): Likewise.
37777         (__mpn_mul_1): Do not use BP_SYM.
37778         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37779         "bp-asm.h".
37780         (PARMS): Do not use macros from bp-asm.h.
37781         (S): Likewise.
37782         (SIZE): Likewise.
37783         (__mpn_rshift): Do not use BP_SYM.
37784         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37785         "bp-asm.h".
37786         (PARMS): Do not use macros from bp-asm.h.
37787         (STR): Likewise.
37788         (CHR): Likewise.
37789         (strchr): Likewise.  Do not use BP_SYM.
37790         (index): Do not use BP_SYM in weak_alias.
37791         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37792         "bp-asm.h".
37793         (PARMS): Do not use macros from bp-asm.h.
37794         (DEST): Likewise.
37795         (SRC): Likewise.
37796         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37797         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37798         "bp-asm.h".
37799         (PARMS): Do not use macros from bp-asm.h.
37800         (strlen): Do not use BP_SYM.
37801         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37802         "bp-asm.h".
37803         (PARMS): Do not use macros from bp-asm.h.
37804         (S1): Likewise.
37805         (S2): Likewise.
37806         (SIZE): Likewise.
37807         (__mpn_sub_n): Do not use BP_SYM.
37808         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37809         "bp-asm.h".
37810         (PARMS): Do not use macros from bp-asm.h.
37811         (S1): Likewise.
37812         (SIZE): Likewise.
37813         (__mpn_submul_1): Do not use BP_SYM.
37814         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37815         "bp-asm.h".
37816         (PARMS): Do not use macros from bp-asm.h.
37817         (S1): Likewise.
37818         (S2): Likewise.
37819         (SIZE): Likewise.
37820         (__mpn_add_n): Do not use BP_SYM.
37821         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37822         weak_alias.
37823         (bzero): Likewise.
37824         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37825         "bp-asm.h".
37826         (PARMS): Do not use macros from bp-asm.h.
37827         (BLK2): Likewise.
37828         (LEN): Likewise.
37829         (memcmp): Do not use BP_SYM.
37830         (bcmp): Do not use BP_SYM in weak_alias.
37831         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37832         "bp-asm.h".
37833         (PARMS): Do not use macros from bp-asm.h.
37834         (DEST): Likewise.
37835         (SRC): Likewise.
37836         (LEN): Likewise.
37837         (memcpy): Likewise.  Do not use BP_SYM.
37838         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37839         "bp-asm.h".
37840         (PARMS): Do not use macros from bp-asm.h.
37841         (DEST): Likewise.
37842         (SRC): Likewise.
37843         (LEN): Likewise.
37844         (memmove): Likewise.  Do not use BP_SYM.
37845         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37846         "bp-asm.h".
37847         (PARMS): Do not use macros from bp-asm.h.
37848         (DEST): Likewise.
37849         (SRC): Likewise.
37850         (LEN): Likewise.
37851         (__mempcpy): Likewise.  Do not use BP_SYM.
37852         (mempcpy): Do not use BP_SYM in weak_alias.
37853         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37854         "bp-asm.h".
37855         (PARMS): Do not use macros from bp-asm.h.
37856         (DEST): Likewise.
37857         (LEN): Likewise.
37858         [!BZERO_P] (CHR): Likewise.
37859         (memset): Likewise.  Do not use BP_SYM.
37860         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37861         "bp-asm.h".
37862         (PARMS): Do not use macros from bp-asm.h.
37863         (STR2): Likewise.
37864         (strcmp): Do not use BP_SYM.
37865         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37866         "bp-asm.h".
37867         (PARMS): Do not use macros from bp-asm.h.
37868         (STR): Likewise.
37869         (DELIM): Likewise.
37870         [USE_AS_STRTOK_R] (SAVE): Likewise.
37871         (FUNCTION): Likewise.  Do not use BP_SYM.
37872         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37873         aliases.
37874         (strtok_r): Likewise.
37875         (__GI___strtok_r): Likewise.
37876         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37877         (PARMS): Do not use macros from bp-asm.h.
37878         (S): Likewise.
37879         (SIZE): Likewise.
37880         (__mpn_lshift): Do not use BP_SYM.
37881         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37882         (PARMS): Do not use macros from bp-asm.h.
37883         (STR): Likewise.
37884         (CHR): Likewise.
37885         (__memchr): Do not use BP_SYM.
37886         (memchr): Do not use BP_SYM in weak_alias.
37887         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37888         (PARMS): Do not use macros from bp-asm.h.
37889         (BLK2): Likewise.
37890         (LEN): Likewise.
37891         (memcmp): Do not use BP_SYM.
37892         (bcmp): Do not use BP_SYM in weak_alias.
37893         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37894         (PARMS): Do not use macros from bp-asm.h.
37895         (S1): Likewise.
37896         (SIZE): Likewise.
37897         (__mpn_mul_1): Do not use BP_SYM.
37898         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37899         "bp-asm.h".
37900         (PARMS): Do not use macros from bp-asm.h.
37901         (STR): Likewise.
37902         (CHR): Likewise.
37903         (__rawmemchr): Do not use BP_SYM.
37904         (rawmemchr): Do not use BP_SYM in weak_alias.
37905         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37906         (PARMS): Do not use macros from bp-asm.h.
37907         (S): Likewise.
37908         (SIZE): Likewise.
37909         (__mpn_rshift): Do not use BP_SYM.
37910         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37911         (PARMS): Do not use macros from bp-asm.h.
37912         (SIGMSK): Likewise.
37913         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37914         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37915         (_start): Do not use BP_SYM.
37916         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37917         (PARMS): Do not use macros from bp-asm.h.
37918         (DEST): Likewise.
37919         (SRC): Likewise.
37920         (__stpcpy): Likewise.  Do not use BP_SYM.
37921         (stpcpy): Do not use BP_SYM in weak_alias.
37922         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37923         "bp-asm.h".
37924         (PARMS): Do not use macros from bp-asm.h.
37925         (DEST): Likewise.
37926         (SRC): Likewise.
37927         (LEN): Likewise.
37928         (__stpncpy): Likewise.  Do not use BP_SYM.
37929         (stpncpy): Do not use BP_SYM in weak_alias.
37930         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37931         (PARMS): Do not use macros from bp-asm.h.
37932         (STR): Likewise.
37933         (CHR): Likewise.
37934         (strchr): Likewise.  Do not use BP_SYM.
37935         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37936         "bp-asm.h".
37937         (PARMS): Do not use macros from bp-asm.h.
37938         (STR): Likewise.
37939         (CHR): Likewise.
37940         (__strchrnul): Likewise.  Do not use BP_SYM.
37941         (strchrnul): Do not use BP_SYM in weak_alias.
37942         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37943         "bp-asm.h".
37944         (PARMS): Do not use macros from bp-asm.h.
37945         (STOP): Likewise.
37946         (strcspn): Do not use BP_SYM.
37947         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37948         "bp-asm.h".
37949         (PARMS): Do not use macros from bp-asm.h.
37950         (STR): Likewise.
37951         (STOP): Likewise.
37952         (strpbrk): Likewise.  Do not use BP_SYM.
37953         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37954         "bp-asm.h".
37955         (PARMS): Do not use macros from bp-asm.h.
37956         (STR): Likewise.
37957         (CHR): Likewise.
37958         (strrchr): Likewise.  Do not use BP_SYM.
37959         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37960         (PARMS): Do not use macros from bp-asm.h.
37961         (SKIP): Likewise.
37962         (strspn): Do not use BP_SYM.
37963         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37964         (PARMS): Do not use macros from bp-asm.h.
37965         (STR): Likewise.
37966         (DELIM): Likewise.
37967         (SAVE): Likewise.
37968         (FUNCTION): Likewise.  Do not use BP_SYM.
37969         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37970         aliases.
37971         (strtok_r): Likewise.
37972         (__GI___strtok_r): Likewise.
37973         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37974         (PARMS): Do not use macros from bp-asm.h.
37975         (S1): Likewise.
37976         (S2): Likewise.
37977         (SIZE): Likewise.
37978         (__mpn_sub_n): Do not use BP_SYM.
37979         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37980         "bp-asm.h".
37981         (PARMS): Do not use macros from bp-asm.h.
37982         (S1): Likewise.
37983         (SIZE): Likewise.
37984         (__mpn_submul_1): Do not use BP_SYM.
37985         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37986         <bp-sym.h>.
37987         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37988         and <bp-asm.h>.
37989         (PARMS): Do not use macros from bp-asm.h.
37990         (FLAGS): Likewise.
37991         (PTID): Likewise.
37992         (TLS): Likewise.
37993         (CTID): Likewise.
37994         (__clone): Do not use BP_SYM.
37995         (clone): Do not use BP_SYM in weak_alias.
37996         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37997         and <bp-asm.h>.
37998         (PARMS): Do not use macros from bp-asm.h.
37999         (LEN): Likewise.
38000         (__mmap64): Do not use BP_SYM.
38001         (mmap64): Do not use BP_SYM in weak_alias.
38002         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38003         <bp-sym.h> and <bp-asm.h>.
38004         (PARMS): Do not use macros from bp-asm.h.
38005         (__posix_fadvise64_l64): Do not use BP_SYM.
38006         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38007         (PARMS): Do not use macros from bp-asm.h.
38008         (NSOPS): Likewise.
38009         (semtimedop): Do not use BP_SYM.
38010         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38011         and <bp-asm.h>.
38013 2013-02-21  Allan McRae  <allan@archlinux.org>
38015         * manual/message.texi (Charset conversion in gettext):
38016         Move @end statement to beginning of line.
38018 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38021         static.
38022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38023         Likewise.
38025         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38026         (denorm): Likewise.
38027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38030 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38032         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38033         tail-call to the resolved function if pltexit isn't needed.
38035 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38038         or Y being zero as being unlikely.
38039         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38040         Likewise.
38042 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38044         * manual/nss.texi (System Databases and Name Service Switch):
38045         Remove frobnicate @pxref.
38047 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38049         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38050         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38052 2013-02-20  Petr Machata  <pmachata@redhat.com>
38054         * elf/elf.h (R_ARM_TARGET1): New macro.
38055         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38056         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38057         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38058         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38059         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38060         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38061         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38062         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38063         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38064         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38065         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38066         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38067         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38068         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38069         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38070         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38071         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38072         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38073         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38074         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38075         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38076         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38077         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38078         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38079         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38080         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38081         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38082         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38083         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38084         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38085         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38086         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38087         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38088         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38089         (R_ARM_THM_GOT_BREL12): Likewise.
38090         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38091         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38092         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38093         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38094         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38095         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38096         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38097         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38098         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38100 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38102         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38103         __attribute_used__ to __attribute__ ((unused)).
38105 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38107         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38108         powerpc mpa.c.
38109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38110         comment formatting.
38111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38113 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38115         [BZ #13550]
38116         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38117         Remove macro.
38118         (ENTER): Remove both macro definitions.
38119         (LEAVE): Likewise.
38120         (CHECK_BOUNDS_LOW): Likewise.
38121         (CHECK_BOUNDS_HIGH): Likewise.
38122         (CHECK_BOUNDS_BOTH): Likewise.
38123         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38124         (RETURN_BOUNDED_POINTER): Likewise.
38125         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38126         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38127         (POP_ERRNO_LOCATION_RETURN): Likewise.
38128         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38129         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38130         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38131         macros.
38132         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38133         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38134         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38135         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38136         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38137         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38138         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38139         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38140         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38141         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38142         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38143         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38144         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38145         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38146         removed macros.
38147         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38148         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38149         macros.
38150         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38151         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38152         * sysdeps/i386/i586/memset.S (memset): Likewise.
38153         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38154         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38155         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38156         macros.
38157         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38158         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38159         Change uses of L(2) to L(out).
38160         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38161         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38162         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38163         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38164         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38165         removed macros.
38166         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38167         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38168         macros.
38169         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38170         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38171         (RETURN): Do not use macro LEAVE.
38172         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38173         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38174         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38175         * sysdeps/i386/i686/memset.S (memset): Likewise.
38176         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38177         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38178         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38179         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38180         Likewise.
38181         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38182         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38183         L(1_2) and L(1_3) into L(1).
38184         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38185         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38186         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38187         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38188         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38189         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38190         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38191         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38192         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38193         macros.
38194         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38195         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38196         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38197         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38198         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38199         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38200         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38201         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38202         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38203         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38204         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38205         * sysdeps/i386/strspn.S (strspn): Likewise.
38206         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38207         conditional code.
38208         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38209         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38210         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38211         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38212         L(1_3) into L(1_1).
38213         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38214         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38215         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38216         macros.
38217         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38219 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38221         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38222         macro.
38224 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38226         * math/atest-exp.c (exp_mpn): Remove ROUND.
38227         * math/atest-exp2.c (exp_mpn): Likewise.
38228         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38230         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38231         * stdlib/tst-tls-atexit-lib.c: Likewise.
38232         * stdlib/tst-tls-atexit.c: Likewise.
38234 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38236         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38237         and __attribute_alloc_size__.
38239 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38241         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38242         __attribute_alloc_size__.
38243         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38244         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38246 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38248         * include/programs/xmalloc.h: New file.
38249         * catgets/gencat.c: Include it.
38250         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38251         * elf/pldd.c: Likewise.
38252         * iconv/iconv_charmap.c: Likewise.
38253         * iconv/iconvconfig.c: Likewise.
38254         * iconv/strtab.c: Likewise.
38255         * locale/programs/locale.c: Likewise.
38256         * locale/programs/localedef.h: Likewise.
38257         * locale/programs/simple-hash.c: Likewise.
38258         * nscd/nscd.h: Likewise.
38259         * nss/makedb.c: Likewise.
38260         * sysdeps/generic/ldconfig.h: Likewise.
38262 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38264         * Versions.def: Add GLIBC_2.18.
38265         * include/link.h (struct link_map): New member l_tls_dtor_count.
38266         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38267         (__call_tls_dtors): Likewise.
38268         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38269         __cxa_thread_atexit_impl.
38270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38271         Likewise.
38272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38273         Likewise.
38274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38275         Likewise.
38276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38277         Likewise.
38278         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38280         Likewise.
38281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38282         Likewise.
38283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38285         Likewise.
38286         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38287         (tests): Add test case tst-tls-atexit.
38288         (modules-names): Add shared library for tst-tls-atexit.
38289         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38290         (GLIBC_PRIVATE): Add __call_tls_dtors.
38291         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38292         for libstdc++.
38293         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38294         * stdlib/tst-tls-atexit.c: New test case.
38295         * stdlib/tst-tls-atexit-lib.c: New test case.
38297         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38299         * elf/Versions (ld): Add _dl_find_dso_for_object.
38300         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38301         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38302         (dl_open_worker): Use _dl_find_dso_for_object.
38303         * elf/dl-sym.c (do_sym): Likewise.
38304         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38306 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38308         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38309         Syntactic changes only.
38310         (_dl_runtime_profile): Do a tail-call to the resolved function.
38312 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38314         [BZ #13550]
38315         * sysdeps/x86_64/bp-asm.h: Remove file.
38316         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38317         <bp-sym.h> and <bp-asm.h>.
38318         (__clone): Do not use BP_SYM.
38319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38320         <bp-sym.h> and <bp-asm.h>.
38321         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38322         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38323         "bp-asm.h".
38324         (_setjmp): Do not use BP_SYM.
38325         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38326         "bp-asm.h".
38327         (setjmp): Do not use BP_SYM.
38328         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38329         libc_hidden_def.
38330         (mempcpy): Do not use BP_SYM in weak_alias.
38331         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38332         "bp-asm.h".
38333         (strchr): Do not use BP_SYM.
38334         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38335         "bp-asm.h".
38336         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38337         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38338         (_start): Do not use BP_SYM.
38339         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38340         "bp-asm.h".
38341         (strcat): Do not use BP_SYM.
38342         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38343         "bp-asm.h".
38344         (STRCMP): Do not use BP_SYM.
38345         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38346         "bp-asm.h".
38347         (STRCPY): Do not use BP_SYM.
38348         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38349         "bp-asm.h".
38350         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38351         "bp-asm.h".
38352         (FUNCTION): Do not use BP_SYM.
38353         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38354         weak_alias.
38355         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38357 2013-02-17  Andreas Jaeger  <aj@suse.de>
38359         * time/Versions: Sort entries.
38360         * string/Versions: Likewise.
38361         * resolv/Versions: Likewise.
38362         * posix/Versions: Likewise.
38363         * iconv/Versions: Likewise.
38364         * elf/Versions: Likewise.
38365         * wcsmbs/Versions: Likewise.
38367 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38369         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38370         loop termination condition.
38372         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38373         variable to calculate EZ.
38374         (__sqr): Likewise.
38376         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38377         the lower precision input.
38379 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38381         [BZ #13550]
38382         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38383         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38384         (run-via-rtld-prefix): Do not handle %-bp tests.
38385         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38386         (all-object-suffixes): Remove .ob.
38387         (bppfx): Remove variable.
38388         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38389         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38390         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38391         [$(build-bounded) = yes] (libtype.ob): Likewise.
38392         * Makerules (elide-routines.ob): Remove variable.
38393         (do-tests-clean): Do not handle *-bp.out.
38394         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38395         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38396         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38397         (tests): Do not include $(tests-bp.out).
38398         (xtests): Do not include $(xtests-bp.out).
38399         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38400         [$(build-bounded) = yes] ($(addprefix
38401         $(objpfx),$(binaries-bounded))): Remove rule.
38402         ($(objpfx)%-bp.out): Remove rule.
38403         * config.make.in (build-bounded): Remove variable.
38404         * crypt/Makefile [$(build-bounded) = yes]
38405         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38406         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38407         append to variable.
38408         [$(build-bounded) = yes] (install-lib): Likewise.
38409         [$(build-bounded) = yes] (generated): Likewise.
38410         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38411         Remove rule.
38412         * intl/Makefile [$(build-bounded) = yes]
38413         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38414         * math/Makefile [$(build-bounded) = yes]
38415         ($(tests:%=$(objpfx)%-bp): Likewise.
38416         * misc/Makefile [$(build-bounded) = yes]
38417         ($(objpfx)tst-tsearch-bp): Likewise.
38418         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38419         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38420         Remove dependency.
38421         * string/Makefile (o-objects.ob): Remove variable.
38422         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38423         (CFLAGS-.ob): Remove variable.
38424         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38425         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38426         both definitions of variable.
38427         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38428         (ASFLAGS-.ob): Remove variable.
38430 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38432         [BZ #13550]
38433         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38434         Remove __BOUNDED_POINTERS__ from condition.
38435         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38436         * string/bits/string2.h [!__NO_STRING_INLINES &&
38437         !__BOUNDED_POINTERS__]: Likewise.
38438         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38439         Likewise.
38440         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38441         Remove conditional code.
38442         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38443         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38444         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38445         condition.
38447         [BZ #13550]
38448         * csu/libc-start.c: Do not include <bp-sym.h>.
38449         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38450         * elf/dl-open.c: Do not include <bp-sym.h>.
38451         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38452         * math/fegetenv.c: Do not include <bp-sym.h>.
38453         (fegetenv): Do not use BP_SYM in versioned symbols.
38454         * nptl/sysdeps/pthread/bits/libc-lockP.h
38455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38456         <bp-sym.h>.
38457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38458         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38460         (__pthread_mutex_destroy): Likewise.
38461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38462         (__pthread_mutex_lock): Likewise.
38463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38464         (__pthread_mutex_trylock): Likewise.
38465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38466         (__pthread_mutex_unlock): Likewise.
38467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38468         (__pthread_mutexattr_init): Likewise.
38469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38470         (__pthread_mutexattr_destroy): Likewise.
38471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38472         (__pthread_mutexattr_settype): Likewise.
38473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38474         (__pthread_rwlock_init): Likewise.
38475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38476         (__pthread_rwlock_destroy): Likewise.
38477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38478         (__pthread_rwlock_rdlock): Likewise.
38479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38480         (__pthread_rwlock_tryrdlock): Likewise.
38481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38482         (__pthread_rwlock_wrlock): Likewise.
38483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38484         (__pthread_rwlock_trywrlock): Likewise.
38485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38486         (__pthread_rwlock_unlock): Likewise.
38487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38488         (__pthread_key_create): Likewise.
38489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38490         (__pthread_setspecific): Likewise.
38491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38492         (__pthread_getspecific): Likewise.
38493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38494         Likewise.
38495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38496         (_pthread_cleanup_push_defer): Likewise.
38497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38498         (_pthread_cleanup_pop_restore): Likewise.
38499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38500         (pthread_setcancelstate): Likewise.
38501         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38502         <bp-sym.h>.
38503         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38504         (memchr): Do not use BP_SYM in weak_alias.
38505         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38506         (fegetenv): Do not use BP_SYM in versioned symbols.
38507         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38508         (fesetenv): Do not use BP_SYM in versioned symbols.
38509         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38510         (feupdateenv): Do not use BP_SYM in versioned symbols.
38511         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38512         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38513         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38514         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38515         (open64): Do not use BP_SYM in weak_alias.
38516         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38517         (fegetenv): Do not use BP_SYM in versioned symbols.
38518         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38519         (fesetenv): Do not use BP_SYM in versioned symbols.
38520         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38521         (feupdateenv): Do not use BP_SYM in versioned symbols.
38522         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38523         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38524         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38525         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38526         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38527         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38528         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38529         <bp-sym.h>.
38530         (__libc_start_main): Do not use BP_SYM.
38532 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38535         redundant return line.
38536         (norm): Likewise.
38537         (denorm): Likewise.
38538         (dbl_mp): Likewise.
38539         (sub_magnitudes): Likewise.
38540         (__add): Likewise.
38541         (__sub): Likewise.
38542         (__mul): Likewise.
38543         (__inv): Likewise.
38544         (__dvd): Likewise.
38545         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38546         (norm): Likewise.
38547         (denorm): Likewise.
38548         (dbl_mp): Likewise.
38549         (sub_magnitudes): Likewise.
38550         (__add): Likewise.
38551         (__sub): Likewise.
38552         (__mul): Likewise.
38553         (__inv): Likewise.
38554         (__dvd): Likewise.
38556         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38557         instead of __mul.
38558         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38559         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38560         (cc32): Likewise.
38562         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38563         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38565         of __mul for squares.
38566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38567         function
38568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38569         Likewise.
38570         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38571         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38573 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38575         [BZ #13550]
38576         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38577         code.
38578         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38579         prototype or function definition.  Rename ubp_* variables and
38580         parameters.  Remove argv definitions conditional on
38581         [__BOUNDED_POINTERS__].
38582         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38583         * elf/dl-runtime.c (_dl_fixup): Likewise.
38584         * include/set-hooks.h (RUN_HOOK): Likewise.
38585         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38586         definition.
38587         * string/strcpy.c (strcpy): Do not use __unbounded.
38588         * sysdeps/generic/frame.h (struct layout): Likewise.
38589         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38590         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38591         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38592         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38593         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38594         (__backtrace): Likewise.
38595         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38596         use __ptrvalue.
38597         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38598         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38599         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38600         Likewise.
38601         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38602         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38603         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38604         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38605         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38606         Do not use __unbounded.
38607         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38608         Rename __unboundedrlimits parameter to rlimits in prototype.
38609         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38610         Do not use __unbounded.
38611         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38612         not use __ptrvalue.
38613         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38614         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38615         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38616         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38617         __ptrvalue or __unbounded.
38618         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38619         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38620         use __unbounded.
38621         (__new_msgctl): Do not use __ptrvalue.
38622         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38623         __unbounded.
38624         (__libc_msgrcv): Do not use __ptrvalue.
38625         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38626         startup_info): Do not use __unbounded.
38627         (__libc_start_main): Likewise.  Rename ubp_* variables and
38628         parameters.  Remove argv definitions conditional on
38629         [__BOUNDED_POINTERS__].
38630         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38631         __ptrvalue.
38632         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38633         use __unbounded.
38634         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38635         or __ptrvalue.
38636         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38637         use __unbounded.
38638         (__new_shmctl): Do not use __ptrvalue.
38639         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38640         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38641         Likewise.
38642         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38643         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38644         (__libc_sigaction): Likewise.
38645         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38646         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38647         Likewise.
38648         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38650 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38652         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38654         * string/mempcpy.c: Implement by calling memcpy.
38656 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38661         evaluation.
38663         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38664         values in the mantissa.
38666         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38667         minimize writes to Z.
38668         (sub_magnitudes): Simplify code a bit.
38670 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38672         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38673         from the message.  The linker prefixes all warnings with that already.
38675 2013-02-12  Andreas Schwab  <schwab@suse.de>
38677         [BZ #15078]
38678         * posix/regexec.c (extend_buffers): Add parameter min_len.
38679         (check_matching): Pass minimum needed length.
38680         (clean_state_log_if_needed): Likewise.
38681         (get_subexp): Likewise.
38682         * posix/Makefile (tests): Add bug-regex34.
38683         (bug-regex34-ENV): Define.
38684         * posix/bug-regex34.c: New file.
38686         [BZ #11561]
38687         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38688         elements compare against the byte sequence of it, not its name.
38689         * posix/Makefile (tests): Add bug-regex35.
38690         (bug-regex35-ENV): Define.
38691         * posix/bug-regex35.c: New file.
38693 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38695         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38696         comment.
38697         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38698         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38699         (CHECK_EOL): Add undef.
38701 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38703         * bits/stdlib-bsearch.h: New file.
38704         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38705         * stdlib/stdlib.h: Likewise.
38707 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38709         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38710         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38711         declaration.
38712         * manual/search.texi (Array Search Function): Add missing const in
38713         lfind prototype.
38714         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38715         declaration to use rlim_t.
38716         (Basic Scheduling Functions): Remove erroneous const from
38717         sched_getparam prototype.  Remove erroneous * from
38718         sched_get_priority_max and sched_get_priority_min prototypes.
38719         (Resource Usage): Fix summary @comment on vtimes to refer to
38720         sys/vtimes.h rather than vtimes.h.
38721         Add missing *s in vtimes prototype.
38722         (Limits on Resources): Fix ulimit prototype to return long int.
38723         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38724         prototypes to use long int rather than double.
38725         (BSD Random): Fix initstate and setstate to use char *, not void *.
38726         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38727         prototype to make second argument 'struct aiocb64 *const[]'.
38728         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38729         (Status of AIO Operations): Remove erroneous const in aio_return and
38730         aio_return64 prototypes.
38731         (Synchronizing I/O): Fix sync prototype to return void.
38732         * manual/startup.texi (Suboptions): Remove an erroneous const in
38733         getsubopt prototype.
38734         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38735         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38736         use size_t rather than int.
38737         (Scanning All Users): Likewise for getpwent_r.
38738         (Setting Groups): Add missing const to setgroups prototype.
38739         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38740         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38741         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38742         'const void *' rather than 'const char *'.
38743         (Host Address Functions): Likewise for inet_ntop.
38744         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38745         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38746         ssize_t for return value.
38747         (Sending Data): Likewise for send, sendto, sendmsg.
38748         (Socket Option Functions): Add a missing const in setsockopt prototype.
38749         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38750         use wchar_t for the argument.
38751         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38752         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38753         take no arguments.
38754         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38755         double/float/long double for second argument.
38756         Fix return types of significand, significandf, significandl.
38757         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38758         argument in fchmod prototype.
38759         (File Owner): Use uid_t and gid_t in fchown prototype.
38760         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38761         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38762         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38763         use 'const struct dirent **' as argument types to CMP function pointer
38764         argument.
38765         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38766         (File Times): Fix summary magic @comment for struct utimbuf and utime
38767         to refer to utime.h, not time.h.
38768         * manual/string.texi (Argz Functions): Add missing const in
38769         argz_extract and argz_next prototypes.
38770         (Finding Tokens in a String): Likewise for basename.
38771         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38772         (Copying and Concatenation): Fix typo in wmemmove prototype.
38773         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38774         (Signal Stack): Remove erroneous const in sigstack prototype.
38775         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38776         prototype.
38777         (Simple Calendar Time): Likewise for stime.
38778         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38779         prototype.
38780         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38781         say sys/sysctl.h instead.
38782         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38783         and vsyslog prototypes.
38785 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38787         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38788         Remove.
38790 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38792         * misc/sys/mman.h: Fix typo in mremap comment.
38794 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38796         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38797         the '\0' terminator.
38799 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38801         [BZ #13550]
38802         * debug/segfault.c: Don't include <bp-checks.h>.
38803         * sysdeps/generic/bp-checks.h: Remove file.
38804         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38805         (__GETDENTS): Don't use CHECK_N.
38806         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38807         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38808         (__getgroups): Don't use CHECK_N.
38809         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38810         (setgroups): Don't use CHECK_N.
38811         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38812         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38813         (__libc_msgrcv): Don't use CHECK_N.
38814         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38815         (__libc_msgsnd): Don't use CHECK_N.
38816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38817         <bp-checks.h>.
38818         (__libc_pread): Don't use CHECK_N.
38819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38820         include <bp-checks.h>.
38821         (__libc_pread64): Don't use CHECK_N.
38822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38823         include <bp-checks.h>.
38824         (__libc_pwrite): Don't use CHECK_N.
38825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38826         include <bp-checks.h>.
38827         (__libc_pwrite64): Don't use CHECK_N.
38828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38829         <bp-checks.h>.
38830         (__libc_pread): Don't use CHECK_N.
38831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38832         include <bp-checks.h>.
38833         (__libc_pread64): Don't use CHECK_N.
38834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38835         include <bp-checks.h>.
38836         (__libc_pwrite): Don't use CHECK_N.
38837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38838         include <bp-checks.h>.
38839         (__libc_pwrite64): Don't use CHECK_N.
38840         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38841         (do_pread): Don't use CHECK_N.
38842         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38843         (do_pread64): Don't use CHECK_N.
38844         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38845         (do_pwrite): Don't use CHECK_N.
38846         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38847         (do_pwrite64): Don't use CHECK_N.
38848         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38849         (__libc_readv): Don't use CHECK_N.
38850         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38851         (semop): Don't use CHECK_N.
38852         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38853         <bp-checks.h>.
38854         (semtimedop): Don't use CHECK_N.
38855         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38856         (__libc_pread): Don't use CHECK_N.
38857         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38858         <bp-checks.h>.
38859         (__libc_pread64): Don't use CHECK_N.
38860         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38861         <bp-checks.h>.
38862         (__libc_pwrite): Don't use CHECK_N.
38863         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38864         <bp-checks.h>.
38865         (__libc_pwrite64): Don't use CHECK_N.
38866         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38867         <bp-checks.h>.
38868         (__libc_msgrcv): Don't use CHECK_N.
38869         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38870         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38871         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38872         (__libc_writev): Don't use CHECK_N.
38874 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38876         * string/strcpy.c: Removed unused variable.
38878         * Makeconfig (+sysdep-includes): Define with := rather than =.
38879         Use an existing include/ subdir of each sysdeps dir before it.
38881 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38883         * nscd/connection.c (register_traced_file): Comment function.
38884         [HAVE_INOTIFY] (union __inev): Define.
38885         [HAVE_INOTIFY] (inotify_check_files): New function.
38886         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38887         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38888         clear_db_cache.
38889         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38891 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38893         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38894         loaded if not already and that a failure is permanent.
38896 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38898         [BZ #15006]
38899         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38900         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38902 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38904         [BZ #13550]
38905         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38906         (CHECK_1_NULL_OK): Likewise.
38907         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38908         (__fxstat): Do not use CHECK_1.
38909         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38910         <bp-checks.h>.
38911         (___fxstat64): Do not use CHECK_1.
38912         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38913         <bp-checks.h>.
38914         (__fxstatat): Do not use CHECK_1.
38915         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38916         <bp-checks.h>.
38917         (__fxstatat64): Do not use CHECK_1.
38918         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38919         <bp-checks.h>.
38920         (__fxstat): Do not use CHECK_1.
38921         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38922         <bp-checks.h>.
38923         (__fxstatat): Do not use CHECK_1.
38924         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38925         <bp-checks.h>.
38926         (__getresgid): Do not use CHECK_1.
38927         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38928         <bp-checks.h>.
38929         (__getresuid): Do not use CHECK_1.
38930         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38931         <bp-checks.h>.
38932         (__lxstat): Do not use CHECK_1.
38933         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38934         <bp-checks.h>.
38935         (__old_msgctl): Do not use CHECK_1.
38936         (__new_msgctl): Likewise.
38937         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38938         <bp-checks.h>.
38939         (__new_setrlimit): Do not use CHECK_1.
38940         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38941         <bp-checks.h>.
38942         (__old_shmctl): Do not use CHECK_1.
38943         (__new_shmctl): Likewise.
38944         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38945         <bp-checks.h>.
38946         (__xstat): Do not use CHECK_1.
38947         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38948         (__lxstat): Do not use CHECK_1.
38949         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38950         <bp-checks.h>.
38951         (___lxstat64): Do not use CHECK_1.
38952         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38953         (__old_msgctl): Do not use CHECK_1.
38954         (__new_msgctl): Likewise.
38955         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38956         <bp-checks.h>.
38957         (__gettimeofday): Do not use CHECK_1.
38958         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38959         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38960         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38961         <bp-checks.h>.
38962         (__gettimeofday): Do not use CHECK_1.
38963         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38964         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38965         (__new_shmctl): Do not use CHECK_1.
38966         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38967         <bp-checks.h>.
38968         (do_sigtimedwait): Do not use CHECK_1.
38969         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38970         <bp-checks.h>.
38971         (do_sigwaitinfo): Do not use CHECK_1.
38972         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38973         <bp-checks.h>.
38974         (msgctl): Do not use CHECK_1.
38975         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38976         <bp-checks.h>.
38977         (shmctl): Do not use CHECK_1.
38978         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38979         (ustat): Do not use CHECK_1.
38980         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38981         <bp-checks.h>.
38982         (__fxstat): Do not use CHECK_1.
38983         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38984         <bp-checks.h>.
38985         (__fxstatat): Do not use CHECK_1.
38986         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38987         <bp-checks.h>.
38988         (__lxstat): Do not use CHECK_1.
38989         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38990         <bp-checks.h>.
38991         (__xstat): Do not use CHECK_1.
38992         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38993         (__xstat): Do not use CHECK_1.
38994         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38995         (___xstat64): Do not use CHECK_1.
38997         [BZ #13550]
38998         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38999         definitions.
39000         (CHECK_BOUNDS_HIGH): Likewise.
39001         * string/strcpy.c: Do not include <bp-checks.h>.
39002         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39004 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39006         * nscd/nscd-client.h (__nscd_drop_map_ref):
39007         Add __attribute__ ((unused)).
39008         * nis/nss-nisplus.h (niserr2nss): Likewise.
39010         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39011         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39013         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39014         Remove inline keyword.
39015         * include/rounding-mode.h (round_away): Likewise.
39016         * libio/wfileops.c (adjust_wide_data): Likewise.
39017         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39018         (__m128i_strloadu_tolower): Likewise.
39019         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39020         (__m128i_strloadu_tolower): Likewise.
39021         * time/mktime.c (ydhms_diff): Likewise.
39022         * locale/elem-hash.h (elem_hash): Likewise.
39023         * locale/setlocale.c (setdata): Likewise.
39024         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39025         (re_string_wchar_at): Likewise.
39026         (bitset_not, bitset_merge, bitset_mask): Likewise.
39027         [!(__GNUC__ > 3)] (inline): Remove macro.
39028         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39029         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39030         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39031         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39032         * string/memcmp.c (memcmp_bytes): Likewise.
39033         * locale/programs/locarchive.c (compute_hashval): Likewise.
39034         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39035         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39036         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39037         * nss/getent.c (print_rpc, print_protocols): Likewise.
39038         (print_passwd, print_group, print_aliases): Likewise.
39039         * nis/nss-nisplus.h (niserr2nss): Likewise.
39040         * nscd/connections.c (restart_p): Likewise.
39041         Change return type to bool.
39043 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39045         * Makeconfig (all-Depend-files): Add existing
39046         $(sorted-subdirs:=/Depend) files.
39047         (all-subdirs): Remove nss.
39048         * sysdeps/unix/inet/Subdirs: Add it here instead.
39049         * hesiod/Depend: New file.
39051         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39052         instead of calling alloca.
39054         * io/lseek.c (__lseek): Rename to __libc_lseek.
39055         Define __lseek as an alias.
39057         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39059 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39061         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39062         else clause and remove check for non-standard endianness.
39064 2013-02-04  David S. Miller  <davem@davemloft.net>
39066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39068 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39070         [BZ #13550]
39071         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39072         (__ubp_memchr): Remove prototype.
39073         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39074         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39075         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39076         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39077         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39078         Remove alias.
39079         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39080         (__ubp_memchr): Likewise.
39081         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39082         (__ubp_memchr): Likewise.
39083         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39084         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39085         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39086         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39087         CHECK_STRING.
39088         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39089         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39090         (__getcwd): Do not use CHECK_STRING.
39091         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39092         <bp-checks.h>.
39093         (__real_chown): Do not use CHECK_STRING.
39094         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39095         <bp-checks.h>.
39096         (fchownat): Do not use CHECK_STRING.
39097         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39098         CHECK_STRING.
39099         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39100         <bp-checks.h>.
39101         (__lchown): Do not use CHECK_STRING.
39102         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39103         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39104         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39105         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39107         include <bp-checks.h>.
39108         (truncate64): Do not use CHECK_STRING.
39109         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39110         <bp-checks.h>.
39111         (__real_chown): Do not use CHECK_STRING.
39112         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39113         <bp-checks.h>.
39114         (__lchown): Do not use CHECK_STRING.
39115         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39116         <bp-checks.h>.
39117         (__chown): Do not use CHECK_STRING.
39118         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39119         <bp-checks.h>.
39120         (truncate64): Do not use CHECK_STRING.
39121         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39122         Likewise.
39123         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39124         (__xmknod): Do not use CHECK_STRING.
39125         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39126         <bp-checks.h>.
39127         (__xmknodat): Do not use CHECK_STRING.
39128         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39129         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39131 2013-02-04  Andreas Schwab  <schwab@suse.de>
39133         [BZ #14142]
39134         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39135         * include/netdb.h: Likewise for h_errno.
39136         * elf/tst-stackguard1.c: Include <tls.h>.
39138 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39140         * elf/link.h (struct link_map): Extend the l_addr comment.
39141         * include/link.h (struct link_map): Likewise.
39143 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39145         [BZ #13550]
39146         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39147         (BOUNDED_1): Remove macro.
39148         * debug/backtrace.c: Don't include <bp-checks.h>.
39149         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39150         (__backtrace): Likewise.
39151         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39152         <bp-checks.h>.
39153         (__backtrace): Don't use BOUNDED_1.
39154         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39155         <bp-checks.h>.
39156         (__backtrace): Don't use BOUNDED_1.
39157         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39158         (__backtrace): Don't use BOUNDED_1.
39159         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39160         (shmat): Don't use BOUNDED_N.
39162 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39164         [BZ #13550]
39165         * sysdeps/generic/bp-start.h: Remove file.
39166         * csu/libc-start.c: Don't include <bp-start.h>.
39167         (LIBC_START_MAIN): Set up __environ directly instead of using
39168         INIT_ARGV_and_ENVIRON.
39169         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39170         <bp-start.h>.
39172         [BZ #13550]
39173         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39174         definitions.
39175         (CHECK_FCNTL): Likewise.
39176         (CHECK_N_PAGES): Likewise.
39178         [BZ #13550]
39179         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39180         definitions.
39181         (CHECK_SIGSET_NULL_OK): Likewise.
39182         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39183         <bp-checks.h>.
39184         (sigpending): Don't use CHECK_SIGSET.
39185         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39186         <bp-checks.h>.
39187         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39188         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39189         <bp-checks.h>.
39190         (do_sigsuspend): Don't use CHECK_SIGSET.
39191         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39192         use CHECK_SIGSET.
39193         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39194         (do_sigwait): Don't use CHECK_SIGSET.
39195         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39196         use CHECK_SIGSET.
39197         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39198         include <bp-checks.h>.
39199         (sigpending): Don't use CHECK_SIGSET.
39200         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39201         include <bp-checks.h>.
39202         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39203         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39204         <bp-checks.h>.
39205         (sigpending): Don't use CHECK_SIGSET.
39206         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39207         <bp-checks.h>.
39208         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39210         [BZ #13550]
39211         * sysdeps/generic/bp-semctl.h: Remove file.
39212         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39213         <bp-checks.h> and <bp-semctl.h>.
39214         (__old_semctl): Don't use CHECK_SEMCTL.
39215         (__new_semctl): Likewise.
39216         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39217         and <bp-semctl.h>.
39218         (__old_semctl): Don't use CHECK_SEMCTL.
39219         (__new_semctl): Likewise.
39220         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39221         <bp-checks.h> and <bp-semctl.h>.
39222         (__old_semctl): Don't use CHECK_SEMCTL.
39223         (__new_semctl): Likewise.
39224         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39225         <bp-checks.h> and <bp-semctl.h>.
39226         (semctl): Don't use CHECK_SEMCTL.
39228         [BZ #13550]
39229         * Makerules (elide-bp-thunks): Remove variable.
39230         (elide-routines.oS): Don't use $(elide-bp-thunks).
39231         (elide-routines.os): Likewise.
39232         (elide-routines.o): Likewise.
39233         (elide-routines.op): Likewise.
39234         (elide-routines.og): Likewise.
39235         (objects): Don't use $(bp-thunks).
39236         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39237         include.
39238         (common-generated): Do not add s-proto-bp.d.
39239         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39240         (int): Likewise.
39241         (typ): Likewise.
39242         Do not generate makefile rules for bounded-pointer thunks.
39243         * sysdeps/generic/bp-thunks.h: Remove file.
39244         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39245         * sysdeps/unix/s-proto-bp.S: Likewise.
39247         [BZ #15062]
39248         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39249         parts of result separately when argument is not close to line from
39250         -i to i and one part of argument is small.
39251         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39252         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39253         * math/libm-test.inc (cacos_test): Add more tests.
39254         (casin_test): Likewise.
39255         (casinh_test): Likewise.
39256         * sysdeps/i386/fpu/libm-test-ulps: Update.
39257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39259 2013-01-31  David S. Miller  <davem@davemloft.net>
39261         * po/de.po: Update from translation team.
39263 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39265         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39267 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39269         * configure.in (_AC_PROG_CC_C89): New definition.
39270         * configure: Regenerate.
39272         * configure.in (AC_PROG_CPP): New definition.
39273         * configure: Regenerate.
39275 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39277         * debug/tst-backtrace.h: New file.
39278         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39279         (ret): Remove variable.
39280         (x): Likewise.
39281         (FAIL): Remove macro.
39282         (NO_INLINE): Likewise.
39283         (fn1): Use match function instead of strstr.
39284         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39285         (ret): Remove variable.
39286         (x): Likewise.
39287         (FAIL): Remove macro.
39288         (NO_INLINE): Likewise.
39289         (fn): Use match function instead of strstr.
39290         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39291         (ret): Remove variable.
39292         (x): Likewise.
39293         (FAIL): Remove macro.
39294         (NO_INLINE): Likewise.
39295         (handle_signal): Use match function instead of strstr.
39296         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39297         (ret): Remove variable.
39298         (x): Likewise.
39299         (FAIL): Remove macro.
39300         (NO_INLINE): Likewise.
39301         (handle_signal): Use match function instead of strstr.
39303 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39305         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39307 2013-01-23  David S. Miller  <davem@davemloft.net>
39309         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39310         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39311         argument of CAS if possible.
39312         * sysdeps/sparc/sparc64/bits/atomic.h
39313         (__arch_compare_and_exchange_val_32_acq): Likewise.
39314         (__arch_compare_and_exchange_val_64_acq): Likewise.
39316 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39318         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39319         * sysdeps/posix/ulimit.c: ... this.
39320         Include <limits.h>.
39321         * sysdeps/unix/bsd/ulimit.c: Remove file.
39323 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39325         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39326         (LDFLAGS-tst-array5): Likewise.
39328 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39330         [BZ #15036]
39331         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39332         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39333         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39334         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39336 2013-01-21  David S. Miller  <davem@davemloft.net>
39338         * sysdeps/sparc/backtrace.c: New file.
39339         * sysdeps/sparc/sparc32/backtrace.h: New file.
39340         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39341         * sysdeps/sparc/sparc64/backtrace.h: New file.
39342         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39343         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39344         -funwind-tables.
39346 2013-01-21  Andreas Schwab  <schwab@suse.de>
39348         [BZ #15020]
39349         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39350         closed its stdout.
39352 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39355         "mpa2.h".
39356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39358 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39359             Mark Mitchell  <mark@codesourcery.com>
39360             Tom de Vries  <tom@codesourcery.com>
39361             Paul Pluzhnikov  <ppluzhnikov@google.com>
39363         * debug/tst-backtrace2.c: New file.
39364         * debug/tst-backtrace3.c: Likewise.
39365         * debug/tst-backtrace4.c: Likewise.
39366         * debug/tst-backtrace5.c: Likewise.
39367         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39368         (CFLAGS-tst-backtrace3.c): Likewise.
39369         (CFLAGS-tst-backtrace4.c): Likewise.
39370         (CFLAGS-tst-backtrace5.c): Likewise.
39371         (LDFLAGS-tst-backtrace2): Likewise.
39372         (LDFLAGS-tst-backtrace3): Likewise.
39373         (LDFLAGS-tst-backtrace4): Likewise.
39374         (LDFLAGS-tst-backtrace5): Likewise.
39375         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39376         tst-backtrace4 and tst-backtrace5.
39378 2013-01-18  Anton Blanchard  <anton@samba.org>
39379             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39381         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39382         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39383         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39384         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39386         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39387         "+r" and remove output regs list as redundant.  Add explicit inline
39388         asm to specify register of return val to work around compiler codegen
39389         bug.  Remove (int) cast on return value.  Add return type parameter to
39390         use in macro so that this macro does not truncate return value for
39391         64-bit values.
39392         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39393         pass to INTERNAL_VSYSCALL_NCS.
39394         (INLINE_VSYSCALL): Add 'long int' as return type to
39395         INTERNAL_VSYSCALL_NCS macro invocation.
39396         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39397         INTERNAL_VSYSCALL_NCS macro invocation.
39398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39400 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39402         [BZ #14496]
39403         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39404         Fix application of SIMD FP exception mask.
39406         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39407         mp_no from a power of two.
39408         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39409         __mpexp_twomm1.  Use __pow_mp.
39411         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39412         multiplication.
39414 2013-01-17  David S. Miller  <davem@davemloft.net>
39416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39418 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39420         [BZ #15023]
39421         * include/complex.h: Condition contents on [!_COMPLEX_H].
39422         (__kernel_casinhf): New prototype.
39423         (__kernel_casinh): Likewise.
39424         (__kernel_casinhl): Likewise.
39425         * math/Makefile (libm_calls): Add k_casinh.
39426         * math/k_casinh.c: New file.
39427         * math/k_casinhf.c: Likewise.
39428         * math/k_casinhl.c: Likewise.
39429         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39430         finite nonzero arguments.
39431         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39432         finite nonzero arguments.
39433         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39434         finite nonzero arguments.
39435         * math/s_casinh.c: Do not include <float.h>.
39436         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39437         * math/s_casinhf.c: Do not include <float.h>.
39438         (__casinhf): Move code for finite nonzero arguments to
39439         k_casinhf.c.
39440         * math/s_casinhl.c: Do not include <float.h>.
39441         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39442         redefine.
39443         (__casinhl): Move code for finite nonzero arguments to
39444         k_casinhl.c.
39445         * math/libm-test.inc (cacos_test): Add more tests.
39446         * sysdeps/i386/fpu/libm-test-ulps: Update.
39447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39449 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39451         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39452         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39453         [!HAVE_MREMAP]: Remove [defined linux] case.
39454         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39456 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39458         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39460 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39462         * elf/elf.h (R_386_SIZE32): New relocation.
39463         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39464         R_386_SIZE32.
39465         (elf_machine_rela): Likewise.
39466         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39467         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39469 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39471         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39472         (FP_FAST_FMA): Do not define.
39473         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39474         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39475         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39476         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39477         !_SOFT_FLOAT]: Likewise.
39478         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39479         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39480         value.
39481         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39482         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39483         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39484         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39485         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39486         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39487         file.
39489 2013-01-16  Andreas Schwab  <schwab@suse.de>
39491         [BZ #14327]
39492         * include/stdlib.h (__mktemp): Add declaration.
39493         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39494         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39496 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39498         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39499         definitions.
39500         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39501         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39502         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39503         definitions here.
39504         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39505         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39506         definitions.
39507         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39508         and ONE.
39509         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39510         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39511         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39512         definitions.
39513         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39514         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39515         definitions.
39516         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39518         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39520 2013-01-15  David S. Miller  <davem@davemloft.net>
39522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39523         trunc{,f} to libm-sysdep_routes.
39524         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39526         file.
39527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39529         file.
39530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39531         file.
39532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39534         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39535         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39536         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39537         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39538         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39539         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39542         nearbyint{,f} to libm-sysdep_routes.
39543         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39545         New file.
39546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39547         file.
39548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39549         New file.
39550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39551         file.
39552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39554         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39555         file.
39556         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39557         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39558         file.
39559         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39560         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39561         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39563         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39564         libc_feholdexcept and libc_fesetenv.
39566 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39568         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39570 2013-01-14  David S. Miller  <davem@davemloft.net>
39572         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39573         (SPARC_ASM_VIS2_IFUNC): Likewise.
39574         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39576         use of 'siam' instruction.
39577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39578         Likewise.
39579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39580         Likewise.
39581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39582         Likewise.
39583         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39585         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39586         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39588         file.
39589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39590         file.
39591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39592         file.
39593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39594         file.
39595         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39596         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39598         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39600         new VIS2 routines.
39601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39604         Likewise.
39605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39610         routines to libm-sysdep_routines.
39611         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39614         fdim/fdimf to libm-sysdep_routines.
39615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39616         file.
39617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39619         file.
39620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39623         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39624         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39625         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39626         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39628 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39630         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39631         to optimize copies.
39633         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39638         local variable MPTWO.
39639         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39640         Likewise.
39642 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39644         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39645         GLOB_NOESCAPE.
39647 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39649         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39651 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39653         * manual/pattern.texi (glob_t): Document gl_flags.
39654         (glob64_t): Likewise.
39656 2013-01-11  David S. Miller  <davem@davemloft.net>
39658         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39659         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39660         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39661         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39662         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39663         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39664         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39665         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39666         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39667         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39668         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39669         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39670         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39672         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39673         sparc V9 rather than using V8 code.
39674         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39675         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39677         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39678         Move to...
39679         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39680         Here.
39682 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39684         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39685         not in the main loop.
39686         * configure: Regenerated.
39688 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39690         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39691         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39692         to just #else.
39693         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39694         [!__GLIBC_HAVE_LONG_LONG] case.
39695         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39696         condition to just #else.
39697         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39698         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39699         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39700         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39701         unconditional.
39702         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39703         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39704         #elif condition to just #else.
39705         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39706         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39707         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39708         #elif condition to just #else.
39710 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39712         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39713         (EF_MIPS_ARCH_64): Fix value.
39714         (EF_MIPS_ARCH_32R2): New.
39715         (EF_MIPS_ARCH_64R2): New.
39717 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39719         * Makeconfig (+link-pie-before-libc): New.
39720         (+link-pie-after-libc): Likewise.
39721         (+link-pie-tests): Likewise.
39722         (+link-pie): Rewritten.
39723         (link-before-libc): Remove $(config-LDFLAGS).
39724         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39725         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39726         (config-LDFLAGS): Renamed to ...
39727         (rtld-LDFLAGS): This.
39728         (rtld-tests-LDFLAGS): New macro.
39729         (link-libc-rpath-link): Likewise.
39730         (link-libc-tests-rpath-link): Likewise.
39731         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39732         (link-libc): Prepand $(link-libc-rpath-link).
39733         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39734         (test-program-prefix): New macro.
39735         (test-via-rtld-prefix): Likewise.
39736         (test-program-cmd): Likewise.
39737         (host-test-program-cmd): Likewise.
39738         * Makefile ($(common-objpfx)testrun.sh): Replace
39739         $(run-program-prefix) with $(test-program-prefix).
39740         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39741         $(rtld-LDFLAGS).
39742         ($(common-objpfx)shlib.lds): Likewise.
39743         (build-module-helper): Likewise.
39744         ($(common-objpfx)format.lds): Likewise.
39745         * Rules (binaries-pie-tests): New.
39746         (binaries-pie-notests): Likewise.
39747         (binaries-pie): Rewritten.
39748         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39749         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39750         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39751         (make-test-out): Replace $(host-built-program-cmd) with
39752         $(host-test-program-cmd).
39753         * config.make.in (build-hardcoded-path-in-tests): New variable.
39754         * configure.in (--enable-hardcoded-path-in-tests): New configure
39755         option.
39756         (hardcoded_path_in_tests): New AC_SUBST.
39757         * configure: Regenerated.
39758         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39759         $(built-program-cmd) with $(test-program-cmd).
39760         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39761         (test_program_cmd): This.
39762         * elf/Makefile ($(objpfx)order.out): Run test with
39763         $(test-program-prefix).
39764         ($(objpfx)order2.out): Likewise.
39765         ($(objpfx)tst-initorder.out): Likewise.
39766         ($(objpfx)tst-initorder2.out): Likewise.
39767         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39768         $(test-program-cmd).
39769         ($(objpfx)tst-array1-static.out): Likewise.
39770         ($(objpfx)tst-array2.out): Likewise.
39771         ($(objpfx)tst-array3.out): Likewise.
39772         ($(objpfx)tst-array4.out): Likewise.
39773         ($(objpfx)tst-array5.out): Likewise.
39774         ($(objpfx)tst-array5-static.out): Likewise.
39775         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39776         $(test-program-cmd).
39777         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39778         $(run-program-prefix) with $(test-program-prefix).
39779         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39780         (test_program_prefix): This.
39781         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39782         $(run-program-prefix) with $(test-program-prefix).
39783         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39784         (test_program_prefix): This.
39785         * iconvdata/tst-tables.sh: Likewise.
39786         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39787         $(run-program-prefix) with $(test-program-prefix).
39788         ($(objpfx)tst-translit.out): Likewise.
39789         ($(objpfx)tst-gettext2.out): Likewise.
39790         ($(objpfx)tst-gettext4.out): Likewise.
39791         ($(objpfx)tst-gettext6.out): Likewise.
39792         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39793         (test_program_prefix): This.
39794         * intl/tst-gettext2.sh: Likewise.
39795         * intl/tst-gettext4.sh  Likewise.
39796         * intl/tst-gettext6.sh: Likewise.
39797         * intl/tst-translit.sh: Likewise.
39798         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39799         with $(test-program-cmd).
39800         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39801         $(run-program-prefix) with $(test-program-prefix).
39802         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39803         (test_program_prefix): This.
39804         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39805         $(run-program-prefix) with $(test-program-prefix).
39806         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39807         (test_program_prefix): This.
39808         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39809         * posix/Makefile ($(objpfx)globtest.out): Replace
39810         $(run-via-rtld-prefix) and $(test-wrapper) with
39811         $(test-program-prefix) and $(test-via-rtld-prefix).
39812         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39813         $(test-program-prefix).
39814         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39815         $(host-test-program-cmd).
39816         (tst-spawn-ARGS): Likewise.
39817         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39818         $(test-program-prefix).
39819         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39820         (test_via_rtld_prefix): This.
39821         (test_wrapper): Renamed to ...
39822         (test_program_prefix): This.
39823         (run_program_prefix): Replaced by test_program_prefix.
39824         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39825         (test_program_prefix): This.
39826         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39827         with $(host-test-program-cmd).
39828         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39829         $(run-program-prefix) with $(test-program-prefix).
39830         ($(objpfx)tst-printf.out): Likewise.
39831         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39832         $(test-program-cmd).
39833         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39834         (test_program_prefix): This.
39835         * stdio-common/tst-unbputc.sh: Likewise.
39836         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39837         $(run-program-prefix) with $(test-program-prefix).
39838         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39839         (test_program_prefix): This.
39840         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39841         $(built-program-cmd) with $(test-program-cmd).
39843 2013-01-11  Andreas Jaeger  <aj@suse.de>
39845         [BZ #15003]
39846         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39847         value. Sync with Linux 3.7.
39849 2013-01-10  David S. Miller  <davem@davemloft.net>
39851         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39852         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39853         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39855 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39857         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39858         never set.
39859         * configure: Regenerated.
39861 2013-01-10  David S. Miller  <davem@davemloft.net>
39863         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39864         sparc V9 rather than using V8 code.
39865         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39866         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39868 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39870         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39871         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39872         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39873         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39874         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39875         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39876         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39877         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39878         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39879         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39880         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39881         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39882         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39883         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39884         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39885         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39886         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39887         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39888         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39889         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39890         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39891         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39892         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39893         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39894         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39895         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39896         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39898 2013-01-10  David S. Miller  <davem@davemloft.net>
39900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39902 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39904         * posix/Makefile (tests-static): New variable.
39905         (tests): Add $(tests-static).
39906         (tst-exec-static-ARGS): New variable.
39907         (tst-spawn-static-ARGS): Likewise.
39908         * posix/tst-exec-static.c: New file.
39909         * posix/tst-spawn-static.c: Likewise.
39910         * posix/tst-exec.c: Support run directly.
39911         * posix/tst-spawn.c: Likewise.
39913 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39915         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39916         long.
39917         * math/bits/mathcalls.h (llrint): Likewise.
39918         (llround): Likewise.
39919         * stdlib/stdlib.h (struct drand48_data): Likewise.
39920         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39921         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39922         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39923         Likewise.
39924         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39925         Likewise.
39926         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39927         (elf_greg_t): Likewise.
39928         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39929         (__jmp_buf): Likewise.
39930         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39931         definitions.
39932         (llrint): Likewise, for all definitions.
39933         (llrintl): Likewise.
39935         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39936         Remove [__GNUC__] condition.
39937         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39938         condition to just [__USE_ISOC99].
39939         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39941 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39943         [BZ #14200]
39944         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39945         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39946         defined.
39947         (_POSIX_V6_ILP32_OFF32): Likewise.
39948         (_XBS5_ILP32_OFF32): Likewise.
39949         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39950         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39952 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39954         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39956         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39957         doubles __mpexp_twomm1.  Adjust usage.
39958         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39959         Remove.
39961 2013-01-10  Andreas Schwab  <schwab@suse.de>
39963         [BZ #14964]
39964         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39965         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39967 2013-01-09  David S. Miller  <davem@davemloft.net>
39969         [BZ #15003]
39970         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39971         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39972         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39973         (TCP_FASTOPEN): Define.
39974         (tcp_repair_opt): New structure.
39975         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39976         enum values.
39977         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39978         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39979         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39980         (tcp_cookie_transactions): New structure.
39982 2013-01-09  Anton Blanchard  <anton@samba.org>
39984         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39985         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39986         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39987         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39989 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39991         * include/features.h (__USE_ANSI): Remove.
39993 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39995         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39997         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39999 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40001         * sysdeps/s390/fpu/libm-test-ulps: Update.
40003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40005         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40006         (__acr): Likewise.
40007         (__cpy): Likewise.
40008         (norm): Likewise.
40009         (denorm): Likewise.
40010         (__mp_dbl): Likewise.
40011         (__dbl_mp): Likewise.
40012         (add_magnitudes): Likewise.
40013         (sub_magnitudes): Likewise.
40014         (__add): Likewise.
40015         (__sub): Likewise.
40016         (__mul): Likewise.
40017         (__inv): Likewise.
40018         (__dvd): Likewise.
40019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40020         (__acr): Likewise.
40021         (__cpy): Likewise.
40022         (norm): Likewise.
40023         (denorm): Likewise.
40024         (__mp_dbl): Likewise.
40025         (__dbl_mp): Likewise.
40026         (add_magnitudes): Likewise.
40027         (sub_magnitudes): Likewise.
40028         (__add): Likewise.
40029         (__sub): Likewise.
40030         (__mul): Likewise.
40031         (__inv): Likewise.
40032         (__dvd): Likewise.
40033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40034         (__acr): Likewise.
40035         (__cpy): Likewise.
40036         (norm): Likewise.
40037         (denorm): Likewise.
40038         (__mp_dbl): Likewise.
40039         (__dbl_mp): Likewise.
40040         (add_magnitudes): Likewise.
40041         (sub_magnitudes): Likewise.
40042         (__add): Likewise.
40043         (__sub): Likewise.
40044         (__mul): Likewise.
40045         (__inv): Likewise.
40046         (__dvd): Likewise.
40048 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40050         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40051         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40052         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40053         2 && __USE_EXTERN_INLINES]: Likewise.
40055 2013-01-08  Andreas Jaeger  <aj@suse.de>
40057         [BZ# 14985]
40058         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40059         Remove.
40060         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40061         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40063 2013-01-07  Anton Blanchard  <anton@samba.org>
40065         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40066         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40067         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40068         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40069         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40070         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40071         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40072         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40074         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40075         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40076         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40077         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40078         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40079         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40080         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40081         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40082         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40083         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40084         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40085         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40086         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40087         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40088         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40089         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40090         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40091         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40092         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40093         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40094         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40095         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40097         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40098         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40099         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40100         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40101         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40102         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40103         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40104         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40105         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40106         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40107         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40109 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40111         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40112         (__MALLOC_PMT): Likewise.
40113         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40114         [__GNUC__], only on [_LIBC].
40115         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40116         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40117         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40118         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40119         forward declaration.
40120         (realloc_hook_ini): Likewise.
40121         (memalign_hook_ini): Likewise.
40122         (__libc_memalign): Do not use __MALLOC_PMT in variable
40123         declaration.
40124         (__libc_valloc): Likewise.
40125         (__libc_pvalloc): Likewise.
40126         (__libc_calloc): Likewise.
40127         (__posix_memalign): Likewise.
40129         [BZ #14996]
40130         * math/s_casinh.c: Include <float.h>.
40131         (__casinh): Do not do computation with squaring and square root
40132         for large arguments.
40133         * math/s_casinhf.c: Include <float.h>.
40134         (__casinhf): Do not do computation with squaring and square root
40135         for large arguments.
40136         * math/s_casinhl.c: Include <float.h>.
40137         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40138         (__casinhl): Do not do computation with squaring and square root
40139         for large arguments.
40140         * math/libm-test.inc (casin_test): Add more tests.
40141         (casinh_test): Likewise.
40142         * sysdeps/i386/fpu/libm-test-ulps: Update.
40143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40145 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40147         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40148         (__x86_64_raw_data_cache_size): Likewise.
40149         (__x86_64_data_cache_size_half): Likewise.
40150         (__x86_64_raw_data_cache_size_half): Likewise.
40151         (__x86_64_shared_cache_size): Likewise.
40152         (__x86_64_raw_shared_cache_size): Likewise.
40153         (__x86_64_shared_cache_size_half): Likewise.
40154         (__x86_64_raw_shared_cache_size_half): Likewise.
40155         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40156         to ...
40157         (__x86_data_cache_size): This.
40158         (__x86_64_raw_data_cache_size): Renamed to ...
40159         (__x86_raw_data_cache_size): This.
40160         (__x86_64_data_cache_size_half): Renamed to ...
40161         (__x86_data_cache_size_half): This.
40162         (__x86_64_raw_data_cache_size_half): Renamed to ...
40163         (__x86_raw_data_cache_size_half): This.
40164         (__x86_64_shared_cache_size): Renamed to ...
40165         (__x86_shared_cache_size): This.
40166         (__x86_64_raw_shared_cache_size): Renamed to ...
40167         (__x86_raw_shared_cache_size): This.
40168         (__x86_64_shared_cache_size_half): Renamed to ...
40169         (__x86_shared_cache_size_half): This.
40170         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40171         (__x86_raw_shared_cache_size_half): This.
40172         * sysdeps/x86_64/memcpy.S: Updated.
40173         * sysdeps/x86_64/memset.S: Likewise.
40174         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40175         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40176         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40178 2013-01-04  David S. Miller  <davem@davemloft.net>
40180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40182 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40184         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40185         1 to avoid redefinition warning.
40186         (__USE_GNU): Don't define.
40187         (init_signaling_nan): Protoize.
40189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40191 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40193         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40195         (__cpymn): Likewise.
40196         (norm): Remove commented code.
40197         (denorm): Likewise.
40198         (__mp_dbl): Likewise.
40199         (__inv): Likewise.
40200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40201         (__cpymn): Likewise.
40202         (norm): Remove commented code.
40203         (denorm): Likewise.
40204         (__mp_dbl): Likewise.
40205         (__inv): Likewise.
40207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40208         mp_no value for 1.0 and 2.0.
40209         (norm): Use RADIXI instead of radixi.d.
40210         (denorm): Likewise.
40211         (__mul): Use 0.0 instead of zero.d.
40212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40213         mp_no value for 1.0 and 2.0.
40214         (norm): Use RADIXI instead of radixi.d.
40215         (denorm): Likewise.
40216         (__mul): Use 0.0 instead of zero.d.
40218 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40220         [BZ #14994]
40221         * math/s_casinh.c (__casinh): Reduce finite argument to first
40222         quadrant then set signs of results at the end.
40223         * math/s_casinhf.c (__casinhf): Likewise.
40224         * math/s_casinhl.c (__casinhl): Likewise.
40225         * math/libm-test.inc (casin_test): Add more tests.
40226         (casinh_test): Likewise.
40227         * sysdeps/i386/fpu/libm-test-ulps: Update.
40228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40230 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40232         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40234         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40236         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40237         declarations.
40238         (denorm): Likewise.
40239         (__mp_dbl): Likewise.
40240         (__inv): Likewise.
40242         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40243         and adjust the header comment.
40245         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40246         variable name from declaration.
40248 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40251         Initialize COMMON_CPUID_INDEX_7 element.
40252         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40253         (CPUID_RTM): Likewise.
40254         (HAS_RTM): Likewise.
40255         (COMMON_CPUID_INDEX_7): New enum.
40257 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40259         [BZ #14981]
40260         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40261         size is zero, record memory as freed.
40263 2013-01-03  Andreas Jaeger  <aj@suse.de>
40265         * po/ia.po: Add new Interlingua translation.
40267 2012-01-03  Allan McRae  <allan@archlinux.org>
40269         * locale/programs/localedef.c: Fix description of '--posix' flag.
40271 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40273         * NEWS: Update dates in second copyright notice.
40274         * README: Update copyright dates in example.
40275         * manual/libc.texinfo: Update copyright dates.
40276         * scripts/test-installation.pl: Update copyright date in --version
40277         output.
40279         * hurd/ctty-input.c: Fix copyright notice formatting.
40280         * hurd/ctty-output.c: Likewise.
40281         * hurd/dtable.c: Likewise.
40282         * hurd/hurd-raise.c: Likewise.
40283         * hurd/hurdprio.c: Likewise.
40284         * hurd/msgportdemux.c: Likewise.
40285         * misc/sys/file.h: Likewise.
40286         * misc/sys/ioctl.h: Likewise.
40287         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40288         * sysdeps/mach/hurd/chdir.c: Likewise.
40289         * sysdeps/mach/hurd/fchdir.c: Likewise.
40290         * sysdeps/mach/hurd/rename.c: Likewise.
40291         * sysdeps/mach/hurd/rmdir.c: Likewise.
40292         * sysdeps/mach/hurd/seekdir.c: Likewise.
40293         * sysdeps/mach/hurd/setsid.c: Likewise.
40294         * sysdeps/posix/wait3.c: Likewise.
40296         * All files with FSF copyright notices: Update copyright dates
40297         using scripts/update-copyrights.
40298         * intl/plural.c: Regenerated.
40299         * locale/programs/charmap-kw.h: Likewise.
40300         * locale/programs/locfile-kw.h: Likewise.
40302 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40304         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40305         four values.
40307         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40308         calculation loop and add branch prediction.
40310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40311         check access beyond bounds of m1np.
40313         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40314         MPTWO.
40315         (__inv): Remove local variable MPTWO to use the global
40316         constant.
40317         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40318         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40319         variable MPTWO.
40320         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40321         MP3HALFS static const.
40323 2013-01-01  David S. Miller  <davem@davemloft.net>
40325         * po/ca.po: Update from translation team.
40327 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40329         * scripts/update-copyrights: New file.
40330         * Makeconfig: Reformat copyright notice.
40331         * ctype/ctype.h: Likewise.
40332         * debug/swprintf_chk.c: Likewise.
40333         * elf/dl-cache.c: Likewise.
40334         * elf/dl-debug.c: Likewise.
40335         * elf/dl-object.c: Likewise.
40336         * grp/initgroups.c: Likewise.
40337         * hurd/Makefile: Likewise.
40338         * hurd/hurd/signal.h: Likewise.
40339         * hurd/hurdfault.c: Likewise.
40340         * hurd/hurdioctl.c: Likewise.
40341         * hurd/hurdlookup.c: Likewise.
40342         * hurd/intr-msg.c: Likewise.
40343         * iconv/gconv_open.c: Likewise.
40344         * libio/swprintf.c: Likewise.
40345         * locale/lc-ctype.c: Likewise.
40346         * locale/nl_langinfo.c: Likewise.
40347         * mach/Machrules: Likewise.
40348         * mach/Makefile: Likewise.
40349         * malloc/obstack.h: Likewise.
40350         * manual/Makefile: Likewise.
40351         * manual/tsort.awk: Likewise.
40352         * misc/bits/stab.def: Likewise.
40353         * nis/nis_print_group_entry.c: Likewise.
40354         * nis/nis_table.c: Likewise.
40355         * nis/nss_compat/compat-pwd.c: Likewise.
40356         * nis/nss_compat/compat-spwd.c: Likewise.
40357         * po/Makefile: Likewise.
40358         * posix/fnmatch.c: Likewise.
40359         * posix/regex.h: Likewise.
40360         * resolv/Makefile: Likewise.
40361         * resolv/nss_dns/dns-network.c: Likewise.
40362         * resolv/res_hconf.c: Likewise.
40363         * scripts/gen-sorted.awk: Likewise.
40364         * soft-fp/soft-fp.h: Likewise.
40365         * stdio-common/printf.h: Likewise.
40366         * stdlib/monetary.h: Likewise.
40367         * stdlib/random.c: Likewise.
40368         * stdlib/random_r.c: Likewise.
40369         * sysdeps/generic/Makefile: Likewise.
40370         * sysdeps/gnu/Makefile: Likewise.
40371         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40372         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40373         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40374         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40375         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40376         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40378         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40379         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40380         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40381         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40382         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40383         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40384         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40385         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40386         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40387         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40388         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40389         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40390         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40391         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40392         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40393         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40394         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40395         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40396         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40397         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40398         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40399         * sysdeps/mach/hurd/errnos.awk: Likewise.
40400         * sysdeps/mach/hurd/fork.c: Likewise.
40401         * sysdeps/mach/hurd/getcwd.c: Likewise.
40402         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40403         * sysdeps/mach/hurd/mmap.c: Likewise.
40404         * sysdeps/mach/hurd/utimes.c: Likewise.
40405         * sysdeps/mach/hurd/xmknod.c: Likewise.
40406         * sysdeps/posix/profil.c: Likewise.
40407         * sysdeps/posix/readdir_r.c: Likewise.
40408         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40409         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40410         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40411         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40413         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40414         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40415         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40417         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40418         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40419         * sysdeps/pthread/lio_listio.c: Likewise.
40420         * sysdeps/sparc/dl-procinfo.h: Likewise.
40421         * sysdeps/unix/i386/sysdep.S: Likewise.
40422         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40423         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40424         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40425         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40427         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40428         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40429         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40430         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40431         * sysdeps/wordsize-32/divdi3.c: Likewise.
40432         * time/sys/time.h: Likewise.
40433         * wcsmbs/Makefile: Likewise.
40435 2013-01-01  David S. Miller  <davem@davemloft.net>
40437         * po/fr.po: Update from translation team.
40439         * catgets/gencat.c: Update copyright year.
40440         * csu/version.c: Likewise.
40441         * debug/catchsegv.sh: Likewise.
40442         * debug/pcprofiledump.c: Likewise.
40443         * debug/xtrace.sh: Likewise.
40444         * elf/ldconfig.c: Likewise.
40445         * elf/ldd.bash.in: Likewise.
40446         * elf/pldd.c: Likewise.
40447         * elf/sotruss.ksh: Likewise.
40448         * elf/sprof.c: Likewise.
40449         * iconv/iconv_prog.c: Likewise.
40450         * iconv/iconvconfig.c: Likewise.
40451         * locale/programs/locale.c: Likewise.
40452         * locale/programs/localedef.c: Likewise.
40453         * login/programs/pt_chown.c: Likewise.
40454         * malloc/memusage.sh: Likewise.
40455         * malloc/memusagestat.c: Likewise.
40456         * malloc/mtrace.pl: Likewise.
40457         * nscd/nscd.c: Likewise.
40458         * nss/getent.c: Likewise.
40459         * nss/makedb.c: Likewise.
40460         * posix/getconf.c: Likewise.
40462 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40464         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40465         numbers.
40467 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40469         * math/bits/mathcalls.h (modf): Use __nonnull.
40471 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40473         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40474         (split): Use macro CN instead of the bare value.
40475         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40476         could be used.
40477         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40478         instead of the bare value.
40479         (power1): Likewise.
40481 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40483         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40484         __ATAN_TWOM.
40485         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40487         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40488         their values.
40489         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40490         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40491         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40492         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40494 2012-12-28  Andreas Jaeger  <aj@suse.de>
40496         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40497         values are from Linux 3.7.
40499         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40500         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40502 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40504         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40505         TRUE case.
40507         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40508         (norm): Likewise.
40509         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40510         variables with preprocessor constants.
40511         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40512         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40513         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40515 2012-12-27  Bruno Haible  <bruno@clisp.org>
40517         [BZ #14317]
40518         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40519         only if needed.
40521 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40523         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40524         and use variable directly.
40525         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40527         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40528         MPONE.
40529         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40530         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40531         variable MPONE.
40532         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40533         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40534         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40535         include directive.  Remove local variable MPONE.
40536         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40537         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40538         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40540 2012-12-25  David S. Miller  <davem@davemloft.net>
40542         * version.h (RELEASE): Set to "development".
40543         (VERSION): Set to "2.17.90".
40544         * NEWS: Add 2.18 section.
40546 2012-12-21  David S. Miller  <davem@davemloft.net>
40548         * po/hr.po: Update from translation team.
40550 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40552         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40554 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40556         * NEWS:  Mention new memcpy for MIPS.
40558 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40560         * manual/contrib.texi (Contributors): Spelling correction.
40562 2012-12-15  David S. Miller  <davem@davemloft.net>
40564         * po/ru.po: Update from translation team.
40566 2012-12-13  David S. Miller  <davem@davemloft.net>
40568         * NEWS: Mention IFUNC testsuite enhancements.
40570         * po/pl.po: Update from translation team.
40571         * po/bg.po: Likewise.
40573         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40574         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40576 2012-12-11  David S. Miller  <davem@davemloft.net>
40578         * po/sv.po: Update from translation team.
40580         * po/vi.po: Update from translation team.
40582         * po/cs.po: Update from translation team.
40584         * po/de.po: Update from translation team.
40585         * po/eo.po: Likewise.
40586         * po/nl.po: Likewise.
40588 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40590         [BZ #14246]
40591         * manual/argp.texi (Argp Helper Functions): Move node to follow
40592         Argp Parsing State.
40594         [BZ #14872]
40595         * manual/conf.texi (Limits on File System Capacity): Mention if
40596         terminating null is included in the max size.
40598 2012-12-10  Andreas Jaeger  <aj@suse.de>
40600         * po/cs.po: Update from translation team.
40602 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40604         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40605         void pointer and cast to uintptr_t.
40606         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40607         path.
40608         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40609         * sysdeps/s390/s390-64/memset.S: Likewise.
40611 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40613         [BZ #14833]
40614         * menual/message.texi (Message Translation): Fix typos.
40615         (Helper programs for gettext): Likewise.
40617 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40619         [BZ #14898]
40620         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40621         Change to -1.
40623 2012-12-07  David S. Miller  <davem@davemloft.net>
40625         * po/libc.pot: Update.
40627 2012-12-07  Richard Henderson  <rth@redhat.com>
40629         [BZ #10114]
40630         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40631         normal/normal case to before the switch.
40632         (_FP_DIV): Likewise.
40634 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40635             Mike Frysinger  <vapier@gentoo.org>
40637         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40638         check for __NR_fadvise64_64.
40640 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40642         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40643         0, not just to plain "0" as a statement.
40644         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40645         with cw.
40647 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40649         * NEWS: Use sourceware.org in Bugzilla URL.
40651 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40654         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40656         * stdio-common/tst-put-error.c (do_test): Add newline to the
40657         padded test to ensure flush.
40659 2012-12-05  Jeff Law  <law@redhat.com>
40661         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40663 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40665         * README: Don't refer to ports add-on as distributed separately.
40666         Mention AArch64 in list of systems supported in the ports add-on.
40668         * LICENSES: Add more non-FSF copyright and license notices.
40670         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40671         ((unused)).
40673         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40675         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40676         10000 as width of padded output.
40678 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40680         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40682         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40683         variable LX with __attribute__ ((unused)).
40684         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40685         Likewise.
40686         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40687         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40688         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40689         with __attribute__ ((unused)).
40691 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40693         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40695 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40697         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40698         (CFLAGS-nldbl-acos.c): New variable.
40699         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40700         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40701         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40702         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40703         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40704         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40705         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40706         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40707         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40708         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40709         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40710         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40711         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40712         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40713         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40714         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40715         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40716         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40717         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40718         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40719         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40720         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40721         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40722         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40723         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40724         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40725         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40726         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40727         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40728         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40729         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40730         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40731         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40732         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40733         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40734         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40735         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40736         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40737         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40738         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40739         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40740         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40741         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40742         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40743         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40744         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40745         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40746         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40747         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40748         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40749         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40750         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40751         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40752         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40753         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40754         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40755         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40756         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40757         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40758         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40759         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40760         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40761         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40762         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40763         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40764         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40765         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40766         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40767         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40768         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40769         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40770         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40771         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40772         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40773         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40774         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40775         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40776         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40777         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40778         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40779         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40780         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40781         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40782         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40783         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40784         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40785         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40786         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40787         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40788         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40789         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40790         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40791         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40792         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40793         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40794         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40795         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40798         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40800         [BZ #14914]
40801         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40802         whole low double instead of just low 47 bits when splitting values
40803         into two parts.
40805 2012-12-03  Allan McRae  <allan@archlinux.org>
40807         * manual/stdio.texi (Predefined Printf Handlers): Remove
40808         @hsep and @vsep usage.
40810 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40812         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40813         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40815 2012-12-03  Jeff Law  <law@redhat.com>
40817         * time/sys/time.h (settimeofday): Do not mark TV argument
40818         as __nonnull.
40820 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40822         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40823         when currently writing and seek to current position when not.
40824         * libio/Makefile (tests): Remove bug-fclose1.
40825         * libio/bug-fclose1.c: Delete.
40827 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40829         * manual/arith.texi (feenableexcept): Fix typo.
40830         (fedisableexcept): Likewise.
40832 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40834         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40835         second, differently-typed declaration, rather than a cast.
40837 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40839         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40840         * include/rpc/svc.h: ... here.
40842 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40844         [BZ #13013]
40845         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40846         depending n and resplen2 to catch cases where answer
40847         equals answerp2.
40849 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40851         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40852         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40854 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40856         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40858 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40860         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40862 2012-11-28  Jeff Law  <law@redhat.com>
40864         [BZ #13761]
40865         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40866         dataset_temporary.  Track alloca usage into alloca_used.
40867         If dataset is large allocate and release it via malloc/free.
40869 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40871         [BZ #14197]
40872         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40874 2012-11-28  David S. Miller  <davem@davemloft.net>
40876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40878 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40880         [BZ #14803]
40881         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40882         of pi/2 rounded to nearest to 64 bits.
40883         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40884         nearest to 64 bits.
40885         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40886         bits.
40888 2012-11-28  Jeff Law <law@redhat.com>
40889             Martin Osvald <mosvald@redhat.com>
40891         [BZ #14889]
40892         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40893         * sunrpc/svc.c: Include time.h.
40894         (__svc_accept_failed): New function.
40895         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40896         any reason other than EINTR, call __svc_accept_failed.
40897         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40898         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40900 2012-11-28  Andreas Schwab  <schwab@suse.de>
40902         * scripts/abilist.awk: Also handle indirect functions in .opd
40903         section.
40905 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40907         [BZ #13881]
40908         * sysdeps/x86/fpu/powl_helper.c: New file.
40909         * sysdeps/x86/fpu/Makefile: Likewise.
40910         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40911         (p3): New object.
40912         (__ieee754_powl): Use __powl_helper for finite arguments except
40913         integer exponents below 8.
40914         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40915         (p3): New object.
40916         (__ieee754_powl): Use __powl_helper for finite arguments except
40917         integer exponents below 8.
40918         * math/libm-test.inc (pow_test): Add more tests and enable some
40919         previously disabled tests.
40920         * sysdeps/i386/fpu/libm-test-ulps: Update.
40921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40923 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40924             Carlos O'Donell  <carlos_odonell@mentor.com>
40926         * nss/makedb.c (is_prime): Assert that input is odd and greater
40927         than 4.  Note that fact in a comment too.
40928         (next_prime): Add 4 to input.
40930 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40932         [BZ #11741]
40933         * libio/Makefile (tests): Add test case tst-fwrite-error.
40934         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40935         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40936         * libio/tst-fwrite-error.c: New test case.
40938 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40940         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40941         before casting to void *.
40942         * include/libc-internal.h (__pointer_type): New macro.
40943         (__integer_if_pointer_type_sub): Likewise.
40944         (__integer_if_pointer_type): Likewise.
40945         (cast_to_integer): Likewise.
40946         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40947         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40948         before casting to atomic64_t.
40949         (atomic_exchange_acq): Likewise.
40950         (__arch_exchange_and_add_body): Likewise.
40951         (__arch_add_body): Likewise.
40952         (atomic_add_negative): Likewise.
40953         (atomic_add_zero): Likewise.
40955 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40957         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40958         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40959         (add_fdes): Likewise.
40960         (linear_search_fdes): Likewise.
40961         (binary_search_unencoded_fdes): Likewise.
40963 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40965         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40967 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40969         * configure.in: Autodetect C++ header directories.
40970         * configure: Regenerated.
40972 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40974         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40976 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40980 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40982         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40983         LDBL_MANT_DIG == 106]: Disable some tests.
40984         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40985         Likewise.
40986         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40987         Likewise.
40989         [BZ #14871]
40990         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40991         input for small inputs.  Return +/- pi/2 for large inputs.
40992         * math/libm-test.inc (atan_test): Add more tests.
40994         * sysdeps/generic/unwind-dw2-fde-glibc.c
40995         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40996         __attribute__ ((unused)).
40998         [BZ #14645]
40999         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41000         x * y if x and y are nonzero and z is zero.
41002         [BZ #14811]
41003         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41004         nonzero exponents with absolute value below 0x1p-117 to +/-
41005         0x1p-117.
41007         [BZ #14869]
41008         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41009         up arguments below 2**-450, not just those below 2**-500.
41010         * math/libm-test.inc (hypot_test): Add another test.
41012         [BZ #14868]
41013         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41014         Return a+b for ratio over 2**120, not 2**60.
41015         * math/libm-test.inc (hypot_test): Add another test.
41017         * math/libm-test.inc (clog_test): Use
41018         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41019         (clog10_test): Likewise.
41021         [BZ #6778]
41022         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41024 2012-11-22  Andreas Schwab  <schwab@suse.de>
41026         * sysdeps/i386/fpu/libm-test-ulps: Update.
41028 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41030         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41031         printf output with newline.
41033 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41035         [BZ #14865]
41036         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41037         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41038         -z nodlopen, -z initfirst and -z execstack support.
41039         * configure: Regenerated.
41041         * elf/elf.h (DF_1_NODIRECT): New macro.
41042         (DF_1_IGNMULDEF): Likewise.
41043         (DF_1_NOKSYMS): Likewise.
41044         (DF_1_NOHDR): Likewise.
41045         (DF_1_EDITED): Likewise.
41046         (DF_1_NORELOC): Likewise.
41047         (DF_1_SYMINTPOSE): Likewise.
41048         (DF_1_GLOBAUDIT): Likewise.
41049         (DF_1_SINGLETON): Likewise.
41050         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41051         DT_1_SUPPORTED_MASK bits.
41052         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41054 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41056         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41058 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41060         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41061         macro.
41063         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41064         (sendmmsg): Move declarations...
41065         * socket/sys/socket.h: ... here.
41066         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41067         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41068         include it from...
41069         * socket/recvmmsg.c: ... this new file.
41070         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41071         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41072         definition of __sendmmsg hidden.
41073         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41074         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41075         Move ENOSYS stub into and include it from...
41076         * socket/sendmmsg.c: ... this new file.
41077         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41078         (sysdep_routines): Move recvmmsg and sendmmsg...
41079         * socket/Makefile (routines): ... here.
41080         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41081         (GLIBC_PRIVATE): Add __sendmmsg.
41082         * include/sys/socket.h (__sendmmsg): Add declarations.
41083         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41084         sendmmsg.
41086 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41088         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41089         variable I1 with __attribute__ ((unused)).
41090         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41092 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41094         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41095         DUMMY variables with __attribute__ ((unused)).
41097         * bits/byteswap.h: Include <bits/types.h>.
41098         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41100 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41102         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41103         string_t.  Do not manually set errno.
41104         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41105         length with __strnlen.  Make sure to both set errno and return it on
41106         failure.
41108 2012-11-19  David S. Miller  <davem@davemloft.net>
41110         With help from Joseph Myers.
41111         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41112         very large arguments properly.
41113         * math/libm-test.inc (atan_test): New tests.
41114         (atan2_test): New tests.
41115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41118 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41120         [BZ #14856]
41121         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41122         Define to 3.
41124         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41125         [POSIX] (EADDRNOTAVAIL): Likewise.
41126         [POSIX] (EAFNOSUPPORT): Likewise.
41127         [POSIX] (EALREADY): Likewise.
41128         [POSIX] (ECONNABORTED): Likewise.
41129         [POSIX] (ECONNREFUSED): Likewise.
41130         [POSIX] (ECONNRESET): Likewise.
41131         [POSIX] (EDESTADDRREQ): Likewise.
41132         [POSIX] (EDQUOT): Likewise.
41133         [POSIX] (EHOSTUNREACH): Likewise.
41134         [POSIX] (EIDRM): Likewise.
41135         [POSIX] (EISCONN): Likewise.
41136         [POSIX] (ELOOP): Likewise.
41137         [POSIX] (EMULTIHOP): Likewise.
41138         [POSIX] (ENETDOWN): Likewise.
41139         [POSIX] (ENETUNREACH): Likewise.
41140         [POSIX] (ENOBUFS): Likewise.
41141         [POSIX] (ENODATA): Likewise.
41142         [POSIX] (ENOLINK): Likewise.
41143         [POSIX] (ENOMSG): Likewise.
41144         [POSIX] (ENOPROTOOPT): Likewise.
41145         [POSIX] (ENOSR): Likewise.
41146         [POSIX] (ENOSTR): Likewise.
41147         [POSIX] (ENOTCONN): Likewise.
41148         [POSIX] (ENOTSOCK): Likewise.
41149         [POSIX] (EOPNOTSUPP): Likewise.
41150         [POSIX] (EOVERFLOW): Likewise.
41151         [POSIX] (EPROTO): Likewise.
41152         [POSIX] (EPROTONOSUPPORT): Likewise.
41153         [POSIX] (EPROTOTYPE): Likewise.
41154         [POSIX] (ESTALE): Likewise.
41155         [POSIX] (ETIME): Likewise.
41156         [POSIX] (ETXTBSY): Likewise.
41157         [POSIX] (EWOULDBLOCK): Likewise.
41158         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41159         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41160         [POSIX] (SEEK_CUR): Likewise.
41161         [POSIX] (SEEK_END): Likewise.
41162         [POSIX || UNIX98] (mode_t): Do not require.
41163         [POSIX] (off_t): Likewise.
41164         [POSIX] (pid_t): Likewise.
41165         [POSIX] (sys/stat.h): Do not allow header.
41166         [POSIX] (unistd.h): Likewise.
41167         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41168         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41169         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41170         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41171         require.
41172         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41173         sigevent): Specify elements.
41174         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41175         entry.
41176         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41177         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41179         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41180         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41181         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41182         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41183         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41184         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41185         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41186         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41187         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41188         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41189         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41190         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41191         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41192         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41193         Likewise.
41194         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41195         Likewise.
41196         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41197         Likewise.
41198         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41199         Likewise.
41200         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41201         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41202         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41203         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41204         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41205         Specify lower bound on value.
41206         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41207         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41208         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41209         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41210         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41211         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41212         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41213         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41214         value.
41215         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41216         as optional.
41217         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41218         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41219         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41220         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41221         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41222         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41223         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41224         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41225         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41226         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41227         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41228         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41229         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41230         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41231         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41232         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41233         entry.
41234         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41235         optional.
41236         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41237         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41238         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41239         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41240         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41241         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41242         Likewise.
41243         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41244         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41245         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41246         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41247         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41248         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41249         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41250         as optional.
41251         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41252         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41253         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41254         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41255         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41256         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41257         specify as optional.
41258         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41259         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41260         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41261         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41262         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41263         [XPG3] (NL_LANGMAX): Likewise.
41264         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41265         [POSIX || XPG3] (NL_NMAX): Likewise.
41266         [POSIX || XPG3] (NL_SETMAX): Likewise.
41267         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41268         [XPG3] (NZERO): Likewise.
41269         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41270         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41271         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41272         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41273         (REG_ERANGE): Expect.
41274         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41275         optional-constant.
41276         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41277         Use (void) in prototype.
41278         [POSIX] (*_t): Allow.
41279         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41280         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41281         (WRDE_BADVAL): Expect.
41283         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41284         expect.
41285         [XPG3 || XPG4] (O_RSYNC): Likewise.
41286         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41287         Likewise.
41288         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41289         [XPG3 || XPG4] (sigqueue): Likewise.
41290         [XPG3 || XPG4] (sigtimedwait): Likewise.
41291         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41292         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41293         [XPG3 || XPG4] (vsnprintf): Likewise.
41294         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41295         Likewise.
41296         [XPG3 || XPG4] (blksize_t): Likewise.
41297         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41298         Likewise.
41299         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41300         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41301         [XPG3 || XPG4] (struct itimerspec): Likewise.
41302         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41303         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41304         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41305         [XPG3 || XPG4] (clockid_t): Likewise.
41306         [XPG3 || XPG4] (timer_t): Likewise.
41307         [XPG3 || XPG4] (clock_getres): Likewise.
41308         [XPG3 || XPG4] (clock_gettime): Likewise.
41309         [XPG3 || XPG4] (clock_settime): Likewise.
41310         [XPG3 || XPG4] (nanosleep): Likewise.
41311         [XPG3 || XPG4] (timer_create): Likewise.
41312         [XPG3 || XPG4] (timer_delete): Likewise.
41313         [XPG3 || XPG4] (timer_gettime): Likewise.
41314         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41315         [XPG3 || XPG4] (timer_settime): Likewise.
41316         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41317         [XPG3 || XPG4] (getlogin_r): Likewise.
41318         [XPG3 || XPG4] (pread): Likewise.
41319         [XPG3 || XPG4] (pthread_atfork): Likewise.
41320         [XPG3 || XPG4] (pwrite): Likewise.
41322         [BZ #14835]
41323         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41324         <bits/siginfo.h>.
41326 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41328         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41329         finalizing MALLSTREAM.
41331         * sysdeps/mach/hurd/syncfs.c: New file.
41333 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41335         [BZ #14719]
41336         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41337         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41338         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41339         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41340         (_nss_dns_gethostbyname4_r): Likewise.
41341         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41342         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41344 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41346         [BZ #13763]
41347         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41349 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41351         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41352         * elf/cache.c (print_entry): Print ",AArch64" for
41353         FLAG_AARCH64_LIB64
41355         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41356         * elf/cache.c (print_entry): Print ",hard-float" for
41357         FLAG_ARM_LIBHF.
41359 2012-11-18  David S. Miller  <davem@davemloft.net>
41361         With help from Joseph Myers.
41362         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41363         cutoff to 2**-13.
41364         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41365         cutoff to 2**-25.
41366         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41367         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41368         small.
41369         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41370         * math/libm-test.inc (y0_test): New tests.
41371         (y1_test): New tests.
41372         * sysdeps/i386/fpu/libm-test-ulps: Update.
41373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41376 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41378         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41379         64-bit targets.
41380         * configure: Regenerated.
41382 2012-11-17  David S. Miller  <davem@davemloft.net>
41384         [BZ #14811]
41385         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41386         nonzero exponents with absolute value below 0x1p-128 to +/-
41387         0x1p-128.
41389 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41391         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41393         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41395         * posix/getconf-speclist.c: New file.
41396         * posix/posix-envs.def: Likewise.
41397         * posix/confstr.c (START_ENV_GROUP): New macro.
41398         (END_ENV_GROUP): Likewise.
41399         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41400         (KNOWN_PRESENT_ENV_STRING): Likewise.
41401         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41402         (UNKNOWN_ENVIRONMENT): Likewise.
41403         (confstr): Include posix-envs.def instead of handling
41404         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41405         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41406         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41407         (END_ENV_GROUP): Likewise.
41408         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41409         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41410         (UNKNOWN_ENVIRONMENT): Likewise.
41411         (__sysconf): Include posix-envs.def instead of handling associated
41412         cases directly here.
41413         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41414         preprocessing getconf-speclist.c rather than running getconf or
41415         generating empty file.
41417 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41419         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41421 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41423         [BZ #14672]
41424         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41426 2012-11-16  David S. Miller  <davem@davemloft.net>
41428         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41429         smaller than LDBL_EPSILON/2.0L, just return xm1.
41431 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41433         * elf/tst-array1.c (init): Set constructor priority to 1000.
41434         (fini): Set destructor priority to 1000.
41435         * elf/tst-array2dep.c: Likewise.
41437 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41439         [BZ #11741]
41440         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41441         (_IO_new_file_xsputn): Also return EOF if none of the input
41442         data was written when overflow failed.
41443         * libio/iopadn.c (_IO_padn): Likewise.
41444         * libio/iowpadn.c (_IO_wpadn): Likewise.
41445         * stdio-common/tst-put-error.c: Add copyright notice.
41446         (do_test): Add case for printing padded string.
41447         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41448         _IO_padn returned error.
41449         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41450         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41451         return EOF.
41453 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41455         * libio/libioP.h: Add comment note that the references to C++
41456         bits are now obsolete.
41458 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41460         * math/libm-test.inc (check_complex): Use asprintf.
41462 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41464         * debug/pcprofiledump.c (print_version): Update copyright year.
41465         * malloc/memusagestat.c (print_version): Likewise.
41467 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41469         [BZ #14831]
41470         * elf/Makefile (tests): Add tst-audit8.
41471         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41472         ($(objpfx)tst-audit8.out): New target.
41473         (tst-audit8-ENV): New variable.
41474         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41475         audit if l_reloc_result is NULL.
41476         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41477         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41478         * elf/tst-audit8.c: New file.
41480 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41482         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41483         * misc/Makefile (CFLAGS-select.c): Define.
41484         * posix/Makefile (CFLAGS-pause.c): Define.
41486 2012-11-13  David S. Miller  <davem@davemloft.net>
41488         * crypt/Makefile: Move test targets after toplevel Rules
41489         inclusion.  Grab any necessary sysdep routines when linking.
41490         * crypt/md5.c (md5_process_block): Remove define, we will always
41491         name it __md5_process_block.
41492         (md5_finish_ctx): Update md5_process_block call.
41493         (md5_stream): Likewise.
41494         (md5_process_bytes): Likewise.
41495         (md5_process_block): Rename to __md5_process_block and move to ...
41496         * crypt/md5-block.c: ... here.
41497         * crypt/sha256.c (sha256_process_block): Move to ...
41498         * crypt/sha256-block.c: ... here.
41499         * crypt/sha512.c (sha512_process_block): Move to ...
41500         * crypt/sha512-block.c: ... here.
41501         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41502         path.
41503         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41504         * sysdeps/sparc/sparc64/multiarch/Makefile
41505         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41506         crypt subdir.
41507         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41508         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41509         multiarch changes.
41510         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41511         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41512         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41513         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41514         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41515         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41516         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41517         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41518         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41519         file.
41520         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41521         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41522         file.
41523         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41525 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41527         * timezone/tzselect.ksh: Update from tzcode git revision
41528         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41529         * timezone/zdump.c: Likewise.
41530         * timezone/zic.c: Likewise.
41531         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41532         in TZVERSION setting, not $(PKGVERSION).
41533         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41534         REPORT_BUGS_TO settings.
41536         [BZ #14838]
41537         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41538         macro.
41540 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41542         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41543         detection to immediately after _FP_ROUND().
41544         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41545         bits are 0.
41547 2012-11-11  David S. Miller  <davem@davemloft.net>
41549         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41550         inttypes.h
41551         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41552         __close rather than their public counterparts.
41554 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41556         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41557         file.
41558         [UNIX98] (sem_timedwait): Do not expect.
41559         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41560         [XPG4 || UNIX98] (sockatmark): Do not expect.
41561         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41562         (clock_getcpuclockid): Do not expect.
41563         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41564         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41565         Do not expect.
41566         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41567         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41568         [UNIX98] (vwscanf): Likewise.
41569         [UNIX98] (vswscanf): Likewise.
41571 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41573         * timezone/version.h: Remove file.
41574         * timezone/README: Do not refer to version.h.
41575         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41576         $(objpfx)version.h.
41577         ($(objpfx)zdump.o): Likewise.
41578         ($(objpfx)version.h): New target.
41580         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41581         2012i.
41582         * timezone/README: Don't mention modification to tzselect.ksh.
41583         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41584         work on unmodified tzselect.ksh.  Substitute version numbers in
41585         tzselect.ksh.
41587         * Makefile (format-me): Remove.
41588         (INSTALL): Adjust indentation.  Use commands directly instead of
41589         using $(format-me).
41591         * aclocal.m4 (ACX_PKGVERSION): New macro.
41592         (ACX_BUGURL): Likewise.
41593         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41594         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41595         (REPORT_BUGS_TO): Likewise.
41596         * configure: Regenerated.
41597         * config.h.in (PKGVERSION): New macro.
41598         (REPORT_BUGS_TO): Likewise.
41599         * config.make.in (PKGVERSION): New variable.
41600         (PKGVERSION_TEXI): Likewise.
41601         (REPORT_BUGS_TO): Likewise.
41602         (REPORT_BUGS_TEXI): Likewise.
41603         * Makefile (format-me): Use -I$(common-objpfx)manual.
41604         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41605         ($(common-objpfx)manual/%): New target.
41606         (manual/%): Remove target.
41607         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41608         (print_version): Use PKGVERSION.
41609         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41610         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41611         and REPORT_BUGS_TO.
41612         ($(objpfx)xtrace): Likewise.
41613         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41614         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41615         (print_version): Use PKGVERSION.
41616         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41617         (do_version): Use PKGVERSION.
41618         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41619         REPORT_BUGS_TO.
41620         (common-ldd-rewrite): Likewise.
41621         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41622         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41623         (print_version): Use PKGVERSION.
41624         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41625         * elf/pldd.c (argp_program_bug_address): Remove variable.
41626         (more_help): New function.
41627         (argp): Use more_help.
41628         (print_version): Use PKGVERSION.
41629         * elf/sln.c (main): Use PKGVERSION.
41630         (usage): Use REPORT_BUGS_TO.
41631         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41632         (top level): Use PKGVERSION.
41633         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41634         (print_version): Use PKGVERSION.
41635         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41636         (print_version): Use PKGVERSION.
41637         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41638         (print_version): Use PKGVERSION.
41639         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41640         (print_version): Use PKGVERSION.
41641         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41642         (print_version): Use PKGVERSION.
41643         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41644         (print_version): Use PKGVERSION.
41645         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41646         and BUGURL.
41647         ($(objpfx)memusage): Likewise.
41648         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41649         (do_version): Use PKGVERSION.
41650         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41651         (print_version): Use PKGVERSION.
41652         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41653         ($PKGVERSION): New variable.
41654         ($REPORT_BUGS_TO): Likewise.
41655         (usage): Use $REPORT_BUGS_TO.
41656         (top level): Use $PKGVERSION.
41657         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41658         ($(objpfx)pkgvers.texi): New rule.
41659         ($(objpfx)stamp-pkgvers): Likewise.
41660         * manual/install.texi: Include pkgvers.texi.
41661         (--with-pkgversion): Document new configure option.
41662         (--with-bugurl): Likewise.
41663         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41664         than necessarily for this particular distribution.  Use
41665         REPORT_BUGS_TO for where to report bugs.
41666         * INSTALL: Regenerated.
41667         * manual/libc.texinfo: Include pkgvers.texi.
41668         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41669         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41670         (print_version): Use PKGVERSION.
41671         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41672         (print_version): Use PKGVERSION.
41673         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41674         (print_version): Use PKGVERSION.
41675         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41676         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41677         macro.
41678         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41679         (print_version): Use PKGVERSION.
41680         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41681         (print_version): Use PKGVERSION.
41682         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41683         and PKGVERSION.
41685         * timezone/checktab.awk: Update from tzcode 2012i.
41686         * timezone/ialloc.c: Likewise.
41687         * timezone/private.h: Likewise.
41688         * timezone/scheck.c: Likewise.
41689         * timezone/tzfile.h: Likewise.
41690         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41691         (TZVERSION): Hardcode tzcode version number.
41692         * timezone/zdump.c: Update from tzcode 2012i.
41693         * timezone/zic.c: Likewise.
41694         * timezone/version.h: New file.
41695         * timezone/README: Describe version.h.  Update upstream location.
41697         [BZ #14824]
41698         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41699         (mktemp): Enable declaration.
41700         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41701         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41702         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41703         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41704         Likewise.
41705         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41706         Likewise.
41707         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41708         Likewise.
41709         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41710         Likewise.
41711         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41712         Likewise.
41713         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41714         Likewise.
41716         [BZ #14821]
41717         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41718         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41719         for copies of such integer values.
41720         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41721         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41723 2012-11-09  Andreas Jaeger  <aj@suse.de>
41725         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41726         definitions and declarations that are provided by
41727         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41729 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41731         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41732         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41733         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41734         definition.
41736 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41738         * elf/elf.h: Update comment before AArch64 relocations.
41740 2012-11-07  David S. Miller  <davem@davemloft.net>
41742         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41743         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41744         (__start_context): Declare.
41745         (__makecontext_ret): Delete.
41746         (__makecontext): Hook up __start_context instead of
41747         __makecontext_ret.
41748         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41749         (sysdep_routines): Add __start_context when in stdlib.
41751 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41753         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41754         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41755         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41756         hardcoded "nm".
41757         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41758         (READELF): New variable.  Use it instead of hardcoded "readelf".
41760 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41762         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41763         * sysdeps/x86/Makefile: Here.
41764         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41765         * sysdeps/x86/tst-xmmymm.sh: This.
41767 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41769         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41770         expectations.
41771         [UNIX98] (pthread_barrier_t): Do not expect.
41772         [UNIX98] (pthread_barrierattr_t): Likewise.
41773         [UNIX98] (pthread_spinlock_t): Likewise.
41774         [UNIX98] (pthread_barrier_destroy): Likewise.
41775         [UNIX98] (pthread_barrier_init): Likewise.
41776         [UNIX98] (pthread_barrier_wait): Likewise.
41777         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41778         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41779         [UNIX98] (pthread_barrierattr_init): Likewise.
41780         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41781         [UNIX98] (pthread_getcpuclockid): Likewise.
41782         [UNIX98] (pthread_mutex_timedlock): Likewise.
41783         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41784         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41785         [UNIX98] (pthread_sigmask): Likewise.
41786         [UNIX98] (pthread_spin_destroy): Likewise.
41787         [UNIX98] (pthread_spin_init): Likewise.
41788         [UNIX98] (pthread_spin_lock): Likewise.
41789         [UNIX98] (pthread_spin_trylock): Likewise.
41790         [UNIX98] (pthread_spin_unlock): Likewise.
41791         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41792         Do not expect.
41793         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41794         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41795         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41796         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41797         [XPG3 || XPG4] (pthread_key_t): Likewise.
41798         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41799         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41800         [XPG3 || XPG4] (pthread_once_t): Likewise.
41801         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41802         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41803         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41804         [XPG3 || XPG4] (pthread_t): Likewise.
41806         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41807         not expect.
41808         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41810         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41811         Change function return type to int.
41813         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41814         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41815         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41816         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41817         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41818         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41819         [!POSIX] (posix_madvise): Likewise.
41820         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41821         && !UNIX98].
41822         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41823         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41824         (mode_t): Likewise.
41825         (posix_mem_offset): Likewise.
41826         (posix_typed_mem_get_info): Likewise.
41827         (posix_typed_mem_open): Likewise.
41829         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41830         Change condition to [XOPEN2K8].
41832         * conform/conformtest.pl: Preprocess allow-header data with -x c
41833         instead of from stdin.
41834         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41835         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41836         [C99-based standards] (cerfc): Likewise.
41837         [C99-based standards] (cexp2): Likewise.
41838         [C99-based standards] (cexpm1): Likewise.
41839         [C99-based standards] (clog10): Likewise.
41840         [C99-based standards] (clog1p): Likewise.
41841         [C99-based standards] (clog2): Likewise.
41842         [C99-based standards] (clgamma): Likewise.
41843         [C99-based standards] (ctgamma): Likewise.
41844         [C99-based standards] (cerff): Likewise.
41845         [C99-based standards] (cerfcf): Likewise.
41846         [C99-based standards] (cexp2f): Likewise.
41847         [C99-based standards] (cexpm1f): Likewise.
41848         [C99-based standards] (clog10f): Likewise.
41849         [C99-based standards] (clog1pf): Likewise.
41850         [C99-based standards] (clog2f): Likewise.
41851         [C99-based standards] (clgammaf): Likewise.
41852         [C99-based standards] (ctgammaf): Likewise.
41853         [C99-based standards] (cerfl): Likewise.
41854         [C99-based standards] (cerfcl): Likewise.
41855         [C99-based standards] (cexp2l): Likewise.
41856         [C99-based standards] (cexpm1l): Likewise.
41857         [C99-based standards] (clog10l): Likewise.
41858         [C99-based standards] (clog1pl): Likewise.
41859         [C99-based standards] (clog2l): Likewise.
41860         [C99-based standards] (clgammal): Likewise.
41861         [C99-based standards] (ctgammal): Likewise.
41862         * conform/data/inttypes.h-data [C99-based standards]: Include
41863         stdint.h-data.  Remove all expectations for stdint.h contents.
41864         [C99-based standards] (PRI*): Do not allow.
41865         [C99-based standards] (SCN*): Likewise.
41866         [C99-based standards] (*_t): Likewise.
41867         [C99-based-standards] (PRId8): Expect macro.
41868         [C99-based-standards] (PRIi8): Likewise.
41869         [C99-based-standards] (PRIo8): Likewise.
41870         [C99-based-standards] (PRIu8): Likewise.
41871         [C99-based-standards] (PRIx8): Likewise.
41872         [C99-based-standards] (PRIX8): Likewise.
41873         [C99-based-standards] (SCNd8): Likewise.
41874         [C99-based-standards] (SCNi8): Likewise.
41875         [C99-based-standards] (SCNo8): Likewise.
41876         [C99-based-standards] (SCNu8): Likewise.
41877         [C99-based-standards] (SCNx8): Likewise.
41878         [C99-based-standards] (PRIdLEAST8): Likewise.
41879         [C99-based-standards] (PRIiLEAST8): Likewise.
41880         [C99-based-standards] (PRIoLEAST8): Likewise.
41881         [C99-based-standards] (PRIuLEAST8): Likewise.
41882         [C99-based-standards] (PRIxLEAST8): Likewise.
41883         [C99-based-standards] (PRIXLEAST8): Likewise.
41884         [C99-based-standards] (SCNdLEAST8): Likewise.
41885         [C99-based-standards] (SCNiLEAST8): Likewise.
41886         [C99-based-standards] (SCNoLEAST8): Likewise.
41887         [C99-based-standards] (SCNuLEAST8): Likewise.
41888         [C99-based-standards] (SCNxLEAST8): Likewise.
41889         [C99-based-standards] (PRIdFAST8): Likewise.
41890         [C99-based-standards] (PRIiFAST8): Likewise.
41891         [C99-based-standards] (PRIoFAST8): Likewise.
41892         [C99-based-standards] (PRIuFAST8): Likewise.
41893         [C99-based-standards] (PRIxFAST8): Likewise.
41894         [C99-based-standards] (PRIXFAST8): Likewise.
41895         [C99-based-standards] (SCNdFAST8): Likewise.
41896         [C99-based-standards] (SCNiFAST8): Likewise.
41897         [C99-based-standards] (SCNoFAST8): Likewise.
41898         [C99-based-standards] (SCNuFAST8): Likewise.
41899         [C99-based-standards] (SCNxFAST8): Likewise.
41900         [C99-based-standards] (PRId16): Likewise.
41901         [C99-based-standards] (PRIi16): Likewise.
41902         [C99-based-standards] (PRIo16): Likewise.
41903         [C99-based-standards] (PRIu16): Likewise.
41904         [C99-based-standards] (PRIx16): Likewise.
41905         [C99-based-standards] (PRIX16): Likewise.
41906         [C99-based-standards] (SCNd16): Likewise.
41907         [C99-based-standards] (SCNi16): Likewise.
41908         [C99-based-standards] (SCNo16): Likewise.
41909         [C99-based-standards] (SCNu16): Likewise.
41910         [C99-based-standards] (SCNx16): Likewise.
41911         [C99-based-standards] (PRIdLEAST16): Likewise.
41912         [C99-based-standards] (PRIiLEAST16): Likewise.
41913         [C99-based-standards] (PRIoLEAST16): Likewise.
41914         [C99-based-standards] (PRIuLEAST16): Likewise.
41915         [C99-based-standards] (PRIxLEAST16): Likewise.
41916         [C99-based-standards] (PRIXLEAST16): Likewise.
41917         [C99-based-standards] (SCNdLEAST16): Likewise.
41918         [C99-based-standards] (SCNiLEAST16): Likewise.
41919         [C99-based-standards] (SCNoLEAST16): Likewise.
41920         [C99-based-standards] (SCNuLEAST16): Likewise.
41921         [C99-based-standards] (SCNxLEAST16): Likewise.
41922         [C99-based-standards] (PRIdFAST16): Likewise.
41923         [C99-based-standards] (PRIiFAST16): Likewise.
41924         [C99-based-standards] (PRIoFAST16): Likewise.
41925         [C99-based-standards] (PRIuFAST16): Likewise.
41926         [C99-based-standards] (PRIxFAST16): Likewise.
41927         [C99-based-standards] (PRIXFAST16): Likewise.
41928         [C99-based-standards] (SCNdFAST16): Likewise.
41929         [C99-based-standards] (SCNiFAST16): Likewise.
41930         [C99-based-standards] (SCNoFAST16): Likewise.
41931         [C99-based-standards] (SCNuFAST16): Likewise.
41932         [C99-based-standards] (SCNxFAST16): Likewise.
41933         [C99-based-standards] (PRId32): Likewise.
41934         [C99-based-standards] (PRIi32): Likewise.
41935         [C99-based-standards] (PRIo32): Likewise.
41936         [C99-based-standards] (PRIu32): Likewise.
41937         [C99-based-standards] (PRIx32): Likewise.
41938         [C99-based-standards] (PRIX32): Likewise.
41939         [C99-based-standards] (SCNd32): Likewise.
41940         [C99-based-standards] (SCNi32): Likewise.
41941         [C99-based-standards] (SCNo32): Likewise.
41942         [C99-based-standards] (SCNu32): Likewise.
41943         [C99-based-standards] (SCNx32): Likewise.
41944         [C99-based-standards] (PRIdLEAST32): Likewise.
41945         [C99-based-standards] (PRIiLEAST32): Likewise.
41946         [C99-based-standards] (PRIoLEAST32): Likewise.
41947         [C99-based-standards] (PRIuLEAST32): Likewise.
41948         [C99-based-standards] (PRIxLEAST32): Likewise.
41949         [C99-based-standards] (PRIXLEAST32): Likewise.
41950         [C99-based-standards] (SCNdLEAST32): Likewise.
41951         [C99-based-standards] (SCNiLEAST32): Likewise.
41952         [C99-based-standards] (SCNoLEAST32): Likewise.
41953         [C99-based-standards] (SCNuLEAST32): Likewise.
41954         [C99-based-standards] (SCNxLEAST32): Likewise.
41955         [C99-based-standards] (PRIdFAST32): Likewise.
41956         [C99-based-standards] (PRIiFAST32): Likewise.
41957         [C99-based-standards] (PRIoFAST32): Likewise.
41958         [C99-based-standards] (PRIuFAST32): Likewise.
41959         [C99-based-standards] (PRIxFAST32): Likewise.
41960         [C99-based-standards] (PRIXFAST32): Likewise.
41961         [C99-based-standards] (SCNdFAST32): Likewise.
41962         [C99-based-standards] (SCNiFAST32): Likewise.
41963         [C99-based-standards] (SCNoFAST32): Likewise.
41964         [C99-based-standards] (SCNuFAST32): Likewise.
41965         [C99-based-standards] (SCNxFAST32): Likewise.
41966         [C99-based-standards] (PRId64): Likewise.
41967         [C99-based-standards] (PRIi64): Likewise.
41968         [C99-based-standards] (PRIo64): Likewise.
41969         [C99-based-standards] (PRIu64): Likewise.
41970         [C99-based-standards] (PRIx64): Likewise.
41971         [C99-based-standards] (PRIX64): Likewise.
41972         [C99-based-standards] (SCNd64): Likewise.
41973         [C99-based-standards] (SCNi64): Likewise.
41974         [C99-based-standards] (SCNo64): Likewise.
41975         [C99-based-standards] (SCNu64): Likewise.
41976         [C99-based-standards] (SCNx64): Likewise.
41977         [C99-based-standards] (PRIdLEAST64): Likewise.
41978         [C99-based-standards] (PRIiLEAST64): Likewise.
41979         [C99-based-standards] (PRIoLEAST64): Likewise.
41980         [C99-based-standards] (PRIuLEAST64): Likewise.
41981         [C99-based-standards] (PRIxLEAST64): Likewise.
41982         [C99-based-standards] (PRIXLEAST64): Likewise.
41983         [C99-based-standards] (SCNdLEAST64): Likewise.
41984         [C99-based-standards] (SCNiLEAST64): Likewise.
41985         [C99-based-standards] (SCNoLEAST64): Likewise.
41986         [C99-based-standards] (SCNuLEAST64): Likewise.
41987         [C99-based-standards] (SCNxLEAST64): Likewise.
41988         [C99-based-standards] (PRIdFAST64): Likewise.
41989         [C99-based-standards] (PRIiFAST64): Likewise.
41990         [C99-based-standards] (PRIoFAST64): Likewise.
41991         [C99-based-standards] (PRIuFAST64): Likewise.
41992         [C99-based-standards] (PRIxFAST64): Likewise.
41993         [C99-based-standards] (PRIXFAST64): Likewise.
41994         [C99-based-standards] (SCNdFAST64): Likewise.
41995         [C99-based-standards] (SCNiFAST64): Likewise.
41996         [C99-based-standards] (SCNoFAST64): Likewise.
41997         [C99-based-standards] (SCNuFAST64): Likewise.
41998         [C99-based-standards] (SCNxFAST64): Likewise.
41999         [C99-based-standards] (PRIdMAX): Likewise.
42000         [C99-based-standards] (PRIiMAX): Likewise.
42001         [C99-based-standards] (PRIoMAX): Likewise.
42002         [C99-based-standards] (PRIuMAX): Likewise.
42003         [C99-based-standards] (PRIxMAX): Likewise.
42004         [C99-based-standards] (PRIXMAX): Likewise.
42005         [C99-based-standards] (SCNdMAX): Likewise.
42006         [C99-based-standards] (SCNiMAX): Likewise.
42007         [C99-based-standards] (SCNoMAX): Likewise.
42008         [C99-based-standards] (SCNuMAX): Likewise.
42009         [C99-based-standards] (SCNxMAX): Likewise.
42010         [C99-based-standards] (PRIdPTR): Likewise.
42011         [C99-based-standards] (PRIiPTR): Likewise.
42012         [C99-based-standards] (PRIoPTR): Likewise.
42013         [C99-based-standards] (PRIuPTR): Likewise.
42014         [C99-based-standards] (PRIxPTR): Likewise.
42015         [C99-based-standards] (PRIXPTR): Likewise.
42016         [C99-based-standards] (SCNdPTR): Likewise.
42017         [C99-based-standards] (SCNiPTR): Likewise.
42018         [C99-based-standards] (SCNoPTR): Likewise.
42019         [C99-based-standards] (SCNuPTR): Likewise.
42020         [C99-based-standards] (SCNxPTR): Likewise.
42021         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42022         allow.
42023         * conform/data/stdint.h-data: Update comments to clarify
42024         requirements.
42025         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42026         type.
42027         [C99-based standards] (INT8_MAX): Likewise.
42028         [C99-based standards] (INT16_MIN): Likewise.
42029         [C99-based standards] (INT16_MAX): Likewise.
42030         [C99-based standards] (INT32_MIN): Likewise.
42031         [C99-based standards] (INT32_MAX): Likewise.
42032         [C99-based standards] (INT64_MIN): Likewise.
42033         [C99-based standards] (INT64_MAX): Likewise.
42034         [C99-based standards] (UINT8_MAX): Likewise.
42035         [C99-based standards] (UINT16_MAX): Likewise.
42036         [C99-based standards] (UINT32_MAX): Likewise.
42037         [C99-based standards] (UINT64_MAX): Likewise.
42038         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42039         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42040         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42041         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42042         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42043         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42044         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42045         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42046         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42047         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42048         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42049         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42050         [C99-based standards] (INT_FAST8_MIN): Likewise.
42051         [C99-based standards] (INT_FAST8_MAX): Likewise.
42052         [C99-based standards] (INT_FAST16_MIN): Likewise.
42053         [C99-based standards] (INT_FAST16_MAX): Likewise.
42054         [C99-based standards] (INT_FAST32_MIN): Likewise.
42055         [C99-based standards] (INT_FAST32_MAX): Likewise.
42056         [C99-based standards] (INT_FAST64_MIN): Likewise.
42057         [C99-based standards] (INT_FAST64_MAX): Likewise.
42058         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42059         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42060         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42061         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42062         [C99-based standards] (INTPTR_MIN): Likewise.
42063         [C99-based standards] (INTPTR_MAX): Likewise.
42064         [C99-based standards] (UINTPTR_MAX): Likewise.
42065         [C99-based standards] (INTMAX_MIN): Likewise.
42066         [C99-based standards] (INTMAX_MAX): Likewise.
42067         [C99-based standards] (UINTMAX_MAX): Likewise.
42068         [C99-based standards] (PTRDIFF_MIN): Likewise.
42069         [C99-based standards] (PTRDIFF_MAX): Likewise.
42070         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42071         [C99-based standards] (SIZE_MAX): Likewise.
42072         [C99-based standards] (WCHAR_MAX): Likewise.
42073         [C99-based standards] (WINT_MAX): Likewise.
42074         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42075         constraint on value.
42076         [C99-based standards] (WCHAR_MIN): Likewise.
42077         [C99-based standards] (WINT_MIN): Likewise.
42078         [C99-based standards] (*_t): Allow.
42079         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42080         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42081         Include math.h-data and complex.h-data.  Remove all expectations
42082         of math.h and complex.h contents.
42083         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42084         at end of line.
42085         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42086         (struct tm): Expect tag.
42087         [C99-based-standards] (wcstof): Expect function.
42088         [C99-based-standards] (wcstold): Likewise.
42089         [C99-based-standards] (wcstoll): Likewise.
42090         [C99-based-standards] (wcstoull): Likewise.
42091         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42092         macro-int-constant.  Specify type.
42093         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42094         constraint on value.
42095         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42096         Specify type.
42097         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42098         Specify value.
42099         [ISO C standards]: Do not allow headers.
42100         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42101         wcs[abcdefghijklmnopqrstuvwxyz]*.
42102         [ISO C standards] (*_t): Do not allow.
42103         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42104         Expect function.
42105         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42106         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42107         Specify type.
42108         [ISO C standards]: Do not allow headers.
42109         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42110         is[abcdefghijklmnopqrstuvwxyz]*.
42111         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42112         to[abcdefghijklmnopqrstuvwxyz]*.
42113         [ISO C standards] (*_t): Do not allow.
42114         * conform/data/stdalign.h-data: New file.
42115         * conform/data/stdbool.h-data: Likewise.
42116         * conform/data/stdnoreturn.h-data: Likewise.
42118 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42120         [BZ #14815]
42121         * manual/filesys.texi (Directory Entries): Typo fix.
42122         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42124 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42126         * elf/elf.h (EM_AARCH64): New macro.
42127         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42128         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42129         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42130         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42131         (R_AARCH64_TLSDESC): Likewise.
42132         (NT_ARM_TLS): Likewise.
42133         (NT_ARM_HW_BREAK): Likewise.
42134         (NT_ARM_HW_WATCH): Likewise.
42136 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42138         [BZ #14811]
42139         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42140         (__ieee754_powl): Saturate nonzero exponents with absolute value
42141         below 0x1p-79 to +/- 0x1p-79.
42142         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42143         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42144         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42145         nonzero exponents with absolute value below 0x1p-32 to +/-
42146         0x1p-32.
42147         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42148         (__ieee754_powl): Saturate nonzero exponents with absolute value
42149         below 0x1p-79 to +/- 0x1p-79.
42150         * math/libm-test.inc (pow_test): Add more tests.
42152 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42154         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42155         _dl_s390_cap_flags with kernel. Increase string length.
42156         (_dl_s390_platforms): Add z196 and zEC12.
42158 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42160         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42161         Change XOPEN21K to XOPEN2K.
42163 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42165         * string/memmove.c: Use memcpy when possible.
42167 2012-11-06  Andreas Jaeger  <aj@suse.de>
42169         * po/eo.po: Update from translation team.
42171 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42173         [BZ #14793]
42174         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42175         exponent and small x and y exponents, scale x or y up.  Increase
42176         by 2 the exponent used in scaling up.
42177         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42178         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42179         * math/libm-test.inc (fma_test): Add more tests.
42180         (fma_test_towardzero): Likewise.
42181         (fma_test_downward): Likewise.
42182         (fma_test_upward): Likewise.
42184 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42186         [BZ #14805]
42187         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42188         fenv_t *.
42190         [BZ #14801]
42191         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42192         namespace for names of struct fields.
42193         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42194         fenv_t fields.
42195         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42196         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42198 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42200         [BZ #3665]
42201         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42203 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42205         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42206         PTR_DEMANGLE.
42208         [BZ #5246]
42209         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42210         PTR_DEMANGLE.
42212 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42214         [BZ #14797]
42215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42216         definitely overflow as x * y not x * y + z.
42217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42219         * math/libm-test.inc (fma_test): Add more tests.
42220         (fma_test_towardzero): Likewise.
42221         (fma_test_downward): Likewise.
42222         (fma_test_upward): Likewise.
42224 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42226         [BZ #157]
42228         * include/stub-tag.h: Remove file.
42229         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42230         '#include' of it.
42231         * manual/maint.texi (Porting): Don't reference it.
42232         * Makerules ($(objpfx)stubs): Likewise.
42233         * dirent/closedir.c: Don't include <stub-tag.h>.
42234         * dirent/dirfd.c: Likewise.
42235         * dirent/fdopendir.c: Likewise.
42236         * dirent/getdents.c: Likewise.
42237         * dirent/getdents64.c: Likewise.
42238         * dirent/opendir.c: Likewise.
42239         * dirent/readdir.c: Likewise.
42240         * dirent/readdir64.c: Likewise.
42241         * dirent/readdir64_r.c: Likewise.
42242         * dirent/readdir_r.c: Likewise.
42243         * dirent/rewinddir.c: Likewise.
42244         * dirent/seekdir.c: Likewise.
42245         * dirent/telldir.c: Likewise.
42246         * gmon/profil.c: Likewise.
42247         * grp/setgroups.c: Likewise.
42248         * inet/if_index.c: Likewise.
42249         * io/access.c: Likewise.
42250         * io/chdir.c: Likewise.
42251         * io/chmod.c: Likewise.
42252         * io/chown.c: Likewise.
42253         * io/close.c: Likewise.
42254         * io/dup.c: Likewise.
42255         * io/dup2.c: Likewise.
42256         * io/dup3.c: Likewise.
42257         * io/euidaccess.c: Likewise.
42258         * io/faccessat.c: Likewise.
42259         * io/fchdir.c: Likewise.
42260         * io/fchmod.c: Likewise.
42261         * io/fchmodat.c: Likewise.
42262         * io/fchown.c: Likewise.
42263         * io/fchownat.c: Likewise.
42264         * io/fcntl.c: Likewise.
42265         * io/flock.c: Likewise.
42266         * io/fstatfs.c: Likewise.
42267         * io/fstatfs64.c: Likewise.
42268         * io/fstatvfs.c: Likewise.
42269         * io/fstatvfs64.c: Likewise.
42270         * io/futimens.c: Likewise.
42271         * io/fxstat.c: Likewise.
42272         * io/fxstat64.c: Likewise.
42273         * io/fxstatat.c: Likewise.
42274         * io/fxstatat64.c: Likewise.
42275         * io/getcwd.c: Likewise.
42276         * io/isatty.c: Likewise.
42277         * io/lchmod.c: Likewise.
42278         * io/lchown.c: Likewise.
42279         * io/link.c: Likewise.
42280         * io/linkat.c: Likewise.
42281         * io/lseek.c: Likewise.
42282         * io/lseek64.c: Likewise.
42283         * io/lxstat64.c: Likewise.
42284         * io/mkdir.c: Likewise.
42285         * io/mkdirat.c: Likewise.
42286         * io/mkfifo.c: Likewise.
42287         * io/mkfifoat.c: Likewise.
42288         * io/open.c: Likewise.
42289         * io/open64.c: Likewise.
42290         * io/openat.c: Likewise.
42291         * io/openat64.c: Likewise.
42292         * io/pipe.c: Likewise.
42293         * io/pipe2.c: Likewise.
42294         * io/poll.c: Likewise.
42295         * io/posix_fadvise.c: Likewise.
42296         * io/posix_fadvise64.c: Likewise.
42297         * io/posix_fallocate.c: Likewise.
42298         * io/posix_fallocate64.c: Likewise.
42299         * io/read.c: Likewise.
42300         * io/readlink.c: Likewise.
42301         * io/readlinkat.c: Likewise.
42302         * io/rmdir.c: Likewise.
42303         * io/sendfile.c: Likewise.
42304         * io/sendfile64.c: Likewise.
42305         * io/statfs.c: Likewise.
42306         * io/statfs64.c: Likewise.
42307         * io/statvfs.c: Likewise.
42308         * io/statvfs64.c: Likewise.
42309         * io/symlink.c: Likewise.
42310         * io/symlinkat.c: Likewise.
42311         * io/ttyname.c: Likewise.
42312         * io/ttyname_r.c: Likewise.
42313         * io/umask.c: Likewise.
42314         * io/unlink.c: Likewise.
42315         * io/unlinkat.c: Likewise.
42316         * io/utime.c: Likewise.
42317         * io/utimensat.c: Likewise.
42318         * io/write.c: Likewise.
42319         * io/xmknod.c: Likewise.
42320         * io/xmknodat.c: Likewise.
42321         * io/xstat.c: Likewise.
42322         * io/xstat64.c: Likewise.
42323         * login/getpt.c: Likewise.
42324         * login/grantpt.c: Likewise.
42325         * login/unlockpt.c: Likewise.
42326         * math/e_acoshl.c: Likewise.
42327         * math/e_acosl.c: Likewise.
42328         * math/e_asinl.c: Likewise.
42329         * math/e_atan2l.c: Likewise.
42330         * math/e_atanhl.c: Likewise.
42331         * math/e_coshl.c: Likewise.
42332         * math/e_expl.c: Likewise.
42333         * math/e_fmodl.c: Likewise.
42334         * math/e_gammal_r.c: Likewise.
42335         * math/e_hypotl.c: Likewise.
42336         * math/e_j0l.c: Likewise.
42337         * math/e_j1l.c: Likewise.
42338         * math/e_jnl.c: Likewise.
42339         * math/e_lgammal_r.c: Likewise.
42340         * math/e_log10l.c: Likewise.
42341         * math/e_log2l.c: Likewise.
42342         * math/e_logl.c: Likewise.
42343         * math/e_powl.c: Likewise.
42344         * math/e_rem_pio2l.c: Likewise.
42345         * math/e_sinhl.c: Likewise.
42346         * math/e_sqrtl.c: Likewise.
42347         * math/fclrexcpt.c: Likewise.
42348         * math/fedisblxcpt.c: Likewise.
42349         * math/feenablxcpt.c: Likewise.
42350         * math/fegetenv.c: Likewise.
42351         * math/fegetexcept.c: Likewise.
42352         * math/fegetround.c: Likewise.
42353         * math/feholdexcpt.c: Likewise.
42354         * math/fesetenv.c: Likewise.
42355         * math/fesetround.c: Likewise.
42356         * math/feupdateenv.c: Likewise.
42357         * math/fgetexcptflg.c: Likewise.
42358         * math/fraiseexcpt.c: Likewise.
42359         * math/fsetexcptflg.c: Likewise.
42360         * math/ftestexcept.c: Likewise.
42361         * math/k_cosl.c: Likewise.
42362         * math/k_rem_pio2l.c: Likewise.
42363         * math/k_sinl.c: Likewise.
42364         * math/k_tanl.c: Likewise.
42365         * math/s_asinhl.c: Likewise.
42366         * math/s_atanl.c: Likewise.
42367         * math/s_cbrtl.c: Likewise.
42368         * math/s_erfl.c: Likewise.
42369         * math/s_expm1l.c: Likewise.
42370         * math/s_log1pl.c: Likewise.
42371         * math/s_tanhl.c: Likewise.
42372         * misc/acct.c: Likewise.
42373         * misc/brk.c: Likewise.
42374         * misc/chflags.c: Likewise.
42375         * misc/chroot.c: Likewise.
42376         * misc/fchflags.c: Likewise.
42377         * misc/fgetxattr.c: Likewise.
42378         * misc/flistxattr.c: Likewise.
42379         * misc/fremovexattr.c: Likewise.
42380         * misc/fsetxattr.c: Likewise.
42381         * misc/fsync.c: Likewise.
42382         * misc/ftruncate.c: Likewise.
42383         * misc/futimes.c: Likewise.
42384         * misc/futimesat.c: Likewise.
42385         * misc/getdomain.c: Likewise.
42386         * misc/getdtsz.c: Likewise.
42387         * misc/gethostid.c: Likewise.
42388         * misc/gethostname.c: Likewise.
42389         * misc/getloadavg.c: Likewise.
42390         * misc/getpagesize.c: Likewise.
42391         * misc/getsysstats.c: Likewise.
42392         * misc/getxattr.c: Likewise.
42393         * misc/gtty.c: Likewise.
42394         * misc/ioctl.c: Likewise.
42395         * misc/lgetxattr.c: Likewise.
42396         * misc/listxattr.c: Likewise.
42397         * misc/llistxattr.c: Likewise.
42398         * misc/lremovexattr.c: Likewise.
42399         * misc/lsetxattr.c: Likewise.
42400         * misc/lutimes.c: Likewise.
42401         * misc/madvise.c: Likewise.
42402         * misc/mincore.c: Likewise.
42403         * misc/mlock.c: Likewise.
42404         * misc/mlockall.c: Likewise.
42405         * misc/mmap.c: Likewise.
42406         * misc/mprotect.c: Likewise.
42407         * misc/msync.c: Likewise.
42408         * misc/munlock.c: Likewise.
42409         * misc/munlockall.c: Likewise.
42410         * misc/munmap.c: Likewise.
42411         * misc/preadv.c: Likewise.
42412         * misc/preadv64.c: Likewise.
42413         * misc/ptrace.c: Likewise.
42414         * misc/pwritev.c: Likewise.
42415         * misc/pwritev64.c: Likewise.
42416         * misc/readv.c: Likewise.
42417         * misc/reboot.c: Likewise.
42418         * misc/remap_file_pages.c: Likewise.
42419         * misc/removexattr.c: Likewise.
42420         * misc/revoke.c: Likewise.
42421         * misc/select.c: Likewise.
42422         * misc/setdomain.c: Likewise.
42423         * misc/setegid.c: Likewise.
42424         * misc/seteuid.c: Likewise.
42425         * misc/sethostid.c: Likewise.
42426         * misc/sethostname.c: Likewise.
42427         * misc/setregid.c: Likewise.
42428         * misc/setreuid.c: Likewise.
42429         * misc/setxattr.c: Likewise.
42430         * misc/sstk.c: Likewise.
42431         * misc/stty.c: Likewise.
42432         * misc/swapoff.c: Likewise.
42433         * misc/swapon.c: Likewise.
42434         * misc/sync.c: Likewise.
42435         * misc/syncfs.c: Likewise.
42436         * misc/syscall.c: Likewise.
42437         * misc/truncate.c: Likewise.
42438         * misc/ualarm.c: Likewise.
42439         * misc/usleep.c: Likewise.
42440         * misc/ustat.c: Likewise.
42441         * misc/utimes.c: Likewise.
42442         * misc/vhangup.c: Likewise.
42443         * misc/writev.c: Likewise.
42444         * posix/_exit.c: Likewise.
42445         * posix/alarm.c: Likewise.
42446         * posix/execve.c: Likewise.
42447         * posix/fexecve.c: Likewise.
42448         * posix/fork.c: Likewise.
42449         * posix/fpathconf.c: Likewise.
42450         * posix/getaddrinfo.c: Likewise.
42451         * posix/getegid.c: Likewise.
42452         * posix/geteuid.c: Likewise.
42453         * posix/getgid.c: Likewise.
42454         * posix/getgroups.c: Likewise.
42455         * posix/getlogin.c: Likewise.
42456         * posix/getlogin_r.c: Likewise.
42457         * posix/getpgid.c: Likewise.
42458         * posix/getpid.c: Likewise.
42459         * posix/getppid.c: Likewise.
42460         * posix/getresgid.c: Likewise.
42461         * posix/getresuid.c: Likewise.
42462         * posix/getsid.c: Likewise.
42463         * posix/getuid.c: Likewise.
42464         * posix/glob64.c: Likewise.
42465         * posix/nanosleep.c: Likewise.
42466         * posix/pathconf.c: Likewise.
42467         * posix/pause.c: Likewise.
42468         * posix/posix_madvise.c: Likewise.
42469         * posix/pread.c: Likewise.
42470         * posix/pread64.c: Likewise.
42471         * posix/pwrite.c: Likewise.
42472         * posix/pwrite64.c: Likewise.
42473         * posix/sched_getaffinity.c: Likewise.
42474         * posix/sched_getp.c: Likewise.
42475         * posix/sched_gets.c: Likewise.
42476         * posix/sched_primax.c: Likewise.
42477         * posix/sched_primin.c: Likewise.
42478         * posix/sched_rr_gi.c: Likewise.
42479         * posix/sched_setaffinity.c: Likewise.
42480         * posix/sched_setp.c: Likewise.
42481         * posix/sched_sets.c: Likewise.
42482         * posix/sched_yield.c: Likewise.
42483         * posix/setgid.c: Likewise.
42484         * posix/setlogin.c: Likewise.
42485         * posix/setpgid.c: Likewise.
42486         * posix/setresgid.c: Likewise.
42487         * posix/setresuid.c: Likewise.
42488         * posix/setsid.c: Likewise.
42489         * posix/setuid.c: Likewise.
42490         * posix/sleep.c: Likewise.
42491         * posix/spawni.c: Likewise.
42492         * posix/sysconf.c: Likewise.
42493         * posix/times.c: Likewise.
42494         * posix/wait.c: Likewise.
42495         * posix/wait3.c: Likewise.
42496         * posix/wait4.c: Likewise.
42497         * posix/waitpid.c: Likewise.
42498         * resolv/gai_sigqueue.c: Likewise.
42499         * resource/getpriority.c: Likewise.
42500         * resource/getrlimit.c: Likewise.
42501         * resource/getrusage.c: Likewise.
42502         * resource/nice.c: Likewise.
42503         * resource/setpriority.c: Likewise.
42504         * resource/setrlimit.c: Likewise.
42505         * resource/ulimit.c: Likewise.
42506         * rt/aio_cancel.c: Likewise.
42507         * rt/aio_fsync.c: Likewise.
42508         * rt/aio_read.c: Likewise.
42509         * rt/aio_sigqueue.c: Likewise.
42510         * rt/aio_suspend.c: Likewise.
42511         * rt/aio_write.c: Likewise.
42512         * rt/clock_getres.c: Likewise.
42513         * rt/clock_gettime.c: Likewise.
42514         * rt/clock_nanosleep.c: Likewise.
42515         * rt/clock_settime.c: Likewise.
42516         * rt/lio_listio.c: Likewise.
42517         * rt/mq_close.c: Likewise.
42518         * rt/mq_getattr.c: Likewise.
42519         * rt/mq_notify.c: Likewise.
42520         * rt/mq_open.c: Likewise.
42521         * rt/mq_receive.c: Likewise.
42522         * rt/mq_send.c: Likewise.
42523         * rt/mq_setattr.c: Likewise.
42524         * rt/mq_timedreceive.c: Likewise.
42525         * rt/mq_timedsend.c: Likewise.
42526         * rt/mq_unlink.c: Likewise.
42527         * rt/shm_open.c: Likewise.
42528         * rt/shm_unlink.c: Likewise.
42529         * rt/timer_create.c: Likewise.
42530         * rt/timer_delete.c: Likewise.
42531         * rt/timer_getoverr.c: Likewise.
42532         * rt/timer_gettime.c: Likewise.
42533         * rt/timer_settime.c: Likewise.
42534         * setjmp/__longjmp.c: Likewise.
42535         * setjmp/setjmp.c: Likewise.
42536         * signal/kill.c: Likewise.
42537         * signal/killpg.c: Likewise.
42538         * signal/raise.c: Likewise.
42539         * signal/sigaction.c: Likewise.
42540         * signal/sigaltstack.c: Likewise.
42541         * signal/sigblock.c: Likewise.
42542         * signal/sigignore.c: Likewise.
42543         * signal/sigintr.c: Likewise.
42544         * signal/signal.c: Likewise.
42545         * signal/sigpause.c: Likewise.
42546         * signal/sigpending.c: Likewise.
42547         * signal/sigqueue.c: Likewise.
42548         * signal/sigreturn.c: Likewise.
42549         * signal/sigset.c: Likewise.
42550         * signal/sigsetmask.c: Likewise.
42551         * signal/sigstack.c: Likewise.
42552         * signal/sigsuspend.c: Likewise.
42553         * signal/sigtimedwait.c: Likewise.
42554         * signal/sigvec.c: Likewise.
42555         * signal/sigwait.c: Likewise.
42556         * signal/sigwaitinfo.c: Likewise.
42557         * signal/sysv_signal.c: Likewise.
42558         * socket/accept.c: Likewise.
42559         * socket/accept4.c: Likewise.
42560         * socket/bind.c: Likewise.
42561         * socket/connect.c: Likewise.
42562         * socket/getpeername.c: Likewise.
42563         * socket/getsockname.c: Likewise.
42564         * socket/getsockopt.c: Likewise.
42565         * socket/isfdtype.c: Likewise.
42566         * socket/listen.c: Likewise.
42567         * socket/recv.c: Likewise.
42568         * socket/recvfrom.c: Likewise.
42569         * socket/recvmsg.c: Likewise.
42570         * socket/send.c: Likewise.
42571         * socket/sendmsg.c: Likewise.
42572         * socket/sendto.c: Likewise.
42573         * socket/setsockopt.c: Likewise.
42574         * socket/shutdown.c: Likewise.
42575         * socket/sockatmark.c: Likewise.
42576         * socket/socket.c: Likewise.
42577         * socket/socketpair.c: Likewise.
42578         * stdio-common/ctermid.c: Likewise.
42579         * stdio-common/cuserid.c: Likewise.
42580         * stdio-common/remove.c: Likewise.
42581         * stdio-common/rename.c: Likewise.
42582         * stdio-common/renameat.c: Likewise.
42583         * stdio-common/tempname.c: Likewise.
42584         * stdlib/getcontext.c: Likewise.
42585         * stdlib/makecontext.c: Likewise.
42586         * stdlib/setcontext.c: Likewise.
42587         * stdlib/swapcontext.c: Likewise.
42588         * stdlib/system.c: Likewise.
42589         * streams/fattach.c: Likewise.
42590         * streams/fdetach.c: Likewise.
42591         * streams/getmsg.c: Likewise.
42592         * streams/getpmsg.c: Likewise.
42593         * streams/putmsg.c: Likewise.
42594         * streams/putpmsg.c: Likewise.
42595         * sysdeps/unix/bsd/getpt.c: Likewise.
42596         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42597         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42598         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42600         Likewise.
42601         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42602         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42603         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42604         * sysvipc/msgctl.c: Likewise.
42605         * sysvipc/msgget.c: Likewise.
42606         * sysvipc/msgrcv.c: Likewise.
42607         * sysvipc/msgsnd.c: Likewise.
42608         * sysvipc/semctl.c: Likewise.
42609         * sysvipc/semget.c: Likewise.
42610         * sysvipc/semop.c: Likewise.
42611         * sysvipc/semtimedop.c: Likewise.
42612         * sysvipc/shmat.c: Likewise.
42613         * sysvipc/shmctl.c: Likewise.
42614         * sysvipc/shmdt.c: Likewise.
42615         * sysvipc/shmget.c: Likewise.
42616         * termios/tcdrain.c: Likewise.
42617         * termios/tcflow.c: Likewise.
42618         * termios/tcflush.c: Likewise.
42619         * termios/tcgetattr.c: Likewise.
42620         * termios/tcgetpgrp.c: Likewise.
42621         * termios/tcsendbrk.c: Likewise.
42622         * termios/tcsetattr.c: Likewise.
42623         * termios/tcsetpgrp.c: Likewise.
42624         * time/adjtime.c: Likewise.
42625         * time/clock.c: Likewise.
42626         * time/getitimer.c: Likewise.
42627         * time/gettimeofday.c: Likewise.
42628         * time/setitimer.c: Likewise.
42629         * time/settimeofday.c: Likewise.
42630         * time/stime.c: Likewise.
42631         * time/time.c: Likewise.
42633 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42635         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42636         /usr/old/bin.
42638         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42639         instead of spaces.
42640         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42642 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42644         [BZ #14796]
42645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42646         FE_TONEAREST before applying Dekker multiplication and Knuth
42647         addition.  Clear inexact exceptions and check for exact zero
42648         results afterwards.
42649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42650         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42652         * math/libm-test.inc (fma_test): Add more tests.
42653         (fma_test_towardzero): Likewise.
42654         (fma_test_downward): Likewise.
42655         (fma_test_upward): Likewise.
42656         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42657         function.
42658         (libc_fesetround): New macro.
42659         (libc_fesetroundf): Likewise.
42660         (libc_fesetroundl): Likewise.
42661         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42662         function.
42663         (libc_fesetround_387): Likewise.
42664         (libc_fesetroundf): New macro.
42665         (libc_fesetround): Likewise.
42666         (libc_fesetroundl): Likewise.
42667         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42668         function.
42669         (libc_fesetroundf): New macro.
42670         (libc_fesetround): Likewise.
42671         (libc_fesetroundl): Likewise.
42672         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42673         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42674         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42675         libm_hidden_ver.
42676         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42677         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42678         libm_hidden_def.
42679         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42680         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42681         libm_hidden_ver.
42682         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42683         libm_hidden_def.
42685         [BZ #3439]
42686         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42687         integer constant usable in #if and use that to give value to enum
42688         constant.
42689         (FE_DIVBYZERO): Likewise.
42690         (FE_UNDERFLOW): Likewise.
42691         (FE_OVERFLOW): Likewise.
42692         (FE_INVALID): Likewise.
42693         (FE_INVALID_SNAN): Likewise.
42694         (FE_INVALID_ISI): Likewise.
42695         (FE_INVALID_IDI): Likewise.
42696         (FE_INVALID_ZDZ): Likewise.
42697         (FE_INVALID_IMZ): Likewise.
42698         (FE_INVALID_COMPARE): Likewise.
42699         (FE_INVALID_SOFTWARE): Likewise.
42700         (FE_INVALID_SQRT): Likewise.
42701         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42702         (FE_TONEAREST): Likewise.
42703         (FE_TOWARDZERO): Likewise.
42704         (FE_UPWARD): Likewise.
42705         (FE_DOWNWARD): Likewise.
42706         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42707         (FE_DIVBYZERO): Likewise.
42708         (FE_OVERFLOW): Likewise.
42709         (FE_UNDERFLOW): Likewise.
42710         (FE_INEXACT): Likewise.
42711         (FE_TONEAREST): Likewise.
42712         (FE_DOWNWARD): Likewise.
42713         (FE_UPWARD): Likewise.
42714         (FE_TOWARDZERO): Likewise.
42715         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42716         (FE_UNDERFLOW): Likewise.
42717         (FE_OVERFLOW): Likewise.
42718         (FE_DIVBYZERO): Likewise.
42719         (FE_INVALID): Likewise.
42720         (FE_TONEAREST): Likewise.
42721         (FE_TOWARDZERO): Likewise.
42722         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42723         (FE_OVERFLOW): Likewise.
42724         (FE_UNDERFLOW): Likewise.
42725         (FE_DIVBYZERO): Likewise.
42726         (FE_INEXACT): Likewise.
42727         (FE_TONEAREST): Likewise.
42728         (FE_TOWARDZERO): Likewise.
42729         (FE_UPWARD): Likewise.
42730         (FE_DOWNWARD): Likewise.
42731         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42732         (FE_DIVBYZERO): Likewise.
42733         (FE_OVERFLOW): Likewise.
42734         (FE_UNDERFLOW): Likewise.
42735         (FE_INEXACT): Likewise.
42736         (FE_TONEAREST): Likewise.
42737         (FE_DOWNWARD): Likewise.
42738         (FE_UPWARD): Likewise.
42739         (FE_TOWARDZERO): Likewise.
42741 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42743         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42745 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42747         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42748         commands.  Quote $PWD.
42749         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42750         -x" by "export".
42751         (remove_newlines): Remove.
42753 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42755         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42756         * stdlib/stdlib.h (atof): Moved to ...
42757         * include/bits/stdlib-float.h: Here.  New file.
42758         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42759         * stdlib/bits/stdlib-float.h: New file.
42760         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42761         -mno-sse -mno-mmx.
42762         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42763         <xmmintrin.h>.
42765 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42767         * conform/conformtest.pl (@headers): Add fenv.h.
42768         * conform/data/fenv.h-data: New file.
42769         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42770         include of <math/fenv.h>.
42772         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42773         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42774         && !UNIX98].  Enables tests for XOPEN2K8.
42775         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42776         POSIX2008]: Likewise.
42778         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42779         (struct rusage): Do not expect type or its members.
42781         [BZ #3439]
42782         * math/math.h (FP_NAN): Define macro to integer constant usable in
42783         #if and use that to give value to enum constant.
42784         (FP_INFINITE): Likewise.
42785         (FP_ZERO): Likewise.
42786         (FP_SUBNORMAL): Likewise.
42787         (FP_NORMAL): Likewise.
42789 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42791         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42792         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42793         arguments.
42795 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42797         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42798         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42799         autoconf-time if not.
42800         * configure.in: Remove AC_PREREQ.
42802 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42804         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42805         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42806         of the internal implementation.
42808 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42810         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42811         except include of <misc/sys/syslog.h>.
42813 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42816         function returns with a NULL context exit with zero.
42818 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42820         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42822 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42824         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42825         (run_program_cmd): This.
42826         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42827         (tst_langinfo): New variable.  Use it.
42829 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42831         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42832         floating point opcodes.
42834 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42836         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42837         variable.
42839         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42841         * sysdeps/mach/hurd/powerpc: Remove directory.
42842         * sysdeps/mach/powerpc: Likewise.
42844 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42846         * scripts/check-local-headers.sh: Ignore c++ headers.
42848 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42850         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42851         __libc_cleanup_region_start argument.
42853 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42855         [BZ #14784]
42856         [BZ #14785]
42857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42858         x * y using scaling, not as x * y + z.
42859         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42860         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42861         * math/libm-test.inc (fma_test): Add more tests.
42862         (fma_test_towardzero): Likewise.
42863         (fma_test_downward): Likewise.
42864         (fma_test_upward): Likewise.
42866 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42868         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42870 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42872         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42873         New variable.
42875 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42877         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42879 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42882         Fix sort order.
42883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42884         Likewise.
42886 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42889         Fix the order of the list for glibc 2.17.
42890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42891         Likewise.
42893 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42897 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42899         [BZ #14610]
42900         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42901         for low part of x being zero before using __atanl (y).
42902         * math/libm-test.inc (atan2_test): Add another test.
42904         * manual/install.texi (Configuring and compiling): Document
42905         general use of test-wrapper and test-wrapper-env.
42906         * INSTALL: Regenerated.
42908         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42909         (__fma): Do not extract and scale down low bits on after-rounding
42910         systems when result rounded to normal precision would have normal
42911         exponent.
42912         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42913         (__fmal): Do not extract and scale down low bits on after-rounding
42914         systems when result rounded to normal precision would have normal
42915         exponent.
42916         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42917         (__fmal): Do not extract and scale down low bits on after-rounding
42918         systems when result rounded to normal precision would have normal
42919         exponent.
42920         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42921         macro.
42922         (fma_test): Add more tests.
42923         (fma_test_towardzero): Likewise.
42924         (fma_test_downward): Likewise.
42925         (fma_test_upward): Likewise.
42927 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42929         * sysdeps/i386/tininess.h: Renamed to ...
42930         * sysdeps/x86/tininess.h: This.
42931         * sysdeps/x86_64/tininess.h: Removed.
42933 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42935         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42936         input.  Use $(build-program-cmd).
42937         ($(objpfx)tst-array1-static.out): Likewise.
42938         ($(objpfx)tst-array2.out): Likewise.
42939         ($(objpfx)tst-array3.out): Likewise.
42940         ($(objpfx)tst-array4.out): Likewise.
42941         ($(objpfx)tst-array5.out): Likewise.
42942         ($(objpfx)tst-array5-static.out): Likewise.
42944 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42946         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42947         if defined.
42949         * nss/nsswitch.h (nss_interface_function): Provide new
42950         macro for use with NSS functions.
42951         * grp/initgroups.c: Use new macro.
42952         * nss/getXXbyYY.c: Likewise.
42953         * nss/getXXbyYY_r.c: Likewise.
42954         * nss/getXXent.c: Likewise.
42955         * nss/getXXent_r.c: Likewise.
42956         * sysdeps/posix/getaddrinfo.c: Likewise.
42958 2012-10-30  Andreas Jaeger  <aj@suse.de>
42960         * po/ru.po: Update Russion translation from translation project.
42962 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42964         [BZ #14152]
42965         [BZ #14783]
42966         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42967         result and shift together with sticky bit instead of replicating
42968         round-to-nearest rounding.
42969         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42971         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42972         missing underflow exceptions.
42973         (fma_test_towardzero): Add more tests.
42974         (fma_test_downward): Likewise.
42975         (fma_test_upward): Likewise.
42977         [BZ #14047]
42978         * sysdeps/generic/tininess.h: New file.
42979         * sysdeps/i386/tininess.h: Likewise.
42980         * sysdeps/sh/tininess.h: Likewise.
42981         * sysdeps/x86_64/tininess.h: Likewise.
42982         * stdlib/tst-strtod-underflow.c: Likewise.
42983         * stdlib/tst-tininess.c: Likewise.
42984         * stdlib/strtod_l.c: Include <tininess.h>.
42985         (round_and_return): Do not set errno for exact underflow cases.
42986         Force an underflow exception when setting errno for underflow.
42987         Determine underflow based on rounding to normal precision if
42988         TININESS_AFTER_ROUNDING.
42989         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42990         ERANGE for exact underflow cases.
42991         * stdlib/Makefile (tests): Add tst-tininess and
42992         tst-strtod-underflow.
42993         ($(objpfx)tst-tininess): Use $(link-libm).
42994         ($(objpfx)tst-strtod-underflow): Likewise.
42996 2012-10-30  Andreas Jaeger  <aj@suse.de>
42998         [BZ#14767]
42999         * elf/Makefile (tests): Remove conditional for have-initfini-array
43000         since this is now always required and the variable does not exist
43001         anymore.
43002         (tests-static): Likewise.
43003         (modules-names): Likewise.
43005         * po/eo.po: Add Esperanto translation from translation project.
43007         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43008         merged with constructor/destructor.
43009         (init_array): Likewise.
43010         * elf/tst-array2dep.c (fini_array): Likewise.
43011         (init_array): Likewise.
43013 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43015         * manual/message.texi: Delete @cartouche tags.
43017 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43019         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43020         EOPNOTSUPP.
43021         * sysdeps/mach/hurd/fsync.c: Likewise.
43023         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43024         [_POSIX_REALTIME_SIGNALS]: Change condition to
43025         [_POSIX_REALTIME_SIGNALS > 0].
43027 2012-10-27  Andreas Jaeger  <aj@suse.de>
43029         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43030         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43031         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43032         [__WORDSIZE != 64]: Likewise.
43034 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43036         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43037         *  iconvdata/tst-tables.sh: Likewise.
43039 2012-10-25  David S. Miller  <davem@davemloft.net>
43041         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43042         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43043         of strtoull.
43045         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43046         ifunc-impl-list.c
43047         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43048         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43049         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43050         file.
43052 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43054         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43055         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43056         __getdirentries.
43058 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43059             Jim Blandy  <jimb@codesourcery.com>
43061         * scripts/cross-test-ssh.sh: New file.
43062         * manual/install.texi (Configuring and compiling): Document use of
43063         cross-test-ssh.sh.
43064         * INSTALL: Regenerated.
43066 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43068         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43069         EOPNOTSUPP.
43071 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43073         * Makeconfig (run-program-prefix): Fix comment.
43075 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43076             Jim Blandy  <jimb@codesourcery.com>
43078         * Makeconfig (test-wrapper): New variable,
43079         (test-wrapper-env): Likewise.
43080         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43081         (run-built-tests): Define to yes.
43082         (run-program-prefix): Use $(test-wrapper).
43083         (built-program-cmd): Likewise.
43084         * Rules (make-test-out): Use $(test-wrapper-env) and
43085         $(host-built-program-cmd).
43086         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43087         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43088         tst-pathopt.sh.
43089         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43090         $(test-wrapper-env) to tst-rtld-load-self.sh.
43091         ($(objpfx)order2.out): Use $(test-wrapper).
43092         ($(objpfx)tst-initorder.out): Likewise.
43093         ($(objpfx)tst-initorder2.out): Likewise.
43094         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43095         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43096         (test_wrapper_env): New variable.  Use it to run ld.so.
43097         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43098         Use it to run ld.so.
43099         (test_wrapper_env): Likewise.
43100         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43101         $(test-wrapper) to run-iconv-test.sh.
43102         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43103         (ICONV): Use $test_wrapper.
43104         * posix/Makefile ($(objpfx)globtest.out): Pass
43105         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43106         globtest.sh, not $(run-program-prefix).
43107         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43108         (test_wrapper): Likewise.
43109         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43110         set together with run_via_rtld_prefix.
43111         (run_program_prefix): Define in terms of test_wrapper and
43112         run_via_rtld_prefix.
43114 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43116         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43117         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43118         Targets removed.
43120         [BZ #14743]
43121         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43122         Declare __clock_getres, __clock_gettime, __clock_settime,
43123         __clock_nanosleep, and __clock_getcpuclockid.
43124         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43125         Remove librt_hidden_def (clock_gettime).
43126         * sysdeps/unix/clock_gettime.c: Likewise.
43127         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43128         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43129         * rt/clock_getres.c: Define __clock_getres as an alias.
43130         * sysdeps/posix/clock_getres.c: Likewise.
43131         * rt/clock_settime.c: Define __clock_settime as an alias.
43132         * sysdeps/unix/clock_settime.c: Likewise.
43133         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43134         * sysdeps/unix/clock_nanosleep.c: Likewise.
43135         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43136         * rt/clock-compat.c: New file.
43137         * rt/Makefile (librt-routines): Add clock-compat and move
43138         $(clock-routines) to ...
43139         (routines): ... here, new variable.
43140         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43141         Don't add get_clockfreq here.
43142         * rt/Versions (libc: GLIBC_2.17): New version set.
43143         Add clock_* symbols here.
43144         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43145         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43146         (GLIBC_2.17): Add clock_* symbols.
43147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43149         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43151         Likewise.
43152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43153         Likewise.
43154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43158         * NEWS: Mention the move.
43160         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43161         Use __open, __read, __close rather than their public counterparts.
43162         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43163         (__get_clockfreq_via_cpuinfo): Likewise.
43164         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43165         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43167         * config.h.in (HAVE_IFUNC): New #undef.
43168         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43169         was successful.
43170         * configure: Regenerated.
43172 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43174         * configure.in: Move READELF check to start of file.
43175         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43176         libc_cv_asm_gnu_indirect_function in the process.
43177         * configure: Regenerated.
43179 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43181         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43182         send the output to /dev/null.
43183         (libc_cv_cc_with_libunwind): Likewise.
43184         (libc_cv_as_noexecstack): Likewise.
43185         * configure: Regenerate.
43187 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43189         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43191         * posix/globtest.sh (TMPDIR): Do not set.
43192         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43193         (testout): Likewise.
43195 2012-10-24  Andreas Jaeger  <aj@suse.de>
43197         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43198         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43199         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43200         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43201         posix_fadvise64, posix_fallocate64.
43203         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43204         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43205         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43206         Likewise.
43207         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43208         Likewise.
43209         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43212         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43213         <bits/fcntl-linux.h>.
43214         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43216         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43217         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43218         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43219         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43220         [__WORDSIZE != 64]: Likewise.
43222 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43224         * Makeconfig (run-built-tests): New variable.
43225         * Rules [$(cross-compiling) = yes]: Change condition to
43226         [$(run-built-tests) = no].
43227         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43228         to [$(run-built-tests) = yes].
43229         * elf/Makefile [$(cross-compiling) = no]: Likewise
43230         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43231         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43232         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43233         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43234         * io/Makefile [$(cross-compiling) = no]: Likewise.
43235         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43236         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43237         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43238         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43239         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43240         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43241         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43242         * string/Makefile [$(cross-compiling) = no]: Likewise.
43244         * posix/Makefile ($(objpfx)globtest.out): Pass
43245         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43246         $(rtld-installed-name).
43247         * posix/globtest.sh (elf_objpfx): Remove variable.
43248         (rtld_installed_name): Likewise.
43249         (library_path): Likewise.
43250         (run_program_prefix): New variable.  Use for running globtest
43251         binary.
43253 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43254             Joseph Myers  <joseph@codesourcery.com>
43256         * Makeconfig (host-built-program-cmd): New variable.
43257         * elf/Makefile (tst-stackguard1-ARGS): Use
43258         $(host-built-program-cmd).
43259         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43260         (tst-spawn-ARGS): Likewise.
43261         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43263 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43264             Jim Blandy  <jimb@codesourcery.com>
43266         * Makeconfig (run-via-rtld-prefix): New variable.
43267         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43268         (built-program-cmd): Likewise.
43270 2012-10-22  Andreas Jaeger  <aj@suse.de>
43272         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43273         __O_RSYNC if it exists, otherwise to O_SYNC.
43275 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43276             Joseph Myers  <joseph@codesourcery.com>
43278         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43279         /dev/null.
43280         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43281         from /dev/null
43282         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43283         /dev/null.
43285 2012-10-22  Andreas Jaeger  <aj@suse.de>
43287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43288         Define always.
43289         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43292         bits/fcntl-linux.h.
43294         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43295         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43298         to __O_LARGEFILE.
43299         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43300         to __O_LARGEFILE.
43302 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43303             Joseph Myers  <joseph@codesourcery.com>
43305         * config.make.in (NM): New variable.
43307 2012-10-21  Andreas Jaeger  <aj@suse.de>
43309         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43310         definitions and declarations that are provided by
43311         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43313 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43315         [BZ #14683]
43316         * elf/Makefile (tests-static): Add tst-leaks1-static.
43317         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43318         ($(objpfx)tst-leaks1-static): New rule.
43319         ($(objpfx)tst-leaks1-static-mem): Likewise.
43320         (tst-leaks1-static-ENV): New macro.
43321         * elf/dl-open.c (dl_open_worker): Check the main application
43322         only if SHARED is defined.
43323         * elf/tst-leaks1-static.c: New file.
43325 2012-10-20  Andreas Jaeger  <aj@suse.de>
43327         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43328         generic values for Linux.
43329         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43330         and declarations that are provided by <bits/fcntl-linux.h> and
43331         include <bits/fcntl-linux.h>.
43332         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43333         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43335 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43337         * io/fcntl.h: Move include of <bits/types.h> to the top and
43338         include it unconditionally.
43340 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43342         * wcsmbs/Makefile (tests-ifunc): New variable.
43343         (tests): Add $(tests-ifunc).
43344         * wcsmbs/test-wcschr-ifunc.c: New file.
43345         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43346         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43347         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43348         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43349         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43351         * string/Makefile (tests-ifunc): New variable.
43352         (tests): Add $(tests-ifunc).
43353         * string/test-memccpy.c (TEST_NAME): New macro.
43354         * string/test-memchr.c (TEST_NAME): Likewise.
43355         * string/test-memcmp.c (TEST_NAME): Likewise.
43356         * string/test-memcpy.c (TEST_NAME): Likewise.
43357         * string/test-memmem.c (TEST_NAME): Likewise.
43358         * string/test-memmove.c (TEST_NAME): Likewise.
43359         * string/test-memset.c (TEST_NAME): Likewise.
43360         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43361         * string/test-stpcpy.c (TEST_NAME): Likewise.
43362         * string/test-stpncpy.c (TEST_NAME): Likewise.
43363         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43364         * string/test-strcasestr.c (TEST_NAME): Likewise.
43365         * string/test-strcat.c (TEST_NAME): Likewise.
43366         * string/test-strchr.c (TEST_NAME): Likewise.
43367         * string/test-strcmp.c(TEST_NAME): Likewise.
43368         * string/test-strcpy.c (TEST_NAME): Likewise.
43369         * string/test-strcspn.c (TEST_NAME): Likewise.
43370         * string/test-strlen.c (TEST_NAME): Likewise.
43371         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43372         * string/test-strncmp.c (TEST_NAME): Likewise.
43373         * string/test-strncpy.c (TEST_NAME): Likewise.
43374         * string/test-strnlen.c (TEST_NAME): Likewise.
43375         * string/test-strpbrk.c (TEST_NAME): Likewise.
43376         * string/test-strrchr.c (TEST_NAME): Likewise.
43377         * string/test-strspn.c (TEST_NAME): Likewise.
43378         * string/test-strstr.c (TEST_NAME): Likewise.
43379         * string/test-bcopy-ifunc.c: New file.
43380         * string/test-bzero-ifunc.c: Likewise.
43381         * string/test-memccpy-ifunc.c: Likewise.
43382         * string/test-memchr-ifunc.c: Likewise.
43383         * string/test-memcmp-ifunc.c: Likewise.
43384         * string/test-memcpy-ifunc.c: Likewise.
43385         * string/test-memmem-ifunc.c: Likewise.
43386         * string/test-memmove-ifunc.c: Likewise.
43387         * string/test-mempcpy-ifunc.c: Likewise.
43388         * string/test-memset-ifunc.c: Likewise.
43389         * string/test-rawmemchr-ifunc.c: Likewise.
43390         * string/test-stpcpy-ifunc.c: Likewise.
43391         * string/test-stpncpy-ifunc.c: Likewise.
43392         * string/test-strcasecmp-ifunc.c: Likewise.
43393         * string/test-strcasestr-ifunc.c: Likewise.
43394         * string/test-strcat-ifunc.c: Likewise.
43395         * string/test-strchr-ifunc.c: Likewise.
43396         * string/test-strchrnul-ifunc.c: Likewise.
43397         * string/test-strcmp-ifunc.c: Likewise.
43398         * string/test-strcpy-ifunc.c: Likewise.
43399         * string/test-strcspn-ifunc.c: Likewise.
43400         * string/test-strlen-ifunc.c: Likewise.
43401         * string/test-strncasecmp-ifunc.c: Likewise.
43402         * string/test-strncat-ifunc.c: Likewise.
43403         * string/test-strncmp-ifunc.c: Likewise.
43404         * string/test-strncpy-ifunc.c: Likewise.
43405         * string/test-strnlen-ifunc.c: Likewise.
43406         * string/test-strpbrk-ifunc.c: Likewise.
43407         * string/test-strrchr-ifunc.c: Likewise.
43408         * string/test-strspn-ifunc.c: Likewise.
43409         * string/test-strstr-ifunc.c: Likewise.
43411         * debug/Makefile (tests-ifunc): New variable.
43412         (tests): Add $(tests-ifunc).
43413         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43414         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43415         * debug/test-stpcpy_chk-ifunc.c: New file.
43416         * debug/test-strcpy_chk-ifunc.c: Likewise.
43418 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43420         [BZ #13601]
43421         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43422         header is not read in.
43424 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43426         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43427         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43428         directly.  Pass built executable to script as
43429         $(built-program-cmd).
43430         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43431         $testprogram without using LD_LIBRARY_PATH and $ldso.
43433         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43434         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43435         $(rtld-installed-name).
43436         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43437         (rtld_installed_name): Likewise.
43438         (library_path): Likewise.
43439         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43440         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43441         $(run-program-prefix) to tst-tables.sh.
43442         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43443         it to run tst-table-from and tst-table-to.
43444         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43445         Pass it to tst-table.sh.
43446         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43447         $(run-program-prefix) to tst-gettext.sh.
43448         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43449         tst-translit.sh.
43450         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43451         tst-gettext2.sh.
43452         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43453         to run tst-gettext.
43454         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43455         to run tst-gettext2.
43456         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43457         to run tst-translit.
43458         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43459         $(run-program-prefix) to tst-mtrace.sh.
43460         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43461         to run tst-mtrace.
43462         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43463         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43464         $(rtld-installed-name).
43465         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43466         (rtld_installed_name): Likewise.
43467         (run_program_prefix): New variable.  Use it to run wordexp-test.
43469         * Makeconfig (ARCH): Remove all definitions.
43470         (machine): Likewise.
43471         [ARCH]: Remove conditional code.
43472         [!objdir]: Give error.
43473         [!objdir] (objpfx): Remove.
43474         [!objdir] (common-objpfx): Likewise.
43475         [!objdir] (common-objdir): Likewise.
43476         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43477         AC_CONFIG_FILES call.
43478         * configure: Regenerated.
43480         [BZ #13888]
43481         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43482         or TMPDIR.
43483         (testout): Likewise.
43485         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43486         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43487         $(rtld-installed-name).
43488         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43489         (rtld_installed_name): Likwise.
43490         (runit): Remove function.
43491         (run_getconf): New variable,  Use it for running getconf binary.
43493 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43495         [BZ #14716]
43496         * string/test-memmem.c (check_result): New function.
43497         (do_one_test): Use it.
43498         (check1): New function.
43499         (test_main): Use it.
43501 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43503         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43505 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43507         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43508         (_G_LSEEK64): Likewise.
43509         (_G_MMAP64): Likewise.
43510         (_G_FSTAT64): Likewise.
43511         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43512         (_G_LSEEK64): Likewise.
43513         (_G_MMAP64): Likewise.
43514         (_G_FSTAT64): Likewise.
43515         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43516         unconditional.  Call __mmap64 directly.
43517         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43518         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43519         __lseek64 directly.
43520         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43521         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43522         __mmap64 directly.
43523         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43524         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43525         __lseek64 directly.
43526         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43527         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43528         __lseek64 directly.
43529         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43530         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43531         __lseek64 directly.
43532         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43533         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43534         __fxstat64 directly.
43535         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43536         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43537         unconditional.
43538         (freopen64) [!_G_OPEN64]: Remove conditional code.
43539         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43540         unconditional.
43541         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43542         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43543         unconditional.
43544         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43545         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43546         unconditional.
43547         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43548         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43549         unconditional.
43550         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43551         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43552         unconditional.
43553         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43554         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43555         unconditional.
43556         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43557         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43558         unconditional.
43559         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43561 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43563         [BZ #12140]
43564         * manual/memory.texi (Malloc Tunable Parameters): Add note
43565         about free list pointers overwriting some perturb bytes.
43566         Wording suggested by Roland McGrath.
43568 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43570         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43571         (lgamma_test): Likewise.
43572         (tgamma_test): Likewise.
43574 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43576         [BZ #14700]
43577         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43578         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43580 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43582         * NEWS: Mention BZ #14716.
43583         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43584         when removing AVAILABLE1_USES_J macro.
43586 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43588         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43589         (__bswap_64): __uint64_t for unsigned 64-bit int.
43591 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43593         * include/string.h (memmem): Declare libc hidden alias.
43594         * string/memmem.c (memmem): Define libc hidden alias.
43595         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43596         __read, __close instead of open, read, close.
43598 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43601         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43602         global and hidden.
43603         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43604         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43605         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43606         Likewise.
43607         (__rawmemchr_sse2): Likewise.
43608         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43609         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43610         (__strchr_sse2): Likewise.
43611         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43612         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43613         (__strcasecmp_sse2): Likewise.
43614         (__strncasecmp_sse2): Likewise.
43615         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43616         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43617         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43618         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43619         (__strrchr_sse2): Likewise.
43620         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43621         ifunc-impl-list.c.
43622         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43623         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43624         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43625         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43626         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43627         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43628         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43629         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43630         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43631         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43632         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43633         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43634         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43635         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43636         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43637         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43638         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43639         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43640         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43641         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43642         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43643         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43644         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43645         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43646         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43647         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43648         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43649         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43650         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43651         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43653         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43654         global and hidden.
43655         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43656         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43657         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43658         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43659         Likewise.
43660         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43661         Likewise.
43662         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43663         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43664         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43665         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43666         ifunc-impl-list.c.
43667         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43668         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43669         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43670         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43671         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43672         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43673         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43674         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43675         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43676         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43677         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43678         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43679         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43680         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43681         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43682         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43683         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43684         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43685         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43686         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43687         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43688         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43689         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43690         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43691         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43692         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43693         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43694         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43695         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43696         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43697         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43698         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43699         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43700         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43701         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43702         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43703         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43704         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43705         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43706         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43707         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43709         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43710         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43711         * include/ifunc-impl-list.h: New file.
43712         * misc/ifunc-impl-list.c: Likewise.
43713         * misc/Makefile (routines): Add ifunc-impl-list.
43714         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43715         * string/test-string.h: Include <ifunc-impl-list.h>.
43716         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43717         TEST_NAME]: New variables.
43718         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43719         are defined.
43720         (test_init): Call __libc_ifunc_impl_list to initialize
43721         func_list if TEST_IFUNC and TEST_NAME are defined.
43723         * string/Makefile (strop-tests): Add bcopy and bzero.
43724         * string/test-bcopy.c: New file.
43725         * string/test-bzero.c: Likewise.
43726         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43727         defined.
43728         * string/test-memset.c: Support bzero test if TEST_BZERO is
43729         defined.
43730         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43731         __libc_memmove.
43732         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43733         __libc_memset.
43734         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43735         of memset.
43737 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43739         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43740         * configure: Regenerated.
43742         * Makeconfig (+link-static-before-libc): Don't include
43743         $(link-static-libc).
43745         * libio/libio.h (_IO_pos_t): Remove.
43747 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43749         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43750         McGrath.
43752 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43754         * crypt/crypt-entry.c: Include fips-private.h.
43755         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43756         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43757         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43758         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43760 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43762         * crypt/crypt-private.h: Include stdbool.h.
43763         (_ufc_setup_salt_r): Return bool.
43764         * crypt/crypt-entry.c: Include errno.h.
43765         (__crypt_r): Return NULL with EINVAL for bad salt.
43766         * crypt/crypt_util.c (bad_for_salt): New.
43767         (_ufc_setup_salt_r): Check that salt is long enough and within
43768         the specified alphabet.
43769         * crypt/badsalttest.c: New file.
43770         * crypt/Makefile (tests): Add it.
43771         ($(objpfx)badsalttest): New.
43773 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43775         * NEWS: Add entry for BZ #14602.
43777 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43779         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43780         type-generic.
43781         * math/libm-test.inc: Update comment listing what functions and
43782         macros are tested.
43783         (isgreater_test): New function.
43784         (isgreaterequal_test): Likewise.
43785         (isless_test): Likewise.
43786         (islessequal_test): Likewise.
43787         (islessgreater_test): Likewise.
43788         (isunordered_test): Likewise.
43789         (main): Call the new functions.
43791 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43793         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43794         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43795         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43796         * sysdeps/i386/configure: Regenerated.
43797         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43798         * sysdeps/mach/configure: Regenerated.
43799         * sysdeps/mach/hurd/configure: Regenerated.
43800         * sysdeps/powerpc/configure: Regenerated.
43801         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43802         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43803         * sysdeps/s390/s390-32/configure: Regenerated.
43804         * sysdeps/s390/s390-64/configure: Regenerated.
43805         * sysdeps/sh/configure: Regenerated.
43806         * sysdeps/sparc/configure: Regenerated.
43807         * sysdeps/unix/sysv/linux/configure: Regenerated.
43808         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43809         * sysdeps/x86_64/configure: Regenerated.
43811         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43812         defined.  Don't check if MAP is NULL.
43814 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43816         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43817         (_G_stat64): Likewise.
43818         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43819         (_G_stat64): Likewise.
43820         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43821         instead of struct _G_stat64.
43822         * libio/fileops.c (mmap_remap_check): Likewise.
43823         (decide_maybe_mmap): Likewise.
43824         (_IO_new_file_seekoff): Likewise.
43825         (_IO_file_stat): Likewise.
43826         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43827         _G_off64_t.
43828         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43829         instead of struct _G_stat64.
43830         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43832 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43834         [BZ #14602]
43835         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43836         Replace with ...
43837         (CHECK_EOL): New macro.
43838         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43839         CHECK_EOL.
43840         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43841         Replace with CHECK_EOL.
43842         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43843         Replace with CHECK_EOL.
43845 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43847         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43848         type-generic.
43849         * math/libm-test.inc: Update comment listing what functions and
43850         macros are tested.
43851         (finite_test): New function.
43852         (isinf_test): Likewise.
43853         (isnan_test): Likewise.
43854         (fpclassify_test): Test subnormal input.
43855         (isfinite_test): Likewise.
43856         (isnormal_test): Likewise.
43857         (main): Call the new functions.
43859 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43861         [BZ #14660]
43862         * Makerules (%.dynsym): Force C locale when running
43863         $(OBJDUMP) --dynamic-syms.
43865 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43867         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43868         <stdint.h>.
43870 2012-10-06  David S. Miller  <davem@davemloft.net>
43872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43873         upper 32-bits of the length value in %o2 since we use branch-on-register
43874         tests which consider the entire 64-bit register.
43876 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43878         * string/test-strstr.c (check2): Add a test for page boundary.
43880 2012-10-05  David S. Miller  <davem@davemloft.net>
43882         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43883         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43884         file.
43885         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43886         sysdep_routines.
43887         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43888         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43889         and bzero when HWCAP_SPARC_CRYPTO is present.
43891 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43893         [BZ #14602]
43894         * string/test-strstr.c (check2): New function.
43895         (test_main): Call check2.
43897         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43898         and bug-strchr1.
43899         * string/bug-strcasestr1.c (do_test): Moved to ...
43900         * string/test-strcasestr.c (check1): Here.  New function.
43901         (do_one_test): Break out result checking code into ...
43902         (check_result): This.  New function.
43903         (do_one_test): Call check_result.
43904         (test_main): Call check1.
43905         * string/bug-strchr1.c (do_test): Moved to ...
43906         * string/test-strchr.c (check1): Here.  New function.
43907         (do_one_test): Break out result checking code into ...
43908         (check_result): This.  New function.
43909         (do_one_test): Call check_result.
43910         (test_main): Call check1.
43911         * string/bug-strstr1.c (main): Moved to ...
43912         * string/test-strstr.c (check1): Here.  New function.
43913         (do_one_test): Break out result checking code into ...
43914         (check_result): This.  New function.
43915         (do_one_test): Call check_result.
43916         (test_main): Call check1.
43917         * string/bug-strcasestr1.c: Removed.
43918         * string/bug-strchr1.c: Likewise.
43919         * string/bug-strstr1.c: Likewise.
43921         * elf/Makefile (dl-routines): Add hwcaps.
43922         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43923         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43924         (_dl_important_hwcaps): Moved to ...
43925         * elf/dl-hwcaps.c: Here.  New file.
43926         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43928         [BZ #14557]
43929         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43930         if IS_IN_rtld isn't defined.
43932         * elf/dl-support.c (_dl_sysinfo_map): New.
43933         Include "get-dynamic-info.h" and "setup-vdso.h".
43934         (_dl_non_dynamic_init): Call setup_vdso.
43935         * elf/dynamic-link.h: Don't include <assert.h>.
43936         (elf_get_dynamic_info): Moved to ...
43937         * elf/get-dynamic-info.h: Here.  New file.
43938         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43939         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43940         * elf/setup-vdso.h: Here.  New file.
43941         * elf/rtld.c: Include "setup-vdso.h".
43942         (dl_main): Call setup_vdso.
43944 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43946         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43947         creal in comment listing functions tested.  List finite, isinf,
43948         isnan, isless, islessequal, isgreater, isgreaterequal,
43949         islessgreater, isunordered, lgamma_r and pow10 as functions and
43950         macros not tested.  Mention which functions not tested are aliases
43951         for other functions.  Fix typo.  Note that signs of NaNs are not
43952         tested.
43954         * scripts/config.guess: Update from config.git.
43955         * scripts/config.sub: Likewise.
43957 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43959         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43960         * misc/madvise.c (madvise): Renamed to __madvise.
43961         Make madvise a weak alias.
43962         * include/sys/mman.h: Declare __madvise.
43963         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43964         * sysdeps/unix/syscalls.list
43965         (madvise): Make __madvise the strong name, and madvise a weak alias.
43966         * sysdeps/unix/sysv/linux/syscalls.list
43967         (madvise, mmap): Remove redundant entries.
43968         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43969         * malloc/malloc.c (mtrim): Likewise.
43970         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43972 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43974         * sysdeps/mach/hurd/dl-cache.c: File removed.
43975         * config.h.in (USE_LDCONFIG): New #undef.
43976         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43977         * configure: Regenerated.
43978         * elf/Makefile (dl-routines): Add dl-cache only under
43979         [$(use-ldconfig) = yes].
43980         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43981         cache on [USE_LDCONFIG].
43982         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43983         [USE_LDCONFIG].
43984         * elf/rtld.c (dl_main): Likewise.
43986 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43988         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43989         _SC_LEVEL4_CACHE_LINESIZE.
43991 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43993         * sysdeps/unix/bsd/confstr.h: File removed.
43995 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43997         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43998         sys/sdt-config.h.
44000 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44002         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44003         Make 'mapoff' field ElfW(Off) rather than off_t.
44005 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44007         * nscd/Makefile: Remove nscd-cflags and all its users.
44008         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44009         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44011         [BZ #10631]
44012         * malloc.c (malloc_printerr): Clarify error message.
44014 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44016         [BZ #14648]
44017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44018         Set bit_FMA_Usable if FMA is supported.
44019         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44020         macro.
44021         (bit_FMA4_Usable): Updated.
44022         (index_FMA_Usable): New macro.
44023         (CPUID_FMA): Likewise
44024         (HAS_FMA): Defined with bit_FMA_Usable.
44026 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44028         * bits/types.h (__swblk_t): Type removed.
44029         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44030         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44031         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44032         (__SWBLK_T_TYPE): Likewise.
44033         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44034         (__SWBLK_T_TYPE): Likewise.
44035         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44036         (__SWBLK_T_TYPE): Likewise.
44037         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44038         (__SWBLK_T_TYPE): Likewise.
44040 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44041             Honza Horak <hhorak@redhat.com>
44043         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44044         (xdr_mapname): Use YPMAXMAP as maxsize.
44045         (xdr_peername): Use YPMAXPEER as maxsize.
44046         (xdr_keydat): Use YPAXRECORD as maxsize.
44047         (xdr_valdat): Use YPMAXRECORD as maxsize.
44049 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44051         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44053         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44054         * csu/init-first.c: ... here.
44055         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44056         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44057         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44058         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44059         * sysdeps/i386/init-first.c: File removed.
44060         * sysdeps/sh/init-first.c: File removed.
44062 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44064         [BZ #14645]
44065         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44066         if x * y might underflow to zero and z is zero.
44067         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44068         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44069         * math/libm-test.inc (min_subnorm_value): New variable.
44070         (fma_test): Add more tests.
44071         (fma_test_towardzero): Likewise.
44072         (fma_test_downward): Likewise
44073         (fma_test_upward): Likewise.
44074         (initialize): Set min_subnorm_value.
44076 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44078         [BZ #14638]
44079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44080         0 + 0.
44081         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44082         mode for addition resulting in exact zero.
44083         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44084         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44085         exact 0 + 0.
44086         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44087         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44088         * math/libm-test.inc (fma_test): Add more tests.
44089         (fma_test_towardzero): New function.
44090         (fma_test_downward): Likewise.
44091         (fma_test_upward): Likewise.
44092         (main): Call the new functions.
44094 2012-09-28  David S. Miller  <davem@davemloft.net>
44096         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44098 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44100         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44101         instead of SIGALRM.
44103         * sysdeps/gnu/_G_config.h: Moved to ...
44104         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44105         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44106         * sysdeps/generic/_G_config.h: ... here.
44108         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44110         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44112         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44113         Conditionalize target on [libnss_test1.so-version].
44115         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44117         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44118         (elfobjdir): Move out of conditionals.
44120         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44121         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44122         (__nss_lookup_function): Conditionalize label remove_from_tree on
44123         [!DO_STATIC_NSS || SHARED], matching its only use.
44125 2012-09-28  David S. Miller  <davem@davemloft.net>
44127         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44128         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44129         file.
44130         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44131         sysdep_routines.
44132         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44133         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44134         when HWCAP_SPARC_CRYPTO is present.
44136 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44138         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44140 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44142         [BZ #6530]
44143         * stdio-common/vfprintf.c (process_string_arg): Revert
44144         2000-07-22 change.
44146 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44148         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44149         for testcase.
44150         * stdio-common/tst-sprintf.c: Include <locale.h>
44151         (main): Test sprintf's handling of incomplete multibyte
44152         characters.
44154 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44156         * elf/dl-runtime.c (VERSYMIDX): Removed.
44157         * elf/dl-version.c (VERSYMIDX): Likewise.
44158         * elf/do-rel.h (VERSYMIDX): Likewise.
44159         (VALIDX): Likewise.
44160         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44161         * elf/rtld.c (VALIDX): Likewise.
44162         (ADDRIDX): Likewise.
44163         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44164         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44165         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44166         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44167         (VALIDX): Likewise.
44168         (ADDRIDX): Likewise.
44170 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44172         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44174 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44176         [BZ #11438]
44177         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44178         to global scope.
44179         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44180         addresses are in the same scope as 192.0.2/24.
44181         * posix/gai.conf: Document new scope table defaults.
44183 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44185         [BZ #5298]
44186         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44187         for ftell.  Compute offsets from write pointers instead.
44188         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44190 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44192         [BZ #14543]
44193         * libio/Makefile (tests): New test case tst-fseek.
44194         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44195         combination works in wide mode.
44196         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44197         state when the external buffer state changes.
44199 2012-09-27  David S. Miller  <davem@davemloft.net>
44201         [BZ #14376]
44202         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44203         pass reloc->r_addend in as the 'high' argument to
44204         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44208 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44210         * rt/tst-aio2.c: Include <pthread.h>.
44211         * rt/tst-aio3.c: Likewise.
44213 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44215         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44217 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44219         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44220         contents on [SHARED].
44222 2012-09-26  Marek Polacek  <polacek@redhat.com>
44224         [BZ #14530]
44225         [BZ #13741]
44226         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44227         for C++ and GCC <4.3 as well as for non GCC compilers.
44229 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44233 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44235         * Makefile.in (all, install): Declare with .PHONY.
44236         Reported by Michael Hope <michael.hope@linaro.org>.
44238 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44240         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44241         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44242         system header.
44243         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44244         Likewise.
44245         (sydep_routines): Add the new and the internal functions.
44246         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44247         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44249         (GLIBC_2.17): Add the new function.
44250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44251         (GLIBC_2.17): Likewise.
44252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44253         (GLIBC_2.17): Likewise.
44254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44255         (GLIBC_2.17): Likewise.
44256         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44258 2012-09-25  Alan Modra  <amodra@gmail.com>
44260         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44261         Add release barrier before setting once_control to say
44262         initialisation is done.  Add hints on lwarx.  Use macro in
44263         place of isync.
44264         (clear_once_control): Add release barrier.
44266 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44268         [BZ #13629]
44269         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44270         specially.
44271         * math/s_clog10.c (__clog10): Likewise.
44272         * math/s_clog10f.c (__clog10f): Likewise.
44273         * math/s_clog10l.c (__clog10l): Likewise.
44274         * math/s_clogf.c (__clogf): Likewise.
44275         * math/s_clogl.c (__clogl): Likewise.
44276         * math/Makefile (libm-calls): Add x2y2m1.
44277         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44278         (__x2y2m1): Likewise.
44279         (__x2y2m1l): Likewise.
44280         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44281         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44282         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44283         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44284         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44285         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44286         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44287         * sysdeps/i386/fpu/libm-test-ulps: Update.
44288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44290         [BZ #14621]
44291         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44292         int as type of variable DEPTH.
44293         (glob): Use size_t instead of int as type of variables NEWCOUNT
44294         and OLD_PATHC.
44296 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44298         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44299         Add s_sincosf-sse2.
44300         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44301         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44302         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44303         macros for using routine as __sincosf_ia32.
44304         Use macro for function declaration and weak_alias.
44305         * sysdeps/i386/fpu/libm-test-ulps: Update.
44307         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44310         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44311         subnormal argument.
44312         * math/s_cexpf.c (__cexpf): Likewise.
44313         * math/s_csinf.c (__csinf): Likewise.
44314         * math/s_csinhf.c (__csinhf): Likewise.
44315         * math/s_ctanf.c (__ctanf): Likewise.
44316         * math/s_ctanhf.c (__ctanhf): Likewise.
44317         * math/s_ccosh.c (__ccoshf): Likewise.
44318         * math/s_cexp.c (__cexpl): Likewise.
44319         * math/s_csin.c (__csin): Likewise.
44320         * math/s_csinh.c (__csinh): Likewise.
44321         * math/s_ctan.c (__ctan): Likewise.
44322         * math/s_ctanh.c (ctanh): Likewise.
44323         * math/s_ccoshl.c (__ccoshl): Likewise.
44324         * math/s_cexpl.c (__cexpl): Likewise.
44325         * math/s_csinl.c (__csinl): Likewise.
44326         * math/s_csinhl.c (__csinhl): Likewise.
44327         * math/s_ctanl.c (__ctanl): Likewise.
44328         * math/s_ctanhl.c (__ctanhl): Likewise.
44330 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44332         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44333         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44334         (_IO_off_t): Define to __off_t, not _G_off_t.
44335         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44336         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44337         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44338         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44339         type of __dummy and __dummy2 fields.
44340         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44341         (_G_ssize_t): Likewise.
44342         (_G_off_t): Likewise.
44343         (_G_pid_t): Likewise.
44344         (_G_uid_t): Likewise.
44345         (_G_wchar_t): Likewise.
44346         (_G_wint_t): Likewise.
44347         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44348         (_G_ssize_t): Likewise.
44349         (_G_off_t): Likewise.
44350         (_G_pid_t): Likewise.
44351         (_G_uid_t): Likewise.
44352         (_G_wchar_t): Likewise.
44353         (_G_wint_t): Likewise.
44354         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44355         (_G_ssize_t): Likewise.
44356         (_G_off_t): Likewise.
44357         (_G_pid_t): Likewise.
44358         (_G_uid_t): Likewise.
44359         (_G_wchar_t): Likewise.
44360         (_G_wint_t): Likewise.
44362 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44364         * malloc/arena.c: Include malloc-sysdep.h.
44365         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44366         is sufficient to shrink the heap or an unmap is needed.
44367         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44368         new function check_may_shrink_heap.
44369         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44370         new function check_may_shrink_heap.
44372 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44374         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44375         comments.
44377 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44379         * catgets/test-gencat.sh: Add "set -e".
44380         * elf/tst-pathopt.sh: Likewise.
44381         * grp/tst_fgetgrent.sh: Likewise.
44382         * iconvdata/run-iconv-test.sh: Likewise.
44383         * intl/tst-gettext.sh: Likewise.
44384         * intl/tst-gettext2.sh: Likewise.
44385         * intl/tst-gettext4.sh: Likewise.
44386         * intl/tst-gettext6.sh: Likewise.
44387         * intl/tst-translit.sh: Likewise.
44388         * io/ftwtest-sh: Likewise.
44389         * libio/test-freopen.sh: Likewise.
44390         * malloc/tst-mtrace.sh: Likewise.
44391         * posix/globtest.sh: Likewise.
44392         * posix/tst-getconf.sh: Likewise.
44393         * posix/wordexp-tst.sh: Likewise.
44394         * stdio-common/tst-printf.sh: Likewise.
44395         * stdio-common/tst-unbputc.sh: Likewise.
44396         * stdlib/tst-fmtmsg.sh: Likewise.
44397         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44398         * catgets/Makefile: Do not specify -e option when running
44399         testsuite shell scripts.
44400         * elf/Makefile: Likewise.
44401         * grp/Makefile: Likewise.
44402         * iconvdata/Makefile: Likewise.
44403         * intl/Makefile: Likewise.
44404         * io/Makefile: Likewise.
44405         * libio/Makefile: Likewise.
44406         * malloc/Makefile: Likewise.
44407         * posix/Makefile: Likewise.
44408         * stdio-common/Makefile: Likewise.
44409         * stdlib/Makefile: Likewise.
44410         * sysdeps/x86_64/Makefile: Likewise.
44412         * io/ftwtest-sh: Add copyright header.
44413         * posix/globtest.sh: Likewise.
44414         * posix/tst-getconf.sh: Likewise.
44415         * posix/wordexp-tst.sh: Likewise.
44416         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44418 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44420         [BZ #13679]
44421         * Makeconfig (+link): Defined as $(+link-static) if
44422         $(build-shared) isn't yes.
44423         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44424         isn't yes.
44425         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44427         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44429         [BZ #14562]
44430         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44431         new chunk size with MALLOC_ALIGN_MASK.
44433 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44435         [BZ #5044]
44436         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44437         <rounding-mode.h>.
44438         (__printf_fphex): Determine rounding using get_rounding_mode and
44439         round_away.
44440         * stdio-common/tst-printf-round.c (struct hex_test): New
44441         structure.
44442         (hex_tests): New variable.
44443         (test_hex_in_one_mode): New function.
44444         (do_test): Also run tests for hex float output.
44446 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44448         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44449         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44450         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44451         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44452         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44453         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44454         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44455         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44457 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44459         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44460         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44461         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44462         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44464 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44466         [BZ #14579]
44467         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44468         mode only.
44469         * elf/tst-rtld-load-self.sh: New test.
44470         * elf/Makefile: Run it.
44472 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44474         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44475         (tst-writev-ENV): Remove.
44476         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44478 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44480         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44482 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44484         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44485         unconditional.
44486         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44487         Likewise.
44488         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44489         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44490         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44491         Likewise.
44493 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44495         [BZ #14587]
44496         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44497         * config.make.in (have-cpp-asm-debuginfo): Removed.
44498         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44499         * configure: Regenerated.
44501 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44503         [BZ #5044]
44504         * stdio-common/printf_fp.c: Include <stdbool.h> and
44505         <rounding-mode.h>.
44506         (___printf_fp): Determine rounding using get_rounding_mode and
44507         round_away.
44508         * stdio-common/tst-printf-round.c: New file.
44509         * stdio-common/Makefile (tests): Add tst-printf-round.
44510         (link-libm): New variable.
44511         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44513 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44515         [BZ #14576]
44516         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44517         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44518         Likewise.
44519         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44520         Likewise.
44522 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44524         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44525         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44526         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44527         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44529 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44531         [BZ #14518]
44532         * include/rounding-mode.h: New file.
44533         * sysdeps/generic/get-rounding-mode.h: Likewise.
44534         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44535         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44536         (MAX_VALUE): New macro.
44537         (MIN_VALUE): Likewise.
44538         (overflow_value): New function.
44539         (underflow_value): Likewise.
44540         (round_and_return): Use overflow_value and underflow_value to
44541         determine return values in overflow and underflow cases.  Use
44542         round_away to determine rounding depending on rounding mode.
44543         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44544         determine return values in overflow and underflow cases.
44545         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44546         (struct test_results): New structure.
44547         (struct test): Use struct test_results to store expected results
44548         for all rounding modes.
44549         (TEST): Include expected results for all rounding modes.
44550         (test_in_one_mode): New function.
44551         (do_test): Use test_in_one_mode to compute and check results.
44552         Check results for all rounding modes.
44553         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44554         $(link-libm).
44556 2012-12-09  Allan McRae  <allan@archlinux.org>
44558         * sysdeps/i386/fpu/libm-test-ulps: Update
44560 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44562         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44563         (_G_int32_t): Likewise.
44564         (_G_uint16_t): Likewise.
44565         (_G_uint32_t): Likewise.
44566         (_G_HAVE_BOOL): Likewise.
44567         (_G_HAVE_ATEXIT): Likewise.
44568         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44569         (_G_HAVE_IO_FILE_OPEN): Likewise.
44570         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44571         (_G_int32_t): Likewise.
44572         (_G_uint16_t): Likewise.
44573         (_G_uint32_t): Likewise.
44574         (_G_HAVE_BOOL): Likewise.
44575         (_G_HAVE_ATEXIT): Likewise.
44576         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44577         (_G_HAVE_IO_FILE_OPEN): Likewise.
44578         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44579         (_G_int32_t): Likewise.
44580         (_G_uint16_t): Likewise.
44581         (_G_uint32_t): Likewise.
44582         (_G_HAVE_BOOL): Likewise.
44583         (_G_HAVE_ATEXIT): Likewise.
44584         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44585         (_G_HAVE_IO_FILE_OPEN): Likewise.
44587 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44589         * csu/libc-tls.c: Update copyright years.
44591 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44593         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44594         [!_G_USING_THUNKS]: Remove conditional code.
44595         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44596         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44598         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44599         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44600         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44601         (_G_VTABLE_LABEL_PREFIX): Likewise.
44602         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44603         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44604         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44605         (_G_VTABLE_LABEL_PREFIX): Likewise.
44606         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44607         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44608         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44609         (_G_VTABLE_LABEL_PREFIX): Likewise.
44610         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44612 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44614         * libio/Makefile: Include ../Makeconfig before tests.
44615         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44616         only if $(build-shared) is yes.
44618         * iconv/gconv_db.c: Update copyright years.
44620 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44622         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44623         unwind info if defined PIC. Fix special cases description.
44624         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44626         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44627         DP_HI_MASK entry.
44628         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44630 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44632         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44634         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44635         is NULL.
44637         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44638         (LDLIBS-tst-chk4): This.
44639         (LDFLAGS-tst-chk5): Renamed to ...
44640         (LDLIBS-tst-chk5): This.
44641         (LDFLAGS-tst-chk6): Renamed to ...
44642         (LDLIBS-tst-chk6): This.
44643         (LDFLAGS-tst-lfschk4): Renamed to ...
44644         (LDLIBS-tst-lfschk4): This.
44645         (LDFLAGS-tst-lfschk5): Renamed to ...
44646         (LDLIBS-tst-lfschk5): This.
44647         (LDFLAGS-tst-lfschk6): Renamed to ...
44648         (LDLIBS-tst-lfschk6): This.
44650         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44651         on $(common-objpfx)soversions.mk.
44653 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44655         [BZ #10014]
44656         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44657         example host name.
44659 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44661         * malloc/arena.c (arena_get_retry): New function that gets
44662         another arena for the caller to try its request on.
44663         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44664         current arena cannot fulfill the request.
44665         (__libc_memalign): Likewise.
44666         (__libc_memalign): Likewise.
44667         (__libc_pvalloc): Likewise.
44668         (__libc_calloc): Likewise.
44670 2012-09-05  John Tobey  <john.tobey@gmail.com>
44672         [BZ #13542]
44673         * manual/arith.texi (Operations on Complex): Fix description
44674         of carg branch cut.
44676 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44678         [BZ #10014]
44679         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44680         host name.
44682         [BZ #10038]
44683         * manual/memory.texi (Memory): Make order of menu items match
44684         order of sections.
44686 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44688         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44689         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44690         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44692 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44694         * csu/libc-tls.c (static_dtv): Renamed to ...
44695         (_dl_static_dtv): This.  Make it global.
44696         (_dl_initial_dtv): Removed.
44697         (__libc_setup_tls): Updated.
44698         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44699         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44700         DL_INITIAL_DTV.
44702 2012-09-06  Petr Machata  <pmachata@redhat.com>
44704         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44705         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44706         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44707         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44709 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44711         [BZ #14545]
44712         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44713         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44714         freeing dtv[-1].
44716 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44718         [BZ #14544]
44719         * Makeconfig (link-static-before-libc): Replace $(+prector)
44720         with $(+prectorT).
44721         (link-static-after-libc): Replace $(+postctor) with
44722         $(+postctorT).
44723         (link-bounded): Replace $(+prector)/$(+postctor) with
44724         $(+prectorT)/$(+postctorT).
44725         (+prectorT): New macro.
44726         (+postctorT): Likewise.
44728 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44730         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44731         (round_str): Handle values above the maximum for IBM long double
44732         as inexact.
44733         * stdlib/tst-strtod-round.c (tests): Regenerated.
44735 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44737         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44738         assembler flag.
44739         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44740         zarch_nohighgprs around the zarch optimized routines.
44741         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44742         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44743         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44744         for zarch.
44746 2012-09-05  David S. Miller  <davem@davemloft.net>
44748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44750         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44751         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44752         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44753         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44754         entries.
44756 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44758         * malloc/arena.c: Fold copyright years.
44759         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44761 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44763         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44765 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44767         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44769 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44771         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44772         change internal state upon failure.
44774 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44776         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44777         * malloc/memusage.c (mmap): Likewise.
44778         (mmap64, mremap): Likewise.  Adjust name in comment.
44780 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44782         * libio/fileops.c: Fix typos in comments.
44783         * libio/oldfileops.c: Likewise.
44784         * libio/wfileops.c: Likewise.
44786 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44788         [BZ #1349]
44789         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44790         (tst-malloc-usable-ENV): Set environment for test case.
44791         * malloc/hooks.c (malloc_check_get_size): New function to get
44792         requested size.
44793         * malloc/malloc.c (musable): Use malloc_check_get_size.
44794         * malloc/tst-malloc-usable.c: New test case.
44796 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44798         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44800 2012-09-05  Allan McRae  <allan@archlinux.org>
44802         [BZ #13966]
44803         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44804         determine header location.
44805         * configure: Regenerated.
44807 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44809         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44810         float format.
44811         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44812         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44813         format.
44814         (test): Regenerate.
44816 2012-09-04  David S. Miller  <davem@davemloft.net>
44818         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44819         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44820         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44822 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44824         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44825         failures.
44827         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44829 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44831         [BZ #9914]
44832         * libio/iogetdelim.c: Include <limits.h>.
44833         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44834         + len + 1 would overflow.
44836 2012-09-03  Andreas Jaeger  <aj@suse.de>
44838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44839         * sysdeps/i386/fpu/libm-test-ulps: Update.
44841 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44843         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44844         Add s_sinf-sse2, s_conf-sse2.
44846         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44847         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44848         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44849         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44851         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44852         for using routine as __sinf_ia32.
44853         Use macro for function declaration and weak_alias.
44854         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44855         for using routine as __cosf_ia32.
44856         Use macro for function declaration and weak_alias.
44858         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44859         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44861         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44862         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44865         * math/libm-test.inc (cos_test): Add more test cases.
44866         (sin_test): Likewise.
44867         (sincos_test): Likewise.
44869 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44871         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44872         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44873         hidden.
44874         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44876 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44878         [BZ #14538]
44879         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44880         first element of the GOT.
44881         (elf_machine_load_address): Return the difference between
44882         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44884 2012-09-01  Allan McRae  <allan@archlinux.org>
44886         [BZ #13412]
44887         * configure.in (AWK): Require gawk version 3.0 or later.
44888         * configure: Regenerated.
44890 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44892         * sysdeps/unix/sysv/linux/kernel-features.h
44893         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44894         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44895         [__NR_clock_getres]: Make code unconditional.
44896         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44897         (clock_getcpuclockid): Remove code left unreachable by removal of
44898         conditionals.
44899         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44900         code unconditional.
44901         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44902         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44903         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44904         Make code unconditional.
44905         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44906         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44907         * sysdeps/unix/sysv/linux/clock_settime.c
44908         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44909         conditional code.
44910         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44911         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44913 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44915         [BZ #14476]
44916         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44917         scripts/test-installation.pl.
44919         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44920         and $ld_so_version if it is set.
44922 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44924         [BZ #14516]
44925         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44926         failure if reading from procfs failed.
44927         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44929 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44931         * sysdeps/unix/sysv/linux/kernel-features.h
44932         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44933         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44934         Remove conditional code.
44935         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44936         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44937         Remove conditional code.
44938         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44939         * sysdeps/unix/sysv/linux/i386/fxstat.c
44940         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44941         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44942         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44943         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44944         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44945         * sysdeps/unix/sysv/linux/i386/lxstat.c
44946         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44947         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44948         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44949         Remove conditional code.
44950         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44951         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44952         Remove conditional code.
44953         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44954         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44955         <kernel-features.h>.
44956         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44957         Remove.
44958         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44959         Remove conditional code.
44960         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44961         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44962         Remove conditional.
44964 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44966         [BZ #5400]
44967         * NEWS: Add fixed bug number.
44969 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44971         [BZ #14519]
44972         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44973         underflowing exponent in case of negative sign.
44974         * stdlib/tst-strtod-round-data: Add more tests.
44975         * stdlib/tst-strtod-round.c (tests): Regenerated.
44977         [BZ #3479]
44978         * stdlib/strtod_l.c (NDIG): Remove.
44979         (HEXNDIG): Likewise.
44980         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44981         smallest representable value.
44982         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44983         lie within an exact representation of 1/2 ulp of the result.
44984         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44985         unconditionally.
44986         (TENS_P9_IDX): Define unconditionally.
44987         (TENS_P9_SIZE): Likewise.
44988         (TENS_P10_IDX): Likewise.
44989         (TENS_P10_SIZE): Likewise.
44990         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44991         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44992         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44993         entries for 10^2^13 and 10^2^14.
44994         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44995         (TENS_P13_IDX): Define.
44996         (TENS_P13_SIZE): Likewise.
44997         (TENS_P14_IDX): Likewise.
44998         (TENS_P14_SIZE): Likewise.
44999         (_fpioconst_pow10): Change array size to
45000         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45001         unconditional.
45002         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45003         1024]: Add entries for 10^2^13 and 10^2^14.
45004         [LAST_POW10 > _LAST_POW10]: Remove #error.
45005         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45006         (_fpioconst_pow10): Change array size to
45007         FPIOCONST_POW10_ARRAY_SIZE.
45008         * stdlib/gen-fpioconst.c: New file.
45009         * stdlib/gen-tst-strtod-round.c: Likewise.
45010         * stdlib/tst-strtod-round-data: Likewise.
45011         * stdlib/tst-strtod-round.c: Likewise.
45012         * stdlib/Makefile (tests): Add tst-strtod-round.
45014         [BZ #14459]
45015         * stdlib/strtod_l.c: Include <stdint.h>.
45016         (NDEBUG): Do not define.
45017         (round_and_return): Change EXPONENT parameter to type intmax_t.
45018         Rearrange calculations to avoid internal overflow possibilities.
45019         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45020         Rearrange calculations to avoid internal overflow possibilities.
45021         Assert that number fits inside MPNSIZE limbs.
45022         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45023         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45024         calculations and add assertions to avoid internal overflow
45025         possibilities.  Add casts to avoid signed/unsigned operations.
45026         * stdlib/tst-strtod-overflow.c: New file.
45027         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45029 2012-08-25  Marek Polacek  <polacek@redhat.com>
45031         * time/time.h: Fix some typos in comments.
45033 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45035         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45036         * posix/tst-rfc3484-2.c: Likewise.
45037         * posix/tst-rfc3484-3.c: Likewise.
45039 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45041         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45042         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45044 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45046         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45047         #include of fxstatat64.c.
45049 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45051         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45052         * shadow/getspent_r.c: Likewise.
45053         * shadow/getspnam.c: Likewise.
45054         * shadow/getspnam_r.c: Likewise.
45055         * gshadow/getsgent.c: Likewise.
45056         * gshadow/getsgent_r.c: Likewise.
45057         * gshadow/getsgnam.c: Likewise.
45058         * gshadow/getsgnam_r.c: Likewise.
45059         * inet/getnetbyad.c: Likewise.
45060         * inet/getnetbyad_r.c: Likewise.
45061         * inet/getnetbynm.c: Likewise.
45062         * inet/getnetbynm_r.c: Likewise.
45063         * inet/getnetent.c: Likewise.
45064         * inet/getnetent_r.c: Likewise.
45065         * inet/getproto.c: Likewise.
45066         * inet/getproto_r.c: Likewise.
45067         * inet/getprtent.c: Likewise.
45068         * inet/getprtent_r.c: Likewise.
45069         * inet/getprtname.c: Likewise.
45070         * inet/getprtname_r.c: Likewise.
45071         * inet/getrpcbyname.c: Likewise.
45072         * inet/getrpcbyname_r.c: Likewise.
45073         * inet/getrpcbynumber.c: Likewise.
45074         * inet/getrpcbynumber_r.c: Likewise.
45075         * inet/getrpcent.c: Likewise.
45076         * inet/getrpcent_r.c: Likewise.
45077         * inet/getaliasent.c: Likewise.
45078         * inet/getaliasent_r.c: Likewise.
45079         * inet/getaliasname.c: Likewise.
45080         * inet/getaliasname_r.c: Likewise.
45081         * nscd/getgrgid_r.c: Likewise.
45082         * nscd/getgrnam_r.c: Likewise.
45083         * nscd/gethstbyad_r.c: Likewise.
45084         * nscd/gethstbynm3_r.c: Likewise.
45085         * nscd/getpwnam_r.c: Likewise.
45086         * nscd/getpwuid_r.c: Likewise.
45087         * nscd/getsrvbynm_r.c: Likewise.
45088         * nscd/getsrvbypt_r.c: Likewise.
45089         * nscd/gai.c: Likewise.
45091         * configure.in (build_nscd): New substituted variable, set
45092         by --disable-build-nscd and defaults to $use_nscd.
45093         * configure: Regenerated.
45094         * config.make.in (build-nscd): New substituted variable.
45095         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45096         Change conditional to require [$(build-nscd) = yes] as well.
45097         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45099         [BZ# 13696]
45100         * configure.in (use_nscd): New substituted variable, set by
45101         --disable-nscd.  If enabled, define USE_NSCD.
45102         * configure: Regenerated.
45103         * config.h.in: Add USE_NSCD.
45104         * config.make.in (use-nscd): New substituted variable.
45105         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45106         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45107         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45108         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45109         (CFLAGS-getgrnam_r.c): Likewise.
45110         (CFLAGS-initgroups.c): Likewise.
45111         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45112         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45113         Variables removed.
45114         * inet/getnetgrent_r.c
45115         (nscd_setnetgrent): New function, broken out of ...
45116         (setnetgrent): ... here.  Call it.
45117         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45118         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45119         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45120         * nscd/Makefile (routines, aux): Move definitions after include of
45121         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45122         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45123         Conditionalize on [USE_NSCD].
45124         (is_nscd, nscd_init_cb): Likewise.
45125         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45126         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45127         * nss/nss_db/db-init.c: Likewise.
45128         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45129         [USE_NSCD].
45130         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45131         (make_request): Use it.
45132         (cache_valid_p): New function.
45133         (__check_pf): Use it.
45134         * NEWS: Add item for --disable-nscd.
45136 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45138         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45139         to support sed >= 4.2.1-20-ga9bf076.
45140         * configure: Regenerated.
45142 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45144         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45145         Conditionalize whole body on [IREL].
45147 2012-08-22  Jeff Law <law@redhat.com>
45149         [BZ #14505]
45150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45151         if the family is PF_UNSPEC.
45153 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45155         * Makerules (lib-version): Rename from V.
45156         (install-lib-nosubdir): Change V to lib-version.
45158 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45160         [BZ #14252]
45161         * powerpc32/power6/wcschr.c: New file.
45162         * powerpc32/power6/wcscpy.c: New file.
45163         * powerpc32/power6/wcsrchr.c: New file.
45164         * powerpc64/power6/wcschr.c: New file.
45165         * powerpc64/power6/wcscpy.c: New file.
45166         * powerpc64/power6/wcsrchr.c: New file.
45168 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45170         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45171         (two_way_short_needle): Use it.
45172         * string/strstr.c (AVAILABLE1_USES_J): Define.
45173         * string/strcasestr.c: Likewise.
45175         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45176         array references.
45177         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45179         [BZ #11607]
45180         * NEWS: Add an entry.
45181         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45182         define their defaults.
45183         (two_way_short_needle): Detect end-of-string on-the-fly.
45184         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45185         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45186         * string/bug-strcasestr1.c: New test.
45187         * string/Makefile: Run it.
45189 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45191         [BZ #11607]
45192         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45193         the first character.
45195 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45197         * csu/elf-init.c (__libc_csu_irel): Function removed.
45198         * csu/libc-start.c (apply_irel): New function.
45199         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45201 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45203         * sysdeps/unix/sysv/linux/kernel-features.h
45204         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45205         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45206         <kernel-features.h>.
45207         [__NR_fadvise64_64]: Make code unconditional.
45208         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45209         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45210         !__NR_fadvise64_64)]: Likewise.
45211         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45212         !__NR_fadvise64_64))]: Likewise.
45213         [__NR_fadvise64]: Make code unconditional.
45214         [!__NR_fadvise64]: Remove conditional code.
45215         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45216         <kernel-features.h>.
45217         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45218         unconditional.
45219         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45220         conditional code.
45221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45222         not include <kernel-features.h>.
45223         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45224         unconditional.
45225         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45226         conditional code.
45227         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45228         include <kernel-features.h>.
45229         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45230         unconditional.
45231         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45232         conditional code.
45234 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45236         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45237         slight instruction rearrangements per scrollpipe analysis.
45238         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45240 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45242         * manual/syslog.texi (syslog; vsyslog, closelog):
45243         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45244         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45246         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45247         DSOCAPS to match condition on defining it.
45249 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45251         * sysdeps/unix/sysv/linux/kernel-features.h
45252         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45254         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45255         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45257         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45258         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45260         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45261         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45263         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45264         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45266         * sysdeps/unix/sysv/linux/kernel-features.h
45267         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45268         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45269         unconditional.
45270         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45271         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45272         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45273         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45274         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45275         Make code unconditional.
45276         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45277         (__mmap64) [!__NR_mmap2]: Likewise.
45278         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45279         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45280         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45281         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45282         [__NR_mmap2]: Make code unconditional.
45283         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45284         (__mmap64) [!__NR_mmap2]: Likewise.
45286 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45288         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45290 2012-08-18  Andreas Jaeger  <aj@suse.de>
45292         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45294 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45296         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45297         * include/unistd.h (__have_sock_cloexec): Likewise.
45298         (__have_pipe2): Likewise.
45299         (__have_dup3): Likewise.
45301 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45303         [BZ #9685]
45304         * include/unistd.h (__have_pipe2): Change define into an extern int.
45305         (__have_dup3): Likewise.
45306         * socket/have_sock_cloexec.c: Include fcntl.h.
45307         (__have_pipe2): New variable.
45308         (__have_dup3): Likewise.
45310 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45312         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45314 2012-08-17  Marek Polacek  <polacek@redhat.com>
45316         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45317         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45319 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45321         * configure.in: Add AC_SUBST for sysheaders.
45322         * configure: Regenerated.
45323         * config.make.in (sysheaders): New substituted variable.
45325         * sysdeps/unix/mkfifo.c: Moved ...
45326         * sysdeps/posix/mkfifo.c: ... here.
45327         * sysdeps/unix/mkfifoat.c: Moved ...
45328         * sysdeps/posix/mkfifoat.c: ... here.
45330         * sysdeps/unix/utime.c: Moved ...
45331         * sysdeps/posix/utime.c: ... here.
45333         * sysdeps/unix/time.c: Moved ...
45334         * sysdeps/posix/time.c: ... here.
45335         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45336         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45338         * sysdeps/unix/nice.c: Moved ...
45339         * sysdeps/posix/nice.c: ... here.
45341         * sysdeps/unix/alarm.c: Moved ...
45342         * sysdeps/posix/alarm.c: ... here.
45344         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45346 2012-08-17  Jeff Law <law@redhat.com>
45348         * intl/Makefile (codeset_mo): New variable.
45349         ($(codeset_mo)): New target.
45350         (tst-codeset.out): Depend on that.  Remove explicit rule.
45351         (tst-gettext3.out, tst-gettext5.out): Likewise.
45352         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45353         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45354         * intl/tst-codeset.sh: Remove.
45355         * intl/tst-gettext3.sh: Likewise.
45356         * intl/tst-gettext5.sh: Likewise.
45358 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45360         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45361         * sysdeps/unix/syscalls.list: ... here.
45363         * sysdeps/posix/getaddrinfo.c
45364         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45365         (gaiconf_init, gaiconf_reload): Use them.
45366         [!_STATBUF_ST_NSEC]
45367         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45368         Define using time_t rather than struct timespec.
45370         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45371         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45372         Macros removed.
45373         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45374         [!NO_THREADS].
45375         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45376         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45377         Likewise.
45379         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45380         __libc_cleanup_push argument.
45382         * bits/param.h: New file.
45383         * misc/sys/param.h: New file.
45384         * include/sys/param.h: New file.
45385         * misc/Makefile (headers): Add bits/param.h.
45386         * sysdeps/generic/sys/param.h: File removed.
45387         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45388         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45389         * sysdeps/mach/hurd/bits/param.h: New file.
45390         * sysdeps/mach/hurd/sys/param.h: File removed.
45392         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45393         last change.
45395         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45396         [_IO_MTSAFE_IO].
45397         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45398         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45399         New macros.
45401         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45402         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45403         rather than -D_IO_MTSAFE_IO conditionally.
45404         * stdio-common/Makefile (CPPFLAGS): Likewise.
45405         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45406         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45407         Use $(libio-mtsafe).
45408         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45409         of -D_IO_MTSAFE_IO.
45410         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45411         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45412         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45413         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45414         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45415         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45416         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45417         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45418         (CFLAGS-fread_u_chk.c): Likewise.
45419         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45420         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45421         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45422         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45423         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45424         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45425         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45426         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45427         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45429         * libio/Makefile: Test [$(libc-reentrant) = yes]
45430         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45432         * Makeconfig
45433         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45434         * sysdeps/pthread/configure: File removed.
45435         * sysdeps/pthread/Makeconfig: New file.
45436         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45437         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45439 2012-08-16  Gary Benson  <gbenson@redhat.com>
45441         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45442         unmapping the first object in a namespace.
45444 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45446         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45447         (__internal_setnetgrent): ... this.  Add internal_function to
45448         definition.  Add libc_hidden_def.
45449         (setnetgrent): Update caller.
45450         (internal_endnetgrent): Renamed to ...
45451         (__internal_endnetgrent): ... this.  Add internal_function to
45452         definition.  Add libc_hidden_def.
45453         (endnetgrent): Update caller.
45454         (internal_getnetgrent_r): Renamed to ...
45455         (__internal_getnetgrent_r): ... this.  Add internal_function to
45456         definition.  Add libc_hidden_def.
45457         (__getnetgrent_r): Update caller.
45458         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45460 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45462         * stdlib/longlong.h: Update from GCC.
45464 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45466         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45467         on _QL, which is set by umul_ppmm but never used.
45468         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45469         variables, which are set by GMP macros but never used.
45470         * stdio-common/_itowa.c (_itowa): Likewise.
45471         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45472         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45474 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45476         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45477         struct La_sh_regs is not constant.
45478         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45479         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45480         and struct La_sparc64_regs are not constant.
45482 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45484         * sysdeps/unix/sysv/linux/kernel-features.h
45485         (__ASSUME_POSIX_TIMERS): Remove.
45486         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45487         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45488         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45489         Make code unconditional.
45490         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45491         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45492         Make code unconditional.
45493         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45494         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45495         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45496         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45497         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45498         Make code unconditional.
45499         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45500         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45501         (__libc_missing_posix_timers): Remove.
45503 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45505         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45506         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45508         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45510         * elf/dl-sym.c: Include <stdlib.h>.
45512         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45513         constants, which avoids warnings in 32-bit builds.
45515         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45516         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45518         * misc/lseek.c: File moved to ...
45519         * io/lseek.c: ... here.
45521         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45523         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45524         shifting LEN more than 31 bits at once.
45526 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45528         [BZ #14195]
45529         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45530         segmentation fault for a case of two empty input strings.
45531         * string/test-strncasecmp.c (check1): Renamed to...
45532         (bz12205): ...this.
45533         (bz14195): Add new testcase for two empty input strings and N > 0.
45534         (test_main): Call new testcase, adapt for renamed function.
45536 2012-08-15  Andreas Jaeger  <aj@suse.de>
45538         [BZ #14090]
45539         * crypt/md5test2.c: New test, based on test supplied by Serge
45540         Belyshev <belyshev@depni.sinp.msu.ru>.
45541         * crypt/Makefile (xtests): Add md5test-giant..
45542         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45544 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45546         [BZ #14090]
45547         * crypt/md5.c (md5_process_block): Don't assume the buffer
45548         length is less than 2**32.
45549         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45550         length is less than 2**64.
45552 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45554         * string/str-two-way.h: Include <sys/param.h>.
45555         (MAX): Macro removed.
45557         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45558         Move #define and #undef of memmove to just before and after
45559         including <string.h>.
45561         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45562         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45563         and after including <string.h>.  Move declarations of
45564         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45565         to before #include "string/memmove.c".
45567         * include/dirent.h: Declare __getdirentries.
45569         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45570         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45572 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45574         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45575         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45576         * sysdeps/i386/configure: Regenerated.
45577         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45578         STABS_CURRENT_FILE, and STABS_FUN.
45579         (END): Remove call to STABS_FUN_END.
45580         (STABS_CURRENT_FILE1): Delete.
45581         (STABS_CURRENT_FILE): Likewise.
45582         (STABS_FUN): Likewise.
45583         (STABS_FUN_END): Likewise.
45584         (STABS_FUN2): Likewise.
45585         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45586         * sysdeps/x86_64/configure: Regenerated.
45588 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45590         * elf/dl-open.c: Include <atomic.h>.
45591         * elf/dl-lookup.c: Likewise.
45593 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45595         * sysdeps/unix/sysv/linux/kernel-features.h
45596         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45597         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45598         unconditionally.
45599         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45600         unconditionally.
45601         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45602         condition on __ASSUME_CLONE_THREAD_FLAGS.
45604 2012-08-14  Andreas Jaeger  <aj@suse.de>
45606         * sysdeps/i386/fpu/libm-test-ulps: Update.
45608 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45610         * include/atomic.h (atomic_exchange_and_add): Split into ...
45611         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45612         New atomic macros.
45614 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45618 2012-08-13  Jeff Law <law@redhat.com>
45620         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45621         null byte in the output string.
45623 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45625         * sysdeps/unix/sysv/linux/kernel-features.h
45626         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45627         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45628         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45629         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45630         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45631         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45632         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45634 2012-08-09  Jeff Law <law@redhat.com>
45636         [BZ #13939]
45637         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45638         When avoid_arena is set, don't retry in the that arena.  Pick the
45639         next one, whatever it might be.
45640         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45641         (arena_lock): Pass in new parameter to arena_get2.
45642         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45643         arena_get2.
45644         (__libc_malloc): Unify retrying after main arena failure with
45645         __libc_memalign version.
45646         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45648 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45650         [BZ #14166]
45651         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45652         to __redirect_strstr.
45653         (__strstr_sse42): Use typeof __redirect_strstr.
45654         (__strstr_ia32): Likewise.
45655         (__libc_strstr): New prototype.
45656         (strstr): Renamed to ...
45657         (__libc_strstr): This.
45658         (strstr): New strong alias of __libc_strstr.
45659         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45660         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45661         __redirect_time.
45662         Include <time.h>.
45663         (__libc_time): New prototype.
45664         (time_ifunc): Replace time with __libc_time.
45665         (time): New strong alias and hidden definition of __libc_time.
45666         (__GI_time): Remove strong alias.
45667         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45668         Include <stddef.h>.
45669         (memmove): Redefined to __redirect_memmove.
45670         (__memmove_sse2): Use typeof __redirect_memmove.
45671         (__memmove_ssse3): Likewise.
45672         (__memmove_ssse3_back): Likewise.
45673         (__libc_memmove): New prototype.
45674         (memmove): Renamed to ...
45675         (__libc_memmove): This.
45676         (memmove): New strong alias of __libc_memmove.
45678 2012-08-08  Mark Salter  <msalter@redhat.com>
45680         * elf/elf.h
45681         (R_MN10300_TLS_GD): Define.
45682         (R_MN10300_TLS_LD): Likewise.
45683         (R_MN10300_TLS_LDO): Likewise.
45684         (R_MN10300_TLS_GOTIE): Likewise.
45685         (R_MN10300_TLS_IE): Likewise.
45686         (R_MN10300_TLS_LE): Likewise.
45687         (R_MN10300_TLS_DTPMOD): Likewise.
45688         (R_MN10300_TLS_DTPOFF): Likewise.
45689         (R_MN10300_TLS_TPOFF): Likewise.
45690         (R_MN10300_SYM_DIFF): Likewise.
45691         (R_MN10300_ALIGN): Likewise.
45692         (R_MN10300_NUM): Update.
45694 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45696         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45697         Remove.
45699 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45701         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45703         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45704         sysdeps/unix -> sysdeps/posix move.
45705         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45707 2012-08-07      Allan McRae     <allan@archlinux.org>
45709         [BZ #14303]
45710         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45711         (SUNOS_CPP): Likewise.
45712         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45713         not found.
45714         (open_input): Call CPP using execvp.
45716 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45718         * sysdeps/unix/sysv/linux/kernel-features.h
45719         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45720         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45721         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45722         (__ASSUME_WAITID_SYSCALL): Likewise.
45723         * sysdeps/unix/sysv/linux/dl-execstack.c
45724         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45725         code unconditional.
45726         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45727         conditional code.
45728         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45729         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45730         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45731         code.
45732         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45733         unconditional.
45734         [__ASSUME_WAITID_SYSCALL]: Likewise.
45735         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45737 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45739         * sysdeps/unix/closedir.c: Renamed to ...
45740         * sysdeps/posix/closedir.c: ... here.
45741         * sysdeps/unix/dirfd.c: Renamed to ...
45742         * sysdeps/posix/dirfd.c: ... here.
45743         * sysdeps/unix/dirstream.h: Renamed to ...
45744         * sysdeps/posix/dirstream.h: ... here.
45745         * sysdeps/unix/fdopendir.c: Renamed to ...
45746         * sysdeps/posix/fdopendir.c: ... here.
45747         * sysdeps/unix/opendir.c: Renamed to ...
45748         * sysdeps/posix/opendir.c: ... here.
45749         * sysdeps/unix/readdir.c: Renamed to ...
45750         * sysdeps/posix/readdir.c: ... here.
45751         * sysdeps/unix/readdir_r.c: Renamed to ...
45752         * sysdeps/posix/readdir_r.c: ... here.
45753         * sysdeps/unix/rewinddir.c: Renamed to ...
45754         * sysdeps/posix/rewinddir.c: ... here.
45755         * sysdeps/unix/seekdir.c: Renamed to ...
45756         * sysdeps/posix/seekdir.c: ... here.
45757         * sysdeps/unix/telldir.c: Renamed to ...
45758         * sysdeps/posix/telldir.c: ... here.
45759         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45760         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45761         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45762         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45764         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45765         * bits/fcntl.h: ... here.
45767         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45768         not 0.
45769         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45770         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45771         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45772         (struct flock): Move l_start, l_len to the beginning.
45773         Use __pid_t for l_pid.
45774         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45775         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45776         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45777         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45778         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45779         [__USE_LARGEFILE64] (struct flock64): New type.
45780         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45782         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45783         * bits/dirent.h: ... here.
45785         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45786         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45788 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45790         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45791         Change from 2.6.0 to 2.6.16.
45792         * sysdeps/unix/sysv/linux/configure: Regenerated.
45793         * sysdeps/unix/sysv/linux/kernel-features.h
45794         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45795         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45796         version.
45797         (__ASSUME_UTIMES): Likewise.
45798         (__ASSUME_CLONE_STOPPED): Remove.
45799         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45800         architectures, not kernel version.
45801         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45802         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45803         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45804         (__ASSUME_WAITID_SYSCALL): Likewise.
45805         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45806         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45807         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45808         refer to older versions.
45810 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45812         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45813         Define alphasort64 as an alias.
45814         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45815         Define versionsort64 as an alias.
45816         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45817         Define scandir64 as an alias.
45818         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45819         Define scandirat64 as an alias.
45820         * dirent/alphasort64.c (alphasort64):
45821         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45822         * dirent/versionsort64.c: Likewise.
45823         * dirent/scandir64.c: Likewise.
45824         * dirent/scandirat64.c: Likewise.
45825         * sysdeps/wordsize-64/alphasort.c: File removed.
45826         * sysdeps/wordsize-64/alphasort64.c: File removed.
45827         * sysdeps/wordsize-64/scandir.c: File removed.
45828         * sysdeps/wordsize-64/scandir64.c: File removed.
45829         * sysdeps/wordsize-64/scandirat.c: File removed.
45830         * sysdeps/wordsize-64/scandirat64.c: File removed.
45831         * sysdeps/wordsize-64/versionsort.c: File removed.
45832         * sysdeps/wordsize-64/versionsort64.c: File removed.
45833         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45834         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45835         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45836         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45837         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45838         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45839         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45840         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45842         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45844         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45845         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45846         [defined __arch64__ || defined __sparcv9]
45847         (__INO_T_MATCHES_INO64_T): New macro.
45848         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45849         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45850         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45851         * sysdeps/unix/sysv/linux/bits/dirent.h
45852         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45853         (_DIRENT_MATCHES_DIRENT64): New macro.
45855         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45856         Define lockf64 as an alias.
45857         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45858         Define fseeko64 as an alias.
45859         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45860         Define ftello64 as an alias.
45861         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45862         Define _IO_fgetpos64 and fgetpos64 as aliases.
45863         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45864         Define _IO_fsetpos64 and fsetpos64 as aliases.
45865         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45866         Conditionalize body on this.
45867         * libio/fseeko64.c: Likewise.
45868         * libio/ftello64.c: Likewise.
45869         * libio/iofgetpos64.c: Likewise.
45870         * libio/iofsetpos64.c: Likewise.
45871         * sysdeps/wordsize-64/lockf.c: File removed.
45872         * sysdeps/wordsize-64/lockf64.c: File removed.
45873         * sysdeps/wordsize-64/fseeko.c: File removed.
45874         * sysdeps/wordsize-64/fseeko64.c: File removed.
45875         * sysdeps/wordsize-64/ftello.c: File removed.
45876         * sysdeps/wordsize-64/ftello64.c: File removed.
45877         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45878         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45879         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45880         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45881         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45882         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45883         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45884         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45885         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45886         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45887         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45888         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45889         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45890         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45892         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45893         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45894         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45895         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45896         [defined __arch64__ || defined __sparcv9]
45897         (__OFF_T_MATCHES_OFF64_T): New macro.
45898         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45899         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45900         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45901         (__OFF_T_MATCHES_OFF64_T): New macro.
45903 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45905         * stdlib/secure-getenv.c (__secure_getenv): Replace
45906         GLIBC_2_16 with GLIBC_2_17.
45908 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45910         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45911         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45913 2012-08-03  David S. Miller  <davem@davemloft.net>
45915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45917 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45919         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45920         Remove.
45921         (__ASSUME_CORRECT_SI_PID): Likewise.
45922         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45923         (__ASSUME_TMPFS_NAME): Likewise.
45924         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45925         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45926         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45927         (HAVE_AUX_SECURE): Make definition unconditional.
45928         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45929         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45931 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45933         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45934         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45935         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45936         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45937         __eloop_threshold instead of SYMLOOP_MAX.
45939         * sysdeps/generic/eloop-threshold.h: New file.
45940         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45941         of MAXSYMLINKS.
45942         * elf/chroot_canon.c (chroot_canon): Likewise.
45944 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45946         [BZ #13717]
45947         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45948         Change to 2.6.0 everywhere.
45949         * sysdeps/unix/sysv/linux/configure: Regenerated.
45950         * sysdeps/unix/sysv/linux/kernel-features.h
45951         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45952         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45953         kernel versions.
45954         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45955         (__ASSUME_FUTEX_REQUEUE): Remove.
45956         (__ASSUME_STATFS64): Define unconditionally.
45957         (__ASSUME_AT_SECURE): Likewise.
45958         (__ASSUME_CORRECT_SI_PID): Likewise.
45959         (__ASSUME_TGKILL): Define without depending on kernel version for
45960         i386.
45961         (__ASSUME_UTIMES): Likewise.
45962         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45963         kernel version.
45964         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45965         (__ASSUME_TMPFS_NAME): Likewise.
45966         * README: Update reference to Linux kernel versions.
45968 2012-08-02  Marek Polacek  <polacek@redhat.com>
45970         [BZ# 14150]
45971         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45972         libc_cv_asm_type_prefix with %.
45973         * configure: Regenerated.
45974         * include/libc-symbols.h: Remove comment about
45975         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45976         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45977         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45978         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45979         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45980         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45981         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45982         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45983         * elf/tst-unique2mod1.c: Likewise.
45984         * elf/tst-unique1mod2.c: Likewise.
45985         * elf/tst-unique1mod1.c: Likewise.
45986         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45987         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45988         Replace ASM_TYPE_DIRECTIVE with .type.
45989         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45990         * sysdeps/i386/sysdep.h: Likewise.
45991         * sysdeps/x86_64/sysdep.h: Likewise.
45992         * sysdeps/sh/sysdep.h: Likewise.
45993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45994         Do not define ASM_TYPE_DIRECTIVE.
45995         * sysdeps/powerpc/sysdep.h: Likewise.
45996         * sysdeps/powerpc/powerpc32/sysdep.h:
45997         Replace ASM_TYPE_DIRECTIVE with .type.
45998         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45999         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46000         * sysdeps/i386/fpu/e_powf.S: Likewise.
46001         * sysdeps/i386/fpu/e_expl.S: Likewise.
46002         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46003         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46004         * sysdeps/i386/fpu/e_pow.S: Likewise.
46005         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46006         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46007         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46008         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46009         * sysdeps/i386/fpu/e_log2.S: Likewise.
46010         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46011         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46012         * sysdeps/i386/fpu/e_powl.S: Likewise.
46013         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46014         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46015         * sysdeps/i386/fpu/e_logl.S: Likewise.
46016         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46017         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46018         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46019         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46020         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46021         * sysdeps/i386/fpu/e_log.S: Likewise.
46022         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46023         * sysdeps/i386/fpu/e_logf.S: Likewise.
46024         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46025         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46026         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46027         * sysdeps/i386/fpu/e_log10.S: Likewise.
46028         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46029         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46030         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46031         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46032         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46033         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46034         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46035         * sysdeps/i386/i686/strtok.S: Likewise.
46036         * sysdeps/i386/i386-mcount.S: Likewise.
46037         * sysdeps/i386/strtok.S: Likewise.
46038         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46039         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46040         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46041         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46042         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46043         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46044         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46045         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46046         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46047         * sysdeps/x86_64/_mcount.S: Likewise.
46048         * sysdeps/x86_64/strtok.S: Likewise.
46049         * sysdeps/sh/_mcount.S: Likewise.
46051 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46053         * libio/iofopen.c: Include <fcntl.h>.
46054         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46055         (_IO_fopen64, fopen64): Define as aliases.
46056         * libio/iofopen64.c: Include <fcntl.h>.
46057         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46058         Conditionalize body on this.
46059         * sysdeps/wordsize-64/iofopen.c: File removed.
46060         * sysdeps/wordsize-64/iofopen64.c: File removed.
46062 2012-08-01  Marek Polacek  <polacek@redhat.com>
46064         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46065         Use dlfcn directly instead of a variable.
46066         (binfmt-subdir): Do not define.
46067         (dlfcn): Likewise.
46069 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46071         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46072         Remove all definitions.
46073         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46074         <kernel-features.h>.
46075         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46076         (miss_F_GETOWN_EX): Remove all definitions.
46077         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46078         macro definition.
46079         [!__ASSUME_FCNTL64]: Remove conditional code.
46080         [__ASSUME_FCNTL64]: Make code unconditional.
46081         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46082         <kernel-features.h>.
46083         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46084         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46085         (lockf64) [__NR_fcntl64]: Make code unconditional.
46086         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46088         * sysdeps/unix/sysv/linux/kernel-features.h
46089         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46090         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46091         Make code unconditional.
46092         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46093         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46095         [__NR_vfork]: Make code unconditional.
46096         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46097         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46099         [__NR_vfork]: Make code unconditional.
46100         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46101         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46103 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46105         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46106         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46108         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46109         Define mkstemp64 as an alias.
46110         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46111         Define mkstemps64 as an alias.
46112         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46113         Define mkostemp64 as an alias.
46114         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46115         Define mkostemps64 as an alias.
46116         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46117         Conditionalize body on this.
46118         * misc/mkostemp64.c: Likewise.
46119         * misc/mkostemps64.c: Likewise.
46120         * misc/mkstemps64.c: Likewise.
46121         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46122         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46123         * sysdeps/wordsize-64/mkostemp.c: File removed.
46124         * sysdeps/wordsize-64/mkstemp.c: File removed.
46125         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46126         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46127         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46128         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46130         [BZ #14138]
46131         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46132         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46133         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46134         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46136         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46137         compat_symbol macros from <shlib-compat.h> rather than the underlying
46138         default_symbol_version and symbol_version macros, so that DEFAULT
46139         lines in shlib-versions are respected.
46140         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46142 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46144         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46145         Declare with warn_unused_result.
46146         (setgid, setregid, setegid, setresgid): Likewise.
46147         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46148         Likewise.
46149         * WUR-REPORT: Remove set*id functions.
46151 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46153         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46155 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46157         [BZ #10191]
46158         * include/sys/socket.h (__libc_accept, __libc_accept4):
46159         Add attribute_hidden.
46160         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46162         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46163         use of PTR_MANGLE.
46164         * inet/getnetgrent_r.c (setup): Likewise.
46166         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46168 2012-07-31  David S. Miller  <davem@davemloft.net>
46170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46172 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46174         [BZ #13629]
46175         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46176         value between 1.0 and 2.0 and smaller part has absolute value less
46177         than 1.0.
46178         * math/s_clog10.c (__clog10): Likewise.
46179         * math/s_clog10f.c (__clog10f): Likewise.
46180         * math/s_clog10l.c (__clog10l): Likewise.
46181         * math/s_clogf.c (__clogf): Likewise.
46182         * math/s_clogl.c (__clogl): Likewise.
46183         * math/libm-test.inc (clog_test): Add more tests.
46184         (clog10_test): Likewise.
46185         * sysdeps/i386/fpu/libm-test-ulps: Update.
46186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46188 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46190         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46191         Exit with zero in case no suitable GID is found, and write a
46192         message to standard error.
46194 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46196         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46197         rather than to 1.
46198         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46199         (MAXPATHLEN): Removed.
46200         (NOGROUP, NODEV): New macros.
46201         (setbit, clrbit, isset, isclr): New macros.
46202         (howmany, roundup, powerof2): New macros.
46203         (DEV_BSIZE): New macro.
46205         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46206         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46208         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46209         definition on [!__NO_LONG_DOUBLE_MATH].
46211         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46212         PTR_MANGLE and PTR_DEMANGLE.
46214         * socket/accept4.c (accept4): Rename to __libc_accept4.
46215         Define accept4 as a weak alias.
46217         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46218         on [_DIRENT_HAVE_D_TYPE].
46219         * io/ftw.c (ftw_dir): Likewise.
46221         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46223         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46225         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46226         Use the BSD numbers rather than the arbitrary ones we had.
46227         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46228         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46229         (SIGXCPU, SIGXFSZ): New macros.
46230         (_NSIG): Now 32.
46232         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46233         initializer on [_LIBC_REENTRANT].
46235         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46236         definitions inside [_POSIX_MAPPED_FILES].
46238         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46240         * dirent/opendir.c: Include <fcntl.h>.
46242         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46243         (__libc_getspecific): Likewise.
46244         (__libc_key_create): Likewise.
46246         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46247         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46248         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46249         (tmpfile64): Define as alias.
46250         * sysdeps/wordsize-64/tmpfile.c: File removed.
46251         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46252         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46253         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46255         * stdio-common/vfscanf.c: Include <stdbool.h>.
46256         * nss/makedb.c: Likewise.
46257         * stdio-common/_i18n_number.h: Likewise.
46258         * argp/argp-help.c: Likewise.
46259         * posix/wordexp.c: Likewise.
46260         * sysdeps/posix/spawni.c: Likewise.
46261         * nss/nss_files/files-initgroups.c: Likewise.
46262         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46263         * nss/nss_files/files-initgroups.c: Likewise.
46264         * nss/nss_db/db-netgrp.c: Likewise.
46265         * nss/nss_db/db-initgroups.c: Likewise.
46266         * io/fchmodat.c: Include <sys/stat.h>.
46268         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46269         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46271         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46272         [HAVE_MMAP].
46274         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46275         Add multiple inclusion protection.
46277 2012-07-27  David S. Miller  <davem@davemloft.net>
46279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46281 2012-07-27  Gary Benson  <gbenson@redhat.com>
46283         [BZ #14298]
46284         * elf/rtld.c: Include <stap-probe.h>.
46285         (dl_main): Added static probes "init_start" and "init_complete".
46286         * elf/dl-load.c: Include <stap-probe.h>.
46287         (lose): Take new parameter "nsid".
46288         Added static probe "map_failed".
46289         (_dl_map_object_from_fd): Pass namespace id to lose.
46290         Added static probe "map_start".
46291         (open_verify): Pass namespace id to lose.
46292         * elf/dl-open.c: Include <stap-probe.h>.
46293         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46294         and "reloc_complete".
46295         * elf/dl-close.c: Include <stap-probe.h>.
46296         (_dl_close_worker): Added static probes "unmap_start" and
46297         "unmap_complete".
46298         * elf/rtld-debugger-interface.txt: New file documenting the above.
46300 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46302         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46303         rather than a string variable.
46304         * sunrpc/rpc_main.c (h_output): Likewise.
46305         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46307 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46309         * inet/check_native.c: New file.
46311 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46313         [BZ #13629]
46314         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46315         if larger part has absolute value 1.0.
46316         * math/s_clog10.c (__clog10): Likewise.
46317         * math/s_clog10f.c (__clog10f): Likewise.
46318         * math/s_clog10l.c (__clog10l): Likewise.
46319         * math/s_clogf.c (__clogf): Likewise.
46320         * math/s_clogl.c (__clogl): Likewise.
46321         * math/libm-test.inc (clog_test): Add more tests.
46322         (clog10_test): Likewise.
46323         * sysdeps/i386/fpu/libm-test-ulps: Update.
46324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46326         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46327         (pltexit): Likewise.
46328         (La_regs): Likewise.
46329         (La_retval): Likewise.
46330         (int_retval): Likewise.
46331         Update #error for removed macros to refer only to definitions in
46332         tst-audit.h.
46333         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46334         macro.
46335         (pltexit): Likewise.
46336         (La_regs): Likewise.
46337         (La_retval): Likewise.
46338         (int_retval): Likewise.
46339         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46340         macro.
46341         (pltexit): Likewise.
46342         (La_regs): Likewise.
46343         (La_retval): Likewise.
46344         (int_retval): Likewise.
46345         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46346         macro.
46347         (pltexit): Likewise.
46348         (La_regs): Likewise.
46349         (La_retval): Likewise.
46350         (int_retval): Likewise.
46351         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46352         macro.
46353         (pltexit): Likewise.
46354         (La_regs): Likewise.
46355         (La_retval): Likewise.
46356         (int_retval): Likewise.
46357         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46358         macro.
46359         (pltexit): Likewise.
46360         (La_regs): Likewise.
46361         (La_retval): Likewise.
46362         (int_retval): Likewise.
46363         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46364         macro.
46365         (pltexit): Likewise.
46366         (La_regs): Likewise.
46367         (La_retval): Likewise.
46368         (int_retval): Likewise.
46369         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46370         macro definitions in tst-audit.h.
46371         * sysdeps/i386/tst-audit.h: New file.
46372         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46373         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46374         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46375         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46376         * sysdeps/sh/tst-audit.h: Likewise.
46377         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46378         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46379         * sysdeps/x86_64/tst-audit.h: Likewise.
46381 2012-07-26  Andreas Jaeger  <aj@suse.de>
46383         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46384         ptrace.
46386         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46387         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46388         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46389         PTRACE_O_MASK.
46390         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46391         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46392         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46394         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46395         value.
46397         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46398         _sigsys.
46399         (si_call_addr, si_syscall, si_arch): Define new macro.
46400         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46401         _sigsys.
46402         (si_call_addr, si_syscall, si_arch): Define new marcro.
46403         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46404         _sigsys.
46405         (si_call_addr, si_syscall, si_arch): Define new macro.
46406         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46407         _sigsys.
46408         (si_call_addr, si_syscall, si_arch): Define new macro.
46410 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46412         [BZ #13717]
46413         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46414         Change to 2.4.21 where previously 2.4.1.
46415         * sysdeps/unix/sysv/linux/configure: Regenerated.
46416         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46417         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46418         Linux kernel version.
46419         (__ASSUME_STD_AUXV): Remove.
46420         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46421         kernel version.
46422         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46423         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46424         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46425         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46426         (__ASSUME_NETLINK_SUPPORT): Likewise.
46427         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46428         (__no_netlink_support): Remove conditional definition.
46429         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46430         Remove.
46431         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46432         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46433         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46434         (if_nameindex_ioctl): Remove.
46435         (if_nameindex_netlink): Do not handle __no_netlink_support.
46436         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46437         code.
46438         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46439         Remove conditional code.
46440         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46441         code.
46442         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46443         unconditional.
46444         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46445         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46446         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46447         Remove.
46448         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46449         [!__ASSUME_STD_AUXV]: Remove conditional code.
46450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46451         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46452         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46454         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46455         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46456         code.
46457         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46459         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46460         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46461         conditional code.
46462         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46464         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46465         code.
46466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46467         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46468         conditional code.
46469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46470         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46471         code unconditional.
46472         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46473         conditional code.
46474         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46475         unconditional.
46476         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46477         conditional code.
46478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46479         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46480         unconditional.
46481         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46482         conditional code.
46483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46484         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46485         code unconditional.
46486         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46487         conditional code.
46488         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46489         unconditional.
46490         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46491         conditional code.
46492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46493         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46494         code unconditional.
46495         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46496         conditional code.
46497         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46498         unconditional.
46499         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46500         conditional code.
46502 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46504         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46505         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46506         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46507         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46508         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46509         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46510         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46511         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46512         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46513         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46514         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46515         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46516         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46517         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46518         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46519         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46520         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46521         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46522         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46524         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46525         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46526         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46528 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46530         * Versions.def: Add GLIBC_2.17.
46531         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46532         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46533         Introduce __libc_secure_getenv.
46534         * stdlib/Versions (2.17): Add secure_getenv
46535         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46536         * stdlib/secure-getenv.c: Rename __secure_getenv to
46537         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46538         symbol __secure_getenv for GLIBC_2.0.
46539         * stdlib/tst-secure-getenv.c: New.
46540         * stdlib/Makefile (tests): Add testcase.
46541         * manual/startup.texi (Environment Access): Document
46542         secure_getenv.
46543         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46544         __libc_secure_getenv.
46545         * inet/ruserpass.c (ruserpass): Likewise.
46546         * malloc/mtrace.c (mtrace): Likewise.
46547         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46548         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46549         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46550         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46551         HAVE_SECURE_GETENV.
46552         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46553         __secure_getenv to __libc_secure_getenv.
46554         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46556         Likewise.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46558         Likewise.
46559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46561         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46567 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46569         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46570         (struct La_i86_retval): Likewise.
46571         (struct La_x86_64_regs): Likewise.
46572         (struct La_x86_64_retval): Likewise.
46573         (struct La_x32_regs): Likewise.
46574         (struct La_x32_retval): Likewise.
46575         (struct La_ppc32_regs): Likewise.
46576         (struct La_ppc32_retval): Likewise.
46577         (struct La_ppc64_regs): Likewise.
46578         (struct La_ppc64_retval): Likewise.
46579         (struct La_sh_regs): Likewise.
46580         (struct La_sh_retval): Likewise.
46581         (struct La_s390_32_regs): Likewise.
46582         (struct La_s390_32_retval): Likewise.
46583         (struct La_s390_64_regs): Likewise.
46584         (struct La_s390_64_retval): Likewise.
46585         (struct La_sparc32_regs): Likewise.
46586         (struct La_sparc32_retval): Likewise.
46587         (struct La_sparc64_regs): Likewise.
46588         (struct La_sparc64_retval): Likewise.
46589         (struct audit_ifaces): Remove architecture-specific pltenter and
46590         pltexit members.
46591         * sysdeps/i386/ldsodefs.h: New file.
46592         * sysdeps/powerpc/ldsodefs.h: Likewise.
46593         * sysdeps/s390/ldsodefs.h: Likewise.
46594         * sysdeps/sh/ldsodefs.h: Likewise.
46595         * sysdeps/sparc/ldsodefs.h: Likewise.
46596         * sysdeps/x86_64/ldsodefs.h: Likewise.
46598 2012-07-25  Marek Polacek  <polacek@redhat.com>
46600         [BZ #6808]
46601         * math/libm-test.inc (yn_test): Add another test.
46602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46603         to ERANGE when the result is +-Inf.
46604         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46605         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46606         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46607         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46609 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46611         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46612         equal to 0.
46613         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46614         clock_t.
46615         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46617 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46619         * configure.in <sysdeps resolving>: Correct printing
46620         Implies_before.
46621         * configure: Regenerate.
46623 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46625         * math/w_ilogb.c: Include <limits.h>.
46626         * math/w_ilogbl.c: Likewise.
46628 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46630         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46631         va_copy.  Document allowing for unavailable va_copy only as
46632         pre-C99 compatibility.
46633         * manual/string.texi (Copying and Concatenation): Use va_copy
46634         instead of __va_copy in concat example.
46636 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46638         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46639         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46640         it if not null.
46642         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46643         with O_NOLINK passed to __file_name_lookup.
46645         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46646         with O_NOLINK passed to __file_name_lookup.
46648         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46649         negative N or less than NGIDS.
46651         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46652         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46653         enough.  Use memcpy instead of strncpy.
46655 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46657         * elf/Makefile (check-data): Remove.
46658         (localplt.data): New vpath directive.
46659         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46660         instead of $(check-data).
46661         * scripts/data/localplt-generic.data: Move to ...
46662         * sysdeps/generic/localplt.data: ... here.
46663         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46664         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46665         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46667         ... here.
46668         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46670         ... here.
46671         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46673         ... here.
46674         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46676         ... here.
46677         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46679         ... here.
46680         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46682         ... here.
46684 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46686         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46687         PPC32 and PPC64 files.
46688         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46689         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46691 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46693         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46694         __makecontext_ret to ...
46695         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46696         ... here and call exit if uc_link is NULL.  New file.
46697         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46698         __makecontext_ret.S.
46699         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46700         __makecontext_ret to ...
46701         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46702         ... here and call exit if uc_link is NULL.  New file.
46703         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46704         __makecontext_ret.S.
46706 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46708         * elf/elf.h (R_390_IRELATIVE): New definition.
46709         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46710         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46711         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46712         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46713         (elf_machine_lazy_rel): Likewise.
46714         * sysdeps/s390/dl-irel.h: New file.
46715         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46716         * sysdeps/s390/s390-64/memset.S: New asm code.
46717         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46718         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46719         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46720         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46721         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46722         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46723         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46724         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46725         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46726         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46727         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46728         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46729         * sysdeps/s390/s390-32/memset.S: New asm code.
46730         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46732 2012-07-17  Marek Polacek  <polacek@redhat.com>
46734         [BZ #14349]
46735         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46736         * sysdeps/s390/s390-64/configure.in: Likewise.
46737         * sysdeps/sparc/configure.in: Likewise.
46738         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46739         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46740         * sysdeps/i386/configure.in: Likewise.
46741         * sysdeps/x86_64/configure.in: Likewise.
46742         * sysdeps/sh/configure.in: Likewise.
46743         * sysdeps/s390/s390-32/configure: Regenerated.
46744         * sysdeps/s390/s390-64/configure: Likewise.
46745         * sysdeps/x86_64/configure: Likewise.
46746         * sysdeps/sh/configure: Likewise.
46747         * sysdeps/powerpc/powerpc64/configure: Likewise.
46748         * sysdeps/powerpc/powerpc32/configure: Likewise.
46749         * sysdeps/sparc/configure: Likwise.
46750         * sysdeps/i386/configure: Likewise.
46752         * elf/dl-open.c: Comment fixes.
46754 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46756         * Makefile [CXX] (check-data): Remove.
46757         [CXX] (c++-types.data): New vpath directive.
46758         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46759         vpath.  Do not allow for C++ type data being missing.
46760         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46761         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46762         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46763         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46764         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46765         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46766         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46768         ... here.
46769         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46771         ... here.
46772         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46774         ... here.
46775         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46777         ... here.
46778         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46780         ... here.
46781         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46783         ... here.
46784         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46786         ... here.
46787         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46790         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46791         definitions to architecture-specific files.
46792         (TLS_IE): Likewise.
46793         (TLS_LD): Likewise.
46794         (TLS_GD): Likewise.
46795         * sysdeps/i386/tls-macros.h: New file.
46796         * sysdeps/powerpc/tls-macros.h: Likewise.
46797         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46798         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46799         * sysdeps/sh/tls-macros.h: Likewise.
46800         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46801         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46802         * sysdeps/x86_64/tls-macros.h: Likewise.
46804 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46806         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46807         zero value for regular exit case.
46809         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46810         (__start_context): Preserve zero value for regular exit case.
46812 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46813             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46815         * manual/setjmp.texi (setcontext): Clarify normal process
46816         termination when uc_link is the null pointer.
46817         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46818         exit call.
46820 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46822         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46823         preprocessor.  Test for each exception mask separately.
46825 2012-07-16  Andreas Jaeger  <aj@suse.de>
46827         * po/ru.po: Update from translation team.
46829 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46831         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46832         equal to 0.
46833         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46834         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46835         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46836         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46837         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46839 2012-07-13  Andreas Jaeger  <aj@suse.de>
46841         * po/fr.po: Update from translation team.
46843 2012-07-12  Marek Polacek  <polacek@redhat.com>
46845         [BZ #14173]
46846         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46847         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46848         loop condition.
46850 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46852         [BZ #13717]
46853         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46854         Change to 2.4.1 where previously 2.4.0.
46855         * sysdeps/unix/sysv/linux/configure: Regenerated.
46856         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46857         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46858         version.
46859         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46860         (__ASSUME_AT_CLKTCK): Remove.
46861         (__ASSUME_AT_PAGESIZE): Likewise.
46862         (__ASSUME_AT_XID): Likewise.
46863         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46864         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46865         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46866         unconditionally.
46867         (HAVE_AUX_PAGESIZE): Likewise.
46868         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46869         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46870         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46872 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46874         [BZ #14307]
46875         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46876         the temporary buffer used to invoke __gethostbyname2_r,
46877         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46878         host_data / struct gaih_addrtuple.
46879         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46880         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46881         header file nss/nsswitch.h.
46882         * nss/nsswitch.h (global scope): Add definition of implementation
46883         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46884         resolv/nss_dns/dns-host.c).
46886 2012-07-11  Andreas Jaeger  <aj@suse.de>
46888         * po/fr.po: Update from translation team.
46890         * po/sv.po: Update from translation team
46891         * po/fr.po: Another update from translation team.
46893 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46895         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46896         for subnormals or multiply small sinh result by itself.
46897         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46900 2012-07-11  David S. Miller  <davem@davemloft.net>
46902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46904 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46906         [BZ #14347]
46907         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46908         (INTERNAL_MARK): Shift it here.
46910 2012-07-10  Marek Polacek  <polacek@redhat.com>
46912         [BZ #14151]
46913         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46914         libc_cv_asm_global_directive with .globl.
46915         * configure: Regenerated.
46916         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46917         with .globl.
46918         * sysdeps/i386/configure: Regenerated.
46919         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46920         with .globl.
46921         * sysdeps/x86_64/configure: Regenerated.
46922         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46923         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46924         * elf/tst-unique2mod2.c: Likewise.
46925         * elf/tst-unique2mod1.c: Likewise.
46926         * elf/tst-unique1mod2.c: Likewise.
46927         * elf/tst-unique1mod1.c: Likewise.
46928         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46929         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46930         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46931         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46932         * sysdeps/mach/sysdep.h: Likewise.
46933         * sysdeps/i386/sysdep.h: Likewise.
46934         * sysdeps/i386/i386-mcount.S: Likewise.
46935         * sysdeps/x86_64/_mcount.S: Likewise.
46936         * sysdeps/x86_64/sysdep.h: Likewise.
46937         * sysdeps/sh/_mcount.S: Likewise.
46938         * sysdeps/sh/sysdep.h: Likewise.
46939         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46940         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46941         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46942         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46943         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46944         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46945         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46946         * locale/localeinfo.h: Likewise.
46947         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46948         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46950 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46952         [BZ #14336]
46953         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46954         system".
46955         * manual/message.texi (The Uniforum approach): Likewise.
46956         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46957         (glibc iconv Implementation): Likewise.
46959 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46961         [BZ #14337]
46962         * math/s_clog.c (__clog): Avoid scaling a value down where that
46963         could result in underflow.
46964         * math/s_clog10.c (__clog10): Likewise.
46965         * math/s_clog10f.c (__clog10f): Likewise.
46966         * math/s_clog10l.c (__clog10l): Likewise.
46967         * math/s_clogf.c (__clogf): Likewise.
46968         * math/s_clogl.c (__clogl): Likewise.
46969         * math/libm-test.inc (clog_test): Add more tests.
46970         (clog10_test): Likewise.
46971         * sysdeps/i386/fpu/libm-test-ulps: Update.
46972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46974 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46976         [BZ #14283]
46977         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46978         by 7 not 8 to examine high bit of fractional part.
46980         [BZ #14042]
46981         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46982         for call to __mcount_internal.
46983         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46984         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46985         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46987 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46989         [BZ #14154]
46990         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46991         approximation for values within 0x1p-13f of an odd multiple of
46992         pi/4.
46993         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46994         exception.  Add more tests.
46995         * sysdeps/i386/fpu/libm-test-ulps: Update.
46997         [BZ #6778]
46998         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46999         inputs and return -1 for them.  Do not check for +Inf in case not
47000         reachable for +Inf.
47001         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47002         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47003         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47004         and return -1 for them.  Do not check for +Inf in case not
47005         reachable for +Inf.
47006         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47007         define.
47008         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47009         and return -1 for them.  Do not check for +Inf in case not
47010         reachable for +Inf.
47011         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47012         spurious underflow.
47013         * sysdeps/i386/fpu/libm-test-ulps: Update.
47014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47016 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47018         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47020 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47022         [BZ #14157]
47023         [BZ #14331]
47024         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47025         could result in spurious underflow.  Scale down values above
47026         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47027         * math/s_csqrtf.c (__csqrtf): Likewise.
47028         * math/s_csqrtl.c (__csqrtl): Likewise.
47029         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47030         spurious underflow.
47031         * sysdeps/i386/fpu/libm-test-ulps: Update.
47032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47034 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47036         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47037         xopen-msg.sed.
47038         * catgets/xopen-msg.awk: New file.
47039         * catgets/xopen-msg.sed: Removed.
47041         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47042         po2text.sed.
47043         * intl/po2test.awk: New file.
47044         * intl/po2test.sed: Removed.
47046 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47048         [BZ #14328]
47049         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47050         or multiply small sinh result by itself.
47051         * math/s_ctanf.c (__ctanf): Likewise.
47052         * math/s_ctanh.c (__ctanh): Likewise.
47053         * math/s_ctanhf.c (__ctanhf): Likewise.
47054         * math/s_ctanhl.c (__ctanhl): Likewise.
47055         * math/s_ctanl.c (__ctanl): Likewise.
47056         * math/libm-test.inc (ctan_test_tonearest): New function.
47057         (ctan_test_towardzero): Likewise.
47058         (ctan_test_downward): Likewise.
47059         (ctan_test_upward): Likewise.
47060         (ctanh_test_tonearest): Likewise.
47061         (ctanh_test_towardzero): Likewise.
47062         (ctanh_test_downward): Likewise.
47063         (ctanh_test_upward): Likewise.
47064         (main): Call these new functions.
47065         * sysdeps/i386/fpu/libm-test-ulps: Update.
47066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47068 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47070         * .gitignore: Delete /ports entry.
47072 2012-07-03  Andreas Jaeger  <aj@suse.de>
47074         * po/bg.po: Update from translation team.
47075         * po/cs.po: Likewise.
47076         * po/de.po: Likewise.
47077         * po/hr.po: Likewise.
47078         * po/nl.pl: Likewise.
47079         * po/pl.po: Likewise.
47080         * po/vi.po: Likewise.
47082 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47084         * Makeconfig [!+link] (+link-before-libc): New variable.
47085         [!+link] (+link-after-libc): Likewise.
47086         [!+link] (+link-tests): Likewise.
47087         [!+link] (+link): Define in terms of $(+link-before-libc) and
47088         $(+link-after-libc).
47089         [!+link-static] (+link-static-before-libc): New variable.
47090         [!+link-static] (+link-static-after-libc): Likewise.
47091         [!+link-static] (+link-static-tests): Likewise.
47092         [!+link-static] (+link-static): Define in terms of
47093         $(+link-static-before-libc) and $(+link-static-after-libc).
47094         [build-shared] (link-libc-before-gnulib): New variable.
47095         [build-shared] (link-libc-tests): Likewise.
47096         [build-shared] (link-libc): Define in terms of
47097         $(link-libc-before-gnulib).
47098         [!build-shared] (link-libc-tests): New variable.
47099         (link-libc-static-tests): New variable.
47100         [!gnulib] (gnulib-arch): New variable.
47101         [!gnulib] (gnulib-tests): Likewise.
47102         [!gnulib] (static-gnulib-arch): Likewise.
47103         [!gnulib] (static-gnulib-tests): Likewise.
47104         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47105         Define with "=" instead of ":=".
47106         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47107         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47108         * Rules (binaries-all-notests): New variable.
47109         (binaries-all-tests): Likewise.
47110         (binaries-static-notests): Likewise.
47111         (binaries-static-tests): Likewise.
47112         (binaries-all): Define using $(binaries-all-notests) and
47113         $(binaries-all-tests).
47114         (binaries-static): Define using $(binaries-static-notests) and
47115         $(binaries-static-tests).
47116         (binaries-shared-tests): New variable.
47117         (binaries-shared-notests): Likewise.
47118         (binaries-shared): Remove variable.
47119         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47120         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47121         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47122         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47123         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47124         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47125         * elf/Makefile (sln-modules): New variable.
47126         (extra-objs): Add $(sln-modules:=.o).
47127         (ldconfig-modules): Add static-stubs.
47128         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47129         * elf/static-stubs.c: New file.
47131         [BZ #14283]
47132         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47133         by 7 not 8 to examine high bit of fractional part.  Use volatile
47134         variables when splitting into final array of floats if
47135         __FLT_EVAL_METHOD__ != 0.
47136         * math/libm-test.inc (cos_test): Add another test.
47137         (sin_test): Likewise.
47138         * sysdeps/i386/fpu/libm-test-ulps: Update.
47140         [BZ #14273]
47141         * math/libm-test.inc (cosh_test): Add more tests.
47143         * version.h (RELEASE): Set to "development".
47144         (VERSION): Set to "2.16.90".
47146 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47148         * NEWS: Update copyright. Remove last-updated date.
47149         Mention math library bug fixes and timezone data changes.
47150         * README: Mention GNU/Hurd, x32, and HPPA support status.
47152 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47154         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47156 2012-06-27  Andreas Jaeger  <aj@suse.de>
47158         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47160 2012-06-25  Andreas Jaeger  <aj@suse.de>
47162         * sysdeps/s390/fpu/libm-test-ulps: Update.
47164 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47165             Thomas Schwinge  <thomas@codesourcery.com>
47167         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47168         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47169         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47170         fanotify_mark.
47172 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47174         * sysdeps/mach/start.c: Remove file.
47175         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47176         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47177         * sysdeps/sh/init-first.c: Likewise.
47179         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47180         registers for frame unwinding purposes, add CFI directives.
47181         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47182         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47183         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47184         Likewise.
47186         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47187         __fortify_fail returning.
47188         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47190         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47191         sysdeps/sh/____longjmp_chk.S.
47192         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47193         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47194         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47195         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47197         * sysdeps/sh/abort-instr.h: New file.
47198         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47199         process in case exit returns.
47201         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47202         initialize the GOT register before use.
47204         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47205         calculation of ARGC > 4.
47207         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47208         meaningful names to some local labels.
47210 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47211             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47213         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47214         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47215         (__arch_compare_and_exchange_val_16_acq): Likewise.
47216         (__arch_compare_and_exchange_val_32_acq): Likewise.
47217         (atomic_exchange_and_add): Fix gUSA sequence.
47218         (atomic_add): Likewise.
47219         (atomic_add_negative): Likewise.
47220         (atomic_add_zero): Likewise.
47221         (atomic_bit_test_set): Likewise.
47223 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47225         [BZ #13579]
47226         * include/link.h (struct link_map): Add l_free_initfini.
47227         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47228         l_initfini.
47229         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47230         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47231         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47232         set.
47234 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47236         * configure.in: Use AC_LANG_SOURCE.
47237         * configure: Regenerate.
47239 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47241         * configure.in (libc_cv_localstatedir): New substituted variable.
47242         * configure: Regenerated.
47243         * config.make.in (localstatedir): New variable, substituted from
47244         libc_cv_localstatedir.
47245         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47246         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47247         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47248         * sysdeps/gnu/configure: Regenerated.
47250 2012-06-21  Jeff Law  <law@redhat.com>
47252         [BZ #14277]
47253         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47254         free.  Simplify list management for _LIBC case.
47256 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47258         [BZ #14273]
47259         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47260         Clear sign bit of 64-bit integer value before comparing against
47261         overflow value.
47263         * sysdeps/mach/configure: Regenerated.
47265 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47267         [BZ #14278]
47268         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47270 2012-06-21  Jeff Law  <law@redhat.com>
47272         [BZ #13882]
47273         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47274         uint16_t for elements in the "seen" array to avoid char overflows.
47275         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47276         * elf/dl-open.c (dl_open_worker): Likewise.
47278 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47280         * scripts/list-sources.sh: Scan PORTS for translations.
47281         * po/libc.pot: Regenerated.
47283 2012-06-21  Andreas Jaeger  <aj@suse.de>
47285         [BZ #12194]
47286         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47287         warning.
47288         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47289         * bits/byteswap-16.h (__bswap_16): Likewise.
47290         * bits/byteswap.h (__bswap_constant_16): Likewise.
47292 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47294         [BZ #14117]
47295         * sysdeps/i386/fpu_control.h: Removed.
47296         * sysdeps/x86_64/fpu_control.h: Moved to ...
47297         * sysdeps/x86/fpu_control.h: Here.
47299         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47300         (_FPU_SETCW): Likewise.
47302 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47304         [BZ #14117]
47305         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47306         * sysdeps/x86/fpu/bits/mathinline.h: This.
47307         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47309         [BZ #14050]
47310         [BZ #14117]
47311         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47312         functions if __x86_64__ is defined.
47314 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47316         * string/endian.h: Add !__ASSEMBLER__ condition for including
47317         conversion interfaces.
47319 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47321         [BZ #14241]
47322         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47323         of ABS(x) in calculating zero to negative powers other than odd
47324         integers.
47325         * math/libm-test.inc (pow_test): Add more tests.
47327 2012-06-15  Andreas Jaeger  <aj@suse.de>
47329         * manual/contrib.texi (Contributors): Update entry of Liubov
47330         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47331         Machado Filho.
47333 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47335         * string/string.h: Add __wur to GNU version of strerror_r.
47337 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47339         [BZ #14229]
47340         * string/Makefile (tests): Add tst-strtok_r.
47341         * string/tst-strtok_r.c: New file.
47342         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47343         RAX_LP/RDX_LP on SAVE_PTR.
47345 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47347         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47349 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47351         * libm_test.inc (csqrt_test): Allow more spurious underflow
47352         exceptions.
47353         (j0_test): Likewise.
47354         (j1_test): Likewise.
47355         (y0_test): Likewise.
47356         (y1_test): Likewise.
47358 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47360         * po/Makefile (libc.pot): Use UTF-8 charset.
47362 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47364         [BZ #14210]
47365         Suppress sign-conversion warning from FD_SET.
47366         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47367         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47368         not unsigned long int.
47369         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47371 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47373         [BZ #14050]
47374         [BZ #14117]
47375         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47376         __extern_always_inline instead of __extern_inline.
47377         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47378         (__signbit): Likewise.
47379         (__signbitl): Support C++ namespace.
47380         (lrintf): New inline function.
47381         (lrint): Likewise.
47382         (llrintf): Likewise.
47383         (llrint): Likewise.
47384         (fmaxf): Likewise.
47385         (fmax): Likewise.
47386         (fminf): Likewise.
47387         (fmin): Likewise.
47388         (rint): Likewise.
47389         (rintf): Likewise.
47390         (ceil): Likewise.
47391         (ceilf): Likewise.
47392         (floor): Likewise.
47393         (floorf): Likewise.
47394         (nearbyint): Likewise.
47395         (nearbyintf): Likewise.
47397 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47399         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47400         non-default versions.
47402 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47404         [BZ #14218]
47405         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47407 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47409         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47410         (FE_UPWARD, FE_DOWNWARD): Don't define.
47411         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47412         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47414         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47415         reading it.
47416         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47417         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47419 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47421         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47422         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47423         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47424         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47426 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47428         [BZ #14117]
47429         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47430         * sysdeps/i386/fpu/Implies: New file.
47431         * sysdeps/x86_64/fpu/Implies: Likewise.
47432         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47433         * sysdeps/x86/fpu/bits/fenv.h: This.
47435         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47436         __SSE_MATH__.
47438 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47440         [BZ #14134]
47441         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47442         character 0xffff that matches the last element of the
47443         conversion table.
47445 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47447         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47448         fmodl commit.
47450 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47452         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47453         values higher than 25.6283.
47455 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47457         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47458         subnormal exponent extraction and add some __builtin_expect.
47459         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47460         Fix for subnormal mantissa calculation.
47462 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47464         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47465         cpu2 is -1 and errno is not ENOSYS.
47467 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47469         [BZ #14117]
47470         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47471         * sysdeps/x86/bits/string.h: This.
47472         * sysdeps/x86_64/bits/string.h: Removed.
47474         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47475         if not compiling for x86-64, but compiling for >= i486.
47477         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47478         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47480         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47481         New macro from Linux kernel 3.4.0.
47482         (FP_XSTATE_MAGIC2): Likewise.
47483         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47484         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47485         (struct _fpx_sw_bytes): New struct.
47486         (struct _xsave_hdr): Likewise.
47487         (struct _ymmh_state): Likewise.
47488         (struct _xstate): Likewise.
47490         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47491         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47492         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47493         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47494         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47495         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47497         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47498         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47499         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47500         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47501         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47502         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47504 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47506         [BZ #13743]
47507         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47508         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47509         (sysdep_headers): Include sys/platform/ppc.h.
47510         * sysdeps/powerpc/test-gettimebase.c: Test for
47511         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47512         * manual/Makefile (appendices): Include platform.texi.
47513         * manual/contrib.texi (Contributors): Update @node pointers.
47514         * manual/maint.texi (Maintenance): Likewise.
47515         (Platform): New node.
47516         * manual/platform.texi: New file.  Document the new features.
47518 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47519             Jakub Jelinek  <jakub@redhat.com>
47521         [BZ #14188]
47522         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47523         where __builtin_expect is unavailable.
47525 2012-06-03  David S. Miller  <davem@davemloft.net>
47527         * stdlib/longlong.h: Updated from GCC.
47529 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47531         [BZ #14042]
47532         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47533         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47534         __mcount_internal.
47535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47536         (GLIBC_2.16): Likewise.
47538 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47540         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47542 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47545         (default-abi): New variable.
47546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47547         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47548         variable.
47549         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47550         Likewise.
47551         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47552         Likewise.
47553         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47554         Likewise.
47556         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47557         definition.  Document in comment.
47559 2012-06-01  David S. Miller  <davem@davemloft.net>
47561         * stdlib/longlong.h: Updated from GCC.
47563 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47565         [BZ #14117]
47566         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47567         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47568         sys/debugreg.h sys/io.h here.
47569         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47570         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47571         sys/io.h.
47572         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47573         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47574         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47575         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47576         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47577         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47579         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47580         Define only if __x86_64__ is defined.
47582 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47584         [BZ #14048]
47585         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47586         Use int64_t for variable i.
47587         * math/libm-test.inc (fmod_test): Add more tests.
47589         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47590         z computation is not scheduled after fetestexcept.
47591         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47592         Use math_force_eval instead of asm to ensure calculation scheduled
47593         before exception test.
47594         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47595         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47597 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47600         computation is not scheduled after fetestexcept.
47602 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47604         [BZ #14117]
47605         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47606         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47608 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47610         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47611         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47613 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47615         [BZ #14117]
47616         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47617         <bits/wordsize.h>.
47618         (__WCHAR_MIN): Support __WORDSIZE == 64.
47619         (__WCHAR_MAX): Likewise.
47621         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47622         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47624         [BZ #14183]
47625         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47626         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47628         [BZ #14117]
47629         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47630         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47632         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47633         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47635         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47636         Defined to 1 if __x86_64__ isn't defined.
47637         (_STAT_VER_LINUX_OLD): New.
47638         (st_atime): Remove duplicate.
47639         (st_mtime): Likewise.
47640         (st_ctime): Likewise.
47642 2012-05-31  David S. Miller  <davem@davemloft.net>
47644         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47645         entries.
47647 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47649         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47650         gen-libm-test.pl.
47652         [BZ #14132]
47653         * elf/dl-reloc.c: Include <_itoa.h>.
47654         (_dl_reloc_bad_type): Remove use of INTUSE.
47655         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47656         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47657         * stdio-common/psiginfo.c (psiginfo): Likewise.
47658         * stdio-common/psignal.c (psignal): Likewise.
47659         * string/strsignal.c (strsignal): Likewise.
47660         * include/signal.h (_sys_siglist): Declare hidden proto.
47661         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47662         INTVARDEF with libc_hidden_data_def.
47663         * stdio-common/itoa-udigits.c: Likewise.
47664         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47665         (_itoa_lower_digits_internal): Remove declaration.
47666         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47667         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47668         (_sys_sigabbrev_internal): Remove aliases.
47669         (_sys_siglist): Define hidden alias.
47671 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47674         bits/sysctl.h.
47676 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47678         [BZ #14117]
47679         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47680         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47682         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47683         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47684         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47685         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47686         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47687         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47689         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47690         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47691         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47693         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47694         with __addr.
47695         (insw): Likewise.
47696         (insl): Likewise.
47697         (outsb): Likewise.
47698         (outsw): Likewise.
47699         (outsl): Likewise.
47701         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47702         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47703         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47705         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47706         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47707         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47708         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47709         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47710         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47712         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47713         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47715         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47716         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47718         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47719         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47720         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47722         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47723         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47724         to ...
47725         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47727         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47728         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47729         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47731         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47732         for x86-64.
47733         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47735 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47737         * math/math.h (M_El): Use two more decimal places.
47738         (M_LOG2El): Likewise.
47739         (M_LOG10El): Likewise.
47740         (M_LN2l): Likewise.
47741         (M_LN10l): Likewise.
47742         (M_PIl): Likewise.
47743         (M_PI_2l): Likewise.
47744         (M_PI_4l): Likewise.
47745         (M_1_PIl): Likewise.
47746         (M_2_PIl): Likewise.
47747         (M_2_SQRTPIl): Likewise.
47748         (M_SQRT2l): Likewise.
47749         (M_SQRT1_2l): Likewise.
47751 2012-05-31  David S. Miller  <davem@davemloft.net>
47753         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47754         values between float registers.
47755         * sysdeps/sparc/sparc64/memset.S: Likewise.
47756         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47758 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47760         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47761         -D_FORTIFY_SOURCE=1.
47762         (CPPFLAGS-tst-longjmp_chk.c): Define.
47763         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47764         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47765         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47766         CFLAGS-tst-wchar-h.c.
47768 2012-05-31  Marek Polacek  <polacek@redhat.com>
47770         [BZ #14132]
47771         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47772         __endmntent_internal): Remove declaration.
47773         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47774         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47775         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47777 2012-05-30  David S. Miller  <davem@davemloft.net>
47779         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47780         (___Q_simulate_exceptions): Use real FP ops rather than writing
47781         into the %fsr.
47782         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47783         Likewise.
47785 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47787         [BZ #14117]
47788         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47789         * sysdeps/x86/bits/xtitypes.h: This.
47791         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47792         * sysdeps/x86/bits/wordsize.h: This.
47794         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47795         * sysdeps/x86/bits/huge_vall.h: This.
47797         * sysdeps/i386/bits/select.h: Removed.
47798         * sysdeps/x86_64/bits/select.h: Renamed to ...
47799         * sysdeps/x86/bits/select.h: This.
47801         * sysdeps/i386/bits/setjmp.h: Removed.
47802         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47803         * sysdeps/x86/bits/setjmp.h: This.
47805         * sysdeps/i386/bits/mathdef.h: Removed.
47806         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47807         * sysdeps/x86/bits/mathdef.h: This.
47809 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47811         [BZ #14132]
47812         * include/sys/socket.h (__connect_internal)
47813         (__libc_sa_len_internal): Remove declaration.
47814         (__connect, __libc_sa_len): Declare hidden_proto.
47815         (SA_LEN): Remove use of INTUSE.
47816         * socket/connect.c: Add libc_hidden_def.
47817         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47818         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47819         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47820         alias.
47821         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47822         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47823         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47824         of adding _internal alias.
47826 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47828         [BZ #14117]
47829         * sysdeps/i386/bits/link.h: Removed.
47830         * sysdeps/i386/bits/linkmap.h: Likewise.
47831         * sysdeps/x86_64/bits/link.h: Renamed to ...
47832         * sysdeps/x86/bits/link.h: This.
47833         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47834         * sysdeps/x86/bits/linkmap.h: This.
47836         * sysdeps/i386/bits/endian.h: Removed.
47837         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47838         * sysdeps/x86/bits/endian.h: This.
47840         * sysdeps/i386/bits/byteswap.h: Removed.
47841         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47842         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47843         * sysdeps/x86/bits/byteswap.h: This.
47844         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47845         * sysdeps/x86/bits/byteswap-16.h: This.
47846         * sysdeps/i386/Implies: Add x86.
47847         * sysdeps/x86_64/Implies: Likewise.
47849 2012-05-30  David S. Miller  <davem@davemloft.net>
47851         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47852         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47853         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47854         (FP_TRAPPING_EXCEPTIONS): Define.
47855         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47856         (FP_TRAPPING_EXCEPTIONS): Define.
47857         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47858         subnormals only when inexact has been signalled or underflow
47859         exceptions are enabled.
47860         (_FP_PACK_CANONICAL): Likewise.
47862 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47864         [BZ #14183]
47865         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47866         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47868 2012-05-30  Richard Henderson  <rth@twiddle.net>
47870         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47871         with #ifndef NOT_IN_libc.
47873         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47874         marked to avoid plt entry.
47876 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47878         [BZ #14112]
47879         * Makeconfig (default-abi): New macro.
47880         (abi-includes): Likewise.
47881         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47882         $(abi-$(default-abi)-lib-soname) for soname if defined.
47883         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47884         abi-variants.
47885         * Makefile (installed-stubs): Likewise.
47886         * include/stubs-biarch.h: Removed.
47887         * scripts/lib-names.awk: Only handle one library at a time.
47888         * scripts/soversions.awk: Remove WORDSIZE support.
47889         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47890         entries.
47891         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47892         Removed.
47893         (syscall-list-default-condition): Likewise.
47894         (syscall-list-default-condition): Likewise.
47895         (syscall-list-includes): Likewise.
47896         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47897         syscall-list-* with abi-*.  Handle undefined abi-variants.
47898         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47899         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47900         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47901         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47902         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47903         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47904         Removed.
47905         (syscall-list-32-options): Likewise.
47906         (syscall-list-32-condition): Likewise.
47907         (syscall-list-64-options): Likewise.
47908         (syscall-list-64-condition): Likewise.
47909         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47910         macro.
47911         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47912         Renamed to ...
47913         (abi-*): This.
47914         (abi-64-ld-soname): New macro.
47915         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47916         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47917         Renamed to ...
47918         (abi-*): This.
47919         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47920         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47922 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47924         * sysdeps/unix/sysv/linux/kernel-features.h
47925         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47926         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47927         include <kernel-features.h>.
47928         [!__NR_ftruncate64]: Remove conditional code.
47929         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47930         [__NR_ftruncate64]: Make code unconditional.
47931         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47932         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47933         include <kernel-features.h>.
47934         [!__NR_ftruncate64]: Remove conditional code.
47935         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47936         [__NR_ftruncate64]: Make code unconditional.
47937         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47939         include <kernel-features.h>.
47940         [!__NR_ftruncate64]: Remove conditional code.
47941         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47942         [__NR_ftruncate64]: Make code unconditional.
47943         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47945         include <kernel-features.h>.
47946         [!__NR_ftruncate64]: Remove conditional code.
47947         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47948         [__NR_ftruncate64]: Make code unconditional.
47949         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47951         * configure.in (libc_cv_fpie): Weaken to a compile test using
47952         LIBC_TRY_CC_OPTION.
47953         * configure: Regenerated.
47955 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47961         Refreshed.
47962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47968         Refreshed.
47970 2012-05-27  David S. Miller  <davem@davemloft.net>
47972         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47973         (___Q_zero): New.
47974         (__Q_simulate_exceptions): Return void.  Change to simulate
47975         exceptions by writing into the %fsr.
47976         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47977         (__Qp_handle_exceptions): Likewise.
47978         (numbers): Delete.
47979         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47980         __Qp_handle_exceptions.
47981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47982         __Qp_handle_exceptions.
47983         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47984         as unused and give dummy FP_RND_NEAREST initializer.
47985         (FP_INHIBIT_RESULTS): Define.
47986         (___Q_simulate_exceptions): Update declaration.
47987         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47988         formatting.
47989         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47990         as unused and give dummy FP_RND_NEAREST initializer.
47991         (__Qp_handle_exceptions): Update declaration.
47992         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47993         formatting.
47995 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47997         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47998         the temporary FPU control word.
47999         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48000         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48001         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48002         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48003         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48004         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48005         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48006         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48007         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48008         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48009         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48011 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48013         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48014         fields.
48016 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48018         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48019         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48020         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48021         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48022         Likewise.
48023         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48024         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48025         Likewise.
48027 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48029         * po/h.po: Update from translation team.
48031 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48033         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48035         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48036         handling of denormals.
48037         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48038         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48039         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48040         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48041         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48043         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48044         Likewise.
48046 2012-05-26  Marek Polacek  <polacek@redhat.com>
48048         [BZ #14152]
48049         * math/libm-test.inc (fma_test): Don't always expect underflow
48050         exception.
48052 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48054         [BZ #12416]
48055         * elf/tst-execstack.c: Include stackinfo.h.
48056         (do_test): Adjust test case to ensure that pthread_getattr_np
48057         behaviour remains the same after marking stack executable.
48059 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48061         * sysdeps/unix/sysv/linux/kernel-features.h
48062         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48063         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48064         kernel-features.h.
48065         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48066         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48067         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48068         kernel-features.h.
48069         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48070         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48072 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48074         * configure.in: Define the default includes to being none.
48075         * configure: Regenerated.
48077 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48079         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48080         * sysdeps/x86_64/setjmp.S: Likewise.
48081         * sysdeps/i386/bsd-setjmp.S: Likewise.
48082         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48083         * sysdeps/i386/setjmp.S: Likewise.
48084         * sysdeps/i386/__longjmp.S: Likewise.
48085         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48086         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48088         * include/stap-probe.h: New file.
48089         * configure.in: Handle --enable-systemtap.
48090         * configure: Regenerated.
48091         * config.h.in (USE_STAP_PROBE): New #undef.
48092         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48093         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48094         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48096 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48098         [BZ #13717]
48099         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48100         to 2.4.0 where earlier.
48101         * sysdeps/unix/sysv/linux/configure: Regenerated.
48102         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48103         <kernel-features.h>.
48104         [__ASSUME_32BITUIDS]: Make code unconditional.
48105         [!__ASSUME_32BITUIDS]: Remove conditional code.
48106         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48107         <kernel-features.h>.
48108         [__ASSUME_32BITUIDS]: Make code unconditional.
48109         [!__ASSUME_32BITUIDS]: Remove conditional code.
48110         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48111         [__ASSUME_32BITUIDS]: Make code unconditional.
48112         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48113         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48114         <kernel-features.h>.
48115         [__ASSUME_32BITUIDS]: Make code unconditional.
48116         [!__ASSUME_32BITUIDS]: Remove conditional code.
48117         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48118         <kernel-features.h>.
48119         [__ASSUME_32BITUIDS]: Make code unconditional.
48120         [!__ASSUME_32BITUIDS]: Remove conditional code.
48121         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48122         <kernel-features.h>.
48123         [__ASSUME_32BITUIDS]: Make code unconditional.
48124         [!__ASSUME_32BITUIDS]: Remove conditional code.
48125         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48126         <kernel-features.h>.
48127         [__ASSUME_32BITUIDS]: Make code unconditional.
48128         [!__ASSUME_32BITUIDS]: Remove conditional code.
48129         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48130         <kernel-features.h>.
48131         [__ASSUME_32BITUIDS]: Make code unconditional.
48132         [!__ASSUME_32BITUIDS]: Remove conditional code.
48133         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48134         <kernel-features.h>.
48135         [__ASSUME_32BITUIDS]: Make code unconditional.
48136         [!__ASSUME_32BITUIDS]: Remove conditional code.
48137         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48138         <kernel-features.h>.
48139         [__ASSUME_32BITUIDS]: Make code unconditional.
48140         [!__ASSUME_32BITUIDS]: Remove conditional code.
48141         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48142         <kernel-features.h>.
48143         [__ASSUME_32BITUIDS]: Make code unconditional.
48144         [!__ASSUME_32BITUIDS]: Remove conditional code.
48145         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48146         <kernel-features.h>.
48147         [__ASSUME_32BITUIDS]: Make code unconditional.
48148         [!__ASSUME_32BITUIDS]: Remove conditional code.
48149         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48150         <kernel-features.h>.
48151         [__ASSUME_32BITUIDS]: Make code unconditional.
48152         [!__ASSUME_32BITUIDS]: Remove conditional code.
48153         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48154         <kernel-features.h>.
48155         [__NR_setresgid] (__setresgid): Do not declare.
48156         [__ASSUME_32BITUIDS]: Make code unconditional.
48157         [!__ASSUME_32BITUIDS]: Remove conditional code.
48158         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48159         <kernel-features.h>.
48160         [__NR_setresuid] (__setresuid): Do not declare.
48161         [__ASSUME_32BITUIDS]: Make code unconditional.
48162         [!__ASSUME_32BITUIDS]: Remove conditional code.
48163         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48164         <kernel-features.h>.
48165         [__ASSUME_32BITUIDS]: Make code unconditional.
48166         [!__ASSUME_32BITUIDS]: Remove conditional code.
48167         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48168         <kernel-features.h>.
48169         [__ASSUME_32BITUIDS]: Make code unconditional.
48170         [!__ASSUME_32BITUIDS]: Remove conditional code.
48171         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48172         <kernel-features.h>.
48173         [__ASSUME_32BITUIDS]: Make code unconditional.
48174         [!__ASSUME_32BITUIDS]: Remove conditional code.
48175         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48176         <kernel-features.h>.
48177         [__ASSUME_32BITUIDS]: Make code unconditional.
48178         [!__ASSUME_32BITUIDS]: Remove conditional code.
48179         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48180         <kernel-features.h>.
48181         [__ASSUME_32BITUIDS]: Make code unconditional.
48182         [!__ASSUME_32BITUIDS]: Remove conditional code.
48183         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48184         <kernel-features.h>.
48185         [__ASSUME_32BITUIDS]: Make code unconditional.
48186         [!__ASSUME_32BITUIDS]: Remove conditional code.
48187         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48188         <kernel-features.h>.
48189         [__ASSUME_32BITUIDS]: Make code unconditional.
48190         [!__ASSUME_32BITUIDS]: Remove conditional code.
48191         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48192         <kernel-features.h>.
48193         [__ASSUME_32BITUIDS]: Make code unconditional.
48194         [!__ASSUME_32BITUIDS]: Remove conditional code.
48195         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48196         <kernel-features.h>.
48197         [__ASSUME_32BITUIDS]: Make code unconditional.
48198         [!__ASSUME_32BITUIDS]: Remove conditional code.
48199         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48200         <kernel-features.h>.
48201         [__ASSUME_32BITUIDS]: Make code unconditional.
48202         [!__ASSUME_32BITUIDS]: Remove conditional code.
48203         * sysdeps/unix/sysv/linux/kernel-features.h
48204         (__ASSUME_SETRESUID_SYSCALL): Remove.
48205         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48206         (__ASSUME_32BITUIDS): Likewise.
48207         (__ASSUME_LDT_WORKS): Likewise.
48208         (__ASSUME_O_DIRECTORY): Likewise.
48209         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48210         architecture but not kernel version.
48211         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48212         (__ASSUME_MMAP2_SYSCALL): Likewise.
48213         (__ASSUME_STAT64_SYSCALL): Likewise.
48214         (__ASSUME_IPC64): Likewise.
48215         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48216         <kernel-features.h>.
48217         [__ASSUME_32BITUIDS]: Make code unconditional.
48218         [!__ASSUME_32BITUIDS]: Remove conditional code.
48219         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48220         <kernel-features.h>.
48221         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48222         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48223         132096]: Remove conditional code.
48224         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48225         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48226         <kernel-features.h>.
48227         [__ASSUME_32BITUIDS]: Make code unconditional.
48228         [!__ASSUME_32BITUIDS]: Remove conditional code.
48229         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48230         <kernel-features.h>.
48231         [__ASSUME_32BITUIDS]: Make code unconditional.
48232         [!__ASSUME_32BITUIDS]: Remove conditional code.
48233         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48234         <kernel-features.h>.
48235         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48236         unconditional.
48237         (__setresgid): Do not declare.
48238         [__ASSUME_32BITUIDS]: Make code unconditional.
48239         [!__ASSUME_32BITUIDS]: Remove conditional code.
48240         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48241         <kernel-features.h>.
48242         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48243         unconditional.
48244         (__setresuid): Do not declare.
48245         [__ASSUME_32BITUIDS]: Make code unconditional.
48246         [!__ASSUME_32BITUIDS]: Remove conditional code.
48247         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48248         <kernel-features.h>.
48249         [__ASSUME_32BITUIDS]: Make code unconditional.
48250         [!__ASSUME_32BITUIDS]: Remove conditional code.
48251         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48252         <kernel-features.h>.
48253         [__ASSUME_32BITUIDS]: Make code unconditional.
48254         [!__ASSUME_32BITUIDS]: Remove conditional code.
48256 2012-05-25  Richard Henderson  <rth@twiddle.net>
48258         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48259         dl_hwcap to ifunc resolver.
48260         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48261         elf_ifunc_invoke.
48262         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48263         dl_hwcap to ifunc resolver.
48264         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48266 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48268         [BZ #14153]
48269         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48270         for |x| <= 2**-26, not 2**-57.
48271         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48272         exception.
48274 2012-05-24  Jeff Law  <law@redhat.com>
48276         * stdio-common/Makefile (tests): Add bug25.
48277         * stdio-common/bug25.c: New test.
48279 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48281         [BZ #13576]
48282         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48283         multiple of MALLOC_ALIGNMENT in size.
48284         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48286 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48288         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48289         Require >= 256.
48290         (FILENAME_MAX): Use macro-int-constant.
48291         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48292         (_IOFBF): Use macro-int-constant.
48293         (_IOLBF): Likewise.
48294         (_IONBF): Likewise.
48295         (SEEK_CUR): Likewise.
48296         (SEEK_END): Likewise.
48297         (SEEK_SET): Likewise.
48298         (TMP_MAX): Likewise.
48299         (EOF): Use macro-int-constant.  Require < 0.
48300         (NULL): Use macro-constant.  Require == 0.
48301         (stdin): Require type to be FILE *.
48302         (stdout): Likewise.
48303         (stderr): Likewise.
48304         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48305         macro-int-constant.
48306         (EXIT_SUCCESS): Likewise.
48307         (NULL): Use macro-constant.  Require == 0.
48308         (RAND_MAX): Use macro-int-constant.
48309         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48310         [C99-based standards] (strtof): Require function.
48311         [C99-based standards] (strtold): Likewise.
48312         [C99-based standards] (strtoll): Likewise.
48313         [C99-based standards] (strtoull): Likewise.
48314         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48315         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48316         [ISO || ISO99 || ISO11] (math.h): Likewise.
48317         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48318         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48319         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48321 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48323         [BZ #14132]
48324         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48325         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48326         * intl/dgettext.c (DCGETTEXT): Likewise.
48327         * intl/gettext.c (DCGETTEXT): Likewise.
48328         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48329         * posix/regex_internal.h (gettext): Likewise.
48330         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48331         Remove declaration.
48332         * include/argz.h (__argz_count_internal)
48333         (__argz_stringify_internal): Remove declaration.
48334         (__argz_count, __argz_stringify): Declare hidden proto.
48335         * intl/dcgettext.c: Remove use of INTDEF.
48336         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48337         * string/argz-stringify.c: Likewise.
48338         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48339         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48340         Declare hidden proto.
48341         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48342         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48343         Declare hidden proto.
48344         * include/stdio.h (__asprintf_internal): Don't declare.
48345         (__asprintf): Don't define as macro.  Declare hidden proto.
48346         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48347         (__fsetlocking): Declare hidden proto.
48348         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48349         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48350         hidden proto.
48351         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48352         (_IO_setlinebuf): Remove use of INTUSE.
48353         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48354         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48355         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48356         Remove declaration.
48357         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48358         (_IO_do_flush): Remove use of INTUSE.
48359         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48360         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48361         (_IO_adjust_column, _IO_least_wmarker)
48362         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48363         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48364         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48365         (_IO_default_doallocate, _IO_wdefault_doallocate)
48366         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48367         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48368         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48369         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48370         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48371         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48372         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48373         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48374         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48375         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48376         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48377         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48378         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48379         proto.
48380         (_IO_flush_all_internal, _IO_adjust_column_internal)
48381         (_IO_default_uflow_internal, _IO_default_finish_internal)
48382         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48383         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48384         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48385         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48386         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48387         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48388         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48389         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48390         (_IO_file_close_internal, _IO_file_close_it_internal)
48391         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48392         (_IO_file_init_internal, _IO_file_attach_internal)
48393         (_IO_file_fopen_internal, _IO_file_read_internal)
48394         (_IO_file_sync_internal, _IO_file_seek_internal)
48395         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48396         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48397         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48398         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48399         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48400         (_IO_list_all_internal, _IO_link_in_internal)
48401         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48402         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48403         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48404         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48405         (_IO_do_write_internal, _IO_padn_internal)
48406         (_IO_getline_info_internal, _IO_getline_internal)
48407         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48408         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48409         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48410         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48411         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48412         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48413         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48414         with libc_hidden_ver, remove use of INTUSE.
48415         * libio/genops.c: Likewise.
48416         * libio/freopen.c: Likewise.
48417         * libio/freopen64.c: Likewise.
48418         * libio/iofclose.c: Likewise.
48419         * libio/iofdopen.c: Likewise.
48420         * libio/iofflush.c: Likewise.
48421         * libio/iofflush_u.c: Likewise.
48422         * libio/iofgets.c: Likewise.
48423         * libio/iofgets_u.c: Likewise.
48424         * libio/iofopen.c: Likewise.
48425         * libio/iofopncook.c: Likewise.
48426         * libio/iofread.c: Likewise.
48427         * libio/iofread_u.c: Likewise.
48428         * libio/ioftell.c: Likewise.
48429         * libio/iofwrite.c: Likewise.
48430         * libio/iogetline.c: Likewise.
48431         * libio/iogets.c: Likewise.
48432         * libio/iogetwline.c: Likewise.
48433         * libio/iopadn.c: Likewise.
48434         * libio/iopopen.c: Likewise.
48435         * libio/ioseekoff.c: Likewise.
48436         * libio/ioseekpos.c: Likewise.
48437         * libio/iosetbuffer.c: Likewise.
48438         * libio/iosetvbuf.c: Likewise.
48439         * libio/ioungetc.c: Likewise.
48440         * libio/ioungetwc.c: Likewise.
48441         * libio/iovdprintf.c: Likewise.
48442         * libio/iovsprintf.c: Likewise.
48443         * libio/iovsscanf.c: Likewise.
48444         * libio/memstream.c: Likewise.
48445         * libio/obprintf.c: Likewise.
48446         * libio/oldfileops.c: Likewise.
48447         * libio/oldiofclose.c: Likewise.
48448         * libio/oldiofdopen.c: Likewise.
48449         * libio/oldiofopen.c: Likewise.
48450         * libio/oldiopopen.c: Likewise.
48451         * libio/oldstdfiles.c: Likewise.
48452         * libio/putc.c: Likewise.
48453         * libio/setbuf.c: Likewise.
48454         * libio/setlinebuf.c: Likewise.
48455         * libio/stdfiles.c: Likewise.
48456         * libio/strops.c: Likewise.
48457         * libio/vasprintf.c: Likewise.
48458         * libio/vscanf.c: Likewise.
48459         * libio/vsnprintf.c: Likewise.
48460         * libio/vswprintf.c: Likewise.
48461         * libio/wfiledoalloc.c: Likewise.
48462         * libio/wfileops.c: Likewise.
48463         * libio/wgenops.c: Likewise.
48464         * libio/wmemstream.c: Likewise.
48465         * libio/wstrops.c: Likewise.
48466         * libio/__fpurge.c: Likewise.
48467         * libio/__fsetlocking.c: Likewise.
48468         * assert/assert.c: Likewise.
48469         * debug/fgets_chk.c: Likewise.
48470         * debug/fgets_u_chk.c: Likewise.
48471         * debug/fread_chk.c: Likewise.
48472         * debug/fread_u_chk.c: Likewise.
48473         * debug/gets_chk.c: Likewise.
48474         * debug/obprintf_chk.c: Likewise.
48475         * debug/vasprintf_chk.c: Likewise.
48476         * debug/vdprintf_chk.c: Likewise.
48477         * debug/vsnprintf_chk.c: Likewise.
48478         * debug/vsprintf_chk.c: Likewise.
48479         * malloc/mtrace.c: Likewise.
48480         * misc/error.c: Likewise.
48481         * misc/syslog.c: Likewise.
48482         * stdio-common/asprintf.c: Likewise.
48483         * stdio-common/fxprintf.c: Likewise.
48484         * stdio-common/getw.c: Likewise.
48485         * stdio-common/isoc99_fscanf.c: Likewise.
48486         * stdio-common/isoc99_scanf.c: Likewise.
48487         * stdio-common/isoc99_vfscanf.c: Likewise.
48488         * stdio-common/isoc99_vscanf.c: Likewise.
48489         * stdio-common/isoc99_vsscanf.c: Likewise.
48490         * stdio-common/printf-prs.c: Likewise.
48491         * stdio-common/printf_fp.c: Likewise.
48492         * stdio-common/printf_fphex.c: Likewise.
48493         * stdio-common/printf_size.c: Likewise.
48494         * stdio-common/putw.c: Likewise.
48495         * stdio-common/scanf.c: Likewise.
48496         * stdio-common/sprintf.c: Likewise.
48497         * stdio-common/tmpfile.c: Likewise.
48498         * stdio-common/vfprintf.c: Likewise.
48499         * stdio-common/vfscanf.c: Likewise.
48500         * stdlib/strfmon_l.c: Likewise.
48501         * sunrpc/openchild.c: Likewise.
48502         * sunrpc/xdr_stdio.c: Likewise.
48503         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48504         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48506 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48508         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48510         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48511         in the third column, to generate for the shared library an IFUNC
48512         that uses _dl_vdso_vsym.
48513         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48514         * Makeconfig (object-suffixes-noshared): New variable.
48516         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48517         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48518         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48519         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48521         [BZ #14132]
48522         * include/sys/time.h (__gettimeofday): Remove macro.
48523         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48524         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48525         Remove INTDEF.
48526         (__gettimeofday): Add libc_hidden_def.
48527         (gettimeofday): Add libc_hidden_weak.
48528         * sysdeps/mach/gettimeofday.c: Likewise.
48529         * sysdeps/posix/gettimeofday.c: Likewise.
48530         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48531         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48532         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48533         (__gettimeofday_internal): Remove strong_alias.
48534         (__gettimeofday): Add libc_hidden_def.
48535         (gettimeofday): Add libc_hidden_weak.
48536         * sysdeps/unix/syscalls.list (gettimeofday):
48537         Remove __gettimeofday_internal alias.
48539 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48540             H.J. Lu  <hongjiu.lu@intel.com>
48542         [BZ #12495]
48543         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48544         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48545         (largebin_index_32_big): New.
48546         (largebin_index): Use it for 16-byte alignment.
48547         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48548         correction with front_misalign.
48550 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48554         Likewise.
48555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48556         Likewise.
48557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48558         Likewise.
48559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48560         Likewise.
48561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48562         Likewise.
48563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48564         Likewise.
48565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48566         Likewise.
48567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48568         Likewise.
48569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48570         Likewise.
48571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48572         Likewise.
48573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48574         Likewise.
48575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48576         Likewise.
48578         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48579         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48581 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48583         [BZ #10846]
48584         [BZ #14036]
48585         * math/libm-test.inc (exp_test): Add test from bug 14036.
48586         (pow_test): Add test from bug 10846.
48588         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48589         and other flags.
48590         (special_function): Do not include flags in test name.
48591         (parse_args): Likewise.
48592         * sysdeps/i386/fpu/libm-test-ulps: Update.
48593         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48594         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48595         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48598         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48599         exceptions.
48600         * math/libm-test.inc ("Philosophy"): Update comment about
48601         exception testing.
48602         (UNDERFLOW_EXCEPTION): New macro.
48603         (UNDERFLOW_EXCEPTION_OK): Likewise.
48604         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48605         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48606         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48607         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48608         (INVALID_EXCEPTION_OK): Update value.
48609         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48610         (OVERFLOW_EXCEPTION_OK): Likewise.
48611         (IGNORE_ZERO_INF_SIGN): Likewise.
48612         (test_exceptions): Handle underflow exceptions.
48613         (acos_test): Update for underflow exception expectations.
48614         (cexp_test): Likewise.
48615         (clog_test): Likewise.
48616         (clog10_test): Likewise.
48617         (csqrt_test): Likewise.
48618         (ctan_test): Likewise.
48619         (ctanh_test): Likewise.
48620         (exp_test): Likewise.
48621         (exp10_test): Likewise.
48622         (exp2_test): Likewise.
48623         (expm1_test): Likewise.
48624         (fma_test): Likewise.
48625         (j0_test): Likewise.
48626         (jn_test): Likewise.
48627         (nexttoward_test): Likewise.
48628         (pow_test): Likewise.
48629         (scalbn_test): Likewise.
48630         (scalbln_test): Likewise.
48631         (tan_test): Likewise.
48632         (y1_test): Likewise.
48633         * sysdeps/i386/fpu/libm-test-ulps: Update.
48634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48636 2012-05-23  David S. Miller  <davem@davemloft.net>
48638         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48639         (__libc_sigaction): Remove unused local variables.
48641 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48643         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48645 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48647         mktime: avoid signed integer overflow
48648         * time/mktime.c (__mktime_internal): Do not mishandle the case
48649         where diff == INT_MIN.
48651         mktime: simplify computation of average
48652         * time/mktime.c (ranged_convert): Use new time_t_avg function
48653         instead of rolling our own (probably-slower) code.
48655         mktime: do not assume signed right shift propagates sign bit
48656         * time/mktime.c (isdst_differ): New static function.
48657         (__mktime_internal): No need to normalize tm_isdst now.
48658         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48659         tm_isdst values.
48661         mktime: merge another wrapv change from gnulib
48662         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48663         from some compilers.
48665         mktime: remove incorrect attempt at unusual arithmetics
48666         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48667         The code didn't really work on such machines anyway.
48668         (TYPE_MINIMUM): Assume two's complement.
48669         (twos_complement_arithmetic): Verify that long_int and time_t
48670         are two's complement (or unsigned, in the latter case).
48672         mktime: check signed shifts on long_int and time_t, too
48673         * time/mktime.c (SHR): Check that shifts work as desired
48674         on the types long_int and time_t too, as SHR is used on
48675         such types.
48677         mktime: do not assume 'long' is wide enough
48678         * time/mktime.c (verify): Move decl up.
48679         (long_int): New type.
48680         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48681         to remove assumption in the code that 'long' is wide enough to
48682         store year values.  This assumption is not true on x32 and on
48683         some non-glibc platforms.
48685         mktime: merge wrapv change from gnulib
48686         * time/mktime.c (WRAPV): New macro.
48687         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48688         (guess_time_tm, __mktime_internal): Do not assume that signed
48689         integer overflow wraps around; modern compilers generate code
48690         where this assumption is no longer valid.
48692 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48694         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48695         Replace "jmp L(pseudo_end)" with "ret".
48696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48697         Likewise.
48699 2012-05-23  Andreas Jaeger  <aj@suse.de>
48701         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48702         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48704 2012-05-23  Andreas Jaeger  <aj@suse.de>
48705             Maximilian Attems  <max@stro.at>
48707         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48708         New macros.
48710 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48712         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48713         code so that pseudo_end is just ret and the stack pointer is
48714         correct also for static library in error case.
48716 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48718         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48719         move to syscalls.list.
48720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48725         * manual/install.texi (Running make install): Do not mention Linux
48726         kernel version for which pt_chown is not needed.
48727         (Linux): Do not mention problems with nscd with 2.0 kernels.
48728         * INSTALL: Regenerated.
48730 2012-05-23  Andreas Jaeger  <aj@suse.de>
48732         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48733         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48734         macro.
48735         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48736         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48737         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48738         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48739         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48740         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48741         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48742         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48743         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48744         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48745         * sysdeps/unix/sysv/linux/bits/in.h
48746         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48748 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48750         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48751         (PREPARE_VERSION): Just use assert instead, it will be elided
48752         under [NDEBUG] anyway.
48754 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48756         * sysdeps/unix/sysv/linux/Makefile: Include
48757         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48758         (sysdep_routines): Remove sysctl.
48759         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48760         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48761         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48762         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48763         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48765 2012-05-22  Andreas Jaeger  <aj@suse.de>
48767         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48768         that pseudo_end is just ret and the stack pointer is correct also
48769         for static library in error case.
48771 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48773         [BZ #14122]
48774         * nss/nsswitch.c (defconfig_entries): New variable.
48775         (__nss_database_lookup): Don't leak defconfig entries.
48776         (nss_parse_service_list): Don't leak on error paths.
48777         (free_database_entries): New function.
48778         (free_defconfig): New function.
48779         (free_mem): Move common code to free_database_entries.
48781 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48783         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48784         Add arch_prctl.
48785         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48787         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48788         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48789         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48790         New macro.
48791         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48792         (INTERNAL_SYSCALL_TYPES): Likewise.
48793         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48794         (LOAD_REGS_TYPES_[1-6]): Likewise.
48795         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48796         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48798 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48800         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48801         copysignl for GLIBC_2_0.
48802         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48803         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48804         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48805         logbl for GLIBC_2_0.
48806         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48807         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48809 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48811         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48812         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48814         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48815         Use "neg %eax".
48817         * time/mktime.c: Update copyright years.
48819 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48821         mktime: merge comment-quoting-style change from gnulib
48822         * time/mktime.c: Quote 'like this' in comments.
48823         The GNU coding standards suggest that we no longer quote `like this',
48824         as "`" and "'" are typically rendered asymmetrically nowadays.
48825         The typical gnulib style is to quote 'like this' when quoting
48826         code, and "like this" when quoting English.
48828         * time/mktime.c (compile-command): Add "-I.".
48830         mktime: merge mktime-internal.h change from gnulib
48831         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48833         mktime: merge time_r change from gnulib
48834         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48836         mktime: merge DEBUG change from gnulib
48837         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48838         case system <time.h> has a #define.
48840         mktime: merge <sys/types.h> change from gnulib
48841         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48842         since <time.t> is now guaranteed to define time_t.
48844         mktime: merge HAVE_CONFIG_H change from gnulib
48845         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48847 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48850         Use "neg %eax".
48852         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48853         __rlim_t cast.
48854         (struct rusage): Use anonymous union to pad each field to
48855         __syscall_slong_t.
48857 2012-05-21  David S. Miller  <davem@davemloft.net>
48859         * Makefules (o-iterator): Remove .s cases.
48860         (compile-command.s): Delete.
48861         (COMPILE.s): Delete.
48862         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48864 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48866         * configure.in (libc_cv_predef_stack_protector): Only consider
48867         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48868         * configure: Regenerated.
48870 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48872         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48873         New macro.  Use R*LP on int and pointer.
48874         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48875         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48876         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48877         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48879         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48880         [__WORDSIZE_TIME64_COMPAT32] instead of
48881         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48882         (struct utmp): Likewise.
48883         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48884         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48885         Renamed to ...
48886         (__WORDSIZE_TIME64_COMPAT32): This.
48887         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48888         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48889         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48890         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48891         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48892         (__WORDSIZE_TIME64_COMPAT32): New macro.
48894 2012-05-21  Andreas Jaeger  <aj@suse.de>
48896         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48897         only if [SHARED]. Add prototype for __wcschr_ia32.
48899 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48901         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48902         of %rbp unmolested in the jmp_buf while mangling the low bits.
48903         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48904         unmolested high bits of %rbp while demangling the low bits.
48905         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48907 2012-05-21  Andreas Jaeger  <aj@suse.de>
48909         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48910         * sunrpc/svc_simple.c: Use it for registerrpc.
48911         * sunrpc/xcrypt.c: Use it for passwd2des.
48913         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48915 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48917         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48918         Don't define if [__SYSCALL_WORDSIZE != 32].
48919         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48920         New macro.
48922 2012-05-21  Bruno Haible  <bruno@clisp.org>
48923             Andreas Jaeger  <aj@suse.de>
48925         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48926         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48927         inptr and inend for must_buffer_ch.
48928         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48929         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48930         * stdio-common/Makefile (tests): Remove bug15.
48931         (bug15-ENV): Remove macro.
48932         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48933         anymore.
48935 2012-05-19  Andreas Jaeger  <aj@suse.de>
48936             Roland McGrath  <roland@hack.frob.com>
48938         * manual/contrib.texi: Completely rewritten. It contains now an
48939         alphabetical list of contributors and their contributions.
48941 2012-05-21  Richard Henderson  <rth@twiddle.net>
48943         * misc/getauxval.c (__getauxval): Use unsigned long int.
48944         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48945         (getauxval): Use unsigned long int.
48947 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48949         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48951 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48953         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48954         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48955         __alignof__ (long double).
48957 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48961 2012-05-20  Richard Henderson  <rth@twiddle.net>
48963         * misc/getauxval.c: New file.
48964         * misc/sys/auxv.h: New file.
48965         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48966         (routines): Add getauxval.
48967         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48968         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48969         * elf/dl-sysdep.c (_dl_auxv): Remove.
48970         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48971         * elf/dl-support.c (_dl_auxv): New variable.
48972         (_dl_aux_init): Initialize it.
48973         * manual/startup.texi (Auxiliary Vector): New node.
48974         * sysdeps/generic/bits/hwcap.h: New file.
48975         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48976         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48977         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48978         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48979         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48980         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48982         Update.
48983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48986         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48992 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48996 2012-05-19  David S. Miller  <davem@davemloft.net>
48998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49000 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49002         [BZ #14123]
49003         * math/s_ccosh.c: Include <float.h>
49004         (__ccosh): Avoid internal overflow calculating sinh and cosh
49005         values before multiplying by sin and cos values.
49006         * math/s_ccoshf.c: Likewise.
49007         * math/s_ccoshl.c: Likewise.
49008         * math/s_csin.c: Likewise.
49009         * math/s_csinf.c: Likewise.
49010         * math/s_csinl.c: Likewise.
49011         * math/s_csinh.c: Likewise.
49012         * math/s_csinhf.c: Likewise.
49013         * math/s_csinhl.c: Likewise.
49014         * math/libm-test.inc (ccos_test): Add more tests.
49015         (ccosh_test): Likewise.
49016         (csin_test): Likewise.
49017         (csinh_test): Likewise.
49018         * sysdeps/i386/fpu/libm-test-ulps: Update.
49019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49021 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49023         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49024         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49026         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49028 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49030         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49031         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49032         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49033         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49034         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49035         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49036         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49037         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49038         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49039         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49040         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49041         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49042         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49043         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49044         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49045         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49046         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49047         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49048         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49049         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49050         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49051         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49052         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49053         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49054         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49055         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49056         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49057         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49058         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49059         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49060         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49062 2012-05-18  Andreas Jaeger  <aj@suse.de>
49064         * csu/.gitignore: Delete.
49066 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49068         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49069         (timex): Use __syscall_slong_t.
49071 2012-05-18  Andreas Jaeger  <aj@suse.de>
49072             Carlos O'Donell  <carlos_odonell@mentor.com>
49074         * manual/install.texi (Configuring and compiling): Update
49075         description about files modified in the source directory.
49076         * INSTALL: Regenerated.
49078 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49080         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49081         value.  Use "or" to set return value to -1.
49082         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49083         negate return value.
49085 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49087         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49088         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49089         failure if the compiler has Graphite support disabled.
49090         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49091         Likewise.
49092         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49093         (CFLAGS-memmove.c): Likewise.
49094         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49095         Likewise.
49097 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49099         * sysdeps/x86_64/x32/_itoa.h: New file.
49101         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49102         getdents system call only if kernel and user dirents have the
49103         same d_ino and d_off.
49105         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49106         LLONG_MAX != LONG_MAX.
49107         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49108         (_fitoa_word): Likewise.
49110         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49111         years.
49112         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49113         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49114         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49116         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49117         include <bits/wordsize.h>.  Check __x86_64__ instead of
49118         __WORDSIZE.
49119         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49120         if __x86_64__ is defined.  Use anonymous union on fpstate.
49122         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49123         anonymous union.
49125 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49127         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49128         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49129         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49130         Refer to _rtld_local_ro instead of _rtld_global_ro.
49131         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49132         Likewise.
49133         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49134         Likewise.
49135         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49136         Likewise.
49137         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49138         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49139         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49141         * sysdeps/powerpc/powerpc32/dl-machine.c
49142         (__elf_machine_runtime_setup) [PROF]: Don't reference
49143         _dl_prof_resolve.
49145 2012-05-18  Andreas Jaeger  <aj@suse.de>
49147         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49148         function only available for GCCs before 3.4 since GCC 3.4
49149         introduced a builtin.
49150         (lrint): Likewise.
49151         (llrintf): Likewise.
49152         (llrint): Likewise.
49153         (fmaxf): Likewise.
49154         (fmax): Likewise.
49155         (fminf): Likewise.
49156         (fmin): Likewise.
49157         (rint): Likewise.
49158         (rintf): Likewise.
49159         (nearbyint): Likewise.
49160         (nearbyintf): Likewise.
49161         (ceil): Likewise.
49162         (ceilf): Likewise.
49163         (floor): Likewise.
49164         (floorf): Likewise.
49166 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49168         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49169         on both fields and cast pointer to __syscall_ulong_t.
49171         * bits/types.h (__fsword_t): New type.
49172         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49173         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49174         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49175         (__FSWORD_T_TYPE): Likewise.
49176         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49177         (__FSWORD_T_TYPE): Likewise.
49178         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49179         (__FSWORD_T_TYPE): Likewise.
49180         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49181         (__FSWORD_T_TYPE): Likewise.
49182         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49183         __SWORD_TYPE with __fsword_t.
49184         (statfs64): Likewise.
49186 2012-05-17  David S. Miller  <davem@davemloft.net>
49188         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49190 2012-05-17  Andreas Jaeger  <aj@suse.de>
49192         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49193         warning.
49195 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49197         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49199 2012-05-17  Andreas Jaeger  <aj@suse.de>
49201         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49202         when it is used.
49204 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49206         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49208 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49210         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49211         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49213 2012-05-17  Andreas Jaeger  <aj@suse.de>
49214             Carlos O'Donell  <carlos_odonell@mentor.com>
49216         [BZ #14059]
49217         * sysdeps/x86_64/multiarch/init-arch.h
49218         (bit_YMM_Usable): Rename to...
49219         (bit_AVX_Usable): ... this.
49220         (bit_FMA4_Usable): New macro.
49221         (bit_XMM_state): New macro.
49222         (bit_YMM_state): New macro.
49223         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49224         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49225         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49226         (CPUID_OSXSAVE): New macro.
49227         (CPUID_AVX): New macro.
49228         (CPUID_FMA4): New macro.
49229         (index_YMM_Usable): Rename to...
49230         (index_AVX_Usable): ... this.
49231         (HAS_AVX): Use HAS_ARCH_FEATURE.
49232         (HAS_FMA4): Likewise.
49233         (HAS_YMM_USABLE): Remove.
49234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49235         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49236         are present.
49237         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49238         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49239         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49240         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49241         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49243 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49245         * math/libm-test.c: Support platforms without multiple rounding modes.
49246         * math/bug-nextafter.c: Support platforms without FP exceptions.
49247         * math/bug-nexttoward.c: Likewise.
49248         * math/test-fenv.c: Likewise.
49249         * math/test-misc.c: Likewise.
49250         * stdlib/bug-getcontext.c: Likewise.
49252 2012-05-17  Andreas Jaeger  <aj@suse.de>
49254         * manual/examples/search.c (critter_cmp): Change signature to
49255         avoid warnings.
49256         * manual/string.texi (Collation Functions): Likewise.
49258 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49260         * bits/types.h: Fold copyright years.
49261         * bits/typesizes.h: Likewise.
49262         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49264         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49265         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49266         * time/time.h: Likewise.
49268 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49270         [BZ #208]
49271         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49272         in instead of returning them.  Return void.
49273         (__libc_mallinfo): Accumulate over all arenas.
49274         (__malloc_stats): Adjust for change in int_mallinfo interface.
49276 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49278         [BZ #10375]
49279         * configure.in (NM): Add AC_CHECK_TOOL for it.
49280         (libc_extra_cflags): New substituted variable.
49281         Check for -fstack-protector being used implicitly.
49282         * configure: Regenerated.
49283         * config.make.in (config-extra-cflags): New variable,
49284         gets @libc_extra_cflags@.
49285         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49287         [BZ #10375]
49288         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49289         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49290         * configure: Regenerated.
49291         * config.make.in (CPPUNDEFS): New substituted variable.
49292         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49293         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49294         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49296 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49298         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49299         (mq_attr): Use __syscall_slong_t.
49301 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49303         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49304         Check __x86_64__ instead of __WORDSIZE.
49305         (_STAT_VER_LINUX): Likewise.
49306         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49307         __syscall_ulong_t and __syscall_slong_t.
49308         (stat64): Likewise.
49310 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49312         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49314 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49316         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49318 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49320         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49321         __syscall_ulong_t.
49323         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49324         include <bits/wordsize.h>.  Check __x86_64__ instead of
49325         __WORDSIZE.
49326         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49327         defined.
49328         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49330         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49331         include <bits/wordsize.h>.  Check __x86_64__ instead of
49332         __WORDSIZE.
49333         (user_regs_struct): Use "__extension__ unsigned long long"
49334         instead of "unsigned long" if __x86_64__ is defined.
49335         (user): Likewise.  Pad after pointer field if __ILP32__ is
49336         defined.
49338 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49340         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49341         versions 5 to 9.
49342         * configure: Regenerated.
49343         * manual/install.texi (texinfo): Increase version requirement to
49344         4.5 or later.
49345         * INSTALL: Regenerated.
49347         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49349 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49351         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49353         * sysdeps/x86_64/x32/ffs.c: New file.
49355         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49356         __syscall_ulong_t.
49357         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49358         defined.  Use __syscall_ulong_t.
49359         (shminfo): Use __syscall_ulong_t.
49360         (shm_info): Likewise.
49362         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49363         __syscall_ulong_t.
49365         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49366         <bits/wordsize.h>.
49367         (msgqnum_t): Use __syscall_ulong_t.
49368         (msglen_t): Likewise.
49369         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49370         __syscall_ulong_t.
49372         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49373         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49375         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49377         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49378         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49380         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49381         __syscall_slong_t.
49383         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49384         include <bits/wordsize.h>.  Check __x86_64__ instead of
49385         __WORDSIZE.
49387         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49388         "unsigned long long int" if __x86_64__ is defined.
49389         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49391         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49392         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49393         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49395         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49396         <stdint.h>.
49397         (GET_PC): Cast to uintptr_t first.
49398         (GET_FRAME): Likewise.
49399         (GET_STACK): Likewise.
49401         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49402         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49403         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49404         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49405         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49406         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49407         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49408         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49409         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49410         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49411         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49412         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49413         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49414         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49415         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49416         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49417         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49418         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49419         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49420         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49421         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49422         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49423         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49424         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49425         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49426         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49427         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49428         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49429         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49431 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49433         * Makerules (+depfiles): Also collect depfiles from .oS in
49434         $(extra-objs).
49435         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49436         .oS, $(libnldbl-routines)).
49438         * Makerules (native-compile-mkdep-flags): Define.
49439         * sunrpc/Makefile (extra-objs): Add $(addprefix
49440         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49441         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49442         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49443         calling $(make-target-directory).
49445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49447         * bits/types.h (__snseconds_t): Removed.
49448         * time/time.h (struct timespec): Replace __snseconds_t with
49449         __syscall_slong_t.
49450         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49451         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49452         Likewise.
49453         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49454         (__SNSECONDS_T_TYPE): Likewise.
49455         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49456         (__SNSECONDS_T_TYPE): Likewise.
49457         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49458         (__SNSECONDS_T_TYPE): Likewise.
49460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49462         * sysdeps/mach/hurd/bits/typesizes.h
49463         (__SYSCALL_SLONG_TYPE): New macro.
49464         (__SYSCALL_ULONG_TYPE): Likewise.
49466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49468         * bits/types.h (__syscall_slong_t): New type.
49469         (__syscall_ulong_t): Likewise.
49471         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49472         (__SYSCALL_ULONG_TYPE): Likewise.
49473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49474         (__SYSCALL_SLONG_TYPE): Likewise.
49475         (__SYSCALL_ULONG_TYPE): Likewise.
49476         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49477         (__SYSCALL_SLONG_TYPE): Likewise.
49478         (__SYSCALL_ULONG_TYPE): Likewise.
49479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49480         (__SYSCALL_SLONG_TYPE): Likewise.
49481         (__SYSCALL_ULONG_TYPE): Likewise.
49483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49485         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49486         Add sigaltstack-offsets.sym.
49487         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49488         <sigaltstack-offsets.h>.
49489         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49490         longjmp_msg pointer.
49491         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49492         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49493         signal stack.
49494         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49496 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49498         * elf/stackguard-macros.h: Remove file.
49499         * sysdeps/generic/stackguard-macros.h: New file.
49500         * sysdeps/i386/stackguard-macros.h: Likewise.
49501         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49502         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49503         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49504         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49505         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49506         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49507         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49508         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49509         <elf/stackguard-macros.h>.
49511         [BZ #14109]
49512         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49513         __aligned__ in attribute.
49514         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49515         (gregset_t): Likewise.
49517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49519         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49520         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49521         * sysdeps/x86_64/x32/Implies-after: New file.
49523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49525         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49526         and access return value for _dl_profile_fixup.  Use R10_LP to
49527         load frame size.
49529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49531         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49535         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49536         * sysdeps/x86_64/x32/sysdep.h: New file.
49538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49540         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49541         * sysdeps/x86_64/setjmp.S: Likewise.
49543 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49545         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49546         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49547         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49548         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49549         remove unused global constant.
49551 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49553         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49554         include of <not-cancel.h>.
49556 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49558         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49560 2012-05-15  Jeff Law  <law@redhat.com>
49561             Andreas Jaeger  <aj@suse.de>
49563         [BZ #13594]
49564         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49565         out from...
49566         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49567         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49568         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49569         code changing __hst_map_handle.map.
49571 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49573         * configure.in (sysnames): Look for Implies-before and Implies-after
49574         files.
49575         * configure: Regenerated.
49577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49579         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49580         8-byte data alignment with LP_SIZE alignment.
49582 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49584         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49585         into R10_LP.
49587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49589         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49593         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49594         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49595         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49596         Likewise.
49597         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49601         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49602         (stackinfo_sub_sp): Likewise.
49604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49606         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49607         RAX_LP.
49609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49611         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49612         into R*_LP.
49614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49616         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49617         sizes into R*_LP.
49619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49621         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49625         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49626         into R11_LP and load __x86_64_shared_cache_size_half into
49627         R8_LP.
49629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49631         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49632         R8_LP.
49634 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49636         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49637         logb for POWER7.
49638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49639         logbf for POWER7.
49640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49641         logbl for POWER7.
49642         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49643         powerpc32/power7/fpu/s_logb.c via #include.
49644         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49645         powerpc32/power7/fpu/s_logbf.c via #include.
49646         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49647         powerpc32/power7/fpu/s_logbl.c via #include.
49649 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49651         * README.libm: Remove file.
49653 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49655         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49656         count for x32.  Use R*_LP and omit operand-size suffix.
49658 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49660         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49661         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49662         * sysdeps/x86_64/x32/shlib-versions: New file.
49664 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49666         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49667         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49668         Use _dl_fatal_printf instead.
49670 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49672         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49673         set if not set by the user.  Do not allow for being unset.
49674         * sysdeps/unix/sysv/linux/configure: Regenerated.
49676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49678         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49679         the `q' suffix from lea and replace .quad with ASM_ADDR.
49681 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49684         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49685         instead of $17.
49686         (PTR_DEMANGLE): Likewise.
49688 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49690         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49691         (LP_OP): Likewise.
49692         (ASM_ADDR): Likewise.
49693         (RAX_LP): Likewise.
49694         (RBP_LP): Likewise.
49695         (RBX_LP): Likewise.
49696         (RCX_LP): Likewise.
49697         (RDI_LP): Likewise.
49698         (RSI_LP): Likewise.
49699         (RSP_LP): Likewise.
49700         (R8_LP): Likewise.
49701         (R9_LP): Likewise.
49702         (R10_LP): Likewise.
49703         (R10_LP): Likewise.
49704         (R11_LP): Likewise.
49705         (R12_LP): Likewise.
49706         (R13_LP): Likewise.
49707         (R14_LP): Likewise.
49708         (R15_LP): Likewise.
49710 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49712         * sysdeps/x86_64/x32/dl-machine.h: New file.
49714 2012-05-14  Andreas Jaeger  <aj@suse.de>
49716         * manual/Makefile (subdir): Remove export of subdir.
49717         (all): Remove target.
49718         (.PHONY): Remove all from list.
49719         (mkinstalldirs): Remove.
49720         (.PHONY): Remove installdirs from list.
49721         ($(inst_infodir)/libc.info): Use make-target-directory.
49722         (installdirs): Remove.
49723         (subdir_%): Remove.
49724         (glibc-targets): Remove.
49725         (lib): Remove.
49726         (stubs): Remove.
49727         ($(objpfx)stubs ../po/manual.pot): Remove.
49728         ($(objpfx)stamp%): Remove.
49729         (make-target-directory): Remove.
49730         (subdir_install): Remove.
49731         (routines): Remove.
49732         (aux): Remove.
49733         (sources): Remove.
49734         (objects): Remove.
49735         (headers): Remove.
49737         [BZ #13750]
49738         * manual/.gitignore: Remove, it's not needed anymore.
49739         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49740         all files in it.
49741         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49742         directory.
49743         (texis): Renamed to $(objpfx)texis.
49744         (texis-path): New, contains path to generated files.
49745         (chapters.%): Use texis-path for complete path, add extra argument
49746         libc-texinfo.sh.
49747         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49748         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49749         (summary,texi, stamp-summary): Use complete path of
49750         files. Generate files in build dir.
49751         (dir-add.texi): Build in build dir.
49752         (libm-err.texi,stamp-libm-err): Likewise.
49753         (version.texi, stamp-version): Likewise.
49754         (.%c.texi): Likewise.
49755         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49756         (mostlyclean): Remove target.
49757         (realclean): Remove target.
49758         (generated): Add new variable with contents from mostlyclean and
49759         realclean, remove entries duplicated in common-mostlyclean, add
49760         stamp-libm-err and stamp-version.
49761         (generated-dirs): Add libc directory.
49762         ($(inst_infodir)/libc.info): Install files from build dir.
49764         * manual/install.texi (Configuring and compiling): Adjust since
49765         the info files are not part of the tar ball anymore.
49767 2012-05-14  Andreas Jaeger  <aj@suse.de>
49769         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49770         variable.
49772 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49774         [BZ #13717]
49775         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49776         to 2.2.0 where earlier.
49777         * sysdeps/unix/sysv/linux/configure: Regenerated.
49778         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49779         Remove conditional code.
49780         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49781         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49782         Remove conditional code.
49783         [!__NR_lchown]: Likewise.
49784         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49785         [__NR_lchown]: Likewise.
49786         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49787         comment referencing __ASSUME_LCHOWN_SYSCALL.
49788         * sysdeps/unix/sysv/linux/i386/sigaction.c
49789         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49790         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49791         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49792         Remove conditional code.
49793         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49794         (__protocol_available): Remove #if 0 code.
49795         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49796         conditional code.
49797         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49798         * sysdeps/unix/sysv/linux/kernel-features.h
49799         (__ASSUME_GETCWD_SYSCALL): Don't define.
49800         (__ASSUME_REALTIME_SIGNALS): Likewise.
49801         (__ASSUME_PREAD_SYSCALL): Likewise.
49802         (__ASSUME_PWRITE_SYSCALL): Likewise.
49803         (__ASSUME_POLL_SYSCALL): Likewise.
49804         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49805         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49806         non-SPARC.
49807         (__ASSUME_SIOCGIFNAME): Don't define.
49808         (__ASSUME_MSG_NOSIGNAL): Likewise.
49809         (__ASSUME_SENDFILE): Define unconditionally.
49810         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49811         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49812         conditional code.
49813         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49814         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49815         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49816         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49817         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49818         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49819         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49821         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49824         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49825         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49827         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49828         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49830         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49831         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49833         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49834         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49836         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49837         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49839         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49840         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49842         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49843         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49844         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49845         Remove conditional code.
49846         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49847         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49848         Remove conditional code.
49849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49850         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49851         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49852         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49853         Remove conditional code.
49854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49855         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49856         Remove conditional code.
49857         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49858         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49859         Remove conditional code.
49860         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49861         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49862         Remove conditional code.
49863         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49864         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49865         Remove conditional code.
49866         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49867         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49868         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49869         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49870         * sysdeps/unix/sysv/linux/sigaction.c
49871         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49872         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49873         * sysdeps/unix/sysv/linux/sigpending.c
49874         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49875         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49876         * sysdeps/unix/sysv/linux/sigprocmask.c
49877         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49878         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49879         * sysdeps/unix/sysv/linux/sigsuspend.c
49880         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49881         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49882         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49883         (__libc_missing_rt_sigs): Remove.
49884         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49885         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49886         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49887         Remove conditional code.
49888         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49889         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49890         return 1.
49891         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49892         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49893         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49894         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49896 2012-05-14  Andreas Jaeger  <aj@suse.de>
49898         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49899         it's not used in glibc.
49900         (__coshm1): Likewise.
49901         (__acosh1p): Likewise.
49902         (__sgn): Likewise.
49904         * manual/string.texi (Copying and Concatenation): Add missing
49905         variable in concat example.
49906         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49908 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49910         [BZ #14103]
49911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49912         __builtin_clzl with __builtin_clzll.
49914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49916         [BZ #14104]
49917         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49918         libc_freeres_ptr.
49920 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49922         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49923         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49924         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49925         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49927 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49929         * NEWS: Update ia64 info.
49931 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49933         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49934         used as bcopy.
49936 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49938         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49939         * sysdeps/unix/syscalls.list (dup3): Likewise.
49940         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49941         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49943 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49945         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49946         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49948 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49950         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49951         thread pointer.
49952         (TLS_IE): Use mov/add instead of movq/addq to load thread
49953         pointer.
49954         (TLS_GD_PREFIX): New.
49955         (TLS_GD): Use it.
49957 2012-05-11  David S. Miller  <davem@davemloft.net>
49959         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49960         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49961         (_FPU_SETCW): Likewise.
49963 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49965         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49966         is 32-byte aligned.
49968 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49970         [BZ #11837]
49971         * iconvdata/gb18030.c: Update tables.
49972         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49973         characters specially.
49974         (BODY for TO_LOOP): Add encoding of missing ranges.
49976 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49978         [BZ #13673]
49979         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49980         * sysdeps/mach/hurd/dup3.c: Likewise.
49981         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49982         * sysdeps/powerpc/memmove.c:: Likewise.
49984 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49986         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49987         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49989 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49991         * elf/elf.h (R_X86_64_RELATIVE64): New.
49992         (R_X86_64_NUM): Updated.
49993         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49994         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49995         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49996         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49997         tst-quad1pie tst-quad2pie
49998         (modules-names): Add tst-quadmod1 tst-quadmod2.
49999         ($(objpfx)tst-quad1): New dependency.
50000         ($(objpfx)tst-quad2): Likewise.
50001         ($(objpfx)tst-quad1pie): Likewise.
50002         ($(objpfx)tst-quad2pie): Likewise.
50003         * sysdeps/x86_64/tst-quad1.c: New file.
50004         * sysdeps/x86_64/tst-quad1pie.c: New file.
50005         * sysdeps/x86_64/tst-quad2.c: Likewise.
50006         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50007         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50008         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50009         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50010         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50012 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50014         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50015         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50016         * streams/stropts.h (t_scalar_t): Define type.
50018         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50019         (_PATH_PRESERVE): Set to "/var/lib".
50020         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50022         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50023         instead of int.
50025         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50026         if __dir_mkfile succeeded.
50028         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50029         checking for _hurd_dtablesize.  Unlock it right after having
50030         finished _hurd_dtable allocation.
50032 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50034         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50035         * sysdeps/mach/hurd/configure: Regenerated.
50036         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50037         special-casing to...
50038         * sysdeps/gnu/configure.in: ... this new file.
50039         * sysdeps/unix/sysv/linux/configure: Regenerated.
50040         * sysdeps/gnu/configure: New generated file.
50042         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50043         for Linux: use nsec instead of usec, as well as:
50044         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50045         members of type struct timespec.
50046         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50047         New macros.
50048         (struct stat64): Likewise.
50049         (_STATBUF_ST_NSEC): New macro.
50050         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50052         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50053         __strtoul_internal rather than strtoul.
50055 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50057         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50058         and reject them.
50060 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50062         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50063         which preserves existing values.
50064         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50066 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50068         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50069         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50070         greater than FD_SETSIZE.
50072 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50074         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50075         allocated, call __vm_protect to finish enabling the existing space, and
50076         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50077         allocate the remainder.
50079 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50081         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50082         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50084 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50086         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50087         sysdeps/mach/hurd/readlink.c.
50089         * posix/tst-sysconf.c (posix_options): Only use
50090         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50091         _POSIX_SYNCHRONIZED_IO when they are defined
50092         * sysdeps/mach/hurd/bits/posix_opt.h:
50093         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50094         (_XOPEN_REALTIME): Undefine macro.
50095         (_XOPEN_REALTIME_THREADS): Undefine macro.
50096         (_XOPEN_SHM): Undefine macro.
50097         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50098         macro to -1.
50099         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50100         macro to -1.
50101         (_POSIX_ASYNC_IO): Undefine macro.
50102         (_POSIX_PRIORITIZED_IO): Undefine macro.
50103         (_POSIX_SPIN_LOCKS): Define macro to -1.
50105         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50106         SA_NODEFER, SA_RESETHAND.
50107         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50108         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50109         F_DUPFD_CLOEXEC.
50111 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50113         * elf/Makefile (pldd-modules): Define unconditionally.
50115 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50117         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50119 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50121         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50122         Return ENOENT when name is empty.
50123         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50125 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50127         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50129         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50133         Fix mlock in all cases except non-readable pages.
50134         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50135         instead of VM_PROT_ALL as parameter to __vm_wire function.
50137         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50138         (__mkdir): When path is `/', just fail with EEXIST.
50139         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50141 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50143         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50144         <sys/uio.h> (for writev).
50145         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50146         and <sys/param.h> (for MIN).
50148 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50150         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50151         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50152         if interrupted.
50154 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50156         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50157         Depend on against $(link-rpcuserlibs).
50159 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50161         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50162         (__libc_stack_end): Do not use attribute_relro.
50163         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50164         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50165         to libthread-provided value.
50166         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50167         attribute_relro.
50169 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50171         [BZ #3748]
50172         * bits/libc-lock.h (__libc_once_get): New macro.
50173         * sysdeps/mach/bits/libc-lock.h: Likewise.
50174         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50175         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50176         instead of using implementation details.
50178         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50179         * libio/freopen.c: Likewise.
50180         * libio/freopen64.c: Likewise.
50181         * misc/syslog.c: Likewise.
50182         * nscd/connections.c: Likewise.
50183         * nscd/netgroupcache.c: Likewise.
50184         * sysdeps/posix/getcwd.c: Likewise.
50186 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50188         * math/w_ilogbf.c: Add #include <limits.h>.
50190 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50192         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50193         path instead of returning without unlocking.
50195         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50196         immediate-write ioctls.
50197         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50199 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50201         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50202         __builtin_frame_address instead of making assumptions about the
50203         location of the return address relative to DATA.  Force early load of
50204         the return address.
50205         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50206         __builtin_frame_address.
50208         dup3 for GNU Hurd.
50209         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50210         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50211         implement dup3 and do some further code clean-ups.
50212         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50213         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50217         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50219         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50220         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50221         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50222         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50223         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50224         d->port.lock.
50226         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50227         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50228         when handler == SIG_ERR, not when handler != SIG_ERR.
50230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50232         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50233         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50234         definitions.
50236         accept4 for GNU Hurd.
50237         * include/sys/socket.h (__libc_accept4): New prototype.
50238         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50239         to implement __libc_accept4.
50240         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50241         __libc_accept4.
50242         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50244         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50245         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50246         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50247         signal-defines.sym.
50249 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50251         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50253 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50255         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50256         assertion on O_CLOEXEC flag.
50257         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50258         * hurd/intern-fd.c: Likewise.
50259         * hurd/port2fd.c: Likewise.
50261 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50263         [BZ #3906]
50264         * bits/in.h (IPV6_PKTINFO): Define new macro.
50265         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50267 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50269         [BZ #13954]
50270         [BZ #13955]
50271         [BZ #13956]
50272         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50273         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50274         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50275         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50277         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50278         * math/libm-test.inc (logb_test) : Additional logb tests.
50280 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50281             Andreas Jaeger  <aj@suse.de>
50283         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50284         * configure: Regenerated.
50285         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50286         * config.make.in (link-obsolete-rpc): New substituted variable.
50287         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50288         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50289         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50290         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50291         so that libc.a contains the symbols.
50292         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50293         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50294         * sunrpc/auth_none.c: Likewise.
50295         * sunrpc/auth_unix.c: Likewise.
50296         * sunrpc/authdes_prot.c: Likewise.
50297         * sunrpc/authuxprot.c: Likewise.
50298         * sunrpc/clnt_gen.c: Likewise.
50299         * sunrpc/clnt_perr.c: Likewise.
50300         * sunrpc/clnt_raw.c: Likewise.
50301         * sunrpc/clnt_simp.c: Likewise.
50302         * sunrpc/clnt_tcp.c: Likewise.
50303         * sunrpc/clnt_udp.c: Likewise.
50304         * sunrpc/clnt_unix.c: Likewise.
50305         * sunrpc/des_crypt.c: Likewise.
50306         * sunrpc/des_soft.c: Likewise.
50307         * sunrpc/get_myaddr.c: Likewise.
50308         * sunrpc/key_call.c: Likewise.
50309         * sunrpc/key_prot.c: Likewise.
50310         * sunrpc/netname.c: Likewise.
50311         * sunrpc/pm_getmaps.c: Likewise.
50312         * sunrpc/pm_getport.c: Likewise.
50313         * sunrpc/pmap_clnt.c: Likewise.
50314         * sunrpc/pmap_prot.c: Likewise.
50315         * sunrpc/pmap_prot2.c: Likewise.
50316         * sunrpc/pmap_rmt.c: Likewise.
50317         * sunrpc/publickey.c: Likewise.
50318         * sunrpc/rpc_cmsg.c: Likewise.
50319         * sunrpc/rpc_common.c: Likewise.
50320         * sunrpc/rpc_dtable.c: Likewise.
50321         * sunrpc/rpc_prot.c: Likewise.
50322         * sunrpc/rpc_thread.c: Likewise.
50323         * sunrpc/rtime.c: Likewise.
50324         * sunrpc/svc.c: Likewise.
50325         * sunrpc/svc_auth.c: Likewise.
50326         * sunrpc/svc_raw.c: Likewise.
50327         * sunrpc/svc_run.c: Likewise.
50328         * sunrpc/svc_tcp.c: Likewise.
50329         * sunrpc/svc_udp.c: Likewise.
50330         * sunrpc/svc_unix.c: Likewise.
50331         * sunrpc/svcauth_des.c: Likewise.
50332         * sunrpc/xcrypt.c: Likewise.
50333         * sunrpc/xdr.c: Likewise.
50334         * sunrpc/xdr_array.c: Likewise.
50335         * sunrpc/xdr_float.c: Likewise.
50336         * sunrpc/xdr_intXX_t.c: Likewise.
50337         * sunrpc/xdr_mem.c: Likewise.
50338         * sunrpc/xdr_rec.c: Likewise.
50339         * sunrpc/xdr_ref.c: Likewise.
50340         * sunrpc/xdr_sizeof.c: Likewise.
50341         * sunrpc/xdr_stdio.c: Likewise.
50343 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50345         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50346         change.  Update copyright years.
50348 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50350         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50352 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50353             Joseph Myers  <joseph@codesourcery.com>
50354             Paul Pluzhnikov  <ppluzhnikov@google.com>
50356         [BZ #14012]
50357         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50358         requiring rpcgen.
50359         [cross-compiling] (extra-libs): Likewise.
50360         [cross-compiling] (extra-libs-others): Likewise.
50361         [cross-compiling] (librpcsvc-routines): Likewise.
50362         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50363         [cross-compiling] (omit-deps): Likewise.
50364         (sunrpc-CPPFLAGS): New variable.
50365         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50366         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50367         (cross-rpcgen-objs): New variable.
50368         (extra-objs): Append $(cross-rpcgen-objs).
50369         ($(cross-rpcgen-objs)): New rule.
50370         ($(objpfx)cross-rpcgen): Likewise.
50371         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50372         comment.
50373         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50374         ($(objpfx)x%.stmp): Likewise.
50375         * sunrpc/proto.h [IS_IN_build] (_): Define.
50376         [IS_IN_build] (_libc_intl_domainname): Likewise.
50378 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50381         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50382         and R_X86_64_TPOFF64.
50384 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50386         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50387         sysdeps/unix/sysv/syscalls.list.
50388         (stime): Likewise.
50389         (utime): Likewise.
50390         * sysdeps/unix/sysv/syscalls.list: Remove file.
50392 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50394         [BZ #3440]
50395         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50396         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50397         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50398         (__LC_IDENTIFICATION): Make these macros useful in #if
50399         expressions, as required by C99.
50401 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50403         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50404         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50405         after this.
50407 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50409         * stdlib/longlong.h: Updated from GCC.
50411 2012-05-09  Andreas Jaeger  <aj@suse.de>
50413         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50414         default is first entry.
50415         (run_mode): Set type.
50416         (main): Remove informal message about syslog.
50417         (options): Fix typo.
50419         [BZ #14053]
50420         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50421         to asm.
50422         (lrint): Likewise.
50423         (llrintf): Likewise.
50424         (llrint): Likewise.
50425         (rint): Likewise.
50426         (rintf): Likewise.
50427         (nearbyint): Likewise.
50428         (nearbyintf): Likewise.
50430 2012-05-09  Andreas Jaeger  <aj@suse.de>
50431             Pedro Alves  <palves@redhat.com>
50433         * nscd/nscd.c (run_mode): Use enum.
50434         (main): Cleanup coding style issue.
50436 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50437             Andreas Jaeger  <aj@suse.de>
50439         * nscd/nscd.c (go_background): Replaced with...
50440         (run_mode): ... this.
50441         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50442         (options): Add -F --foreground.
50443         (main): Implement it.
50444         (parse_opt): Parse it.
50446 2012-05-09  Andreas Jaeger  <aj@suse.de>
50448         [BZ #14083]
50449         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50450         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50451         -Wconversion warning.
50452         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50453         Likewise.
50455 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50457         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50458         == 0.
50459         (LC_ALL): Use macro-int-constant.
50460         (LC_COLLATE): Likewise.
50461         (LC_CTYPE): Likewise.
50462         (LC_MESSAGES): Likewise.
50463         (LC_MONETARY): Likewise.
50464         (LC_NUMERIC): Likewise.
50465         (LC_TIME): Likewise.
50466         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50467         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50469         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50470         Specify type.
50471         [C99-based standards] (float_t): Expect type.
50472         [C99-based standards] (double_t): Expect type.
50473         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50474         type.
50475         [C99-based standards] (HUGE_VALL): Likewise.
50476         [C99-based standards] (INFINITY): Likewise.
50477         [C99-based standards] (NAN): Likewise.
50478         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50479         [C99-based standards] (FP_NAN): Likewise.
50480         [C99-based standards] (FP_NORMAL): Likewise.
50481         [C99-based standards] (FP_SUBNORMAL): Likewise.
50482         [C99-based standards] (FP_ZERO): Likewise.
50483         [C99-based standards] (FP_FAST_FMA): Use
50484         optional-macro-int-constant.  Specify type.  Require == 1.
50485         [C99-based standards] (FP_FAST_FMAF): Likewise.
50486         [C99-based standards] (FP_FAST_FMAL): Likewise.
50487         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50488         [C99-based standards] (FP_ILOGBNAN): Likewise.
50489         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50490         Specify type.
50491         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50492         [C99-based standards] (math_errhandling): Specify type.
50493         [ISO99 || ISO11] (signgam): Do not allow.
50494         [non-C99-based standards] (copysignf): Do not allow.
50495         [non-C99-based standards] (exp2f): Likewise.
50496         [non-C99-based standards] (log2f): Likewise.
50497         [non-C99-based standards] (modff): Allow.
50498         [non-C99-based standards] (erff): Do not allow.
50499         [non-C99-based standards] (erfcf): Likewise.
50500         [non-C99-based standards] (gammaf): Likewise.
50501         [non-C99-based standards] (hypotf): Likewise.
50502         [non-C99-based standards] (j0f): Likewise.
50503         [non-C99-based standards] (j1f): Likewise.
50504         [non-C99-based standards] (jnf): Likewise.
50505         [non-C99-based standards] (lgammaf): Likewise.
50506         [non-C99-based standards] (tgammaf): Likewise.
50507         [non-C99-based standards] (y0f): Likewise.
50508         [non-C99-based standards] (y1f): Likewise.
50509         [non-C99-based standards] (ynf): Likewise.
50510         [non-C99-based standards] (isnanf): Likewise.
50511         [non-C99-based standards] (acoshf): Likewise.
50512         [non-C99-based standards] (asinhf): Likewise.
50513         [non-C99-based standards] (atanhf): Likewise.
50514         [non-C99-based standards] (cbrtf): Likewise.
50515         [non-C99-based standards] (expm1f): Likewise.
50516         [non-C99-based standards] (ilogbf): Likewise.
50517         [non-C99-based standards] (log1pf): Likewise.
50518         [non-C99-based standards] (logbf): Likewise.
50519         [non-C99-based standards] (nextafterf): Likewise.
50520         [non-C99-based standards] (remainderf): Likewise.
50521         [non-C99-based standards] (rintf): Likewise.
50522         [non-C99-based standards] (scalbf): Likewise.
50523         [non-C99-based standards] (copysignl): Likewise.
50524         [non-C99-based standards] (exp2l): Likewise.
50525         [non-C99-based standards] (log2l): Likewise.
50526         [non-C99-based standards] (modfl): Allow.
50527         [non-C99-based standards] (erfl): Do not allow.
50528         [non-C99-based standards] (erfcl): Likewise.
50529         [non-C99-based standards] (gammal): Likewise.
50530         [non-C99-based standards] (hypotl): Likewise.
50531         [non-C99-based standards] (j0l): Likewise.
50532         [non-C99-based standards] (j1l): Likewise.
50533         [non-C99-based standards] (jnl): Likewise.
50534         [non-C99-based standards] (lgammal): Likewise.
50535         [non-C99-based standards] (tgammal): Likewise.
50536         [non-C99-based standards] (y0l): Likewise.
50537         [non-C99-based standards] (y1l): Likewise.
50538         [non-C99-based standards] (ynl): Likewise.
50539         [non-C99-based standards] (isnanl): Likewise.
50540         [non-C99-based standards] (acoshl): Likewise.
50541         [non-C99-based standards] (asinhl): Likewise.
50542         [non-C99-based standards] (atanhl): Likewise.
50543         [non-C99-based standards] (cbrtl): Likewise.
50544         [non-C99-based standards] (expm1l): Likewise.
50545         [non-C99-based standards] (ilogbl): Likewise.
50546         [non-C99-based standards] (log1pl): Likewise.
50547         [non-C99-based standards] (logbl): Likewise.
50548         [non-C99-based standards] (nextafterl): Likewise.
50549         [non-C99-based standards] (remainderl): Likewise.
50550         [non-C99-based standards] (rintl): Likewise.
50551         [non-C99-based standards] (scalbl): Likewise.
50552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50553         [non-C99-based standards] (FP_*): Do not allow.
50554         [C99-based standards] (FP_*): Change to
50555         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50556         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50557         allow.
50558         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50559         (SIG_ERR): Likewise.
50560         [X/Open-based standards] (SIG_HOLD): Likewise.
50561         (SIG_IGN): Likewise.
50562         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50563         positive value.
50564         (SIGFPE): Likewise.
50565         (SIGILL): Likewise.
50566         (SIGINT): Likewise.
50567         (SIGSEGV): Likewise.
50568         (SIGTER): Likewise.
50569         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50570         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50571         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50572         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50573         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50574         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50575         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50576         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50577         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50578         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50579         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50580         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50581         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50582         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50583         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50584         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50585         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50586         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50587         [X/Open-based standards] (SIGTRAP): Likewise.
50588         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50589         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50590         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50591         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50592         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50593         allow.
50595 2012-05-08  Ian Wienand  <ianw@vmware.com>
50597         [BZ #14080]
50598         * time/tzset.c (__tzset_parse_tz): Update default rules for
50599         daylight time changes in the Energy Policy Act of 2005.
50601 2012-05-09  Andreas Jaeger  <aj@suse.de>
50603         [BZ #13983]
50604         * elf/ldconfig.c (parse_conf): Change string to make clear that
50605         ldconfig only issued a warning if ld.so.conf does not exist.
50607 2012-05-08  David S. Miller  <davem@davemloft.net>
50609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50610         movxtod instead of popping the value on the stack.
50612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50614 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50616         * config.h.in: Add HAVE_ARM_PCS_VFP.
50618 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50620         [BZ #13979]
50621         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50622         checking but the checks are disabled for any reason.
50624 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50626         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50627         and ELF64_R_TYPE with ELFW(R_TYPE).
50629 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50631         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50632         (ulimit): Likewise.
50634         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50635         (settimeofday): Likewise.
50637 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50639         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50640         a struct th_u2 inside the union, and move tu_block/tu_code into
50641         a new th_u3 union of tu_block/tu_code inside of that.  Move
50642         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50643         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50644         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50645         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50646         (th_stuff): Change to th_u1.tu_stuff.
50647         (th_data): Define.
50648         (th_msg): Change to th_u1.th_u2.tu_data.
50650 2012-05-07  David S. Miller  <davem@davemloft.net>
50652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50654         [BZ #14074]
50655         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50656         (SETUP_PIC_REG): Use it.
50657         (SETUP_PIC_REG_LEAF): Use it.
50659 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50661         [BZ #13885]
50662         [BZ #13923]
50663         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50664         USE_AS_EXPM1L.
50665         (EXPL_FINITE): Likewise.
50666         (FLDLOG): Likewise.
50667         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50668         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50669         e_expl.S.
50670         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50671         USE_AS_EXPM1L.
50672         (EXPL_FINITE): Likewise.
50673         (FLDLOG): Likewise.
50674         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50675         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50676         e_expl.S.
50677         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50678         test of -max_value argument for long double.
50679         * sysdeps/i386/fpu/libm-test-ulps: Update.
50680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50682 2012-05-06  David S. Miller  <davem@davemloft.net>
50684         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50685         quad soft-float symbols whose references which are compiler
50686         generated.
50687         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50689 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50691         [BZ #13884]
50692         [BZ #13914]
50693         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50694         USE_AS_EXP10L.
50695         (EXPL_FINITE): Likewise.
50696         (FLDLOG): Likewise.
50697         (c0): Likewise.
50698         (c1): Likewise.
50699         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50700         Adjust comments for base varying.
50701         (__expl_finite): Change alias to EXPL_FINITE.
50702         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50703         e_expl.S.
50704         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50705         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50706         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50707         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50708         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50709         USE_AS_EXP10L.
50710         (EXPL_FINITE): Likewise.
50711         (FLDLOG): Likewise.
50712         (c0): Likewise.
50713         (c1): Likewise.
50714         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50715         Adjust comments for base varying.
50716         (__expl_finite): Change alias to EXPL_FINITE.
50717         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50718         tests for bugs.
50719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50721         [BZ #14064]
50722         * math/libm-test.inc (check_float_internal): Correct ulp
50723         calculation for subnormal expected results.
50725 2012-05-06  Andreas Jaeger  <aj@suse.de>
50727         * Makeconfig (+math-flags): New, set to -frounding-math.
50728         (+cflags): Add +math-flags so that all of glibc gets compiled with
50729         it.
50731         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50733 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50735         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50736         Disable one test.
50738         [BZ #13787]
50739         [BZ #13922]
50740         [BZ #14036]
50741         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50742         (__ieee754_expl): Allow for and saturate large arguments.
50743         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50744         (u_threshold): Likewise.
50745         (__exp): Call __ieee754_exp before checking for overflow and
50746         underflow.
50747         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50748         (u_threshold): Likewise.
50749         (__expf): Call __ieee754_expf before checking for overflow and
50750         underflow.
50751         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50752         (u_threshold): Likewise.
50753         (__expl): Call __ieee754_expl before checking for overflow and
50754         underflow.
50755         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50756         (__ieee754_expl): Allow for and saturate large arguments.
50757         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50758         missing overflow exception on overflow.
50759         (expm1_test): Do not allow missing overflow exception on overflow.
50761         * sysdeps/i386/fpu/e_expl.c: Move to ...
50762         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50763         rather than using inline asm.
50764         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50765         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50766         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50768         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50769         (nice): Likewise.
50770         (poll): Likewise.
50771         (signal): Likewise.
50772         (time): Likewise.
50773         (times): Likewise.
50775 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50777         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50778         sysdeps/unix/common/syscalls.list.
50779         (fchmod): Likewise.
50780         (fchown): Likewise.
50781         (ftruncate): Likewise.
50782         (getrusage): Likewise.
50783         (gettimeofday): Likewise.
50784         (setpgid): Likewise.
50785         (setregid): Likewise.
50786         (setreuid): Likewise.
50787         (sigaction): Likewise.
50788         (truncate): Likewise.
50789         (vhangup): Likewise.
50790         * sysdeps/unix/common/syscalls.list: Remove file.
50791         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50792         * sysdeps/unix/sysv/linux/Implies: Likewise.
50794 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50796         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50798         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50799         Moved to ...
50800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50801         Here.
50802         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50803         to ...
50804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50805         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50806         to ...
50807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50808         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50809         to ...
50810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50811         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50812         to ...
50813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50814         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50815         to ...
50816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50817         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50818         to ...
50819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50820         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50821         to ...
50822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50823         Here.
50824         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50825         to ...
50826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50827         Here.
50828         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50829         to ...
50830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50831         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50832         Moved to ...
50833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50834         Here.
50835         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50836         to ...
50837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50839 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50841         * sysdeps/unix/common/bits/dirent.h: Remove file.
50842         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50844         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50845         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50846         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50847         * sysdeps/unix/bsd/isatty.c: Likewise.
50848         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50849         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50850         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50852 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50854         [BZ #13563]
50855         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50856         long double comparison inaccuracies.
50857         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50860 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50862         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50863         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50865 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50867         [BZ #14049]
50868         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50869         nonzero digits before rounding a hex value.
50870         * stdlib/tst-strtod.c (tests): Add another test.
50872 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50874         * sysdeps/s390/fpu/libm-test-ulps: Update.
50876 2012-05-03  Andreas Jaeger  <aj@suse.de>
50878         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50879         does not get optimized out.
50880         (malloc_opt_barrier): New.
50882 2012-05-03  Andreas Jaeger  <aj@suse.de>
50883             Roland McGrath  <roland@hack.frob.com>
50885         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50886         intermediate file deletion.
50887         (generated): Add .symlist files.
50889 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50891         [BZ #13775]
50892         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50893         Redirect under this condition.
50894         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50895         [__USE_GNU] (__dprintf_chk): Not under this condition.
50896         [__USE_GNU] (__vdprintf_chk): Likewise.
50897         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50898         under this condition.
50899         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50900         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50901         [__USE_XOPEN2K8] (vdprintf): Likewise.
50902         [__USE_GNU] (__dprintf_chk): Not under this condition.
50903         [__USE_GNU] (__vdprintf_chk): Likewise.
50904         [__USE_GNU] (dprintf): Likewise.
50905         [__USE_GNU] (vdprintf): Likewise.
50907 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50909         * elf/Makefile (common-generated): Set this instead of generated for
50910         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50911         $(all-built-dso)-derived lists.
50913 2012-05-03  Andreas Jaeger  <aj@suse.de>
50915         * sysdeps/i386/fpu/libm-test-ulps: Update.
50917         * FAQ: Removed.
50918         * FAQ.in: Likewise.
50919         * scripts/gen-FAQ.pl: Likewise.
50920         * manual/install.texi (Installation): Point to online location of
50921         FAQ.
50922         * Makefile (files-for-dist): Remove FAQ.
50923         (FAQ): Remove.
50925 2012-05-02  Allan McRae  <allan@archlinux.org>
50927         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50928         (LDFLAGS-reldepmod5.so): Likewise.
50929         (LDFLAGS-reldep6mod1.so): Likewise.
50930         (LDFLAGS-reldep6mod4.so): Likewise.
50931         (LDFLAGS-reldep8mod3.so): Likewise.
50932         (LDFLAGS-unload4mod1.so): Likewise.
50933         (LDFLAGS-unload4mod2.so): Likewise.
50934         (LDFLAGS-tst-initorder): Likewise.
50935         (LDFLAGS-tst-initordera2.so): Likewise.
50936         (LDFLAGS-tst-initordera3.so): Likewise.
50937         (LDFLAGS-tst-initordera4.so): Likewise.
50938         (LDFLAGS-tst-initorderb2.so): Likewise.
50939         (LDFLAGS-noload): Likewise.
50940         (LDFLAGS-next): Likewise.
50941         (LDFLAGS-order2mod1.so): Likewise.
50942         (LDFLAGS-order2mod2.so): Likewise.
50943         (LDFLAGS-tst-initorder2): Likewise.
50944         (LDFLAGS-tst-initorder2a.so): Likewise.
50945         (LDFLAGS-tst-initorder2b.so): Likewise.
50946         (LDFLAGS-tst-initorder2c.so): Likewise.
50947         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50949 2012-05-02  David S. Miller  <davem@davemloft.net>
50951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50953 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50955         [BZ #14055]
50956         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50958 2012-05-02  Andreas Jaeger  <aj@suse.de>
50960         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50961         since we manipulate rounding mode.
50962         (CPPFLAGS-test-idouble.c): Likewise.
50963         (CPPFLAGS-test-ifloat.c): Likewise.
50964         (CFLAGS-test-ldouble.c): Likewise.
50965         (CFLAGS-test-double.c): Likewise.
50966         (CFLAGS-test-float.c): Likewise.
50967         (CFLAGS-test-misc.c): Likewise.
50968         (CFLAGS-test-test-fenv.c): Likewise.
50970 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50972         [BZ #2550]
50973         [BZ #2570]
50974         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50975         comparisons to determine direction to adjust input.
50977 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50979         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50980         output to the target.
50982         * scripts/localplt.awk: New file.
50983         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50984         (check-localplt-CFLAGS): Variable removed.
50985         ($(all-built-dso:=.jmprel)): New static pattern rule.
50986         (generated): Add those targets.
50987         (localplt-built-dso): New variable.
50988         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50990         * elf/check-localplt.c: File removed.
50992         * scripts/check-execstack.awk: New file.
50993         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50994         (check-execstack-CFLAGS): Variable removed.
50995         ($(objpfx)check-execstack.h): Target removed.
50996         ($(objpfx)execstack-default): New target.
50997         (generated): Add that instead of check-execstack.h.
50998         ($(all-built-dso:=.phdr)): New static pattern rule.
50999         (generated): Add those targets.
51000         * elf/check-execstack.c: File removed.
51002         * scripts/check-textrel.awk: New file.
51003         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51004         (check-textrel-CFLAGS): Variable removed.
51005         (all-built-dso): Use := to define.o
51006         ($(all-built-dso:=.dyn)): New static pattern rule.
51007         (generated): Add those targets.
51008         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51009         * config.make.in (READELF): New substituted variable.
51010         * elf/check-textrel.c: File removed.
51012 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51014         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51015         allow.
51016         * conform/data/ctype.h-data [C99-based standards] (isblank):
51017         Expect function.
51018         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51019         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51020         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51021         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51022         Specify type.  Require positive value.
51023         (EILSEQ): Likewise.
51024         (ERANGE): Likewise.
51025         [ISO || POSIX] (EILSEQ): Do not expect.
51026         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51027         Specify type.  Require positive value.
51028         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51029         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51030         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51031         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51032         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51033         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51034         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51035         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51036         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51037         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51038         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51039         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51040         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51041         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51042         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51043         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51044         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51045         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51046         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51047         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51048         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51049         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51050         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51051         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51052         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51053         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51054         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51055         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51056         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51057         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51058         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51059         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51060         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51061         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51062         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51063         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51064         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51065         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51066         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51067         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51068         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51069         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51070         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51071         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51072         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51073         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51074         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51075         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51076         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51077         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51078         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51079         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51080         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51081         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51082         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51083         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51084         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51085         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51086         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51087         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51088         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51089         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51090         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51091         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51092         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51093         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51094         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51095         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51096         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51097         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51098         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51099         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51100         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51101         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51102         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51103         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51104         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51105         Require >= 2.
51106         (FLT_ROUNDS): Expect as macro, not constant.
51107         (FLT_MANT_DIG): Use macro-int-constant.
51108         (DBL_MANT_DIG): Likewise.
51109         (LDBL_MANT_DIG): Likewise.
51110         (FLT_DIG): Likewise.
51111         (DBL_DIG): Likewise.
51112         (LDBL_DIG): Likewise.
51113         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51114         (DBL_MIN_EXP): Likewise.
51115         (LDBL_MIN_EXP): Likewise.
51116         (FLT_MAX_EXP): Use macro-int-constant.
51117         (DBL_MAX_EXP): Likewise.
51118         (LDBL_MAX_EXP): Likewise.
51119         (FLT_MAX_10_EXP): Likewise.
51120         (DBL_MAX_10_EXP): Likewise.
51121         (LDBL_MAX_10_EXP): Likewise.
51122         (FLT_MAX): Use macro-constant.
51123         (DBL_MAX): Likewise.
51124         (LDBL_MAX): Likewise.
51125         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51126         (DBL_EPSILON): Likewise.
51127         (LDBL_EPSILON): Likewise.
51128         (FLT_MIN): Likewise.
51129         (DBL_MIN): Likewise.
51130         (LDBL_MIN): Likewise.
51131         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51132         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51133         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51134         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51135         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51136         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51137         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51138         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51139         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51140         [ISO11] (FLT_TRUE_MIN): Likewise.
51141         [ISO11] (LDBL_TRUE_MIN): Likewise.
51142         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51143         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51144         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51145         (SCHAR_MAX): Likewise.
51146         (UCHAR_MAX): Likewise.
51147         (CHAR_MIN): Likewise.
51148         (CHAR_MAX): Likewise.
51149         (MB_LEN_MAX): Use macro-int-constant.
51150         (SHRT_MIN): Use macro-int-constant.  Specify type.
51151         (SHRT_MAX): Likewise.
51152         (USHRT_MAX): Likewise.
51153         (INT_MAX): Likewise.
51154         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51155         bound negative.
51156         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51157         bound with "U".
51158         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51159         bound with "L".
51160         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51161         bound negative.  Suffix upper bound with "L".
51162         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51163         bound with "UL".
51164         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51165         Specify type.
51166         [C99-based standards] (LLONG_MAX): Likewise.
51167         [C99-based standards] (ULLONG_MAX): Likewise.
51168         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51169         == 0.
51170         [ISO11] (max_align_t): Require type.
51171         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51173         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51174         from $CFLAGS, without defining away __attribute__ calls.
51175         (checknamespace): Use $CFLAGS_namespace.
51177         * conform/conformtest.pl (@keywords): Only include C99 keywords
51178         for standards based on C99 or C11.
51180         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51181         Disable tests.
51182         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51183         UNIX98]: Likewise.
51185         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51186         usability of symbols in #if.
51188         * conform/conformtest.pl: If macro or constant types start
51189         "promoted:", expect the symbol to be of the following type
51190         promoted by the integer promotions.
51192         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51193         in one place.  Also handle "macro-constant".
51195         * conform/conformtest.pl: Only accept expected macro values with
51196         "==".  Parse all "macro" lines in one place.
51197         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51199         * conform/conformtest.pl: Handle braced types on "constant" lines
51200         instead of handling "typed-constant".
51201         * conform/data/signal.h-data: Use "constant" instead of
51202         "typed-constant".
51204         * conform/conformtest.pl: Handle "optional-" at start of lines in
51205         one place rather than duplicating several cases.  Handle each
51206         format of "macro" line with initial "optional-".
51208         * conform/conformtest.pl: Only accept expected constant or
51209         optional-constant values with "==".  Parse all "constant" lines in
51210         one place.  Parse all "optional-constant" lines in one place.
51211         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51212         * conform/data/fmtmsg.h-data: Likewise.
51213         * conform/data/netinet/in.h-data: Likewise.
51214         * conform/data/tar.h-data: Likewise.
51215         * conform/data/limits.h-data: Use "==" form on "constant" and
51216         "optional-constant" lines.
51218         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51219         Use -std=c99 for XOPEN2K.
51220         (@knownproblems): Remove.
51221         (newtoken): Don't check %isknown.
51223         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51224         Do not expect macro.
51225         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51226         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51227         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51228         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51229         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51230         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51231         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51232         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51233         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51234         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51235         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51236         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51237         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51238         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51239         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51240         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51241         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51242         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51243         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51244         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51245         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51246         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51247         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51248         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51249         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51250         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51251         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51252         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51253         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51254         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51255         [XPG3] (acosh): Likewise.
51256         [XPG3] (asinh): Likewise.
51257         [XPG3] (atanh): Likewise.
51258         [XPG3] (cbrt): Likewise.
51259         [XPG3] (expm1): Likewise.
51260         [XPG3] (ilogb): Likewise.
51261         [XPG3] (log1p): Likewise.
51262         [XPG3] (logb): Likewise.
51263         [XPG3] (nextafter): Likewise.
51264         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51265         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51266         [XPG3] (remainder): Likewise.
51267         [XPG3] (rint): Likewise.
51268         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51269         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51270         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51271         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51272         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51273         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51274         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51275         [UNIX98 || XOPEN2K] (scalb): Expect.
51276         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51277         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51278         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51279         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51280         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51281         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51282         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51283         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51284         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51285         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51286         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51287         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51288         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51289         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51290         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51291         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51292         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51293         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51294         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51295         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51296         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51297         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51298         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51299         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51300         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51301         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51302         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51303         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51304         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51305         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51306         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51307         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51308         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51309         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51310         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51311         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51312         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51313         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51314         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51315         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51316         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51317         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51318         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51319         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51320         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51321         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51322         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51323         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51324         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51325         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51326         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51327         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51328         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51329         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51330         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51331         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51332         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51333         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51334         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51335         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51336         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51337         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51338         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51339         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51340         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51341         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51342         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51343         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51344         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51345         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51346         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51347         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51348         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51349         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51350         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51351         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51352         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51353         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51354         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51355         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51356         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51357         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51358         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51359         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51360         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51361         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51362         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51363         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51364         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51365         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51366         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51367         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51368         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51369         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51370         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51371         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51372         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51373         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51374         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51375         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51376         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51377         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51378         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51379         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51380         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51381         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51382         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51383         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51384         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51385         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51386         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51387         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51388         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51389         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51390         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51391         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51392         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51393         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51394         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51395         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51396         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51397         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51398         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51399         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51400         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51401         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51402         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51403         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51404         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51405         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51406         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51407         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51408         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51409         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51410         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51411         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51412         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51414         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51415         _XOPEN_SOURCE_EXTENDED for XPG4.
51417         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51419         * Makeconfig (localtime): Remove variable.
51420         (inst_localtime-file): Likewise.
51422 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51425         Update.
51426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51427         Update.
51428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51429         Update.
51430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51431         Update.
51432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51433         Update.
51434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51435         Update.
51436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51437         Update.
51438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51439         Update.
51440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51441         Update.
51443 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51445         [BZ #2550]
51446         [BZ #2570]
51447         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51448         comparisons to determine direction to adjust input.
51449         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51450         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51451         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51452         Likewise.
51453         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51454         Likewise.
51455         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51456         Likewise.
51457         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51458         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51459         Likewise.
51460         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51461         Likewise.
51462         * math/libm-test.inc (nexttoward_test): Add more tests.
51464 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51466         [BZ #14040]
51467         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51468         in version GLIBC_2.1, not GLIBC_2.0.
51469         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51470         Likewise.
51472 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51474         [BZ #13942]
51475         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51476         (1 - x) * (1 + x).
51477         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51478         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51479         * math/libm-test.inc (acos_test): Add more tests.
51480         (asin_test): Likewise.
51481         * sysdeps/i386/fpu/libm-test-ulps: Update.
51482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51484         [BZ #14034]
51485         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51486         of square root.
51487         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51488         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51489         * math/libm-test.inc (acos_test_tonearest): New function.
51490         (acos_test_towardzero): Likewise.
51491         (acos_test_downward): Likewise.
51492         (acos_test_upward): Likewise.
51493         (asin_test_tonearest): Likewise.
51494         (asin_test_towardzero): Likewise.
51495         (asin_test_downward): Likewise.
51496         (asin_test_upward): Likewise.
51497         (main): Call the new functions.
51498         * sysdeps/i386/fpu/libm-test-ulps: Update.
51499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51501         [BZ #13884]
51502         [BZ #13924]
51503         * math/e_exp10.c: Include <float.h>.
51504         (__ieee754_exp10): Handle underflow here rather than multiplying
51505         large negative argument by M_LN10.
51506         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51507         of __ieee754_expf.
51508         * math/e_exp10l.c: Include <float.h>.
51509         (__ieee754_exp10l): Handle underflow here rather than multiplying
51510         large negative argument by M_LN10l.
51511         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51512         spurious overflow exception on underflow.
51514 2012-04-29  Marek Polacek  <polacek@redhat.com>
51516         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51517         (__fortify_function): New macro.
51518         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51519         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51520         __extern_always_inline.
51521         * libio/bits/stdio2.h: Likewise.
51522         * libio/bits/stdio.h: Likewise.
51523         * string/string.h: Likewise.
51524         * string/bits/string3.h: Likewise.
51525         * include/stdio.h: Likewise.
51526         * stdlib/bits/stdlib.h: Likewise.
51527         * stdlib/stdlib.h: Likewise.
51528         * rt/bits/mqueue2.h: Likewise.
51529         * rt/mqueue.h: Likewise.
51530         * posix/bits/unistd.h: Likewise.
51531         * posix/unistd.h: Likewise.
51532         * io/bits/poll2.h: Likewise.
51533         * io/bits/fcntl2.h: Likewise.
51534         * io/fcntl.h: Likewise.
51535         * io/sys/poll.h: Likewise.
51536         * misc/bits/syslog.h: Likewise.
51537         * misc/bits/syslog-ldbl.h: Likewise.
51538         * misc/sys/syslog.h: Likewise.
51539         * socket/bits/socket2.h: Likewise.
51540         * socket/sys/socket.h: Likewise.
51541         * debug/tst-chk1.c: Likewise.
51542         * wcsmbs/bits/wchar2.h: Likewise.
51543         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51544         * wcsmbs/wchar.h: Likewise.
51546 2012-04-29  Andreas Jaeger  <aj@suse.de>
51548         * Makerules (tests): Remove enable-check-abi protection.
51549         (check-abi-warn): Remove.
51550         (check-abi-%): Remove check-abi-warn usage.
51552         * configure.in: Remove check-abi configure option.
51553         * configure: Regenerated.
51554         * config.make.in (enable-check-abi): Remove.
51556 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51558         [BZ #14033]
51559         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51560         double functions to double *_finite functions.
51562         [BZ #13941]
51563         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51564         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51565         LDBL_MIN_EXP.
51566         * stdio-common/Makefile (tests): Add tst-sprintf3.
51567         * stdio-common/tst-sprintf3.c: New file.
51569         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51570         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51572 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51574         * conform/conformtest.pl: Remove duplicate typed-constant
51575         handling.
51577 2012-04-28  David S. Miller  <davem@davemloft.net>
51579         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51580         (check-abi-%): Remove AWK script prerequisite and explicit
51581         abilist directory.
51582         (check-abi): Rewrite to just diff the symlist with the abilist.
51583         (config-tls, config-abi-config): Delete, no longer used.
51584         (update-abi-%): Remove AWK script and explicit abilist directory.
51585         (update-abi): Rewrite to simply compare and conditionally copy the
51586         symlist and the sysdep abilist file.  Remove update-abi-config
51587         checks.
51588         * abilist/ld.abilist: Remove.
51589         * abilist/libBrokenLocale.abilist: Remove.
51590         * abilist/libanl.abilist: Remove.
51591         * abilist/libcrypt.abilist: Remove.
51592         * abilist/libdl.abilist: Remove.
51593         * abilist/librt.abilist: Remove.
51594         * abilist/libthread_db.abilist: Remove.
51595         * abilist/libutil.abilist: Remove.
51596         * scripts/extract-abilist.awk: Remove.
51597         * scripts/merge-abilist.awk: Remove.
51598         * sysdeps/generic/libcidn.abilist: New file.
51599         * sysdeps/generic/libnss_compat.abilist: New file.
51600         * sysdeps/generic/libnss_db.abilist: New file.
51601         * sysdeps/generic/libnss_dns.abilist: New file.
51602         * sysdeps/generic/libnss_files.abilist: New file.
51603         * sysdeps/generic/libnss_hesiod.abilist: New file.
51604         * sysdeps/generic/libnss_nis.abilist: New file.
51605         * sysdeps/generic/libnss_nisplus.abilist: New file.
51606         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51607         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51608         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51609         file.
51610         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51611         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51612         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51613         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51614         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51615         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51616         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51617         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51618         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51619         file.
51620         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51621         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51622         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51623         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51624         file.
51625         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51626         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51627         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51628         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51629         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51630         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51631         file.
51632         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51633         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51634         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51635         file.
51636         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51637         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51638         New file.
51639         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51640         New file.
51641         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51642         New file.
51643         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51644         New file.
51645         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51646         New file.
51647         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51648         New file.
51649         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51650         New file.
51651         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51652         New file.
51653         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51654         New file.
51655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51656         New file.
51657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51658         New file.
51659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51660         New file.
51661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51662         New file.
51663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51664         file.
51665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51666         New file.
51667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51668         New file.
51669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51670         file.
51671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51672         New file.
51673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51674         New file.
51675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51676         file.
51677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51678         New file.
51679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51680         New file.
51681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51682         New file.
51683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51684         New file.
51685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51686         New file.
51687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51688         New file.
51689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51691         file.
51692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51693         New file.
51694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51695         file.
51696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51697         file.
51698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51699         file.
51700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51701         file.
51702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51703         file.
51704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51705         New file.
51706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51707         file.
51708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51709         file.
51710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51711         New file.
51712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51713         file.
51714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51716         file.
51717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51718         New file.
51719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51720         file.
51721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51722         file.
51723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51724         file.
51725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51726         file.
51727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51728         file.
51729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51730         New file.
51731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51732         file.
51733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51734         file.
51735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51736         New file.
51737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51738         file.
51739         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51740         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51741         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51742         file.
51743         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51744         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51745         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51746         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51747         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51748         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51749         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51750         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51751         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51752         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51755         file.
51756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51757         New file.
51758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51759         file.
51760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51761         file.
51762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51763         file.
51764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51765         file.
51766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51767         file.
51768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51769         New file.
51770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51771         New file.
51772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51773         file.
51774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51775         New file.
51776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51777         file.
51778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51780         file.
51781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51782         New file.
51783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51784         file.
51785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51786         file.
51787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51788         file.
51789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51790         file.
51791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51792         file.
51793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51794         New file.
51795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51796         New file.
51797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51798         file.
51799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51800         New file.
51801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51802         file.
51804 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51806         * conform/conformtest.pl: Fix typo in handling typed-constant from
51807         allow-header.
51809 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51811         * README: Cut down references to pre-2.6 Linux kernels and
51812         Linuxthreads.  Update lists of configurations in libc and ports
51813         and sort alphabetically.  Say "or newer" with Linux kernel version
51814         requirements.
51816         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51818 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51820         [BZ #887]
51821         * math/libm-test.inc (logb_test_downward): New test to expose
51822         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51823         rounding mode.
51825 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51827         [BZ #14027]
51828         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51829         to be done.
51830         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51831         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51833 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51835         * sysdeps/unix/i386/brk.S: Remove file.
51836         * sysdeps/unix/i386/dl-brk.S: Likewise.
51837         * sysdeps/unix/i386/pipe.S: Likewise.
51838         * sysdeps/unix/i386/sigreturn.S: Likewise.
51839         * sysdeps/unix/i386/syscall.S: Likewise.
51840         * sysdeps/unix/i386/vfork.S: Likewise.
51841         * sysdeps/unix/i386/wait.S: Likewise.
51843         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51844         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51846         * configure.in (arm*-none*): Do not allow without
51847         --enable-hacker-mode.
51848         (netbsd*): Remove case setting base_os.
51849         (386bsd*): Likewise.
51850         (freebsd*): Likewise.
51851         (bsdi*): Likewise.
51852         (osf*): Likewise.
51853         (sunos*): Likewise.
51854         (ultrix*): Likewise.
51855         (newsos*): Likewise.
51856         (dynix*): Likewise.
51857         (*bsd*): Likewise.
51858         (sysv*): Likewise.
51859         (isc*): Likewise.
51860         (esix*): Likewise.
51861         (sco*): Likewise.
51862         (minix*): Likewise.
51863         (irix4*): Likewise.
51864         (irix6*): Likewise.
51865         (solaris[2-9]*): Likewise.
51866         (none): Likewise.
51867         * configure: Regenerated.
51869 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51871         [BZ #11521]
51872         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51873         overflow or cancellation in calculating denominator.
51874         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51875         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51876         down expression to avoid unexpected rounding in newer GCCs.
51877         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51879 2012-04-26  David S. Miller  <davem@davemloft.net>
51881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51882         long-double compat symbols.
51883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51897 2012-04-25  David S. Miller  <davem@davemloft.net>
51899         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51900         HWCAP_* values only after the memory barriers have been defined.
51901         (atomic_full_barrier): Define.
51902         (atomic_read_barrier): Define.
51903         (atomic_write_barrier): Define.
51905 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51907         * shlib-versions: Add libgcc_s version information.
51908         * sysdeps/generic/libgcc_s.h: Remove.
51909         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51910         libgcc_s.h.
51911         * sysdeps/gnu/unwind-resume.c: Likewise.
51912         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51914 2012-04-25  David S. Miller  <davem@davemloft.net>
51916         * sysdeps/unix/sparc/brk.S: Delete.
51917         * sysdeps/unix/sparc/dl-brk.S: Delete.
51918         * sysdeps/unix/sparc/pipe.S: Delete.
51919         * sysdeps/unix/sparc/sysdep.S: Delete.
51920         * sysdeps/unix/sparc/sysdep.h: Delete.
51921         * sysdeps/unix/sparc/vfork.S: Delete.
51922         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51923         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51924         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51925         (ret_ERRVAL, r0, r1, MOVE): Define.
51926         (JUMPTARGET): Remove.
51927         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51928         sysdeps/unix/sparc/sysdep.h
51929         (ENTRY, END): Remove.
51930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51932 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51934         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51935         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51936         -DIS_IN_build.
51938         * timezone/README: Update upstream location and email address for
51939         tzcode and tzdata.
51940         * timezone/zdump.c: Update from tzcode 2012b.
51941         * timezone/zic.c: Likewise.
51943         * configure.in (libc_cv_as_needed): Remove test.
51944         * configure: Regenerated.
51945         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51946         conditional definition.
51947         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51948         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51949         * config.make.in (have-as-needed): Remove variable.
51951 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51952             Paul Pluzhnikov  <ppluzhnikov@google.com>
51954         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51955         strings correctly.
51957 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51959         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51960         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51961         * sysdeps/sh/strlen.S: Likewise.
51963 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51965         * sysdeps/unix/fork.S: Remove file.
51966         * sysdeps/unix/i386/fork.S: Likewise.
51967         * sysdeps/unix/sparc/fork.S: Likewise.
51969         * sysdeps/unix/system.c: Remove file.
51970         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51972         * sysdeps/unix/getegid.S: Remove file.
51973         * sysdeps/unix/geteuid.S: Likewise.
51975 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51977         * scripts/check-localplt.awk: New file.
51978         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51979         of diff.
51980         * scripts/data/localplt-generic.data: Add a comment.
51982         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51983         NODE when __dir_mkfile failed.
51984         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51985         Reported by Ludovic Courtès <ludo@gnu.org>.
51987 2012-04-24  Andreas Jaeger  <aj@suse.de>
51989         * Makerules (common-clean): Also remove gen-as-const-headers
51990         files.
51992 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51994         * Makerules (native-compile): Do not change working directory for
51995         build.  Use $(OUTPUT_OPTION) in command.
51996         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51998 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52000         [BZ #13886]
52001         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52002         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52003         * math/libm-test.inc (floor_test): Add more tests.
52004         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52006 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52008         * sysdeps/unix/getdents.c: Remove file.
52009         * sysdeps/unix/sysv/getdents.c: Likewise.
52010         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52012         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52013         sysdeps/unix/mman/syscalls.list.
52014         (mmap): Likewise.
52015         (mprotect): Likewise.
52016         (msync): Likewise.
52017         (munmap): Likewise.
52018         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52019         * sysdeps/unix/mman/syscalls.list: Remove.
52020         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52022         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52023         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52024         * configure: Regenerated.
52025         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52026         $(libgcc_s_suffix).
52027         * config.make.in (libgcc_s_suffix): Remove variable.
52029 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52031         * sysdeps/unix/sysv/gethostname.c: Move to ...
52032         * sysdeps/posix/gethostname.c: ... here.
52034         * sysdeps/unix/execve.S: Remove file.
52036         * sysdeps/unix/_exit.S: Remove file.
52038 2012-04-23  Andreas Jaeger  <aj@suse.de>
52040         [BZ #13739]
52041         * manual/Makefile: Remove make dist support, there's no
52042         need for a stand-alone documentation tar ball.
52043         (TEXI2DVI): Define always, it's not in Makeconfig.
52044         (dist): Removed.
52045         (tar-it): Removed.
52046         (edition): Removed.
52047         (glibc-doc-$(edition).tar): Removed
52048         (%.Z): Removed.
52049         (%.gz): Removed.
52050         (%.uu): Removed.
52051         (ETAGS): Remove, it's in Makeconfig.
52052         (move-if-change): Remove, it's in Makeconfig.
52054 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52056         [BZ #13970]
52057         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52058         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52059         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52060         (strtod_l, strtof_l, strtold_l): Remove __wur.
52061         It is not necessarily an error to ignore strtol's return value.
52062         One can reliably look at the stored endptr to decide whether
52063         the number had valid syntax.
52065 2012-04-21  Andreas Jaeger  <aj@suse.de>
52067         [BZ #13739]
52068         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52070 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52072         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52073         * sysdeps/unix/sysv/Versions: Remove file.
52075 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52077         [BZ #13927]
52078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52080 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52082         [BZ #7064]
52083         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52084         version from __vm86.
52086 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52088         * sysdeps/unix/common/lxstat.c: Remove file.
52089         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52091         * sysdeps/unix/sysv/Makefile: Remove file.
52093         * sysdeps/unix/sysv/direct.h: Remove file.
52095         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52096         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52097         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52098         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52099         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52100         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52101         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52103         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52105         * sysdeps/unix/xmknod.c: Remove file.
52106         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52108         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52110         * sysdeps/unix/sysv/i386/time.S: Remove file.
52112         * sysdeps/unix/fxstat.c: Remove file.
52113         * sysdeps/unix/xstat.c: Likewise.
52114         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52116         * sysdeps/unix/sysv/sigaction.c: Remove file.
52118         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52119         (sysdep_headers): Remove variable.
52120         [termio.h not in sysdep_headers] (generated): Likewise.
52121         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52122         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52123         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52124         * sysdeps/unix/sysv/tcflow.c: Likewise.
52125         * sysdeps/unix/sysv/tcflush.c: Likewise.
52126         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52127         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52128         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52129         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52130         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52132         * sysdeps/unix/siglist.c: Remove file.
52134         * sysdeps/unix/getppid.S: Remove file.
52136         * sysdeps/unix/mkdir.c: Remove file.
52137         * sysdeps/unix/rmdir.c: Likewise.
52139 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52141         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52142         ERR_MAX value.
52143         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52144         errlist-compat value.
52146 2012-04-18  David S. Miller  <davem@davemloft.net>
52148         * sysdeps/generic/memcopy.h (reg_char): Delete.
52149         * debug/strcat_chk.c: Use char, not reg_char.
52150         * debug/strcpy_chk.c: Likewise.
52151         * debug/strncat_chk.c: Likewise.
52152         * debug/strncpy_chk.c: Likewise.
52153         * string/memchr.c: Likewise.
52154         * string/memrchr.c: Likewise.
52155         * string/rawmemchr.c: Likewise.
52156         * string/strcat.c: Likewise.
52157         * string/strchr.c: Likewise.
52158         * string/strchrnul.c: Likewise.
52159         * string/strcmp.c: Likewise.
52160         * string/strcpy.c: Likewise.
52161         * string/strncat.c: Likewise.
52162         * string/strncmp.c: Likewise.
52163         * string/strncpy.c: Likewise.
52165 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52167         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52168         __builtin_memcopy is called when src and dest ranges are known to not
52169         overlap.
52171 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52173         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52174         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52175         fwd_align_merge macro call.
52176         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52177         bwd_align_merge macro call.
52178         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52180 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52182         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52183         bwd_align_merge macros.
52184         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52185         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52186         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52188 2012-04-18  David S. Miller  <davem@davemloft.net>
52190         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52192 2012-04-18  Andreas Jaeger  <aj@suse.de>
52194         [BZ# 6794]
52195         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52196         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52197         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52199         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52200         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52201         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52203         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52204         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52205         Adjust for changed ldbl-128 files.
52207         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52208         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52209         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52211 2012-04-17  David S. Miller  <davem@davemloft.net>
52213         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52215 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52217         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52218         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52219         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52220         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52221         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52222         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52224 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52226         [BZ #6794]
52227         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52228         * math/libm-test.inc: Add ilogb errno and exception tests.
52229         * math/w_ilogb.c: New file: ilogb wrapper.
52230         * math/w_ilogbf.c: New file: ilogbf wrapper.
52231         * math/w_ilogbl.c: New file: ilogbl wrapper.
52232         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52233         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52234         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52235         exception being thrown with 0.0 as argument.
52236         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52237         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52238         exception being thrown with 0.0 as argument.
52239         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52240         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52241         exception being thrown with 0.0 as argument.
52242         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52243         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52244         exception being thrown with 0.0 as argument.
52245         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52246         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52247         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52248         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52249         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52250         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52251         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52252         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52253         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52255 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52257         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52258         with altivec.
52260 2012-04-16  Marek Polacek  <polacek@redhat.com>
52262         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52264 2012-04-16  Marek Polacek  <polacek@redhat.com>
52266         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52267         operands of fdivp instruction.
52269 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52271         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52272         * elf/tst-auditmod3b.c: Likewise.
52273         * elf/tst-auditmod4b.c: Likewise.
52274         * elf/tst-auditmod5b.c: Likewise.
52275         * elf/tst-auditmod6b.c: Likewise.
52276         * elf/tst-auditmod6c.c: Likewise.
52277         * elf/tst-auditmod7b.c: Likewise.
52278         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52279         * sysdeps/x86_64/preconfigure.in: Likewise.
52280         * sysdeps/x86_64/preconfigure: Regenerated.
52282 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52284         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52285         __ILP32__.
52287 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52290         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52292 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52294         [BZ #13973]
52295         * locale/iso-639.def: Fix gl language name. Spotted by
52296         Yaron Shahrabani.
52298 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52300         [BZ #2074]
52301         * libio/libio.h (__io_write_fn): Update comment.
52303 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52305         [BZ #2074]
52306         * stdio.texi (Hook Functions): The user provided writer function
52307         is not allowed to return -1.
52309 2012-04-11  David S. Miller  <davem@davemloft.net>
52311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52313 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52315         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52316         Add a leading slash to rtkaio.
52318 2012-04-11  Jim Meyering  <meyering@redhat.com>
52320         [BZ #11959]
52321         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52322         It is not necessarily an error to ignore fwrite's return
52323         value.  One can reliably use ferror to test for errors after
52324         the fact.
52326 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52328         * bits/types.h (__snseconds_t): New type.
52329         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52331         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52332         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52333         (__SNSECONDS_T_TYPE): Likewise.
52334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52335         (__SNSECONDS_T_TYPE): Likewise.
52336         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52337         (__SNSECONDS_T_TYPE): Likewise.
52339 2012-04-10  Andreas Jaeger  <aj@suse.de>
52341         [BZ #2636]
52342         * manual/time.texi (Processor Time): Return type of times is
52343         elapsed real time since an arbitrary point in the past.
52344         (CPU Time): Move CLK_TCK from here...
52345         (Processor Time): ...to here.  Correct description.
52346         * manual/conf.texi (Constants for Sysconf): Correct description of
52347         _SC_CLK_TCK.
52349 2012-04-10  David S. Miller  <davem@davemloft.net>
52351         [BZ #13967]
52352         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52353         where the is a gap between DT_REL(A) and DT_JMPREL.
52355 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52357         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52358         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52359         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52361 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52363         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52364         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52365         (dl_main): Handle --inhibit-cache.
52366         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52367         _dl_inhibit_cache.
52368         * elf/dl-load.c (_dl_map_object): Use it.
52369         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52371 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52373         [BZ #13872]
52374         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52375         (__ieee754_powl): Saturate large exponents rather than testing for
52376         overflow of y*log2(x).
52377         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52378         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52379         exceptions.
52381         [BZ #11521]
52382         * math/s_ctan.c: Include <float.h>.
52383         (__ctan): Avoid internal overflow or cancellation in calculating
52384         denominator.
52385         * math/s_ctanf.c: Likewise.
52386         * math/s_ctanl.c: Likewise.
52387         * math/s_ctanh.c: Likewise.
52388         * math/s_ctanhf.c: Likewise.
52389         * math/s_ctanhl.c: Likewise.
52390         * math/libm-test.inc (ctan_test): Add more tests.
52391         (ctanh_test): Likewise.
52392         * sysdeps/i386/fpu/libm-test-ulps: Update.
52393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52395 2012-04-09  Andreas Jaeger  <aj@suse.de>
52397         [BZ #6894]
52398         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52399         is an optional BSD extension.
52401         [BZ #10254]
52402         * manual/stdio.texi (Opening Streams): Document additional fopen
52403         parameters.
52405 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52407         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52408         %eax without telling the compiler.
52410 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52412         [BZ # 13963]
52413         * manual/install.texi: Use sourceware.org.
52415 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52417         [BZ #13873]
52418         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52419         (__ieee754_pow): Generate overflow and underflow using huge*huge
52420         and tiny*tiny rather than just returning constant infinity or zero
52421         for large exponents.
52422         * math/libm-test.inc (pow_test): Require overflow exceptions for
52423         applicable cases of large exponents.
52425         [BZ #706]
52426         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52427         (__ieee754_pow): Use iterative multiplication algorithm only for
52428         integer exponents with absolute value below 1024.  Check for odd
52429         integer exponents when using algorithm for real exponents.
52430         * math/libm-test.inc (pow_test): Add more tests.
52431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52433 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52435         [BZ #13705]
52436         * math/libm-test.inc (exp_test): Do not allow overflow exception
52437         on underflow test.
52439 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52441         [BZ #13705]
52442         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52443         instead of __kernel_standard_f.
52445 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52447         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52448         * sysdeps/x86_64/memset_chk.S: Likewise.
52450 2012-04-08  Andreas Jaeger  <aj@suse.de>
52452         [BZ #10153]
52453         * manual/startup.texi (Environment Access): Describe return value
52454         for putenv and setenv.
52456         [BZ #6895]
52457         * manual/filesys.texi (Directory Entries): Add description for
52458         DT_LNK.
52460         [BZ #6890]
52461         * manual/filesys.texi (Directory Entries): Clarify that it's file
52462         system not operating system in the description of DT_UNKNOWN.
52464         [BZ #6578]
52465         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52467 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52469         [BZ #6649]
52470         * manual/llio.texi (Opening and Closing Files): Add cross
52471         reference to explain mode argument.
52473 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52475         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52476         * sysdeps/x86_64/memset_chk.S: Likewise.
52478 2012-04-07  David S. Miller  <davem@davemloft.net>
52480         * elf/elf.h (R_SPARC_WDISP10): Define.
52481         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52482         R_SPARC_SIZE32.
52483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52484         R_SPARC_SIZE64 and R_SPARC_H34.
52486 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52488         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52489         conditions and remove no longer applicable assertion.
52491 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52493         * bits/byteswap.h: Include <features.h>.
52494         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52495         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52497 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52499         * bits/byteswap.h (__bswap_16): Removed.
52500         Include <bits/byteswap-16.h> to get __bswap_16.
52501         * sysdeps/i386/bits/byteswap.h: Likewise.
52502         * sysdeps/s390/bits/byteswap.h: Likewise.
52503         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52504         * bits/byteswap-16.h: New file.
52505         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52506         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52507         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52508         * string/Makefile (headers): Add bits/byteswap-16.h.
52510 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52512         [BZ #13895]
52513         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52514         extra indirection.
52515         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52516         * nss/tst-nss-static.c: New.
52518 2012-04-06  Robert Millan  <rmh@gnu.org>
52520         [BZ #6486]
52521         * manual/llio.texi (File Position Primitive): lseek
52522         refers to WHENCE when it really means OFFSET.
52524 2012-04-06  Andreas Jaeger  <aj@suse.de>
52526         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52527         strncmp declarations.
52529         * abilist/libc.abilist: Add __poll and __ppoll.
52531 2012-04-05  David S. Miller  <davem@davemloft.net>
52533         * scripts/check-local-headers.sh: Accept a host triplet in the
52534         path matched by the exclude regexp.
52536         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52537         definition.
52538         * sysdeps/powerpc/powerpc32/dl-machine.h
52539         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52540         * sysdeps/s390/s390-32/dl-machine.h
52541         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52542         * sysdeps/sparc/sparc32/dl-machine.h
52543         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52544         * sysdeps/sparc/sparc64/dl-machine.h
52545         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52547         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52548         lazy binding.
52549         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52550         undefined symbol errors.
52552         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52553         DT_NEEDED entries.
52555 2012-04-05  Michael Matz  <matz@suse.de>
52557         [BZ #13592]
52558         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52560 2012-04-05  Andreas Jaeger  <aj@suse.de>
52562         [BZ #13908]
52563         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52564         comment.
52566 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52568         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52569         which ROUND is no valid rounding mode.
52571 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52573         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52574         read again.
52575         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52577 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52579         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52580         an exception using FPU order intentionally.
52582 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52584         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52585         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52586         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52587         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52589 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52591         [BZ #12340]
52592         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52593         EINVAL when BUFLEN is too smal.
52595 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52597         [BZ #13553]
52598         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52599         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52601 2012-04-03  Andreas Jaeger  <aj@suse.de>
52603         [BZ #13938]
52604         * manual/setjmp.texi (System V contexts): Fix sentence.
52606         [BZ #13926]
52607         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52608         New macro for this case.
52609         [!__GNUC__] (__bswap_64): New inline function for this case.
52610         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52611         * bits/byteswap.h: Likewise.
52612         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52613         ull, guard with __GLIBC_HAVE_LONG_LONG.
52615         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52616         __GLIBC_HAVE_LONG_LONG.
52618         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52619         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52621 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52623         [BZ #13691]
52624         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52625         inptr and inend, rather than using last_ch.
52627 2012-04-02  David S. Miller  <davem@davemloft.net>
52629         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52630         * stdio-common/printf-parse.h (read_int): Change return type to
52631         'int', return -1 on INT_MAX overflow.
52632         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52633         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52634         overflows INT_MAX.  Check for overflow of in-format-string precision
52635         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52636         SIZE_MAX not INT_MAX for integer overflow test.
52637         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52638         skip the construct in the format string but do not record anything.
52639         * stdio-common/bug22.c: Adjust to test both width/prevision
52640         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52641         explicitly for proper errno values.
52643 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52645         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52646         CHAR_MAX.
52647         * string/test-strcmp.c [! WIDE]: Likewise.
52648         * time/tst-mktime2.c: Likewise for INT_MAX.
52649         * string/test-string.h: #include <sys/param.h> for MIN.
52651         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52652         * sysdeps/i386/init-first.c (init): Likewise.
52653         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52654         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52655         * sysdeps/sh/init-first.c (init): Likewise.
52657 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52659         * po/ru.po: Update from translation team.
52660         * po/vi.po: Likewise.
52662 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52664         * resolv/nss_dns/dns-host.c: Merge copyright years.
52666 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52668         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52669         Optimize memcpy with prefetch if
52670         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52671         src, dst pointers have unequal 16 byte alignments.
52673 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52675         [BZ #13928]
52676         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52677         from a CNAME entry and return the minimum ttl for the query.
52678         (gaih_getanswer_slice): Likewise.
52680 2012-03-30  Jeff Law  <law@redhat.com>
52682         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52683         due to long keys.
52684         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52685         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52687         * resolv/nss_dns/dns-host.c: Update copyright year.
52689 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52691         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52692         requests to save a system call.  Fix check that all bytes are sent.
52694         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52695         comments for sendmmsg.
52697 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52699         [BZ #13691]
52700         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52701         with only 1 character between 0x0041 and 0x01b0.
52702         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52703         * wcsmbs/tst-mbsnrtowcs.c: New file.
52705 2012-03-29  David S. Miller  <davem@davemloft.net>
52707         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52708         small copies by hand.
52710 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52712         [BZ #13761]
52713         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52714         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52715         group memberships.
52717 2012-03-28  David S. Miller  <davem@davemloft.net>
52719         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52720         that branches into memcpy.
52721         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52722         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52723         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52724         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52725         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52726         bits.
52727         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52728         implementation too.
52729         * sysdeps/sparc/mempcpy.S: New file.
52731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52732         the IFUNC routine in the libc case.
52733         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52735         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52736         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52737         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52738         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52739         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52740         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52741         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52742         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52744         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52745         loop to 256 bytes instead of 64 bytes and fix test signedness.
52747         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52748         * sysdeps/sparc/sparc32/Makefile: rather than here...
52749         * sysdeps/sparc/sparc64/Makefile: and here.
52751 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52753         * malloc/mallocbug.c: Avoid warnings about unused variables.
52755 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52757         [BZ #13760]
52758         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52759         in the right place. Discard and retry query if response is
52760         larger than input buffer size.
52762 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52764         [BZ #369]
52765         [BZ #2678]
52766         [BZ #3866]
52767         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52768         x for large integer exponent.
52769         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52770         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52771         sign of result as needed afterwards.
52772         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52773         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52774         result for underflowing pow the same as for overflow.
52775         (__kernel_standard_l): Handle powl overflow and underflow here
52776         rather than calling __kernel_standard.
52777         * math/libm-test.inc (pow_test): Add more tests.
52779         [BZ #3868]
52780         [BZ #13879]
52781         [BZ #13910]
52782         [BZ #13911]
52783         [BZ #13912]
52784         [BZ #13913]
52785         [BZ #13915]
52786         [BZ #13916]
52787         [BZ #13917]
52788         [BZ #13918]
52789         [BZ #13919]
52790         [BZ #13920]
52791         [BZ #13921]
52792         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52793         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52794         (__kernel_standard_l): New function.
52795         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52796         __kernel_standard.
52797         * math/w_acosl.c (__acosl): Likewise.
52798         * math/w_asinl.c (__asinl): Likewise.
52799         * math/w_atan2l.c (__atan2l): Likewise.
52800         * math/w_atanhl.c (__atanhl): Likewise.
52801         * math/w_coshl.c (__coshl): Likewise.
52802         * math/w_exp10l.c (__exp10l): Likewise.
52803         * math/w_exp2l.c (__exp2l): Likewise.
52804         * math/w_fmodl.c (__fmodl): Likewise.
52805         * math/w_hypotl.c (__hypotl): Likewise.
52806         * math/w_j0l.c (__j0l, __y0l): Likewise.
52807         * math/w_j1l.c (__j1l, __y1l): Likewise.
52808         * math/w_jnl.c (__jnl, __ynl): Likewise.
52809         * math/w_lgammal.c (__lgammal): Likewise.
52810         * math/w_log10l.c (__log10l): Likewise.
52811         * math/w_log2l.c (__log2l): Likewise.
52812         * math/w_logl.c (__logl): Likewise.
52813         * math/w_powl.c (__powl): Likewise.
52814         * math/w_remainderl.c (__remainderl): Likewise.
52815         * math/w_scalbl.c (sysv_scalbl): Likewise.
52816         * math/w_sinhl.c (__sinhl): Likewise.
52817         * math/w_sqrtl.c (__sqrtl): Likewise.
52818         * math/w_tgammal.c (__tgammal): Likewise.
52819         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52820         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52821         * math/libm-test.inc (acos_test): Add more tests.
52822         (acosh_test): Likewise.
52823         (asin_test): Likewise.
52824         (atanh_test): Likewise.
52825         (exp_test): Likewise.
52826         (exp10_test): Likewise.
52827         (exp2_test): Likewise.
52828         (expm1_test): Likewise.
52829         (lgamma_test): Likewise.
52830         (log_test): Likewise.
52831         (log10_test): Likewise.
52832         (log1p_test): Likewise.
52833         (log2_test): Likewise.
52834         (pow_test): Do not allow some spurious overflow exceptions.
52835         (sqrt_test): Add more tests.
52836         (tgamma_test): Likewise.
52837         (y0_test): Likewise.
52838         (y1_test): Likewise.
52839         (yn_test): Likewise.
52841 2012-03-27  Anton Blanchard  <anton@samba.org>
52843         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52844         MAP_HUGETLB.
52845         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52846         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52847         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52849 2012-03-27  David S. Miller  <davem@davemloft.net>
52851         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52853         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52854         have-as-vis3 check.
52856 2012-03-27  Andreas Jaeger  <aj@suse.de>
52858         * sysdeps/x86_64/elf/configure.in: Moved to ...
52859         * sysdeps/x86_64/configure.in: ... here.
52860         * sysdeps/x86_64/elf/start.S: Moved to ...
52861         * sysdeps/x86_64/start.S: ... here.
52862         * sysdeps/x86_64/elf/configure: Delete.
52864         * sysdeps/x86_64/configure.in: Merge contents from
52865         sysdeps/i386/configure.in (without i686 check).
52867         * sysdeps/i386/elf/Versions: Merge into ...
52868         * sysdeps/i386/Versions: ... this.
52869         * sysdeps/i386/elf/Versions: Delete file.
52870         * sysdeps/i386/elf/start.S: Moved to ...
52871         * sysdeps/i386/start.S: ...here.
52872         * sysdeps/i386/elf/configure.in: Merge into...
52873         * sysdeps/i386/configure.in: ...here.
52874         * sysdeps/i386/elf/configure.in: Delete file.
52875         * sysdeps/i386/elf/configure: Delete file.
52877         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52878         * debug/backtracesyms.c: ... here.
52879         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52880         * debug/backtracesymsfd.c: ... here.
52881         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52882         * sysdeps/generic/ifunc-sel.h: ... here.
52884         * sysdeps/unix/i386/start.c: Delete file.
52885         * sysdeps/unix/sparc/start.c: Delete file.
52886         * sysdeps/unix/start.c: Delete file.
52888         * sysdeps/sh/elf/configure.in: Moved to ...
52889         * sysdeps/sh/configure.in: ... here.
52890         * sysdeps/sh/elf/start.S: Moved to ...
52891         * sysdeps/sh/start.S: ... here.
52892         * sysdeps/sh/elf/configure: Delete file.
52894         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52895         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52896         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52897         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52898         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52899         * sysdeps/powerpc/powerpc64/start.S: here.
52900         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52901         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52902         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52903         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52904         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52906         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52907         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52908         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52909         * sysdeps/powerpc/powerpc32/start.S: ... here.
52910         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52911         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52912         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52914         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52915         * sysdeps/powerpc/ifunc-sel.h: ... here.
52916         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52917         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52919         * sysdeps/sparc/elf/configure.in: Moved to ...
52920         * sysdeps/sparc/configure.in: ... here.
52921         * sysdeps/sparc/elf/configure: Delete file.
52922         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52923         * sysdeps/sparc/sparc32/start.S: ... here.
52924         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52925         * sysdeps/sparc/sparc64/start.S: ... here.
52926         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52927         * sysdeps/sparc/sparc32/Makefile: ... this.
52928         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52929         * sysdeps/sparc/sparc64/Makefile: ... this.
52931         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52932         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52933         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52934         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52935         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52936         * sysdeps/s390/s390-32/setjmp.S: ... here.
52937         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52938         * sysdeps/s390/s390-32/configure.in: ... here.
52939         * sysdeps/s390/s390-32/elf/configure: Delete file.
52940         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52941         * sysdeps/s390/s390-32/start.S: ... here.
52943         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52944         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52945         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52946         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52947         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52948         * sysdeps/s390/s390-64/setjmp.S: ... here.
52949         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52950         * sysdeps/s390/s390-64/configure.in: ... here
52951         * sysdeps/s390/s390-64/elf/configure: Delete file.
52952         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52953         * sysdeps/s390/s390-64/start.S: ... here.
52954         * sysdeps/s390/s390-64/elf/configure: Delete.
52956         * configure.in: Remove support for elf directories in sysdeps.
52958         * configure: Regenerated.
52959         * sysdeps/i386/configure: Regenerated.
52960         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52961         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52962         * sysdeps/s390/s390-32/configure: Regenerated.
52963         * sysdeps/s390/s390-64/configure: Regenerated.
52964         * sysdeps/sh/configure: Regenerated.
52965         * sysdeps/sparc/configure: Regenerated.
52966         * sysdeps/x86_64/configure: Regenerated.
52968 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52972         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52973         denormal result into account.
52975 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52977         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52978         Reported by Allan McRae <allan@archlinux.org>.
52980 2012-03-23  Jeff Law  <law@redhat.com>
52982         * nss/getnssent.c (__nss_getent): Fix typo.
52984 2012-03-23  David S. Miller  <davem@davemloft.net>
52986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52988 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52990         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52991         to pad to uint64_t for each field.
52992         (dl_tls_index): Replace unsigned long with uint64_t.
52994 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52995         Paul Pluzhnikov  <ppluzhnikov@google.com>
52997         [BZ #6528]
52998         * grp/Makefile (otherlibs): Don't set it.
52999         * inet/Makefile (otherlibs): Likewise.
53000         * login/Makefile (otherlibs): Likewise.
53001         * nscd/Makefile (otherlibs): Likewise.
53002         * posix/Makefile (otherlibs): Likewise.
53003         * pwd/Makefile (otherlibs): Likewise.
53004         * rt/Makefile (otherlibs): Likewise.
53005         * sunrpc/Makefile (otherlibs): Likewise.
53006         * nss/Makefile (otherlibs): Likewise.
53007         Add libnss_files to routines and static-only-routines.
53008         ($(objpfx)getent): Remove rule.
53009         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53010         static-only-routines.
53012 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53014         [BZ #13892]
53015         * math/s_cexp.c: Include <float.h>.
53016         (__cexp): Handle exp result overflowing not necessarily
53017         overflowing both real and imaginary parts of result.
53018         * math/s_cexpf.c: Likewise.
53019         * math/s_cexpl.c: Likewise.
53020         * math/libm-test.inc (cexp_test): Add more tests.
53021         * sysdeps/i386/fpu/libm-test-ulps: Update.
53022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53024 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53026         * include/link.h (ELFW): New macro.
53027         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53028         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53030 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53032         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53033         with uint64_t.
53035 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53037         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53038         declaration.
53039         (struct La_x32_retval): Likewise.
53041 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53043         * sysdeps/x86_64/preconfigure.in: New file.
53044         * sysdeps/x86_64/preconfigure: New generated file.
53046 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53048         [BZ #13824]
53049         * math/e_exp2l.c: Include <float.h>.
53050         (__ieee754_exp2l): Handle overflow and underflow cases
53051         separately.  Only pass fractional part of argument to
53052         __ieee754_expl.
53053         * math/libm-test.inc (exp2_test): Add more tests.
53055         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53056         negating x to take absolute value.
53057         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53058         Likewise.
53059         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53060         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53061         Likewise.
53062         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53063         computing low part if x was negated.
53064         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53066 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53068         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53069         la_x32_gnu_pltexit.
53070         (pltexit): Cast int_retval to ptrdiff_t.
53071         * elf/tst-auditmod3b.c: Likewise.
53072         * elf/tst-auditmod4b.c: Likewise.
53073         * elf/tst-auditmod5b.c: Likewise.
53074         * elf/tst-auditmod6b.c: Likewise.
53075         * elf/tst-auditmod6c.c: Likewise.
53076         * elf/tst-auditmod7b.c: Likewise.
53078         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53079         and x32_gnu_pltexit.
53081         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53082         __ELF_NATIVE_CLASS.
53083         (La_x32_regs): New macro.
53084         (La_x32_retval): Likewise.
53085         (la_x32_gnu_pltenter): New function prototype.
53086         (la_x32_gnu_pltexit): Likewise.
53088 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53090         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53091         exponent.
53093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53095         * configure.in (libc_cv_cc_nofma): Check for option to disable
53096         generation of FMA instructions.
53097         * configure: Regenerate.
53098         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53099         * sysdeps/ieee754/dbl-64/Makefile: New file.
53100         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53101         Remove brandred-fma4.
53102         (CFLAGS-brandred-fma4.c): Remove.
53103         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53104         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53105         define.
53106         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53107         define.
53109 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53111         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53112         LLONG_MAX != LONG_MAX.
53113         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53114         (_fitoa_word): Likewise.
53115         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53116         LLONG_MAX != LONG_MAX.
53117         * stdio-common/_itowa.h: Include <_itoa.h>.
53118         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53119         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53120         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53121         only if not defined.
53122         (_ITOA_WORD_TYPE): Likewise.
53123         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53124         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53126 2012-03-21  David S. Miller  <davem@davemloft.net>
53128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53130 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53132         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53133         of x86_64 when setting libc_cv_slibdir, libdir and
53134         libc_cv_localedir.
53135         * sysdeps/unix/sysv/linux/configure: Regenerated.
53137 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53139         * manual/lang.texi (Old Varargs): Remove section.
53140         (How Variadic): Update menu.
53141         (va_start): Do not mention varargs.h.
53143 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53144             Joseph Myers  <joseph@codesourcery.com>
53146         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53147         link test.
53148         * configure: Regenerated.
53150 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53152         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53153         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53154         conformtest.pl
53156 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53158         * NOTES: Remove.
53159         * Makefile (files-for-dist): Remove NOTES.
53160         (NOTES): Remove rule.
53161         * README: Don't refer to NOTES.
53162         * manual/creature.texi: Don't include macros.texi.
53163         * manual/intro.texi (creature.texi): Remove comment referring to
53164         NOTES.
53166         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53167         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53168         * configure: Regenerated.
53169         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53170         LIBC_TRY_CC_OPTION.
53171         (libc_cv_as_i686): Likewise.
53172         (libc_cv_cc_avx): Likewise.
53173         (libc_cv_cc_sse2avx): Likewise.
53174         (libc_cv_cc_fma4): Likewise.
53175         (libc_cv_cc_novzeroupper): Likewise.
53176         * sysdeps/i386/configure: Regenerated.
53178         [BZ #13883]
53179         * sysdeps/i386/fpu/s_cexp.S: Remove.
53180         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53181         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53182         * math/libm-test.inc (cexp_test): Add more tests.
53183         * sysdeps/i386/fpu/libm-test-ulps: Update.
53184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53186 2012-03-21  Allan McRae  <allan@archlinux.org>
53188         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53190 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53192         [BZ #13871]
53193         * math/w_exp2.c: Do not include <float.h>.
53194         (o_threshold, u_threshold): Remove.
53195         (__exp2): Calculate result before checking finiteness and calling
53196         __kernel_standard.
53197         * math/w_exp2f.c: Likewise.
53198         * math/w_exp2l.c: Likewise.
53199         * math/libm-test.inc (exp2_test): Require overflow exception for
53200         1e6 input.
53202         [BZ #3866]
53203         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53204         range of signed 64-bit integers before using fistpll.  Remove
53205         checks for whether integers fit in mantissa bits.
53206         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53207         the range of signed 32-bit integers before using fistpl.  Remove
53208         checks for whether integers fit in mantissa bits.
53209         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53210         (__ieee754_powl): Test for y outside the range of signed 64-bit
53211         integers before using fistpll.  Reduce 64-bit values to 63-bit
53212         ones as needed.
53213         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53214         divide-by-zero is raised for zero to large negative powers.
53215         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53216         (__ieee754_powl): Test for y outside the range of signed 64-bit
53217         integers before using fistpll.  Reduce 64-bit values to 63-bit
53218         ones as needed.
53219         * math/libm-test.inc (pow_test): Add more tests.
53221 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53223         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53224         <stdio-common/_itoa.h>.
53225         * debug/segfault.c: Likewise.
53226         * elf/dl-cache.c: Likewise.
53227         * elf/dl-minimal.c: Likewise.
53228         * elf/dl-misc.c: Likewise.
53229         * elf/dl-sysdep.c: Likewise.
53230         * elf/dl-version.c: Likewise.
53231         * elf/rtld.c: Likewise.
53232         * hurd/hurdsock.c: Likewise.
53233         * hurd/lookup-retry.c: Likewise.
53234         * malloc/malloc.c: Likewise.
53235         * malloc/mtrace.c: Likewise.
53236         * nscd/nscd_getgr_r.c: Likewise.
53237         * nscd/nscd_getpw_r.c: Likewise.
53238         * nscd/nscd_getserv_r.c: Likewise.
53239         * posix/getopt_init.c: Likewise.
53240         * posix/wordexp.c: Likewise.
53241         * stdio-common/_itoa.c: Likewise.
53242         * stdio-common/printf_fphex.c: Likewise.
53243         * stdio-common/vfprintf.c: Likewise.
53244         * string/_strerror.c: Likewise.
53245         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53246         * sysdeps/i386/i686/hp-timing.h: Likewise.
53247         * sysdeps/mach/_strerror.c: Likewise.
53248         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53249         * sysdeps/mach/hurd/sethostid.c: Likewise.
53250         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53251         * sysdeps/mach/xpg-strerror.c: Likewise.
53252         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53253         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53254         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53255         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53256         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53257         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53258         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53259         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53260         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53261         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53262         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53263         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53264         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53265         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53266         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53267         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53268         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53269         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53270         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53271         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53272         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53274         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53276         * stdio-common/_itoa.h: Moved to ...
53277         * sysdeps/generic/_itoa.h: Here.
53279         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53281         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53282         instead of "_itoa.h" and "_itowa.h".
53283         * stdio-common/vfprintf.: Likewise.
53285 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53287         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53288         <bits/wordsize.h>.
53289         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53290         (__signbit): Likwise.
53291         (llrintf): Likwise.
53292         (llrint): Likwise.
53294 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53296         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53297         __WORDSIZE != 64.
53299 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53301         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53302         OVERFLOW_EXCEPTION_OK.
53303         * math/libm-test.inc ("Philosophy"): Update comment about
53304         exception testing.
53305         (OVERFLOW_EXCEPTION): Define.
53306         (OVERFLOW_EXCEPTION_OK): Likewise.
53307         (INVALID_EXCEPTION_OK): Renumber.
53308         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53309         (IGNORE_ZERO_INF_SIGN): Likewise.
53310         (test_exceptions): Handle FE_OVERFLOW.
53311         (exp10_test): Expect overflow exceptions.
53312         (exp2_test): Likewise.
53313         (expm1_test): Likewise.
53314         (nextafter_test): Likewise.
53315         (pow_test): Likewise.
53316         (scalbn_test): Likewise.
53317         (scalbln_test): Likewise.
53319 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53321         * sysdeps/x86_64/bits/atomic.h
53322         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53323         64bit integer.
53324         (atomic_exchange_acq): Likewise.
53325         (__arch_exchange_and_add_body): Likewise.
53326         (__arch_add_body): Likewise.
53327         (atomic_add_negative): Likewise.
53328         (atomic_add_zero): Likewise.
53330 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53332         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53333         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53335 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53337         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53338         Check __x86_64__ instead of __WORDSIZE.
53340 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53342         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53344 2012-03-19  David S. Miller  <davem@davemloft.net>
53346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53348         * sysdeps/sparc/fpu/fenv_private.h: New file.
53349         * sysdeps/sparc/fpu/math_private.h: Use it.
53350         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53351         Remove.
53352         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53353         (libc_feholdexcept_setroundl): Remove.
53354         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53355         Remove.
53356         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53357         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53359 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53361         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53362         int64_t instead of long int.
53363         (INSERT_WORDS64): Likwise.
53365 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53367         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53368         _Unwind_GetCFA return to _Unwind_Ptr first.
53370 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53372         [BZ #13629]
53373         * math/s_clog.c: Include <float.h>.
53374         (__clog): Scale large or subnormal inputs.
53375         * math/s_clogf.c: Likewise.
53376         * math/s_clogl.c: Likewise.
53377         * math/s_clog10.c: Include <float.h>.
53378         (M_LOG10_2): Define.
53379         (__clog10): Scale large or subnormal inputs.
53380         * math/s_clog10f.c: Likewise.
53381         * math/s_clog10l.c: Likewise.
53382         * math/libm-test.inc (clog_test): Add more tests.
53383         (clog10_test): Likewise.
53384         * sysdeps/i386/fpu/libm-test-ulps: Update.
53385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53387         [BZ #11451]
53388         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53389         x and y.
53390         * math/libm-test.inc (atan2_test): Add another test.
53392         * Makerules (common-objdir-compile): Remove.
53393         * sysdeps/unix/Makefile (config-generated): Do not add
53394         $(unix-generated) to variable.
53395         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53396         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53397         Remove rule.
53398         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53399         Likewise.
53400         [generic bits/local_lim.h] (before-compile): Do not append to
53401         variable.
53402         [generic bits/local_lim.h] (common-generated): Likewise.
53403         [generic sys/param.h] (before-compile): Do not append to variable.
53404         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53405         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53406         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53407         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53408         include.
53409         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53410         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53411         [generic sys/param.h] ($(addprefix
53412         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53413         [generic sys/param.h] (common-generated): Do not append to
53414         variable.
53415         [generic sys/param.h] (sysdep_headers): Likewise.
53416         [generic bits/errno.h] (before-compile): Do not append to
53417         variable.
53418         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53419         rule.
53420         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53421         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53422         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53423         [generic bits/errno.h] (common-generated): Do not append to
53424         variable.
53425         [generic bits/ioctls.h] (before-compile): Do not append to
53426         variable.
53427         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53428         rule.
53429         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53430         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53431         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53432         rule.
53433         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53434         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53435         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53436         [generic bits/ioctls.h] (common-generated): Do not append to
53437         variable.
53438         [generic sys/syscall.h] (syscall.h): Remove variable.
53439         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53440         rule.
53441         [generic sys/syscall.h] (before-compile): Do not append to
53442         variable.
53443         [generic sys/syscall.h] (common-generated): Likewise.
53444         * sysdeps/unix/errnos-tmpl.c: Remove file.
53445         * sysdeps/unix/errnos.awk: Likewise.
53446         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53447         * sysdeps/unix/ioctls.awk: Likewise.
53448         * sysdeps/unix/mk-local_lim.c: Likewise.
53449         * sysdeps/unix/snarf-ioctls: Likewise.
53451 2012-03-19  Richard Henderson  <rth@twiddle.net>
53453         * sysdeps/i386/fpu/fenv_private.h: New file.
53454         * sysdeps/i386/fpu/math_private.h: Use it.
53455         (math_opt_barrier, math_force_eval): Remove.
53456         (libc_feholdexcept_setround_53bit): Remove.
53457         (libc_feupdateenv_53bit): Remove.
53458         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53459         (math_opt_barrier, math_force_eval): Remove.
53460         (libc_feholdexcept): Remove.
53461         (libc_feholdexcept_setround): Remove.
53462         (libc_fetestexcept, libc_fesetenv): Remove.
53463         (libc_feupdateenv_test): Remove.
53464         (libc_feupdateenv, libc_feholdsetround): Remove.
53465         (libc_feresetround): Remove.
53467         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53468         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53470         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53471         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53472         (libc_feupdateenv_testl): New.
53473         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53474         (libc_feupdateenv_testf): New.
53475         (libc_feupdateenv): Use libc_feupdateenv_test.
53476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53477         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53479         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53480         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53481         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53482         (libc_feresetround_noex): New.
53483         (libc_feresetround_noexf): New.
53484         (libc_feresetround_noexl): New.
53485         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53486         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53487         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53488         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53489         SET_RESTORE_ROUND.
53490         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53491         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53492         (__cos): Likewise.
53493         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53494         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53495         SET_RESTORE_ROUND_NOEX.
53496         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53497         SET_RESTORE_ROUND_NOEXF.
53498         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53499         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53500         (libc_feholdsetroundf): New.
53501         (libc_feresetround, libc_feresetroundf): New.
53503         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53504         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53505         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53507         * sysdeps/generic/math_private.h: Include <fenv.h>.
53508         (default_libc_feholdexcept): New.
53509         (default_libc_feholdexcept_setround): New.
53510         (default_libc_fesetenv, default_libc_feupdateenv): New.
53511         (libc_feholdexcept): Only define if undefined.
53512         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53513         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53514         (libc_feholdexcept_setroundl): Likewise.
53515         (libc_feholdexcept_setround_53bit): Likewise.
53516         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53517         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53518         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53519         (libc_feupdateenv_53bit): Likewise.
53520         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53521         (libc_feholdexcept): Convert from macro to inline function.
53522         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53523         (libc_fesetenv, libc_feupdateenv): Likewise.
53525         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53526         not previously defined.
53527         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53528         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53529         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53530         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53531         * sysdeps/ieee754/flt-32/math_private.h: New file.
53532         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53533         math_private.h below SET_FLOAT_WORD.
53534         (__isnan, __isinf_ns, __finite): Remove.
53535         (__isnanf, __isinf_nsf, __finitef): Remove.
53537 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53541 2012-03-17  David S. Miller  <davem@davemloft.net>
53543         [BZ #6471]
53544         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53545         for 2.16.
53547 2012-03-16  David S. Miller  <davem@davemloft.net>
53549         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53550         warnings.
53552         [BZ #6471]
53553         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53554         properly.
53555         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53556         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53557         sysdep_routines when subdir is sysvipc.
53558         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53559         __getshmlba helper.
53561         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53563 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53565         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53566         [__LP64__].
53568 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53570         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53571         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53572         (__lround): Renamed to ...
53573         (__llround): This.  Replace long int with long long int.
53574         Define lround functions as aliases of llround functions.
53575         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53577 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53579         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53580         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53581         adresses to uintptr_t.  Replace "long int" and "unsigned long
53582         int" with "greg_t" on va_arg.
53584 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53586         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53587         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53589         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53590         Move e_machine check before EI_CLASS check.  Handle x32
53591         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53592         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53593         SKIP_EM_IA_64 and include
53594         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53596         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53597         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53598         (add_system_dir): New macro.
53600         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53601         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53603 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53605         [BZ #2551]
53606         [BZ #2552]
53607         [BZ #2553]
53608         [BZ #2554]
53609         [BZ #2562]
53610         [BZ #2563]
53611         [BZ #2565]
53612         [BZ #2566]
53613         [BZ #2576]
53614         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53615         (y0): Likewise.
53616         * math/w_j0f.c (j0f): Likewise.
53617         (y0f): Likewise.
53618         * math/w_j0l.c (__j0l): Likewise.
53619         (__y0l): Likewise.
53620         * math/w_j1.c (j1): Likewise.
53621         (y1): Likewise.
53622         * math/w_j1f.c (j1f): Likewise.
53623         (y1f): Likewise.
53624         * math/w_j1l.c (__j1l): Likewise.
53625         (__y1l): Likewise.
53626         * math/w_jn.c (jn): Likewise.
53627         (yn): Likewise.
53628         * math/w_jnf.c (jnf): Likewise.
53629         (ynf): Likewise.
53630         * math/w_jnl.c (__jnl): Likewise.
53631         (__ynl): Likewise.
53632         * math/libm-test.inc (j0_test): Add more tests.
53633         (j1_test): Likewise.
53634         (jn_test): Likewise.  Add trailing semicolon to existing test.
53635         (y0_test): Likewise.
53636         (y1_test): Likewise.
53637         * sysdeps/i386/fpu/libm-test-ulps: Update.
53638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53640         [BZ #13851]
53641         [BZ #13854]
53642         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53643         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53644         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53645         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53646         (__tanl): Set errno for infinite argument.
53647         * sysdeps/i386/fpu/mptan.c: Remove.
53648         * sysdeps/i386/fpu/s_tan.S: Likewise.
53649         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53650         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53651         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53652         * math/libm-test.inc (tan_test): Add more tests and enable more
53653         tests for double and long double.
53654         * sysdeps/i386/fpu/libm-test-ulps: Update.
53655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53657 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53659         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53660         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53662 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53664         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53665         * configure.in: Use it for both main tree and add-ons.
53666         * configure: Regenerated.
53668 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53670         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53672 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53674         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53675         in comment.
53677         [BZ #13851]
53678         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53679         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53680         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53681         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53682         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53683         infinite argument.
53684         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53685         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53686         != 0 for prec == 2.
53687         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53688         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53689         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53690         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53691         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53692         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53693         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53694         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53695         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53696         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53697         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53698         * math/libm-test.inc (cos_test): Add more tests and enable more
53699         tests for long double.
53700         (sin_test): Likewise.
53701         (sincos_test): Likewise.
53702         * sysdeps/i386/fpu/libm-test-ulps: Update.
53703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53705 2012-03-16  David S. Miller  <davem@davemloft.net>
53707         * sysdeps/sparc/fpu/math_private.h: New file.
53709 2012-03-15  David S. Miller  <davem@davemloft.net>
53711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53712         file.
53713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53715         file.
53716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53717         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53718         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53721         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53722         sysdep routines.
53723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53725         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53726         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53728         * sysdeps/sparc/sparc-ifunc.h: New file.
53729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53730         sparc-ifunc.h
53731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53733         Likewise.
53734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53735         Likewise.
53736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53740         Likewise.
53741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53746         Likewise.
53747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53748         Likewise.
53749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53753         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53755         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53756         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53763         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53764         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53765         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53766         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53767         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53768         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53769         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53770         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53771         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53772         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53774 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53776         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53777         scaling.
53778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53780 2012-03-15  Andreas Jaeger  <aj@suse.de>
53782         [BZ #13852]
53783         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53784         ieee754/flt-32 implementation for sin, cos and sincos.
53785         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53786         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53787         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53788         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53789         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53790         ieee754/flt-32 implementation for tan.
53792         * math/libm-test.inc (cos_test): Enable some large input tests for
53793         float as well
53794         (sin_test): Likewise.
53795         (sincos_test): Likewise.
53796         (tan_test): Add tests for large input.
53798         * sysdeps/i386/fpu/libm-test-ulps: Update.
53800 2012-03-15  Andreas Jaeger  <aj@suse.de>
53802         [BZ #13658]
53803         * math/libm-test.inc (cos_test): Add more test cases.
53804         (sin_test): Likewise.
53805         (sincos_test): Likewise.
53807 2012-03-15  Andreas Jaeger  <aj@suse.de>
53809         [BZ #13837]
53810         * math/libm-test.inc (cos_test): Add a test case for large input
53811         value.
53812         (sin_test): Likewise.
53813         (sincos_test): Likewise.
53815 2012-03-15  Andreas Jaeger  <aj@suse.de>
53816             Joseph Myers  <joseph@codesourcery.com>
53818         [BZ #13658]
53819         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53820         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53821         * sysdeps/i386/fpu/branred.c: Likewise.
53822         * sysdeps/i386/fpu/dosincos.c: Likewise.
53823         * sysdeps/i386/fpu/mpa.c: Likewise.
53824         * sysdeps/i386/fpu/s_cos.S: Likewise.
53825         * sysdeps/i386/fpu/s_sin.S: Likewise.
53826         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53827         * sysdeps/i386/fpu/sincos32.c: Likewise.
53829         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53830         Define.
53831         (libc_feupdateenv_53bit): Define.
53832         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53833         Define.
53834         (libc_feupdateenv_53bit): Define.
53836         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53837         53 bit (without extend i386 double precision).
53839         * math/libm-test.inc (sincos_test): Add tests for large input.
53840         (sin): Likewise.
53841         (cos): Likewise.
53843         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53845 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53849 2012-03-15  David S. Miller  <davem@davemloft.net>
53851         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53852         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53853         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53854         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53867         file.
53868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53870         file.
53871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53873         file.
53874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53876         file.
53877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53878         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53879         fmin/fmax sysdep routines.
53880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53882 2012-03-14  David S. Miller  <davem@davemloft.net>
53884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53885         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53888         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53889         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53890         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53891         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53896         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53897         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53898         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53900         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53901         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53902         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53903         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53904         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53905         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53906         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53907         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53908         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53909         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53910         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53912         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53913         routines.
53914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53915         file.
53916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53918         file.
53919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53921         file.
53922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53924         file.
53925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53927         file.
53928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53930         file.
53931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53932         file.
53933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53934         file.
53935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53936         file.
53937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53938         New file.
53939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53940         file.
53941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53942         file.
53943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53945         file.
53946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53948         file.
53949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53951         file.
53952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53954         VIS3 routines.
53956         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53957         New file.
53959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53961         * sysdeps/sparc/configure.in: New file.
53962         * sysdeps/sparc/configure: Generate.
53963         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53964         * configure: Regenerate.
53965         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53966         * config.make.in (have-as-vis3): New.
53967         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53968         available use -Av9d instead of -Av9a.
53969         * sysdeps/sparc/sparc64/Makefile: Likewise.
53970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53972         New file.
53973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53974         file.
53975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53976         New file.
53977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53978         file.
53979         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53980         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53981         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53982         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53983         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53985         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53986         fzeros/fnegs to load 0x80000000 into a float register instead of
53987         using the stack.
53988         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53990 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53992         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53993         bits/syscall.h.
53994         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53995         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53996         ($(inst_includedir)/bits/syscall.h): Remove rule.
53997         ($(objpfx)bits/syscall.d): Include instead of
53998         $(objpfx)syscall-list.d.
53999         (generated): Change syscall-list.h and syscall-list.d to
54000         bits/syscall.h and bits/syscall.d.
54002 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54004         [BZ #13846]
54005         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54007 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54009         [BZ #13841]
54010         * math/s_csqrt.c: Include <float.h>.
54011         (__csqrt): Scale large or subnormal inputs.
54012         * math/s_csqrtf.c: Likewise.
54013         * math/s_csqrtl.c: Likewise.
54014         * math/libm-test.inc (csqrt_test): Add more tests.
54015         * sysdeps/i386/fpu/libm-test-ulps: Update.
54016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54018         [BZ #13840]
54019         * math/libm-test.inc (hypot_test): Add more tests.
54021 2012-03-13  David S. Miller  <davem@davemloft.net>
54023         [BZ #13840]
54024         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54025         double-precision for the calculation instead of scaling.
54027 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54029         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54030         manipulate bits before adding and subtracting TWO52[sx].
54031         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54032         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54033         Likewise.
54034         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54036 2012-03-13  David S. Miller  <davem@davemloft.net>
54038         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54039         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54040         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54041         rtld-global-offsets.h
54042         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54044         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54045         large parameters.
54047         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54049         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54050         'err' in the ifdef scope in which it is actually used.
54052         * nss/nss_db/db-init.c: Include string.h
54054 2012-03-12  David S. Miller  <davem@davemloft.net>
54056         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54057         masking out of the most significant byte of random value used.
54058         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54059         Fix coding style in previous change.
54061         * sysdeps/unix/sysv/linux/kernel-features.h
54062         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54063         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54064         expression.
54065         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54066         later.
54068 2012-03-11  David S. Miller  <davem@davemloft.net>
54070         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54071         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54072         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54073         for 'resultvar' otherwise things get truncated on 64-bit.
54075         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54076         Fix masking out of the most significant byte of random value used.
54078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54080 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54084 2012-03-09  David S. Miller  <davem@davemloft.net>
54086         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54087         variables with appropriate CPP guards.
54088         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54089         from the frame pointer, not the stack pointer.  Correct layout
54090         comments.  Fix test on resulting framesize and the management of
54091         the outregs buffer for pltexit.  Preserve floating point return
54092         values across _dl_call_pltexit call.
54093         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54094         framesize and the management of the outregs buffer for pltexit.
54095         Preserve floating point return values across _dl_call_pltexit
54096         call.
54097         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54098         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54099         (la_sparc64_gnu_pltexit): New functions.
54100         (print_exit): Fix format string for return register value.
54102 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54104         * sunrpc/Makefile (others): Add rpcgen.
54105         ($(objpfx)rpcgen): Remove special build rule and dependency on
54106         libc.
54107         * sunrpc/rpcgen.c: New file.
54109 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54111         [BZ #13673]
54112         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54113         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54114         * sysdeps/i386/crti.S: Likewise.
54115         * sysdeps/i386/crtn.S: Likewise.
54116         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54117         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54118         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54119         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54120         * sysdeps/sh/crti.S: Likewise.
54121         * sysdeps/sh/crtn.S: Likewise.
54122         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54124         [BZ #13673]
54125         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54126         with URL.
54127         * locale/programs/locfile-kw.gperf: Likewise.
54128         * locale/programs/charmap-kw.h: Regenerated.
54129         * locale/programs/locfile-kw.h: Likewise.
54131         [BZ #13673]
54132         * intl/plural.y: Replace FSF snail mail address with URL.
54133         * intl/plural.c: Regenerated.
54135 2012-03-09  Richard Henderson  <rth@twiddle.net>
54137         * include/math_private.h: Remove file.
54138         * math/math_private.h: Move file ...
54139         * sysdeps/generic/math_private.h: ... here.
54141         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54142         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54143         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54145         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54146         and <math_private.h>.
54147         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54148         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54149         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54150         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54151         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54152         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54153         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54154         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54155         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54156         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54158         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54159         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54160         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54161         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54162         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54163         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54164         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54165         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54166         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54168         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54169         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54170         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54171         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54172         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54173         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54174         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54175         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54176         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54177         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54178         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54179         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54180         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54181         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54182         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54183         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54184         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54185         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54186         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54187         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54188         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54189         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54190         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54191         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54192         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54193         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54194         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54195         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54196         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54197         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54198         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54199         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54200         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54201         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54202         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54203         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54204         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54205         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54206         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54207         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54208         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54209         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54210         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54211         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54212         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54213         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54214         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54215         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54216         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54217         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54218         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54219         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54220         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54221         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54222         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54223         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54224         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54225         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54226         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54227         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54228         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54229         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54230         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54231         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54232         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54233         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54234         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54235         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54236         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54237         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54238         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54239         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54240         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54241         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54242         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54243         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54244         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54245         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54246         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54247         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54248         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54249         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54250         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54251         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54252         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54253         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54254         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54255         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54256         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54257         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54258         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54259         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54260         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54261         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54262         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54263         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54264         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54265         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54266         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54267         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54268         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54269         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54270         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54271         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54272         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54273         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54274         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54275         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54276         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54277         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54278         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54279         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54280         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54281         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54282         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54283         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54284         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54285         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54286         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54287         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54288         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54289         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54290         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54291         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54292         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54293         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54294         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54295         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54296         * sysdeps/ieee754/k_standard.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54301         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54302         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54303         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54304         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54305         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54306         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54309         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54310         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54311         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54313         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54314         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54323         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54324         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54325         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54326         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54327         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54329         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54330         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54335         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54339         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54340         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54343         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54344         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54345         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54346         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54347         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54348         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54349         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54350         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54351         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54352         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54353         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54354         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54355         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54356         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54357         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54358         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54359         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54360         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54361         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54362         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54363         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54364         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54365         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54366         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54367         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54368         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54369         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54370         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54371         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54372         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54373         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54374         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54375         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54376         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54377         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54378         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54379         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54380         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54381         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54382         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54383         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54384         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54386         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54387         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54388         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54389         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54390         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54391         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54392         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54393         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54394         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54395         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54396         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54397         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54398         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54399         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54400         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54401         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54402         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54403         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54404         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54405         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54406         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54407         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54408         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54409         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54410         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54411         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54412         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54413         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54414         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54415         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54416         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54417         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54418         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54419         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54420         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54421         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54422         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54423         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54424         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54425         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54426         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54427         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54428         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54429         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54431         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54433         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54434         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54435         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54436         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54437         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54438         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54439         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54440         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54441         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54442         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54443         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54444         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54445         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54446         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54447         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54448         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54449         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54450         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54451         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54452         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54453         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54454         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54455         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54456         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54457         * sysdeps/ieee754/s_lib_version.c: Likewise.
54458         * sysdeps/ieee754/s_matherr.c: Likewise.
54459         * sysdeps/ieee754/s_signgam.c: Likewise.
54460         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54461         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54462         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54463         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54464         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54465         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54466         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54467         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54468         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54469         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54470         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54471         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54472         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54473         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54474         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54475         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54476         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54477         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54478         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54479         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54480         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54482 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54484         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54485         * sunrpc/rpc_main.c: Likewise.
54486         * sunrpc/rpc_svcout.c: Likewise.
54488 2012-03-09  David S. Miller  <davem@davemloft.net>
54490         * include/math_private.h: New file.
54492 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54494         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54495         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54496         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54497         from <bits/socket_type.h>.
54498         (enum __socket_type): Don't define here.
54499         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54500         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54501         bits/socket_type.h.
54503         [BZ #13566]
54504         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54505         checking __USE_GNU.
54507         * Makerules ($(inst_includedir)/%.h): New rule.
54508         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54509         (install-others): Remove variable setting.
54510         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54512 2012-03-08  Richard Henderson  <rth@twiddle.net>
54514         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54515         from macro to inline function; merge with the
54516         !__LIBC_INTERNAL_MATH_INLINES version.
54517         (__ieee754_sqrtf): Likewise.
54519         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54520         to inline function.
54521         (__rintf, __floor, __floorf): Likewise.
54523         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54524         macro to inline function.
54525         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54527         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54528         not <math/math_private.h>.
54530 2012-03-08  David S. Miller  <davem@davemloft.net>
54532         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54533         copyright year.
54534         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54536 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54538         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54539         normalization.
54540         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54541         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54543 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54545         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54546         be defined individually, they must be defined as a block.  Define
54547         S for printing a string instead of hidint the different by using a
54548         macro for adding the 'l'.
54549         * stdio-common/tst-fphex-wide.c: Adjust.
54551 2012-03-07  Marek Polacek  <polacek@redhat.com>
54553         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54555 2012-03-08  Marek Polacek  <polacek@redhat.com>
54557         [BZ #13806]
54558         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54559         * stdio-common/tst-fphex.c: Define a few macros to make the
54560         test reusable.  Use them.
54561         * stdio-common/tst-fphex-wide.c: New file.
54563 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54565         [BZ #6911]
54566         * manual/macros.texi (gnusystems): New macro.
54567         (nongnusystems): Likewise.
54568         (gnulinuxhurdsystems): Likewise.
54569         (gnuhurdsystems): Likewise..
54570         (gnulinuxsystems): Likewise.
54571         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54572         variants of the GNU system, not "GNU system".
54573         * manual/conf.texi: Likewise.
54574         * manual/errno.texi: Likewise.  Update example of errno macro
54575         expansion.
54576         * manual/filesys.texi: Likewise.
54577         (getumask): Document as specific to GNU/Hurd.
54578         * manual/install.texi: Likewise.  Reword some references to
54579         GNU/Linux.
54580         * manual/intro.texi: Likewise.
54581         * manual/io.texi: Likewise.
54582         (File Name Portability): Detail which constraints are inapplicable
54583         to all GNU systems and which are only inapplicable to GNU/Hurd.
54584         * manual/job.texi: Likewise.
54585         * manual/llio.texi: Likewise.
54586         (O_NOCTTY): Document as present on GNU/Linux.
54587         * manual/maint.texi: Likewise.
54588         * manual/memory.texi: Likewise.
54589         * manual/pattern.texi: Likewise.
54590         * manual/pipe.texi: Likewise.
54591         * manual/process.texi: Likewise.
54592         * manual/resource.texi: Likewise.
54593         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54594         child on GNU/Hurd.
54595         * manual/setjmp.texi: Likewise.
54596         * manual/signal.texi: Likewise.
54597         * manual/startup.texi: Likewise.
54598         * manual/stdio.texi: Likewise.
54599         * manual/terminal.texi: Likewise.
54600         (ONLCR): Document as POSIX.
54601         (OXTABS): Document availability on GNU/Linux as XTABS.
54602         (ONOEOT): Document availability separately from other bits.
54603         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54604         * manual/time.texi: Likewise.
54605         * manual/users.texi: Likewise.
54606         * INSTALL: Regenerated.
54607         * sysdeps/gnu/errlist.c: Regenerated.
54609         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54610         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54611         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54612         puts.
54613         * configure: Regenerated.
54615 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54617         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54618         default includes instead of AC_HEADER_CHECK.
54619         * sysdeps/i386/configure: Regenerated.
54621         [BZ #10716]
54622         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54623         * math/s_cacoshf.c (__cacoshf): Likewise.
54624         * math/s_cacoshl.c (__cacoshl): Likewise.
54625         * math/s_casinh.c (__casinh): Set signs of result from argument.
54626         * math/s_casinhf.c (__casinhf): Likewise.
54627         * math/s_casinhl.c (__casinhl): Likewise.
54628         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54629         (casinh_test): Add more tests.
54630         * sysdeps/i386/fpu/libm-test-ulps: Update.
54631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54633 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54635         * po/zh_TW.po: Update from translation team.
54637         * login/Makefile (distribute): Remove variable.
54638         * catgets/Makefile: Likewise.
54639         * mach/Makefile: Likewise.
54640         * malloc/Makefile: Likewise.
54641         * misc/Makefile: Likewise.
54642         * iconv/Makefile: Likewise.
54643         * nscd/Makefile: Likewise.
54644         * hurd/Makefile: Likewise.
54645         * manual/Makefile: Likewise.
54646         * locale/Makefile: Likewise.
54647         * intl/Makefile: Likewise.
54648         * conform/Makefile: Likewise.
54649         * nss/Makefile: Likewise.
54650         * time/Makefile: Likewise.
54651         * soft-fp/Makefile: Likewise.
54652         * dirent/Makefile: Likewise.
54653         * gmon/Makefile: Likewise.
54654         * po/Makefile: Likewise.
54655         * rt/Makefile: Likewise.
54656         * socket/Makefile: Likewise.
54657         * math/Makefile: Likewise.
54658         * signal/Makefile: Likewise.
54659         * debug/Makefile: Likewise.
54660         * elf/Makefile: Likewise.
54661         * timezone/Makefile: Likewise.
54662         * stdlib/Makefile: Likewise.
54663         * iconvdata/Makefile: Likewise.
54664         * sunrpc/Makefile: Likewise.
54665         * io/Makefile: Likewise.
54666         * argp/Makefile: Likewise.
54667         * inet/Makefile: Likewise.
54668         * hesiod/Makefile: Likewise.
54669         * grp/Makefile: Likewise.
54670         * csu/Makefile: Likewise.
54671         * wctype/Makefile: Likewise.
54672         * crypt/Makefile: Likewise.
54673         * libio/Makefile: Likewise.
54674         * string/Makefile: Likewise.
54675         * nis/Makefile: Likewise.
54676         * resolv/Makefile: Likewise.
54677         * stdio-common/Makefile: Likewise.
54678         * wcsmbs/Makefile: Likewise.
54679         * dlfcn/Makefile: Likewise.
54680         * posix/Makefile: Likewise.
54682         [BZ #6959]
54683         * timezone/Makefile: Don't install timezone files, just the programs
54684         and scripts.
54686 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54688         * nss/databases.def: Add missing gshadow entry.
54690         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54692 2012-03-06  Marek Polacek  <polacek@redhat.com>
54694         [BZ #13726]
54695         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54696         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54697         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54698         * stdio-common/tst-long-dbl-fphex.c: New file.
54700 2012-03-06  David S. Miller  <davem@davemloft.net>
54702         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54703         (set_obp_int): New function.
54704         (get_obp_int): New function.
54705         (__get_clockfreq_via_dev_openprom): Likewise.
54706         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54707         Avoid unused variable warnings on 'val' and use builtin_expect.
54708         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54709         __builtin_expect.
54710         (INLINE_CLONE_SYSCALL): Likewise.
54712 2012-03-05  David S. Miller  <davem@davemloft.net>
54714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54716 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54720         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54721         only for |x| >= 40.
54722         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54724 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54726         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54727         Replace gettimeofday with __vdso_gettimeofday.
54729         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54730         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54731         __vdso_clock_gettime and __vdso_getcpu.
54733         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54734         time with __vdso_time.
54736 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54738         * manual/lang.texi (size_t): Note types to which size_t may be
54739         equivalent with the GNU C Library, but do not describe when
54740         differences between them are significant.
54742 2012-03-05  Andreas Jaeger  <aj@suse.de>
54744         * sysdeps/i386/fpu/libm-test-ulps: Update.
54746 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54748         [BZ #3976]
54749         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54750         (__ieee754_pow): Save and restore rounding mode and use
54751         round-to-nearest for main computations.
54752         * math/libm-test.inc (pow_test_tonearest): New function.
54753         (pow_test_towardzero): Likewise.
54754         (pow_test_downward): Likewise.
54755         (pow_test_upward): Likewise.
54756         (main): Call the new functions.
54757         * sysdeps/i386/fpu/libm-test-ulps: Update.
54758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54760         [BZ #3976]
54761         * math/libm-test.inc (cosh_test_tonearest): New function.
54762         (cosh_test_towardzero): Likewise.
54763         (cosh_test_downward): Likewise.
54764         (cosh_test_upward): Likewise.
54765         (sinh_test_tonearest): Likewise.
54766         (sinh_test_towardzero): Likewise.
54767         (sinh_test_downward): Likewise.
54768         (sinh_test_upward): Likewise.
54769         (main): Call the new functions.
54770         * sysdeps/i386/fpu/libm-test-ulps: Update.
54771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54773 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54775         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54776         default stack guard is set in last bytes.
54777         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54779 2012-03-05  Kees Cook  <keescook@chromium.org>
54781         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54783         [BZ #13656]
54784         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54785         possibly allocate from heap instead of stack.
54786         * stdio-common/bug-vfprintf-nargs.c: New file.
54787         * stdio-common/Makefile (tests): Add nargs overflow test.
54789 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54793 2012-03-03  Marek Polacek  <polacek@redhat.com>
54795         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54796         * math/math_private.h: Likewise.
54797         * stdlib/tst-strtod.c: Likewise.
54798         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54799         * sysdeps/x86_64/bits/atomic.h: Likewise.
54801 2012-03-02  David S. Miller  <davem@davemloft.net>
54803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54807         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54808         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54809         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54810         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54812 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54814         [BZ #13792]
54815         * manual/examples/README: New file, says the example source files
54816         can be used under GPL>=2.
54817         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54818         line containing just "*/".
54819         * manual/examples/add.c: Add copyright header (GPL>=2).
54820         * manual/examples/argp-ex1.c: Likewise.
54821         * manual/examples/argp-ex2.c: Likewise.
54822         * manual/examples/argp-ex3.c: Likewise.
54823         * manual/examples/argp-ex4.c: Likewise.
54824         * manual/examples/atexit.c: Likewise.
54825         * manual/examples/db.c: Likewise.
54826         * manual/examples/dir.c: Likewise.
54827         * manual/examples/dir2.c: Likewise.
54828         * manual/examples/execinfo.c: Likewise.
54829         * manual/examples/filecli.c: Likewise.
54830         * manual/examples/filesrv.c: Likewise.
54831         * manual/examples/fmtmsgexpl.c: Likewise.
54832         * manual/examples/genpass.c: Likewise.
54833         * manual/examples/inetcli.c: Likewise.
54834         * manual/examples/inetsrv.c: Likewise.
54835         * manual/examples/isockad.c: Likewise.
54836         * manual/examples/longopt.c: Likewise.
54837         * manual/examples/memopen.c: Likewise.
54838         * manual/examples/memstrm.c: Likewise.
54839         * manual/examples/mkfsock.c: Likewise.
54840         * manual/examples/mkisock.c: Likewise.
54841         * manual/examples/mygetpass.c: Likewise.
54842         * manual/examples/pipe.c: Likewise.
54843         * manual/examples/popen.c: Likewise.
54844         * manual/examples/rprintf.c: Likewise.
54845         * manual/examples/search.c: Likewise.
54846         * manual/examples/select.c: Likewise.
54847         * manual/examples/setjmp.c: Likewise.
54848         * manual/examples/sigh1.c: Likewise.
54849         * manual/examples/sigusr.c: Likewise.
54850         * manual/examples/stpcpy.c: Likewise.
54851         * manual/examples/strdupa.c: Likewise.
54852         * manual/examples/strftim.c: Likewise.
54853         * manual/examples/strncat.c: Likewise.
54854         * manual/examples/subopt.c: Likewise.
54855         * manual/examples/swapcontext.c: Likewise.
54856         * manual/examples/termios.c: Likewise.
54857         * manual/examples/testopt.c: Likewise.
54858         * manual/examples/testpass.c: Likewise.
54859         * manual/examples/timeval_subtract.c: Likewise.
54861         [BZ #13792]
54862         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54863         function to ...
54864         * manual/timeval_subtract.c.texi: ... here, new file.
54866 2012-03-02  David S. Miller  <davem@davemloft.net>
54868         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54870 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54872         [BZ #3976]
54873         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54874         (__sin): Save and restore rounding mode and use round-to-nearest
54875         for all computations.
54876         (__cos): Save and restore rounding mode and use round-to-nearest
54877         for all computations.
54878         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54879         <fenv.h>.
54880         (tan): Save and restore rounding mode and use round-to-nearest for
54881         all computations.
54882         * math/libm-test.inc (cos_test_tonearest): New function.
54883         (cos_test_towardzero): Likewise.
54884         (cos_test_downward): Likewise.
54885         (cos_test_upward): Likewise.
54886         (sin_test_tonearest): Likewise.
54887         (sin_test_towardzero): Likewise.
54888         (sin_test_downward): Likewise.
54889         (sin_test_upward): Likewise.
54890         (tan_test_tonearest): Likewise.
54891         (tan_test_towardzero): Likewise.
54892         (tan_test_downward): Likewise.
54893         (tan_test_upward): Likewise.
54894         (main): Call the new functions.
54895         * sysdeps/i386/fpu/libm-test-ulps: Update.
54896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54898         [BZ #10135]
54899         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54900         small n, then large n, before computing and testing k+n.
54901         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54903         Likewise.
54904         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54905         Likewise.
54906         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54907         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54908         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54909         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54910         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54911         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54912         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54913         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54914         * math/libm-test.inc (scalbn_test): Add more tests.
54915         (scalbln_test): Likewise.
54917         * manual/filesys.texi (mode_t): Describe constraints on size and
54918         signedness, not exact equivalence to a particular type.
54919         (ino_t): Likewise.
54920         (ino64_t): Likewise.
54921         (dev_t): Likewise.
54922         (nlink_t): Likewise.
54923         (blkcnt_t): Likewise.
54924         (blkcnt64_t): Likewise.
54925         * manual/llio.texi (off_t): Likewise.
54927         [BZ #3976]
54928         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54929         (__ieee754_exp): Save and restore rounding mode and use
54930         round-to-nearest for all computations.
54931         * math/libm-test.inc (exp_test_tonearest): New function.
54932         (exp_test_towardzero): Likewise.
54933         (exp_test_downward): Likewise.
54934         (exp_test_upward): Likewise.
54935         (main): Call the new functions.
54936         * sysdeps/i386/fpu/libm-test-ulps: Update.
54937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54939 2012-03-01  Chris Demetriou  <cgd@google.com>
54941         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54942         have predictable order.
54944 2012-03-01  David S. Miller  <davem@davemloft.net>
54946         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54948         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54949         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54950         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54951         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54953         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54954         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54955         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54957         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54958         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54959         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54960         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54961         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54965         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54966         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54967         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54969         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54970         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54971         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54972         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54973         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54974         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54975         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54976         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54977         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54978         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54979         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54980         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54981         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54982         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54983         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54984         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54985         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54986         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54987         * sysdeps/sparc/elf/configure: Regenerated.
54989 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54991         * configure.in (AS, LD): Require binutils 2.20 or later.
54992         * configure: Regenerated.
54993         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54994         as required minimum version.
54995         * INSTALL: Regenerated.
54997         [BZ #2541]
54998         [BZ #4108]
54999         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55000         before squaring exponent.
55001         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55002         bottom long double and 27 bits of top long double before squaring
55003         exponent.
55004         * math/libm-test.inc (erfc_test): Add more tests.
55005         * sysdeps/i386/fpu/libm-test-ulps: Update.
55006         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55009 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55011         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55012         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55013         containing bit-fields.
55014         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55015         * soft-fp/single.h (_FP_UNION_S): Likewise.
55016         * soft-fp/double.h (_FP_UNION_D): Likewise.
55018 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55020         [BZ #13786]
55021         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55022         not include ../strcmp.S.
55023         [USE_AS_STRNCASECMP_L]: Likewise.
55024         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55025         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55026         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55027         (__strncasecmp_l_ia32): Define as alias to
55028         __strncasecmp_l_nonascii.
55030         [BZ #5794]
55031         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55032         * sysdeps/i386/fpu/libm-test-ulps: Update.
55033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55035         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55038 2012-02-29  Jeff Law  <law@redhat.com>
55040         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55041         out of bounds read.
55043 2012-02-29  Marek Polacek  <polacek@redhat.com>
55045         [BZ #13706]
55046         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55047         * elf/Makefile: Add rules to run tst-unused-dep.out.
55049 2012-02-28  David S. Miller  <davem@davemloft.net>
55051         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55052         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55053         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55054         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55055         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55056         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55058 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55060         * math/libm-test.inc (llround_test): Move one test from
55061         lround_test.  Use TEST_f_L in moved test.
55062         (lround_test): Move misplaced test to llround_test.  Add testcase
55063         from bug 2561.
55065 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55067         * sysdeps/x86_64/fpu/e_expf.S: New file.
55068         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55070 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55072         [BZ #13637]
55073         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55074         of remain_len that may cause incomplete multi-byte character and
55075         false match.
55076         * posix/bug-regex33.c: New file.
55077         * posix/Makefile (tests): Add bug-regex33.
55079 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55081         * manual/macros.texi: New file.
55082         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55083         * manual/libc.texinfo: Include macros.texi.
55084         * manual/creatute.texi: Likewise.
55085         * manual/install.texi: Likewise.
55086         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55087         @glibcadj{} in references to the GNU C Library.
55088         * manual/charset.texi: Likewise.
55089         * manual/conf.texi: Likewise.
55090         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55091         when not using those macros.
55092         * manual/creature.texi: Likewise.
55093         * manual/crypt.texi: Likewise.
55094         * manual/errno.texi: Likewise.
55095         * manual/filesys.texi: Likewise.
55096         * manual/header.texi: Likewise.
55097         * manual/install.texi: Likewise.
55098         * manual/intro.texi: Likewise.
55099         * manual/io.texi: Likewise.
55100         * manual/job.texi: Likewise.
55101         * manual/lang.texi: Likewise.
55102         * manual/libc.texiinfo: Likewise.
55103         * manual/llio.texi: Likewise.
55104         * manual/locale.texi: Likewise.
55105         * manual/maint.texi: Likewise.
55106         * manual/math.texi: Likewise.
55107         * manual/memory.texi: Likewise.
55108         * manual/message.texi: Likewise.
55109         * manual/nss.texi: Likewise.
55110         * manual/pattern.texi: Likewise.
55111         * manual/process.texi: Likewise.
55112         * manual/resource.texi: Likewise.
55113         * manual/search.texi: Likewise.
55114         * manual/setjmp.texi: Likewise.
55115         * manual/signal.texi: Likewise.
55116         * manual/socket.texi: Likewise.
55117         * manual/startup.texi: Likewise.
55118         * manual/stdio.texi: Likewise.
55119         * manual/string.texi: Likewise.
55120         * manual/sysinfo.texi: Likewise.
55121         * manual/syslog.texi: Likewise.
55122         * manual/terminal.texi: Likewise.
55123         * manual/time.texi: Likewise.
55124         * manual/users.texi: Likewise.
55125         * INSTALL: Regenerated.
55126         * NOTES: Regenerated.
55127         * sysdeps/gnu/errlist.c: Regenerated.
55129 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55131         * include/dirent.h: Include <dirstream.h> before
55132         <dirent/dirent.h>.
55134 2012-02-28  David S. Miller  <davem@davemloft.net>
55136         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55137         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55138         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55139         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55141 2012-02-27  David S. Miller  <davem@davemloft.net>
55143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55145         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55146         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55149         frame pointer instead of stack pointer relative arg slot.
55150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55151         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55152         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55154 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55156         [BZ #3992]
55157         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55159 2012-02-27  David S. Miller  <davem@davemloft.net>
55161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55165         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55166         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55167         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55168         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55170 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55172         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55173         later.  Allow versions 5-9.
55174         * configure: Regenerated.
55175         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55176         required minimum version and 4.6 as recommended version.  Do not
55177         mention bugs in GCC 2.7 and 2.8.
55178         * INSTALL: Regenerated.
55180 2012-02-27  David S. Miller  <davem@davemloft.net>
55182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55186         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55187         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55188         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55189         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55191         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55192         manipulate bits before adding and subtracting TWO112[sx].
55193         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55195 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55197         [BZ #13775]
55198         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55199         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55200         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55201         being in POSIX, because they are in 1003.1-2008.
55203         * rt/tst-aio.c: Include <fcntl.h>.
55204         * rt/tst-aio7.c: Likewise.
55205         * rt/tst-aio64.c: Likewise.
55207         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55209 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55211         * manual/install.texi (--with-headers): Describe headers as
55212         interface headers, not private headers.
55213         (Specific advice for GNU/Linux systems): Describe use of headers
55214         from "make headers_install", not private headers from older
55215         kernels.
55216         * INSTALL: Regenerated.
55217         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55218         Change to 2.6.19.
55219         * sysdeps/unix/sysv/linux/configure: Regenerated.
55221         * manual/llio.texi (fclean): Remove documentation.
55223         * manual/Makefile (libc-texi-generated): New variable.  Include
55224         version.texi.
55225         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55226         $(libc-texi-generated), not duplicated list of files.
55227         (version.texi, stamp-version): New rules.
55228         (realclean): Remove $(libc-texi-generated), not individual files
55229         from that list.  Do not remove dir-add.texinfo.
55230         * manual/libc.texinfo: Comment out uses of edition numbers and
55231         references to printed manual.  Remove last-updated dates.
55232         (EDITION): Comment out.
55233         (ISBN): Likewise.
55234         (VERSION, UPDATED): Remove.
55235         (version.texi): Include.
55237 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55239         * sysdeps/posix/spawni.c: Include <signal.h>.
55240         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55241         * sysdeps/pthread/aio_fsync.c: Likewise.
55243 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55245         * conform/Makefile (tests): Run only when not cross-compiling and
55246         when fast-check is not defined.
55248         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55249         * conform/data/limits.h-data: Fixes for POSIX2008.
55250         * conform/run-conformtest.sh: Run all tests.
55251         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55252         headers.
55253         * include/bits/dlfcn.h: Likewise.
55254         * include/langinfo.h: Likewise.
55255         * include/monetary.h: Likewise.
55256         * include/sys/poll.h: Likewise.
55258         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55259         for __USE_GNU.
55260         * posix/spawn.h: Define __need_sigset_t.
55261         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55262         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55263         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55264         to get sigevent_t only.
55265         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55266         only for __USE_GNU.
55267         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55268         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55269         process_vm_writev only for __USE_GNU.
55270         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55272         * conform/Makefile: For now ignore errors from run-conformtest.
55273         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55274         POSIX to avoid namespace pollution.  Don't prepend headers.
55275         * conform/data/aio.h-data: Fixes for POSIX testing.
55276         * conform/data/fcntl.h-data: Likewise.
55277         * conform/data/glob.h-data: Likewise.
55278         * conform/data/grp.h-data: Likewise.
55279         * conform/data/pthread.h-data: Likewise.
55280         * conform/data/pwd.h-data: Likewise.
55281         * conform/data/signal.h-data: Likewise.
55282         * conform/data/spawn.h-data: Likewise.
55283         * conform/data/stdio.h-data: Likewise.
55284         * conform/data/stdlib.h-data: Likewise.
55285         * conform/data/stropts.h-data: Likewise.
55286         * conform/data/sys/mman.h-data: Likewise.
55287         * conform/data/sys/stat.h-data: Likewise.
55288         * conform/data/sys/types.h-data: Likewise.
55289         * conform/data/sys/wait.h-data: Likewise.
55290         * conform/data/time.h-data: Likewise.
55291         * conform/data/unistd.h-data: Likewise.
55292         * conform/data/utime.h-data: Likewise.
55294         * io/sys/stat.h: fchmod was always in POSIX.
55295         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55296         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55297         * rt/aio.h: Define __need_timespec before including <time.h>.
55298         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55299         struct.  Add forward declaration of pthread_attr_t and use it in
55300         sigevent.
55301         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55302         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55303         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55304         always remove CLK_TCK definition.
55306 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55308         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55310 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55312         * conform/run-conformtest.sh: New file.
55313         * conform/Makefile: Run run-conformtest for tests.
55314         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55315         support.
55317         * conform/data/uchar.h-data: New file.
55318         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55319         * conform/data/arpa/inet.h-data: Likewise.
55320         * conform/data/assert.h-data: Likewise.
55321         * conform/data/complex.h-data: Likewise.
55322         * conform/data/cpio.h-data: Likewise.
55323         * conform/data/ctype.h-data: Likewise.
55324         * conform/data/dirent.h-data: Likewise.
55325         * conform/data/dlfcn.h-data: Likewise.
55326         * conform/data/errno.h-data: Likewise.
55327         * conform/data/fcntl.h-data: Likewise.
55328         * conform/data/float.h-data: Likewise.
55329         * conform/data/fmtmsg.h-data: Likewise.
55330         * conform/data/fnmatch.h-data: Likewise.
55331         * conform/data/ftw.h-data: Likewise.
55332         * conform/data/glob.h-data: Likewise.
55333         * conform/data/grp.h-data: Likewise.
55334         * conform/data/iconv.h-data: Likewise.
55335         * conform/data/inttypes.h-data: Likewise.
55336         * conform/data/langinfo.h-data: Likewise.
55337         * conform/data/libgen.h-data: Likewise.
55338         * conform/data/limits.h-data: Likewise.
55339         * conform/data/locale.h-data: Likewise.
55340         * conform/data/math.h-data: Likewise.
55341         * conform/data/monetary.h-data: Likewise.
55342         * conform/data/mqueue.h-data: Likewise.
55343         * conform/data/ndbm.h-data: Likewise.
55344         * conform/data/net/if.h-data: Likewise.
55345         * conform/data/netdb.h-data: Likewise.
55346         * conform/data/netinet/in.h-data: Likewise.
55347         * conform/data/nl_types.h-data: Likewise.
55348         * conform/data/poll.h-data: Likewise.
55349         * conform/data/pthread.h-data: Likewise.
55350         * conform/data/pwd.h-data: Likewise.
55351         * conform/data/regex.h-data: Likewise.
55352         * conform/data/sched.h-data: Likewise.
55353         * conform/data/search.h-data: Likewise.
55354         * conform/data/semaphore.h-data: Likewise.
55355         * conform/data/setjmp.h-data: Likewise.
55356         * conform/data/signal.h-data: Likewise.
55357         * conform/data/spawn.h-data: Likewise.
55358         * conform/data/stdarg.h-data: Likewise.
55359         * conform/data/stdio.h-data: Likewise.
55360         * conform/data/stdlib.h-data: Likewise.
55361         * conform/data/string.h-data: Likewise.
55362         * conform/data/strings.h-data: Likewise.
55363         * conform/data/stropts.h-data: Likewise.
55364         * conform/data/sys/ipc.h-data: Likewise.
55365         * conform/data/sys/mman.h-data: Likewise.
55366         * conform/data/sys/msg.h-data: Likewise.
55367         * conform/data/sys/resource.h-data: Likewise.
55368         * conform/data/sys/select.h-data: Likewise.
55369         * conform/data/sys/sem.h-data: Likewise.
55370         * conform/data/sys/shm.h-data: Likewise.
55371         * conform/data/sys/socket.h-data: Likewise.
55372         * conform/data/sys/stat.h-data: Likewise.
55373         * conform/data/sys/statvfs.h-data: Likewise.
55374         * conform/data/sys/time.h-data: Likewise.
55375         * conform/data/sys/timeb.h-data: Likewise.
55376         * conform/data/sys/times.h-data: Likewise.
55377         * conform/data/sys/types.h-data: Likewise.
55378         * conform/data/sys/uio.h-data: Likewise.
55379         * conform/data/sys/un.h-data: Likewise.
55380         * conform/data/sys/utsname.h-data: Likewise.
55381         * conform/data/sys/wait.h-data: Likewise.
55382         * conform/data/syslog.h-data: Likewise.
55383         * conform/data/tar.h-data: Likewise.
55384         * conform/data/termios.h-data: Likewise.
55385         * conform/data/utime.h-data: Likewise.
55386         * conform/data/utmpx.h-data: Likewise.
55387         * conform/data/varargs.h-data: Likewise.
55388         * conform/data/wchar.h-data: Likewise.
55389         * conform/data/wctype.h-data: Likewise.
55390         * conform/data/wordexp.h-data: Likewise.
55392         * include/stropts.h: New file.
55393         * include/uchar.h: New file.
55394         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55395         * include/assert.h: Likewise.
55396         * include/ctype.h: Likewise.
55397         * include/dirent.h: Likewise.
55398         * include/dlfcn.h: Likewise.
55399         * include/fcntl.h: Likewise.
55400         * include/fnmatch.h: Likewise.
55401         * include/glob.h: Likewise.
55402         * include/grp.h: Likewise.
55403         * include/libio.h: Likewise.
55404         * include/locale.h: Likewise.
55405         * include/math.h: Likewise.
55406         * include/net/if.h: Likewise.
55407         * include/netdb.h: Likewise.
55408         * include/netinet/in.h: Likewise.
55409         * include/pthread.h: Likewise.
55410         * include/pwd.h: Likewise.
55411         * include/regex.h: Likewise.
55412         * include/sched.h: Likewise.
55413         * include/search.h: Likewise.
55414         * include/setjmp.h: Likewise.
55415         * include/signal.h: Likewise.
55416         * include/stdio.h: Likewise.
55417         * include/stdlib.h: Likewise.
55418         * include/string.h: Likewise.
55419         * include/sys/cdefs.h: Likewise.
55420         * include/sys/mman.h: Likewise.
55421         * include/sys/msg.h: Likewise.
55422         * include/sys/resource.h: Likewise.
55423         * include/sys/select.h: Likewise.
55424         * include/sys/socket.h: Likewise.
55425         * include/sys/stat.h: Likewise.
55426         * include/sys/statvfs.h: Likewise.
55427         * include/sys/time.h: Likewise.
55428         * include/sys/times.h: Likewise.
55429         * include/sys/uio.h: Likewise.
55430         * include/sys/utsname.h: Likewise.
55431         * include/sys/wait.h: Likewise.
55432         * include/termios.h: Likewise.
55433         * include/time.h: Likewise.
55434         * include/ulimit.h: Likewise.
55435         * include/unistd.h: Likewise.
55436         * include/utime.h: Likewise.
55437         * include/wchar.h: Likewise.
55438         * include/wctype.h: Likewise.
55439         * include/wordexp.h: Likewise.
55441         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55443         * time/time.h: TIME_UTC must be a macro.
55444         Make timespec_get available for ISO C11 only as well.
55446 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55448         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55449         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55451 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55453         * configure.in: Use -o not -a in test for unsupported multi-arch.
55455 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55457         * manual/texinfo.tex: Update to version 2012-01-19.16.
55459 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55461         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55463 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55465         [BZ #13738]
55466         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55467         * manual/fdl-1.3.texi: New file.
55468         * manual/fdl-1.1.texi: File removed.
55470         [BZ #13738]
55471         * manual/libc.texinfo (FDL_VERSION): New @set.
55472         Use it for mention of FDL in cover text.
55473         (Documentation License): Use it in @include file name.
55475 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55476             Roland McGrath  <roland@hack.frob.com>
55478         [BZ #5461]
55479         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55480         (not LONG_LONG_MAX and LONG_LONG_MIN.
55481         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55482         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55483         name.
55484         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55486 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55488         [BZ #2547]
55489         [BZ #11365]
55490         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55491         manipulate bits before adding and subtracting TWO23[sx].
55492         * math/libm-test.inc (nearbyint_test): Add more tests.
55494 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55496         [BZ #2548]
55497         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55498         bits before adding and subtracting TWO23[sx].
55499         * math/libm-test.inc (rint_test): Add more tests.
55500         (rint_test_tonearest): Likewise.
55501         (rint_test_towardzero): Likewise.
55502         (rint_test_downward): Likewise.
55503         (rint_test_upward: Likewise.
55505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55507         [BZ #10110]
55508         * include/stdc-predef.h: New file.  Extracted from features.h.
55509         * include/features.h: Include stdc-predef.h.
55510         * Makefile (headers): Add stdc-predef.h.
55511         * CONFORMANCE (Compiler limitations): Update.
55513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55515         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55517 2012-02-21  David S. Miller  <davem@davemloft.net>
55519         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55520         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55522 2012-02-20  David S. Miller  <davem@davemloft.net>
55524         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55525         using a normal save/restore sequence, rather than allocating a
55526         dummy stack frame just to store a frame pointer and restore.
55527         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55529 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55531         * manual/install.texi: Fix stray word in line-wrapped comment.
55533 2012-02-20  David S. Miller  <davem@davemloft.net>
55535         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55536         both binutils and gcc support GOTDATA.
55538         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55539         "rd %pc" in the PIC register setup sequences.
55541         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55542         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55543         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55544         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55545         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55547         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55548         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55550         (SYSCALL_ERROR_HANDLER): Likewise.
55551         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55552         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55553         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55554         (SYSCALL_ERROR_HANDLER): Likewise.
55556         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55557         (HAVE_GCC_GOTDATA): New.
55558         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55559         relocation support in both binutils and gcc.
55560         * sysdeps/sparc/elf/configure: Regenerate.
55562         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55563         * sysdeps/sparc/sparc32/elf/configure: Delete.
55564         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55565         * sysdeps/sparc/sparc64/elf/configure: Delete.
55566         * sysdeps/sparc/elf/configure.in: New file.
55567         * sysdeps/sparc/elf/configure: Generate.
55569         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55570         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55571         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55572         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55573         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55575 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55577         * manual/install.texi: Do not mention specific glibc version
55578         numbers.
55579         * manual/libc.texinfo (VERSION, UPDATED): Update.
55580         (@copying): Use @copyright{} and range of years.
55582 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55584         [BZ #13695]
55585         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55586         [crti.S not in sysdirs] (generated): Do not append.
55587         [crti.S not in sysdirs] (omit-deps): Likewise.
55588         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55589         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55590         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55591         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55592         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55593         Likewise.
55594         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55595         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55596         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55597         * csu/defs.awk: Remove file.
55598         * sysdeps/generic/initfini.c: Likewise.
55599         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55600         variable.
55601         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55602         Likewise.
55604 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55606         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55607         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55608         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55609         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55610         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55611         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55612         <bits/epoll.h>.
55613         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55614         (__EPOLL_PACKED): Define to empty if not defined by
55615         <bits/epoll.h>.
55616         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55618         bits/epoll.h.
55620 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55622         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55623         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55624         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55625         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55626         <bits/timerfd.h>.
55627         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55629         bits/timerfd.h.
55631 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55633         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55634         in C locale.
55635         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55636         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55637         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55640 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55642         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55643         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55645 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55647         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55648         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55649         defined.
55650         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55651         Likewise.
55652         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55653         entry for 2.16.
55655 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55657         * math/w_acos.c: Use non-signaling floating-point comparisons.
55658         * math/w_acosf.c: Likewise.
55659         * math/w_acosh.c: Likewise.
55660         * math/w_acoshf.c: Likewise.
55661         * math/w_acoshl.c: Likewise.
55662         * math/w_acosl.c: Likewise.
55663         * math/w_asin.c: Likewise.
55664         * math/w_asinf.c: Likewise.
55665         * math/w_asinl.c: Likewise.
55666         * math/w_atanh.c: Likewise.
55667         * math/w_atanhf.c: Likewise.
55668         * math/w_atanhl.c: Likewise.
55669         * math/w_exp2.c: Likewise.
55670         * math/w_exp2f.c: Likewise.
55671         * math/w_exp2l.c: Likewise.
55672         * math/w_j0.c: Likewise.
55673         * math/w_j0f.c: Likewise.
55674         * math/w_j0l.c: Likewise.
55675         * math/w_j1.c: Likewise.
55676         * math/w_j1f.c: Likewise.
55677         * math/w_j1l.c: Likewise.
55678         * math/w_jn.c: Likewise.
55679         * math/w_jnf.c: Likewise.
55680         * math/w_log.c: Likewise.
55681         * math/w_log10.c: Likewise.
55682         * math/w_log10f.c: Likewise.
55683         * math/w_log10l.c: Likewise.
55684         * math/w_log2.c: Likewise.
55685         * math/w_log2f.c: Likewise.
55686         * math/w_log2l.c: Likewise.
55687         * math/w_logf.c: Likewise.
55688         * math/w_logl.c: Likewise.
55689         * math/w_sqrt.c: Likewise.
55690         * math/w_sqrtf.c: Likewise.
55691         * math/w_sqrtl.c: Likewise.
55692         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55693         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55694         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55695         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55696         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55698 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55700         [BZ #9739]
55701         * manual/string.texi (strnlen): Use correct parameter name in
55702         equivalent expression.
55704 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55706         [BZ #11174]
55707         * manual/users.texi (seteuid): Consistently use neweuid for
55708         argument name.
55710 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55712         [BZ #13704]
55713         * manual/nss.texi (Services in the NSS configuration): Correct
55714         list of services in example configuration file.
55716 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55718         [BZ #11322]
55719         * manual/arith.texi: Remove statements about negative zero
55720         behaving identically to zero.
55722 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55724         [BZ #5993]
55725         * manual/install.texi: Do not document upgrading from libc5.
55727 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55729         [BZ #4596]
55730         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55732 2012-02-18  David S. Miller  <davem@davemloft.net>
55734         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55735         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55736         %o7 across the call.
55737         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55738         instead.
55739         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55740         SETUP_PIC_REG_LEAF.
55741         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55742         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55743         * sysdeps/sparc/crtn.S: Likewise.
55745 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55747         * aout/Makefile: Remove.
55749 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55751         [BZ #13058]
55752         * manual/examples/argp-ex1.c (main): Format definition in GNU
55753         style.
55754         * manual/examples/argp-ex2.c (main): Likewise.
55755         * manual/examples/argp-ex3.c (main): Likewise.
55756         * manual/examples/argp-ex4.c (main): Likewise.
55757         * manual/examples/longopt.c (main): Use new-style prototype
55758         definition.
55759         * manual/examples/strncat.c (main): Specify return type and use
55760         (void) for arguments.
55761         * manual/examples/subopt.c (main): Use char **argv argument.
55763 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55765         [BZ #5077]
55766         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55767         rounding modes.
55769 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55771         [BZ #6907]
55772         * manual/string.texi (strchr): Change when strchrnul is
55773         recommended.
55775 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55777         [BZ #174]
55778         * manual/locale.texi (setlocale): Document LOCPATH.
55780 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55782         [BZ #10210]
55783         * manual/process.texi (execle): Move @dots{} before last argument.
55785 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55787         [BZ #12047]
55788         * manual/charset.texi (Generic Charset Conversion): Fix typo
55789         (LC_TYPE -> LC_CTYPE).
55791 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55793         [BZ #5805]
55794         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55795         (scalbnf): Likewise.
55796         (scalbnl): Likewise.
55797         (scalbln): Likewise.
55798         (scalblnf): Likewise.
55799         (scalblnl): Likewise.
55800         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55801         (vwarnx): Likewise.
55802         (verr): Likewise.
55803         (verrx): Likewise.
55804         * manual/filesys.texi (telldir): Use braces around return type.
55805         * manual/llio.texi (mmap): Add space after comma.
55806         (mmap64): Likewise.
55807         * manual/math.texi (jn): Use @var{} on parameter names.
55808         (jnf): Likewise.
55809         (jnl): Likewise.
55810         (yn): Likewise.
55811         (ynf): Likewise.
55812         (ynl): Likewise.
55813         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55814         line.
55815         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55816         "...".
55817         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55818         (sched_get_priority_max): Likewise.
55819         * manual/signal.texi (sigvec): Add space after comma.
55820         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55821         names.
55822         (if_indextoname): Likewise.
55823         (if_freenameindex): Likewise.
55824         (sendto): Use ',' instead of '.' in prototype.
55825         * manual/startup.texi (syscall): Use @dots{} instead of literal
55826         "...".
55827         * manual/stdio.texi (__fpending): Separate initial words of
55828         paragraph from @deftypefun line.
55829         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55830         "...".
55831         (vsyslog): Use @var{} on parameter names.
55832         * manual/terminal.texi (stty): Use @var{} on parameter names.
55833         * manual/users.texi (getutmp): Use @var{} on parameter names.
55834         (getutmpx): Likewise.
55836 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55838         [BZ #6884]
55839         * manual/stdio.texi (fopen): Fix typos in description of
55840         ",ccs=STRING".
55842 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55844         [BZ #4026]
55845         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55846         get clock_id definition.
55848 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55850         [BZ #4822]
55851         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55852         (madvise): Cast every argument to void on its own.
55854 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55856         [BZ #9902]
55857         * manual/startup.texi (Exit Status): Fix typo.
55859 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55861         [BZ #10140]
55862         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55863         * manual/examples/argp-ex2.c: Likewise.
55864         * manual/examples/argp-ex3.c: Likewise.
55866 2012-02-16  Richard Henderson  <rth@redhat.com>
55868         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55869         * sysdeps/s390/s390-32/initfini.c: Remove.
55870         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55871         * sysdeps/s390/s390-64/initfini.c: Remove.
55873 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55875         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55876         compiler output for sysdeps/generic/initfini.c.
55877         * sysdeps/sh/elf/initfini.c: Remove file.
55879 2012-02-16  David S. Miller  <davem@davemloft.net>
55881         [BZ #11494]
55882         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55884         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55885         * sysdeps/sparc/crti.S: New file.
55886         * sysdeps/sparc/crtn.S: New file.
55887         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55888         * sysdeps/sparc/sparc64/Makefile: Likewise.
55890 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55892         [BZ #3335]
55893         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55895 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55897         [BZ #4822]
55898         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55900         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55901         (write, read, close): Likewise.
55902         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55904 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55906         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55907         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55908         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55909         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55910         <bits/signalfd.h>.
55911         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55913         bits/signalfd.h.
55915 2012-02-14  Marek Polacek  <polacek@redhat.com>
55917         * sysdeps/x86_64/crti.S: New file.
55918         * sysdeps/x86_64/crtn.S: New file.
55919         * sysdeps/x86_64/elf/initfini.c: Remove file.
55921 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55923         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55924         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55925         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55926         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55927         <bits/inotify.h>.
55928         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55930         bits/inotify.h.
55932 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55934         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55935         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55936         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55937         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55938         <bits/eventfd.h>.
55939         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55941         bits/eventfd.h.
55943 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55945         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55946         __feraiseexcept instead of feraiseexcept.
55948         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55949         nanosleep invocations.
55950         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55951         strings, and add error checking for a nanosleep invocations.
55953 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55955         Replace FSF snail mail address with URLs, as per GNU coding standards.
55956         Most of the snail mail addresses were wrong anyway, and omitting
55957         them makes the source code easier to maintain.  Almost all of the
55958         changes are to license notices and to locale LC_IDENTIFICATION
55959         addresses, except for this one:
55960         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55961         not its snail mail address.
55963 2012-02-09  Richard Henderson  <rth@twiddle.net>
55965         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55966         of kernel-features.h.
55968         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55970 2012-02-08  Marek Polacek  <polacek@redhat.com>
55972         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55973         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55974         * sysdeps/gnu/_G_config.h: Likewise.
55975         * sysdeps/generic/_G_config.h: Likewise.
55977 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55979         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55980         tests.
55981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55983         * sysdeps/powerpc/powerpc32/crti.S: New file.
55984         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55985         * sysdeps/powerpc/powerpc64/crti.S: New file.
55986         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55988         * Makeconfig (have-initfini): Don't set.
55989         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55990         * configure.in (nopic_initfini): Don't substitute.
55991         * config.h.in (HAVE_INITFINI): Don't #undef.
55992         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55993         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55995 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55997         Support crti.S and crtn.S provided directly by architectures.
55998         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55999         [crti.S in sysdirs] (omit-deps): Likewise.
56000         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56001         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56002         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56003         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56004         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56005         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56006         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56007         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56008         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56009         compiler output for sysdeps/generic/initfini.c.
56010         * sysdeps/i386/elf/Makefile: Remove file.
56011         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56013 2012-02-07  Marek Polacek  <polacek@redhat.com>
56015         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56016         * sysdeps/gnu/_G_config.h: Likewise.
56017         * sysdeps/mach/hurd/_G_config.h: Likewise.
56019 2012-02-07  Marek Polacek  <polacek@redhat.com>
56021         * math/Makefile (tests): Add tst-CMPLX2.
56022         * math/tst-CMPLX2.c: New file.
56024 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56026         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56028         * math/libm-test.inc (jn_test): Add missing L suffix.
56030 2012-02-06  Marek Polacek  <polacek@redhat.com>
56032         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56033         * sysdeps/i386/fpu/e_powf.S: Likewise.
56034         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56035         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56036         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56037         * sysdeps/i386/fpu/e_pow.S: Likewise.
56038         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56039         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56040         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56041         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56042         * sysdeps/i386/fpu/e_log2.S: Likewise.
56043         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56044         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56045         * sysdeps/i386/fpu/e_powl.S: Likewise.
56046         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56047         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56048         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56049         * sysdeps/i386/fpu/e_logl.S: Likewise.
56050         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56051         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56052         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56053         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56054         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56055         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56056         * sysdeps/i386/fpu/e_log.S: Likewise.
56057         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56058         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56059         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56060         * sysdeps/i386/fpu/e_logf.S: Likewise.
56061         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56062         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56063         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56064         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56065         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56066         * sysdeps/i386/fpu/e_log10.S: Likewise.
56067         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56068         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56069         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56070         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56071         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56072         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56073         * sysdeps/i386/asm-syntax.h: Likewise.
56074         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56075         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56076         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56077         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56078         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56079         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56080         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56081         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56082         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56083         * sysdeps/powerpc/sysdep.h: Likewise.
56084         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56085         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56087 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56089         [BZ #411]
56090         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56092 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56094         * sysdeps/i386/sysdep.h: Include <features.h>.
56095         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56096         version.
56098 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56100         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56101         Define.
56102         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56103         LOAD_PIC_REG_STR.
56105 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56107         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56108         (SETUP_PIC_REG): Use GET_PC_THUNK.
56109         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56110         macro.
56112 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56114         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56115         for non-PIC compilation.
56116         (SETUP_PIC_REG): Add .p2align directive.
56117         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56118         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56119         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56120         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56121         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56122         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56123         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56124         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56125         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56126         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56127         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56128         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56129         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56130         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56131         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56132         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56133         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56134         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56135         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56136         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56137         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56138         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56139         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56140         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56141         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56142         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56143         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56144         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56145         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56146         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56147         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56148         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56149         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56150         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56151         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56152         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56153         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56154         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56155         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56156         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56157         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56159 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56161         * math/tst-CMPLX.c: Include <stdio.h>.
56163 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56165         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56166         float.
56167         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56168         * sysdeps/sparc/bits/mathdef.h: Likewise.
56170 2012-01-31  Marek Polacek  <polacek@redhat.com>
56172         * libio/libio.h: Don't define _PARAMS.
56173         * locale/programs/config.h: Don't define PARAMS.
56174         * stdlib/strtol_l.c: Likewise.
56175         (__strtol_l): Remove PARAMS from the prototype.
56177 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56179         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56180         names.  Just use the correct names.  Remove unnecessary wrapper
56181         functions.
56182         * malloc/arena.c: Likewise.
56183         * malloc/hooks.c: Likewise.
56185         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56186         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56187         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56189 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56191         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56192         into tail calls.
56193         (update_get_addr): New function.
56194         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56195         GET_ADDR_MODULE parameter.
56197 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56199         * crypt/cert.c: Remove __STDC__ conditionals.
56200         * crypt/crypt-entry.c: Likewise.
56201         * crypt/crypt_util.c: Likewise.
56202         * libio/filedoalloc.c: Likewise.
56203         * libio/fileops.c: Likewise.
56204         * libio/genops.c: Likewise.
56205         * libio/iofclose.c: Likewise.
56206         * libio/iofdopen.c: Likewise.
56207         * libio/iofopen.c: Likewise.
56208         * libio/iofopen64.c: Likewise.
56209         * libio/iogetdelim.c: Likewise.
56210         * libio/iopopen.c: Likewise.
56211         * libio/obprintf.c: Likewise.
56212         * libio/oldfileops.c: Likewise.
56213         * libio/oldiofclose.c: Likewise.
56214         * libio/oldiofdopen.c: Likewise.
56215         * libio/oldiofopen.c: Likewise.
56216         * libio/oldiopopen.c: Likewise.
56217         * libio/wfiledoalloc.c: Likewise.
56218         * libio/wgenops.c: Likewise.
56219         * locale/programs/xmalloc.c: Likewise.
56220         * misc/syslog.c: Likewise.
56221         * stdio-common/xbug.c: Likewise.
56222         * string/memchr.c: Likewise.
56223         * string/memcmp.c: Likewise.
56224         * string/memrchr.c: Likewise.
56225         * string/rawmemchr.c: Likewise.
56226         * sysdeps/posix/getcwd.c: Likewise.
56227         * time/strftime_l.c: Likewise.
56229 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56231         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56232         * config.make.in (config-cflags-sse2avx): Define.
56233         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56234         Fix typo.
56236 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56238         * scripts/config.guess: Update from upstream config git repository.
56239         * scripts/config.sub: Likewise.
56241 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56243         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56244         (EM_NUM): Update.
56245         (R_TILEPRO_*, R_TILEGX_*): New macros.
56247         * scripts/firstversions.awk: Fix bug in version range handling.
56249         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56251         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56253         * include/sys/epoll.h: New file.
56254         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56255         libc_hidden_def.
56257 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56259         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56260         Avoid unnecessary __WORDSIZE == 64 test.
56261         (fmaxf): Use VEX format if possible.
56262         (fmax): Likewise.
56263         (fminf): Likewise.
56264         (fmin): Likewise.
56266         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56267         * math/math_private.h: Remove libc_fegetround* and
56268         libc_fesetround*.
56269         * sysdeps/i386/configure.in: Check for -msse2avx.
56270         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56271         also if SSE2AVX is defined.
56272         Remove libc_fegetround* and libc_fesetround*.
56273         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56274         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56275         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56276         of HAS_YMM_USABLE.
56277         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56278         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56279         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56280         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56281         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56283         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56285 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56287         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56288         size is not set.
56289         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56291 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56293         [BZ #13618]
56294         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56295         relocation.
56296         * Makeconfig (libm): Define.
56297         * elf/Makefile: Add rules to build and run tst-relsort1.
56298         * elf/tst-relsort1.c: New file.
56299         * elf/tst-relsort1mod1.c: New file.
56300         * elf/tst-relsort1mod2.c: New file.
56302 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56304         * math/s_ldexp.c: Remove __STDC__ conditionals.
56305         * math/s_ldexpf.c: Likewise.
56306         * math/s_ldexpl.c: Likewise.
56307         * math/s_nextafter.c: Likewise.
56308         * math/s_nexttowardf.c: Likewise.
56309         * math/s_significand.c: Likewise.
56310         * math/s_significandf.c: Likewise.
56311         * math/s_significandl.c: Likewise.
56312         * math/w_jnl.c: Likewise.
56313         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56314         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56315         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56316         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56317         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56318         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56319         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56320         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56321         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56322         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56323         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56324         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56325         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56326         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56327         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56328         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56329         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56330         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56331         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56332         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56333         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56334         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56335         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56336         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56337         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56338         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56339         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56340         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56341         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56342         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56343         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56344         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56345         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56346         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56347         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56348         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56349         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56350         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56351         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56352         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56353         * sysdeps/ieee754/k_standard.c: Likewise.
56354         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56355         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56356         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56357         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56358         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56359         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56360         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56361         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56362         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56363         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56364         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56365         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56366         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56367         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56368         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56369         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56370         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56371         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56372         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56373         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56374         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56375         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56376         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56377         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56378         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56379         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56383         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56384         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56385         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56386         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56387         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56389         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56390         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56391         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56392         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56393         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56394         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56395         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56396         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56397         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56398         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56399         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56400         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56401         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56402         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56403         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56404         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56405         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56406         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56407         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56408         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56409         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56410         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56411         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56412         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56413         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56414         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56415         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56416         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56417         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56418         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56419         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56420         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56421         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56422         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56423         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56424         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56425         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56426         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56427         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56428         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56429         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56430         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56431         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56432         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56433         * sysdeps/ieee754/s_matherr.c: Likewise.
56434         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56435         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56436         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56437         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56439 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56441         * crypt/md5.h: Remove __STDC__ conditionals.
56442         * libio/libioP.h: Likewise.
56443         * locale/programs/config.h: Likewise.
56444         * sysdeps/generic/sysdep.h: Likewise.
56445         * sysdeps/i386/asm-syntax.h: Likewise.
56446         * sysdeps/s390/asm-syntax.h: Likewise.
56447         * sysdeps/unix/sysdep.h: Likewise.
56448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56451 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56453         * libio/libio.h: Remove __STDC__ conditionals.
56454         * malloc/obstack.h: Likewise.
56455         * math/complex.h: Likewise.
56456         * math/math.h: Likewise.
56457         * sysdeps/generic/_G_config.h: Likewise.
56458         * sysdeps/gnu/_G_config.h: Likewise.
56459         * sysdeps/mach/hurd/_G_config.h: Likewise.
56460         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56461         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56462         * sysdeps/sparc/bits/mathdef.h: Likewise.
56464 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56466         [BZ #13583]
56467         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56468         Clean up HAS_* macros.
56469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56470         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56471         possible.
56472         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56473         HAS_AVX.
56474         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56475         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56476         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56477         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56478         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56480 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56482         * elf/tst-unique3.cc (gets): Remove declaration.
56483         * elf/tst-unique3lib.cc (gets): Likewise.
56484         * elf/tst-unique3lib2.cc (gets): Likewise.
56485         * elf/tst-unique4.cc (gets): Likewise.
56487 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56489         * include/stdio.h: Add C++ protection.  Add gets declarations and
56490         definitions.
56491         * debug/tst-chk1.c: Don't declare gets here.
56492         * stdio-common/tst-gets.c: Likewise.
56494 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56496         * posix/glob: Remove directory.
56498 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56500         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56502 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56504         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56505         of the non-standard EPFNOSUPPORT.
56507 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56509         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56510         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56511         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56513 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56515         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56517 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56519         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56520         transient errors.
56521         * nscd/grpcache.c (cache_addgr): Likewise.
56522         * nscd/hstcache.c (cache_addhst): Likewise.
56523         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56524         * nscd/pwdcache.c (cache_addpw): Likewise.
56525         * nscd/servicescache.c (cache_addserv): Likewise.
56527 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56529         * malloc/malloc.c: Various cleanups.
56530         * malloc/hooks.c: Likewise.
56532         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56533         * stdlib/bug-fmtmsg1.c: New file.
56535         * stdlib/fmtmsg.c (init): Add missing unlock.
56536         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56538 2012-01-12  Marek Polacek  <polacek@redhat.com>
56540         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56541         and _GNU_SOURCE.
56543 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56545         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56546         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56547         macro to ensure uniqueness of label name.
56548         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56549         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56551 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56553         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56555         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56556         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56557         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56558         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56560 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56562         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56564         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56565         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56566         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56568         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56570         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56571         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56572         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56573         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56575         * math/bits/math-finite.h: Add ldexp support.
56577 2012-01-10  Marek Polacek  <polacek@redhat.com>
56579         * locale/programs/localedef.h (show_archive_content): Add noreturn
56580         attribute.
56582 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56584         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56586 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56588         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56590         * io/Makefile (headers): Add bits/poll2.h.
56592 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56595         typo #include statement.
56597 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56599         * include/sys/cdefs.h: Define __attribute_alloc_size.
56600         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56601         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56602         * elf/pldd.c: Likewise.
56603         * iconv/iconv_charmap.c: Likewise.
56604         * iconv/iconvconfig.c: Likewise.
56605         * iconv/strtab.c: Likewise.
56606         * locale/programs/locale.c: Likewise.
56607         * locale/programs/localedef.h: Likewise.
56608         * locale/programs/simple-hash.c: Likewise.
56609         * nscd/nscd.h: Likewise.
56610         * nss/makedb.c: Likewise.
56611         * sysdeps/generic/ldconfig.h: Likewise.
56612         * locale/programs/localedef.c: Remove xmalloc prototype.
56613         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56615 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56617         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56618         appropriate.
56620 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56622         * math/Makefile (tests): Add tst-CMPLX.
56623         * math/tst-CMPLX.c: New file.
56625         * math/complex.h (CMPLXL): Fix typo.
56627         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56628         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56629         GLIBC_2.16.
56630         * debug/tst-chk1.c: Add poll and ppoll tests.
56631         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56632         * include/sys/poll.h: Add hidden proto for ppoll.
56633         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56634         * sysdeps/mach/hurd/ppoll.c: Likewise.
56635         * io/ppoll.c: Likewise.
56636         * debug/poll_chk.c: New file.
56637         * debug/ppoll_chk.c: New file.
56638         * include/bits/poll2.h: New file.
56639         * io/bits/poll2.h: New file.
56641         [BZ #1350]
56642         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56644         * configure.in: static is always set to yes.  Remove.
56645         * config.make.in: Don't set build-static.
56646         * Makeconfig: Remove use of build-static.
56647         * dlfcn/Makefile: Likewise.
56648         * elf/Makefile: Likewise.
56649         * math/Makefile: Likewise.
56650         * misc/Makefile: Likewise.
56651         * nptl/Makefile: Likewise.
56652         * sysdeps/mach/hurd/Makefile: Likewise.
56654         * configure.in: PWD_P is not used anymore.
56655         * config.make.in: Remove PWD_P entry.
56657         * configure.in: Remove last remnants of RANLIB.
56658         No need to check for signed size_t anymore.
56659         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56660         and IA-64.
56661         Remove __builtin_expect test because we require at least gcc 3.4.
56662         * aclocal.m4: Likewise.
56664         * wcsmbs/mbrtoc16.c: Implement using towc function.
56665         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56666         * wcsmbs/wcsmbsload.c: Likewise.
56667         * iconv/gconv_simple.c: Likewise.
56668         * iconv/gconv_int.h: Likewise.
56669         * iconv/gconv_builtin.h: Likewise.
56670         * iconv/iconv_prog.c: Remove CHAR16 handling.
56672         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56674         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56676         * configure.in: Remove --with-elf and --enable-bounded options.
56677         Dont set base_machine for ia64.  More non-ELF conditions removed.
56678         Remove testing and setting of leading underscore information.
56679         * config.make.in (build-bounded): Set to no.
56680         * config.h.in: Remove NO_UNDERSCORES entry.
56681         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56682         them.
56683         * csu/start.c: Remove !NO_UNDERSCORE code.
56684         * locale/localeinfo.h: Likewise.
56685         * sysdeps/generic/machine-gmon.h: Likewise.
56686         * sysdeps/generic/sysdep.h: Likewise.
56687         * sysdeps/i386/sysdep.h: Likewise.
56688         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56689         * sysdeps/mach/sysdep.h: Likewise.
56690         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56691         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56692         * sysdeps/sh/sysdep.h: Likewise.
56693         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56694         * sysdeps/unix/i386/sysdep.S: Likewise.
56695         * sysdeps/unix/sparc/start.c: Likewise.
56696         * sysdeps/unix/sparc/sysdep.S: Likewise.
56697         * sysdeps/unix/sparc/sysdep.h: Likewise.
56698         * sysdeps/unix/start.c: Likewise.
56699         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56700         * sysdeps/x86_64/sysdep.h: Likewise.
56702 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56704         [BZ #13553]
56705         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56706         for non-gcc.
56707         * argp/argp-fmtstream.h: Use const instead __const.
56708         * argp/argp.h: Likewise.
56709         * assert/assert.h: Likewise.
56710         * bits/fenv.h: Likewise.
56711         * bits/sched.h: Likewise.
56712         * bits/sigset.h: Likewise.
56713         * bits/sigthread.h: Likewise.
56714         * catgets/nl_types.h: Likewise.
56715         * conform/data/pthread.h-data: Likewise.
56716         * crypt/crypt-private.h: Likewise.
56717         * crypt/crypt.h: Likewise.
56718         * crypt/crypt_util.c: Likewise.
56719         * ctype/ctype.h: Likewise.
56720         * debug/execinfo.h: Likewise.
56721         * debug/mbsnrtowcs_chk.c: Likewise.
56722         * debug/mbsrtowcs_chk.c: Likewise.
56723         * debug/wcsnrtombs_chk.c: Likewise.
56724         * debug/wcsrtombs_chk.c: Likewise.
56725         * debug/wcstombs_chk.c: Likewise.
56726         * dirent/dirent.h: Likewise.
56727         * dlfcn/dlfcn.h: Likewise.
56728         * elf/neededtest4.c: Likewise.
56729         * grp/grp.h: Likewise.
56730         * gshadow/gshadow.h: Likewise.
56731         * iconv/gconv.h: Likewise.
56732         * iconv/gconv_int.h: Likewise.
56733         * iconv/gconv_simple.c: Likewise.
56734         * iconv/iconv.h: Likewise.
56735         * iconv/loop.c: Likewise.
56736         * iconv/skeleton.c: Likewise.
56737         * include/aio.h: Likewise.
56738         * include/aliases.h: Likewise.
56739         * include/argz.h: Likewise.
56740         * include/arpa/inet.h: Likewise.
56741         * include/assert.h: Likewise.
56742         * include/dirent.h: Likewise.
56743         * include/dlfcn.h: Likewise.
56744         * include/execinfo.h: Likewise.
56745         * include/fcntl.h: Likewise.
56746         * include/fenv.h: Likewise.
56747         * include/glob.h: Likewise.
56748         * include/grp.h: Likewise.
56749         * include/libintl.h: Likewise.
56750         * include/mntent.h: Likewise.
56751         * include/netdb.h: Likewise.
56752         * include/pwd.h: Likewise.
56753         * include/rpc/netdb.h: Likewise.
56754         * include/sched.h: Likewise.
56755         * include/search.h: Likewise.
56756         * include/shadow.h: Likewise.
56757         * include/signal.h: Likewise.
56758         * include/stdio.h: Likewise.
56759         * include/stdlib.h: Likewise.
56760         * include/string.h: Likewise.
56761         * include/sys/socket.h: Likewise.
56762         * include/sys/stat.h: Likewise.
56763         * include/sys/statfs.h: Likewise.
56764         * include/sys/statvfs.h: Likewise.
56765         * include/sys/syslog.h: Likewise.
56766         * include/sys/time.h: Likewise.
56767         * include/sys/uio.h: Likewise.
56768         * include/time.h: Likewise.
56769         * include/unistd.h: Likewise.
56770         * include/utmp.h: Likewise.
56771         * include/wchar.h: Likewise.
56772         * include/wctype.h: Likewise.
56773         * inet/aliases.h: Likewise.
56774         * inet/arpa/inet.h: Likewise.
56775         * inet/netinet/ether.h: Likewise.
56776         * inet/netinet/in.h: Likewise.
56777         * intl/libintl.h: Likewise.
56778         * io/bits/fcntl2.h: Likewise.
56779         * io/fcntl.h: Likewise.
56780         * io/ftw.h: Likewise.
56781         * io/sys/poll.h: Likewise.
56782         * io/sys/stat.h: Likewise.
56783         * io/sys/statfs.h: Likewise.
56784         * io/sys/statvfs.h: Likewise.
56785         * io/utime.h: Likewise.
56786         * libio/bits/stdio.h: Likewise.
56787         * libio/bits/stdio2.h: Likewise.
56788         * libio/libio.h: Likewise.
56789         * libio/libioP.h: Likewise.
56790         * libio/stdio.h: Likewise.
56791         * locale/lc-ctype.c: Likewise.
56792         * locale/locale.h: Likewise.
56793         * login/utmp.h: Likewise.
56794         * malloc/arena.c: Likewise.
56795         * malloc/malloc.c: Likewise.
56796         * malloc/malloc.h: Likewise.
56797         * malloc/mcheck.c: Likewise.
56798         * malloc/mtrace.c: Likewise.
56799         * math/bits/mathcalls.h: Likewise.
56800         * math/fenv.h: Likewise.
56801         * math/math_private.h: Likewise.
56802         * misc/bits/error.h: Likewise.
56803         * misc/bits/syslog.h: Likewise.
56804         * misc/err.h: Likewise.
56805         * misc/error.h: Likewise.
56806         * misc/fstab.h: Likewise.
56807         * misc/mntent.h: Likewise.
56808         * misc/regexp.h: Likewise.
56809         * misc/search.h: Likewise.
56810         * misc/sgtty.h: Likewise.
56811         * misc/sys/mman.h: Likewise.
56812         * misc/sys/syslog.h: Likewise.
56813         * misc/sys/uio.h: Likewise.
56814         * misc/sys/xattr.h: Likewise.
56815         * misc/ttyent.h: Likewise.
56816         * nis/rpcsvc/ypclnt.h: Likewise.
56817         * nss/nss.h: Likewise.
56818         * posix/bits/unistd.h: Likewise.
56819         * posix/fnmatch.h: Likewise.
56820         * posix/glob.h: Likewise.
56821         * posix/sched.h: Likewise.
56822         * posix/spawn.h: Likewise.
56823         * posix/sys/wait.h: Likewise.
56824         * posix/unistd.h: Likewise.
56825         * posix/wordexp.h: Likewise.
56826         * pwd/pwd.h: Likewise.
56827         * resolv/netdb.h: Likewise.
56828         * resource/sys/resource.h: Likewise.
56829         * rt/aio.h: Likewise.
56830         * rt/bits/mqueue2.h: Likewise.
56831         * rt/mqueue.h: Likewise.
56832         * shadow/shadow.h: Likewise.
56833         * signal/signal.h: Likewise.
56834         * socket/send.c: Likewise.
56835         * socket/sendto.c: Likewise.
56836         * socket/sys/socket.h: Likewise.
56837         * stdio-common/printf.h: Likewise.
56838         * stdlib/bits/stdlib.h: Likewise.
56839         * stdlib/fmtmsg.h: Likewise.
56840         * stdlib/monetary.h: Likewise.
56841         * stdlib/stdlib.h: Likewise.
56842         * stdlib/ucontext.h: Likewise.
56843         * streams/stropts.h: Likewise.
56844         * string/argz.h: Likewise.
56845         * string/bits/string2.h: Likewise.
56846         * string/string.h: Likewise.
56847         * string/strings.h: Likewise.
56848         * sunrpc/rpc/auth.h: Likewise.
56849         * sunrpc/rpc/auth_des.h: Likewise.
56850         * sunrpc/rpc/clnt.h: Likewise.
56851         * sunrpc/rpc/netdb.h: Likewise.
56852         * sunrpc/rpc/pmap_clnt.h: Likewise.
56853         * sunrpc/rpc/xdr.h: Likewise.
56854         * sysdeps/generic/inttypes.h: Likewise.
56855         * sysdeps/generic/net/if.h: Likewise.
56856         * sysdeps/generic/sys/swap.h: Likewise.
56857         * sysdeps/gnu/net/if.h: Likewise.
56858         * sysdeps/gnu/utmpx.h: Likewise.
56859         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56860         * sysdeps/i386/i486/bits/string.h: Likewise.
56861         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56862         * sysdeps/s390/bits/string.h: Likewise.
56863         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56864         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56865         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56866         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56867         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56868         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56869         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56870         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56871         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56872         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56873         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56874         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56875         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56876         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56877         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56878         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56879         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56881         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56882         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56883         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56884         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56885         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56886         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56887         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56888         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56889         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56890         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56891         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56892         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56893         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56894         * sysvipc/sys/ipc.h: Likewise.
56895         * sysvipc/sys/msg.h: Likewise.
56896         * sysvipc/sys/sem.h: Likewise.
56897         * sysvipc/sys/shm.h: Likewise.
56898         * termios/termios.h: Likewise.
56899         * time/sys/time.h: Likewise.
56900         * time/time.h: Likewise.
56901         * wcsmbs/bits/wchar2.h: Likewise.
56902         * wcsmbs/uchar.h: Likewise.
56903         * wcsmbs/wchar.h: Likewise.
56904         * wctype/wctype.h: Likewise.
56906         [BZ #13551]
56907         * Makeconfig: Remove all but ELF support including AIX support.
56908         * Makerules: Likewise.
56909         * config.h.in: Likewise.
56910         * config.make.in: Likewise.
56911         * configure: Likewise.
56912         * configure.in: Likewise.
56913         * csu/Makefile: Likewise.
56914         * csu/version.c: Likewise.
56915         * debug/Makefile: Likewise.
56916         * dlfcn/Makefile: Likewise.
56917         * elf/Makefile: Likewise.
56918         * extra-lib.mk: Likewise.
56919         * iconv/Makefile: Likewise.
56920         * include/libc-symbols.h: Likewise.
56921         * include/shlib-compat.h: Likewise.
56922         * resolv/Makefile: Likewise.
56923         * resolv/res_libc.c: Likewise.
56924         * rt/Makefile: Likewise.
56925         * sysdeps/i386/asm-syntax.h: Likewise.
56926         * sysdeps/i386/sysdep.h: Likewise.
56927         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56928         * sysdeps/mach/sysdep.h: Likewise.
56929         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56930         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56931         * sysdeps/s390/asm-syntax.h: Likewise.
56932         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56933         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56934         * sysdeps/sh/sysdep.h: Likewise.
56935         * sysdeps/unix/sparc/sysdep.h: Likewise.
56936         * sysdeps/wordsize-32/divdi3.c: Likewise.
56937         * sysdeps/x86_64/sysdep.h: Likewise.
56939         * argp/Versions: Remove _argp_unlock_xxx.
56941         [BZ #13559]
56942         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56943         * abilist/libBrokenLocale.abilist: Likewise.
56944         * abilist/libanl.abilist: Likewise.
56945         * abilist/libc.abilist: Likewise.
56946         * abilist/libcrypt.abilist: Likewise.
56947         * abilist/libdl.abilist: Likewise.
56948         * abilist/libm.abilist: Likewise.
56949         * abilist/libnsl.abilist: Likewise.
56950         * abilist/libpthread.abilist: Likewise.
56951         * abilist/libresolv.abilist: Likewise.
56952         * abilist/librt.abilist: Likewise.
56953         * abilist/libthread_db.abilist: Likewise.
56954         * abilist/libutil.abilist: Likewise.
56955         * abilist/libnss_db.abilist: New file.
56957         * scripts/abilist.awk: Add support for indirect functions.
56959         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56961         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56963         * shlib-versions: Remove entries for ports architectures.
56965         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56966         files in ports.
56967         * elf/stackguard-macros.h: Remove support for IA-64.
56968         * elf/tst-auditmod1.c: Likewise.
56969         * sysdeps/generic/ldsodefs.h: Likewise.
56971         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56972         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56973         configure files.
56975         [BZ #13552]
56976         * configure.in: Remove --enable-omitfp support.
56977         * FAQ.in: Adjust.
56978         * config.make.in: Likewise.
56979         * Makeconfig: Likewise.
56980         * manual/install.texi: Likewise.
56982         In case anyone cares, the IA-64 architecture could move to ports.
56983         * sysdeps/ia64/*: Removed.
56984         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56985         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56987         [BZ #13555]
56988         * configure.in: Remove entries for unsupported architectures.
56990         [BZ #13533]
56991         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56992         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56993         routines.
56994         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56995         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56996         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56997         fall back to using wcrtomb.
56998         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56999         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57000         renaming.
57001         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57002         * wcsmbs/tst-c16c32-1.c: New file.
57004         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57005         local variable.
57007         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57009         * elf/tst-unique3.cc: Add explicit declaration of gets.
57010         * elf/tst-unique3lib.cc: Likewise.
57011         * elf/tst-unique3lib2.cc: Likewise.
57012         * elf/tst-unique4.cc: Likewise.
57014         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57016 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57018         [BZ #13566]
57019         * assert/assert.h (static_assert): Don't define for C++.
57020         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57021         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57023 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57025         * iconv/loop.c (single loop): Fix assertion in storing of
57026         remaining bytes.
57028         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57030 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57032         * posix/getconf.c: Update copyright year.
57033         * nss/getent.c: Likewise.
57034         * nss/makedb.c: Likewise.
57035         * iconv/iconvconfig.c: Likewise.
57036         * iconv/iconv_prog.c: Likewise.
57037         * elf/ldconfig.c: Likewise.
57038         * elf/pldd.c: Likewise.
57039         * elf/sotruss.ksh: Likewise.
57040         * catgets/gencat.c: Likewise.
57041         * csu/version.c: Likewise.
57042         * elf/ldd.bash.in: Likewise.
57043         * elf/sprof.c (print_version): Likewise.
57044         * locale/programs/locale.c: Likewise.
57045         * locale/programs/localedef.c: Likewise.
57046         * login/programs/pt_chown.c: Likewise.
57047         * nscd/nscd.c (print_version): Likewise.
57048         * debug/xtrace.sh: Likewise.
57049         * malloc/memusage.sh: Likewise.
57050         * malloc/mtrace.pl: Likewise.
57051         * debug/catchsegv.sh: Likewise.
57053 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57055         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57056         pure attribute.
57058 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57060         [BZ #13533]
57061         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57062         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57063         transformations.
57064         * iconv/gconv_int.h: Likewise.
57065         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57066         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57067         from libc for GLIBC_2.16.
57068         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57069         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57070         * wcsmbs/uchar.h: Really define mbstate_t.
57071         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57072         * wcsmbs/c16rtomb.c: New file.
57073         * wcsmbs/mbrtoc16.c: New file.
57074         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57075         for C/POSIX locale.
57076         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57077         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57079         * wcsmbs/wchar.h: Add missing __restrict.
57081 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57083         [BZ #13532]
57084         * time/Makefile (routines): Add timespec_get.
57085         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57086         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57087         timespec for ISO C11.
57088         * time/timespec_get.c: New file.
57089         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57090         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57092         [BZ #13531]
57093         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57094         * stdlib/stdlib.h: Declare aligned_alloc.
57095         * Versions.def: Add GLIBC_2.16 for libc.
57096         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57098         [BZ 13527]
57099         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57100         ISO C11.
57102         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57103         code.
57105         [BZ #13528]
57106         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57108         [BZ #13529]
57109         * assert/assert.h (static_assert): Define.
57111         * version.h: Update for 2.16 development version.
57113         [BZ #13526]
57114         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57115         _ISOC11_SOURCE.
57117         * version.h (RELEASE): Bump for 2.15 release.
57118         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57120         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57121         Patch by Marek Polacek <mpolacek@redhat.com>.
57123         * bits/byteswap.h: Protect long long constants with __extension__.
57124         * sysdeps/i386/bits/byteswap.h: Likewise.
57125         * sysdeps/ia64/bits/byteswap.h: Likewise.
57126         * sysdeps/s390/bits/byteswap.h: Likewise.
57127         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57129 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57131         [BZ #13540]
57132         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57133         destination buffer.
57134         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57136 2011-12-23  Marek Polacek  <polacek@redhat.com>
57138         * elf/dl-addr.c (determine_info): Add inline keyword.
57139         * elf/tst-auditmod4b.c (check_avx): Likewise.
57140         * elf/tst-auditmod6b.c (check_avx): Likewise.
57141         * elf/tst-auditmod6c.c (check_avx): Likewise.
57142         * elf/tst-auditmod7b.c (check_avx): Likewise.
57144 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57146         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57147         !__SSE_MATH__.
57149 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57151         [BZ #13540]
57152         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57153         processing for last bytes.
57155 2011-08-06  Bruno Haible  <bruno@clisp.org>
57157         [BZ #13061]
57158         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57159         U+0385, not to U+1FEE.
57161         [BZ #13062]
57162         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57163         entry for U+00A5 U+0301.
57165 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57167         [BZ #13166]
57168         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57169         buffer for the output is too small.
57171         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57172         optimization.
57174         [BZ #13185]
57175         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57176         SSE flags if possible.
57178 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57180         [BZ #13540]
57181         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57182         processing for last bytes.
57184 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57186         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57187         (syscall-list-default-options, syscall-list-default-condition)
57188         (syscall-list-includes): Define.
57189         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57190         list of ABIs and options and #if conditions for each ABI.  Do not
57191         handle common syscalls between ABIs specially.
57192         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57193         Remove.
57194         (syscall-list-variants, syscall-list-32bit-options)
57195         (syscall-list-32bit-condition, syscall-list-64bit-options)
57196         (syscall-list-64bit-condition): Define.
57197         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57198         (syscall-list-variants, syscall-list-32bit-options)
57199         (syscall-list-32bit-condition, syscall-list-64bit-options)
57200         (syscall-list-64bit-condition): Define.
57201         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57202         Remove.
57203         (syscall-list-variants, syscall-list-32bit-options)
57204         (syscall-list-32bit-condition, syscall-list-64bit-options)
57205         (syscall-list-64bit-condition): Define.
57206         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57207         Remove.
57208         (syscall-list-variants, syscall-list-32bit-options)
57209         (syscall-list-32bit-condition, syscall-list-64bit-options)
57210         (syscall-list-64bit-condition): Define.
57212 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57214         * locale/iso-639.def: Add brx entry.
57216         [BZ #13328]
57217         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57218         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57220         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57221         __feraiseexcept_renamed.
57223 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57225         [BZ #13538]
57226         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57227         EPOLLET with unsigned values.
57228         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57229         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57231         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57232         to large cancellation.
57233         * math/s_cacoshf.c: Likewise.
57234         * math/s_cacoshl.c: Likewise.
57236 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57238         [BZ #13305]
57239         [BZ #12786]
57240         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57241         * math/s_cacoshf.c: Likewise.
57242         * math/s_cacoshl.c: Likewise.
57244 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57246         [BZ #13439]
57247         * iconv/gconv.h: Define __GCONV_SWAP.
57248         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57249         * iconvdata/utf-16.c: Likewise.
57250         * iconvdata/utf-32.c: Likewise.
57252 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57254         [BZ #13524]
57255         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57256         numerator after shifting it by one limb.
57258 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57260         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57261         under [__USE_EXTERN_INLINES].
57263 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57265         [BZ #13446]
57266         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57268 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57270         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57271         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57272         optimized code.
57273         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57274         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57275         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57276         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57277         for strncasecmp/strncasecmp_l compilation.
57278         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57279         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57281 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57283         [BZ #13484]
57284         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57285         of __asm__.
57287 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57289         [BZ #13506]
57290         * time/tzfile.c (__tzfile_read): Check values from file header.
57292 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57294         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57295         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57296         * powerpc/powerpc32/dl-start.S: Likewise.
57297         * powerpc/powerpc32/elf/start.S: Likewise.
57298         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57299         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57300         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57301         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57302         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57303         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57304         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57305         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57306         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57307         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57308         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57309         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57310         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57311         * powerpc/powerpc32/memset.S: Likewise.
57312         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57313         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57314         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57315         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57316         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57317         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57318         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57319         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57320         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57321         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57322         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57323         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57324         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57326 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57328         * math/libm-test.inc: Added more nearbyint tests.
57329         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57330         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57331         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57332         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57334 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57336         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57337         FD_CLOEXEC.
57339 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57341         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57342         Add wcscpy-ssse3 wcscpy-c.
57343         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57344         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57345         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57346         * sysdeps/x86_64/wcschr.S: New file.
57347         * sysdeps/x86_64/wcsrchr.S: New file.
57348         * string/test-strcmp.c: Remove checking of wcscmp function for
57349         wrong alignments.
57350         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57351         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57352         wcsrchr-sse2 wcsrchr-c.
57353         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57354         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57355         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57356         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57357         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57358         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57359         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57360         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57361         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57362         * wcsmbc/wcschr.c (WCSCHR): New macro.
57364 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57366         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57367         * wcsmbs/test-wcsrchr.c: New file.
57368         * string/test-strrchr.c: Add wcsrchr support.
57369         (WIDE): New macro.
57370         * wcsmbs/test-wcscpy.c: New file.
57371         * string/test-strcpy.c: Add wcscpy support.
57372         (WIDE): New macro.
57374 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57376         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57377         the inner loop.
57379 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57381         [BZ #13472]
57382         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57384 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57386         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57387         Minor optimizations.
57389         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57390         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57391         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57393 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57395         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57396         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57397         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57398         for gcc to avoid warnings.
57399         * inet/Makefile (tests): Add tst-checks.
57400         * inet/tst-checks.c: New file.
57402         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57403         warning.
57405         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57406         __wmemcmp_sse2.
57408         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57409         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57411         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57413 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57415         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57416         problem.
57418         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57420 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57422         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57423         conditional on GCC version.
57424         (__arch_compare_and_exchange_val_8_acq)
57425         (__arch_compare_and_exchange_val_16_acq)
57426         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57427         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57428         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57430 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57432         * sysdeps/sh/backtrace.c: New file.
57434 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57436         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57437         parenthesis.
57439 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57441         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57442         falling back to utime.
57444 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57446         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57447         expectations for float.
57449 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57451         * locale/weight.h (findidx): Add parameter len.
57452         * locale/weightwc.h (findidx): Likewise.
57453         * posix/fnmatch_loop.c (FCT): Adjust caller.
57454         * posix/regcomp.c (build_equiv_class): Likewise.
57455         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57456         * posix/regexec.c (check_node_accept_bytes): Likewise.
57457         * string/strcoll_l.c (STRCOLL): Likewise.
57458         * string/strxfrm_l.c (STRXFRM): Likewise.
57460 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57462         * Makefile.in: Remove CVSOPT handling.
57463         * configure.in: Remove use of AC_REVISION.
57464         * iconvdata/Makefile (distribute): No need to filter out CVS.
57465         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57466         handling.
57468 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57470         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57471         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57472         [USE_AS_STRNCASECMP_L]: Likewise.
57473         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57474         NO_TLS_DIRECT_SEG_REFS.
57475         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57476         Fix argument offsets for non-PIC.
57477         [USE_AS_STRNCASECMP_L]: Likewise.
57478         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57479         NO_TLS_DIRECT_SEG_REFS.
57481 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57483         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57484         O_CLOEXEC.
57485         * locale/loadlocale.c (_nl_load_locale): Likewise.
57487 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57489         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57490         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57491         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57492         (SYSCALL_GETTIME): Set errno on error.
57494         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57495         count references to noai6ai_cached.
57497 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57499         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57501         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57502         FD_CLOEXEC for /proc/self/maps.
57504         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57505         FD_CLOEXEC for /proc/meminfo.
57507         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57508         gai.conf.
57510         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57511         FD_CLOEXEC for given file.
57513         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57515         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57516         FD_CLOEXEC for /etc/hosts.
57517         (_gethtent): Likewise.
57519         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57521         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57522         cancellation and set FD_CLOEXEC for /etc/netgroup.
57524         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57525         reading /etc/publickey.
57527         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57528         allow cancellation when reading /etc/group.
57530         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57531         cancellation.
57532         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57534         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57535         when using data file.
57537         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57539         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57540         (write_nis_obj): Use "c" and "e" in fopen.
57542         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57544         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57546         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57548         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57550         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57551         locale.alias.
57553         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57555         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57557         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57559         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57560         file parsing and set FD_CLOEXEC.
57562 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57564         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57566 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57568         * malloc/arena.c (arena_get2): Don't call reused_arena when
57569         _int_new_arena failed.
57571 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57573         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57574         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57575         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57576         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57577         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57578         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57579         to compile strcasecmp and strncasecmp.
57580         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57581         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57585 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57587         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57588         locale-defines.sym to gen-as-const-headers.
57589         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57590         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57591         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57592         to compile strcasecmp and strncasecmp.
57593         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57594         strcasecmp_l and strncasecmp_l.
57595         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57596         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57597         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57598         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57599         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57600         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57601         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57602         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57603         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57604         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57605         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57607 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57609         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57610         result of SYSDEP_GETTIME_CPU to retval.
57611         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57612         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57614         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57615         variable.
57617         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57618         mantissa words.
57619         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57621         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57622         from unused variable.
57624         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57625         DWARF definitions.
57626         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57627         for assembling.
57629         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57630         over namespaces.
57632         * sunrpc/rpc_prot.c (rejected): Fix case value.
57634         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57635         unsigned long long int to avoid warnings in shift.
57637         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57638         of use of trans.
57639         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57640         variable tmp.
57642         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57643         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57644         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57646         * nis/nis_table.c (nis_list): Use variable of correct type for
57647         result of __follow_path call.
57649 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57651         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57652         of math functions ceil, trunc, floor, round, and sqrt, when
57653         avaliable on the platform.
57654         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57655         name clash.
57656         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57657         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57658         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57660 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57662         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57663         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57665 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57667         * include/unistd.h: Fix __readlink return type.
57668         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57670 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57672         * stdlib/ucontext.h: Undo last change for makecontext.
57674 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57676         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57678         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57679         * setjmp/setjmp.h: Mark functions as non-leaf.
57680         * setjmp/bits/setjmp2.h: Likewise.
57681         * stdlib/ucontext.h: Likewise.
57683 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57685         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57686         (reused_arena): Don't check arena limit.
57687         (arena_get2): Atomically check arena limit.
57689 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57691         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57692         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57694         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57695         instructions.
57697 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57699         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57700         handler when locking.
57702         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57703         Fix size of allocated buffer.
57705 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57707         [BZ #10103]
57708         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57709         declarations for long double functions.
57710         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57712         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57714 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57716         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57717         installed.
57719         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57720         is disabled.
57722 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57724         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57726 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57728         * include/alloca.h (stackinfo_alloca_round): Define.
57729         (extend_alloca): Use it.
57730         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57731         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57732         here.
57734         * scripts/check-local-headers.sh: Ignore libaudit.h.
57736         * nscd/Makefile (extra-objs): Make recursively expanded.
57738 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57740         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57741         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57743         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57744         * posix/tst-rfc3484-2.c: Likewise.
57745         * posix/tst-rfc3484-3.c: Likewise.
57747         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57748         process_vm_writev.
57749         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57750         process_vm_writev.
57751         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57752         process_vm_writev from libc using GLIBC_2.15 version.
57754         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57756 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57758         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57759         stack usage.
57761 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57763         [BZ #13367]
57764         * nss/getent.c (initgroups_keys): Show error message in case no group
57765         names are given.
57767         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57768         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57769         __bump_nl_timestamp.
57770         * nscd/connections (nscd_init): When host database is served open
57771         netlink socket and request notification about configuration changes.
57772         (main_loop_poll): Track netlink file descriptor and bump timestamp
57773         in case data becomes available.
57774         (main_loop_epoll): Likewise.
57775         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57776         (database_pers_head): Add extra_data fileds.
57777         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57778         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57779         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57780         Adjust caller.
57781         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57782         in6ai data, call __free_in6ai.
57783         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57784         Add -DHAVE_NETLINK.
57785         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57786         interface information.  Reuse previous data if netlink timestamp
57787         is not changed.
57788         (__bump_nl_timestamp): New function.
57789         (__free_in6ai): New function.
57791 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57793         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57794         close_not_cancel_no_status here.
57795         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57797 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57799         [BZ #13276]
57800         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57801         return value.
57803         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57804         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57805         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57807 2011-07-03  Andreas Jaeger  <aj@suse.de>
57809         [BZ #10709]
57810         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57811         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57812         * math/libm-test.inc (sin_test): Add test case.
57814 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57816         [BZ #13337]
57817         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57818         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57820         * elf/chroot_canon.c (chroot_canon): Cleanups.
57822         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57824         [BZ #13335]
57825         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57826         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57828         * string/test-strchr.c: Make usable for strchrnul testing.
57829         * string/test-strchrnul.c: New file.
57830         * string/Makefile (strop-tests): Add strchrnul.
57832         * po/it.po: Update from translation team.
57833         * po/es.po: Likewise.
57835 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57837         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57838         the three constants needed as parameters.  Drop the others.
57839         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57840         __m128i_strloadu_tolower.
57841         Create and initialize variable zero and use it in all the places
57842         where _mm_setzero_si128 was used.
57844         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57845         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57846         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57847         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57848         anymore.
57849         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57850         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57851         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57852         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57853         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57854         __mpranred, __mptan.
57855         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57856         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57857         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57858         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57859         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57860         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57861         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57862         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57863         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57865 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57867         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57868         redefine if SHARED.
57869         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57872         wide char related routines to wcsmbs subdir.
57874 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57876         [BZ #13344]
57877         * misc/sys/cdefs.h (__THROWNL): Define.
57878         * posix/unistd.h: Use __THREADNL instead of __THREAD
57879         for memory synchronization functions.
57881 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57883         [BZ #13349]
57884         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57885         doesn't exist.
57886         * manual/stdio.texi (Obstack Streams): Node removed.
57888 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57890         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57891         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57892         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57894         * math/math_private.h (math_force_eval): Allow non-addressable
57895         arguments.
57896         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57898 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57900         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57901         file is not needed.
57903         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57904         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57905         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57906         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57907         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57908         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57909         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57910         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57911         Add AVX variants.
57912         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57913         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57914         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57915         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57916         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57917         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57918         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57919         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57920         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57921         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57922         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57923         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57924         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57925         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57926         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57927         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57928         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57929         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57930         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57932         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57933         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57935         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57936         place.  Use VEX encoding when compiling for AVX.
57938 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57940         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57941         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57943         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57945 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57947         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57948         useless if() expression.
57949         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57950         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57951         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57952         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57953         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57954         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57955         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57956         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57957         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57958         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57959         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57960         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57961         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57962         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57963         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57964         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57965         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57966         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57967         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57969         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57971 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57973         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57974         condition.
57975         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57977 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57979         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57980         .text section.  Avoid duplicate constants.
57981         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57982         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57983         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57985         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57986         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57987         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57988         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57989         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57990         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57991         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57992         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57993         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57994         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57995         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57996         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57997         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57998         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57999         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58000         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58001         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58002         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58003         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58004         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58005         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58006         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58007         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58008         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58009         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58010         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58011         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58012         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58013         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58014         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58015         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58016         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58017         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58018         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58019         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58020         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58021         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58022         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58023         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58024         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58025         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58027 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58029         * sysdeps/x86_64/dla.h: Move to ...
58030         * sysdeps/x86_64/fpu/dla.h: ...here.
58031         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58032         situations.  Use __builtin_fma only for gcc 4.6 and up.
58034         * config.make.in: Add have-mfma4 entry.
58035         * configure.in: Substitute libc_cv_cc_fma4.
58036         * math/Makefile (dbl-only-routines): Add sincostab.
58037         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58038         Use __sincostab not sincos.
58039         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58040         name is a macro.
58041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58042         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58043         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58045         using __copysign.
58046         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58047         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58048         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58049         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58050         and __inv.
58051         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58052         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58053         __copysign.
58054         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58055         define aliases when function name is a macro.
58056         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58057         sysdeps/ieee754/dbl-64/sincos.tbl.
58058         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58059         fma4-enabled routines.
58060         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58061         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58062         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58063         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58064         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58065         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58066         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58067         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58068         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58069         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58070         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58071         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58072         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58073         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58074         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58075         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58076         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58077         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58078         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58079         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58080         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58081         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58082         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58083         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58084         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58085         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58086         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58087         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58088         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58089         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58091         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58092         rename.
58093         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58099         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58100         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58102 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58104         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58106 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58108         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58110         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58111         prediction.
58112         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58114         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58115         Remove unused variable magic_bits.
58116         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58118         * string/strnlen.c: Define and use STRNLEN macro.
58119         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58120         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58121         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58122         * wcsmbs/wcslen.c: Define and use WCSLEN.
58123         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58124         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58125         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58126         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58127         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58128         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58129         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58131 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58134         strnlen-sse2-no-bsf.
58135         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58136         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58137         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58138         Add strnlen support.
58139         (USE_AS_STRNLEN): New macro.
58140         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58141         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58142         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58143         * sysdeps/x86_64/wcslen.S: New file.
58145 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58147         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58148         XMM-moves are used for copying on small sizes.
58150 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58152         * wcsmbs/Makefile (strop-tests): Add wcschr.
58153         * wcsmbs/test-wcschr.c: New file.
58154         * string/test-strchr.c: Update.
58155         Add wcschr support.
58156         (WIDE): New macro.
58158 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58160         * wcsmbs/Makefile (strop-tests): Add wcslen.
58161         * wcsmbs/test-wcslen.c: New file.
58162         * string/test-strlen.c: Update.
58163         Add wcslen support.
58164         (WIDE): New macro.
58166 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58168         * po/it.po: Update from translation team.
58170 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58172         * sysdeps/x86_64/wcscmp.S: Update.
58173         Fix wrong comparison semantics.
58174         wcscmp shall use signed comparison not unsigned.
58175         Don't use substraction to avoid overflow bug.
58176         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58177         * wcsmbc/wcscmp.c: Likewise.
58178         * string/test-strcmp.c: Likewise.
58179         Add new tests to check cases with negative values.
58181 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58183         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58184         * sysdeps/x86_64/dla.h: ...here.  New file.
58185         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58187         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58188         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58190         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58191         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58192         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58193         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58195 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58198         __ynl_finite aliases.
58200 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58204         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58205         define DLA_FMA.
58206         [DLA_FMA] (EMULV): Use DLA_FMA.
58207         [DLA_FMA] (MUL12): Use EMULV.
58208         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58209         that are not needed.
58210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58212         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58213         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58214         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58215         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58216         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58218 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58220         * math/s_nan.c: Undef __nan.
58221         * math/s_nanf.c: Undef __nanf.
58222         * math/s_nanl.c: Undef __nanl.
58223         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58224         "math_private.h".
58226 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58228         * math/s_catan.c: Add branch predictions.
58229         * math/s_catanf.c: Likewise.
58230         * math/s_catanh.c: Likewise.
58231         * math/s_catanhf.c: Likewise.
58232         * math/s_catanhl.c: Likewise.
58233         * math/s_catanl.c: Likewise.
58234         * math/s_cexp.c: Likewise.
58235         * math/s_cexpf.c: Likewise.
58236         * math/s_cexpl.c: Likewise.
58237         * math/s_clog.c: Likewise.
58238         * math/s_clog10.c: Likewise.
58239         * math/s_clog10f.c: Likewise.
58240         * math/s_clog10l.c: Likewise.
58241         * math/s_clogf.c: Likewise.
58242         * math/s_clogl.c: Likewise.
58243         * math/s_csqrt.c: Likewise.
58244         * math/s_csqrtf.c: Likewise.
58245         * math/s_csqrtl.c: Likewise.
58246         * math/s_ctanf.c: Likewise.
58247         * math/s_ctanh.c: Likewise.
58248         * math/s_ctanhf.c: Likewise.
58249         * math/s_ctanhl.c: Likewise.
58250         * math/s_ctanl.c: Likewise.
58252         * math/math_private.h: Define __nan, __nanf, __nanl.
58253         * math/s_cacosh.c: Include <math_private.h>.
58254         * math/s_cacoshl.c: Likewise.
58255         * math/s_casinh.c: Likewise.
58256         * math/s_casinhf.c: Likewise.
58257         * math/s_casinhl.c: Likewise.
58258         * math/s_ccos.c: Rely entire on ccosh.
58259         * math/s_ccosf.c: Rely entire on ccoshf.
58260         * math/s_ccosl.c: Rely entirely on ccoshl.
58261         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58262         Remove tests for FE_INVALID.
58263         * math/s_ccoshf.c: Likewise.
58264         * math/s_ccoshl.c: Likewise.
58265         * math/s_csin.c: Likewise.
58266         * math/s_csinf.c: Likewise.
58267         * math/s_csinh.c Likewise.
58268         * math/s_csinhf.c: Likewise.
58269         * math/s_csinhl.c: Likewise.
58270         * math/s_csinl.c: Likewise.
58271         * math/s_ctan.c: Likewise.
58272         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58273         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58274         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58276 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58279         compilation problems.
58281         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58282         __builtin_expect.
58284 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58286         * sysdeps/i386/configure.in: Test for -mfma4 option.
58287         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58288         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58289         COMMON_CPUID_INDEX_80000001.
58290         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58291         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58292         use it if FMA3 is not supported.
58293         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58295         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58296         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58298 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58300         [BZ #12892]
58301         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58302         it would create a cycle with a link time dependency.
58304 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58306         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58307         instruction.
58308         * string/Makefile (strop-tests): Add rawmemchr.
58309         * string/test-rawmemchr.c: New file.
58311         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58312         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58313         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58314         when compiling str{,n}casecmp and when AVX is available.  Hook up
58315         new optimized code in initializers.
58317 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58319         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58320         __feraiseexcept instead of feraiseexcept.
58322 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58324         * math/math_private.h: Define defaults for libc_fetestexcept and
58325         libc_feupdateenv.
58326         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58327         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58328         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58329         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58330         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58331         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58332         libc_fetestexcept and libc_feupdateenv.
58334         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58335         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58336         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58337         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58338         libc_feholdexcept_setround.
58340         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58341         Add s_nearbyint-c and s_nearbyintf-c.
58342         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58343         nearbyintf inlines.
58344         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58345         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58346         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58347         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58349         * math/math_private.h: Define defaults for libc_fegetround,
58350         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58351         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58352         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58353         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58354         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58355         standard functions.
58356         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58357         Remove comments and hacks for old compiler versions.
58358         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58359         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58360         libc_feholdexceptl.
58362 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58364         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58365         (__feraiseexcept_renamed): Add __NTH.
58366         (feraiseexcept): Add __NTH.  Rename local variables to fix
58367         namespace violations.
58369 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58371         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58373         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58375         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58376         recently added interfaces.
58377         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58379         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58380         about macro parameter expansion.
58382         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58383         __NO_MATH_INLINES is defined.  Cleanups.
58385         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58386         and __floorf is target has SSE4.1.
58387         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58388         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58389         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58390         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58392         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58393         name.
58394         (floorf): Likewise.
58396         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58398 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58400         * misc/sys/cdefs.h: Fix last change.
58402         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58403         database lookup.
58405 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58407         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58409         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58410         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58411         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58412         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58413         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58414         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58415         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58416         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58417         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58418         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58419         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58420         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58421         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58422         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58423         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58424         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58425         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58426         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58427         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58428         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58429         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58430         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58432         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58433         ceil, ceilf, floor, floorf.
58435         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58436         Perform IRELATIVE relocations last.
58438         * elf/do-rel.h: Add another parameter nrelative, replacing the
58439         local variable with the same name.  Change name of the function
58440         to end in Rel or Rela (uppercase).
58441         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58442         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58443         elf_dynamic_do_##reloc function.
58445 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58447         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58448         is sufficient, at least on modern CPUs.
58450         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58452         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58453         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58455         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58456         __expl_finite.
58457         * math/bits/math-finite.h: Add entries for exp.
58458         * math/e_expl.c: Add __*_finite alias.
58459         * sysdeps/i386/fpu/e_exp.S: Likewise.
58460         * sysdeps/i386/fpu/e_expf.S: Likewise.
58461         * sysdeps/i386/fpu/e_expl.c: Likewise.
58462         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58463         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58464         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58465         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58466         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58467         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58468         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58470         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58471         is sufficient, at least on modern CPUs.
58473         * ctype/ctype-info.c (__ctype_init): Define.
58474         * include/ctype.h (__ctype_init): Declare.
58475         (__ctype_b_loc): The variable is always initialized.
58476         (__ctype_toupper_loc): Likewise.
58477         (__ctype_tolower_loc): Likewise.
58478         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58479         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58481 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58483         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58485         * configure.in: Also look in $cxxmachine/include for C++ system
58486         headers.
58488 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58490         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58491         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58492         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58493         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58494         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58495         (USE_AS_WMEMCMP): New macro.
58496         Fixing indents.
58497         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58498         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58499         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58500         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58502         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58503         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58504         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58505         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58506         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58507         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58508         (USE_AS_WMEMCMP): New macro.
58509         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58510         * sysdeps/string/test-memcmp.c: Update.
58511         Fix simple_wmemcmp.
58512         Add new tests.
58513         * wcsmbs/wmemcmp.c: Update.
58514         (WMEMCMP): New macro.
58515         Fix overflow bug.
58517 2011-10-12  Andreas Jaeger  <aj@suse.de>
58519         [BZ #13268]
58520         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58522 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58524         * libio/iofwide.c (do_length): Avoid warning.
58526         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58528 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58530         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58532         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58533         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58534         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58535         * sysdeps/i386/i686/fpu/e_log.S: New file.
58536         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58537         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58539         * ctype/ctype.h: Add support for inlined isXXX functions when
58540         compiling C++ code.
58542 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58544         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58546         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58548 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58550         [BZ #13291]
58551         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58553 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58555         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58556         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58557         feraiseexcept.
58559         * sysdeps/x86_64/memrchr.S: Check for zero size.
58561         * string/stratcliff.c: Add memrchr tests.
58563 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58565         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58566         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58567         rawmemchr-sse2 rawmemchr-sse2-bsf.
58568         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58569         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58570         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58571         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58572         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58573         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58574         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58575         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58576         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58577         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58578         * string/memrchr.c (MEMRCHR): New macro.
58580 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58582         Add integration with gcc's -ffinite-math-only and optimize wrapper
58583         functions in libm.
58584         * Versions.def: Define GLIBC_2.15 version for libm.
58585         * math/Makefile (headers): Add bits/math-finite.h.
58586         * math/bits/math-finite.h: New file.
58587         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58588         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58589         * math/e_acoshl.c: Add __*_finite alias.
58590         * math/e_acosl.c: Likewise.
58591         * math/e_asinl.c: Likewise.
58592         * math/e_atan2l.c: Likewise.
58593         * math/e_atanhl.c: Likewise.
58594         * math/e_coshl.c: Likewise.
58595         * math/e_exp10.c: Likewise.
58596         * math/e_exp10f.c: Likewise.
58597         * math/e_exp10l.c: Likewise.
58598         * math/e_exp2l.c: Likewise.
58599         * math/e_fmodl.c: Likewise.
58600         * math/e_gammal_r.c: Likewise.
58601         * math/e_hypotl.c: Likewise.
58602         * math/e_j0l.c: Likewise.
58603         * math/e_j1l.c: Likewise.
58604         * math/e_jnl.c: Likewise.
58605         * math/e_lgammal_r.c: Likewise.
58606         * math/e_log10l.c: Likewise.
58607         * math/e_log2l.c: Likewise.
58608         * math/e_logl.c: Likewise.
58609         * math/e_powl.c: Likewise.
58610         * math/e_sinhl.c: Likewise.
58611         * math/e_sqrtl.c: Likewise.
58612         * math/e_scalb.c: Completely rewritten and optimized.
58613         * math/e_scalbf.c: Likewise.
58614         * math/e_scalbl.c: Likewise.
58615         * math/w_acos.c: Likewise.
58616         * math/w_acosf.c: Likewise.
58617         * math/w_acosl.c: Likewise.
58618         * math/w_acosh.c: Likewise.
58619         * math/w_acoshf.c: Likewise.
58620         * math/w_acoshl.c: Likewise.
58621         * math/w_asin.c: Likewise.
58622         * math/w_asinf.c: Likewise.
58623         * math/w_asinl.c: Likewise.
58624         * math/w_atan2.c: Likewise.
58625         * math/w_atan2f.c: Likewise.
58626         * math/w_atan2l.c: Likewise.
58627         * math/w_atanh.c: Likewise.
58628         * math/w_atanhf.c: Likewise.
58629         * math/w_atanhl.c: Likewise.
58630         * math/w_exp10.c: Likewise.
58631         * math/w_exp10f.c: Likewise.
58632         * math/w_exp10l.c: Likewise.
58633         * math/w_fmod.c: Likewise.
58634         * math/w_fmodf.c: Likewise.
58635         * math/w_fmodl.c: Likewise.
58636         * math/w_j0.c: Likewise.
58637         * math/w_j0f.c: Likewise.
58638         * math/w_j0l.c: Likewise.
58639         * math/w_j1.c: Likewise.
58640         * math/w_j1f.c: Likewise.
58641         * math/w_j1l.c: Likewise.
58642         * math/w_jn.c: Likewise.
58643         * math/w_jnf.c: Likewise.
58644         * math/w_log.c: Likewise.
58645         * math/w_logf.c: Likewise.
58646         * math/w_logl.c: Likewise.
58647         * math/w_log10.c: Likewise.
58648         * math/w_log10f.c: Likewise.
58649         * math/w_log10l.c: Likewise.
58650         * math/w_log2.c: Likewise.
58651         * math/w_log2f.c: Likewise.
58652         * math/w_log2l.c: Likewise.
58653         * math/w_pow.c: Likewise.
58654         * math/w_powf.c: Likewise.
58655         * math/w_powl.c: Likewise.
58656         * math/w_remainder.c: Likewise.
58657         * math/w_remainderf.c: Likewise.
58658         * math/w_remainderl.c: Likewise.
58659         * math/w_scalb.c: Likewise.
58660         * math/w_scalbf.c: Likewise.
58661         * math/w_scalbl.c: Likewise.
58662         * math/w_sqrt.c: Likewise.
58663         * math/w_sqrtf.c: Likewise.
58664         * math/w_sqrtl.c: Likewise.
58665         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58666         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58667         used.
58668         * math/math_private.h: Declare __kernel_standard_f.
58669         * math/w_cosh.c: Remove cruft and optimize a bit.
58670         * math/w_coshf.c: Likewise.
58671         * math/w_coshl.c: Likewise.
58672         * math/w_exp2.c: Likewise.
58673         * math/w_exp2f.c: Likewise.
58674         * math/w_exp2l.c: Likewise.
58675         * math/w_hypot.c: Likewise.
58676         * math/w_hypotf.c: Likewise.
58677         * math/w_hypotl.c: Likewise.
58678         * math/w_lgamma.c: Likewise.
58679         * math/w_lgamma_r.c: Likewise.
58680         * math/w_lgammaf.c: Likewise.
58681         * math/w_lgammaf_r.c: Likewise.
58682         * math/w_lgammal.c: Likewise.
58683         * math/w_lgammal_r.c: Likewise.
58684         * math/w_sinh.c: Likewise.
58685         * math/w_sinhf.c: Likewise.
58686         * math/w_sinhl.c: Likewise.
58687         * math/w_tgamma.c: Likewise.
58688         * math/w_tgammaf.c: Likewise.
58689         * math/w_tgammal.c: Likewise.
58690         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58691         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58692         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58693         Minor optimizations.  Pretty printing.  Remove cruft.
58694         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58695         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58696         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58697         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58698         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58699         * sysdeps/i386/fpu/e_asin.S: Likewise.
58700         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58701         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58702         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58703         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58704         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58705         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58706         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58707         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58708         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58709         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58710         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58711         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58712         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58713         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58714         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58715         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58716         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58717         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58718         * sysdeps/i386/fpu/e_log.S: Likewise.
58719         * sysdeps/i386/fpu/e_log10.S: Likewise.
58720         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58721         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58722         * sysdeps/i386/fpu/e_log2.S: Likewise.
58723         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58724         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58725         * sysdeps/i386/fpu/e_logf.S: Likewise.
58726         * sysdeps/i386/fpu/e_logl.S: Likewise.
58727         * sysdeps/i386/fpu/e_pow.S: Likewise.
58728         * sysdeps/i386/fpu/e_powf.S: Likewise.
58729         * sysdeps/i386/fpu/e_powl.S: Likewise.
58730         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58731         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58732         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58733         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58734         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58735         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58736         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58737         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58738         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58739         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58740         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58742         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58743         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58744         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58745         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58746         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58747         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58748         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58749         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58750         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58752         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58753         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58755         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58756         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58757         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58758         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58759         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58760         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58761         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58762         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58763         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58764         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58765         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58766         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58767         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58768         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58769         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58770         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58771         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58772         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58773         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58774         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58775         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58776         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58777         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58778         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58779         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58780         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58781         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58782         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58783         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58784         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58785         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58786         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58787         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58788         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58789         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58790         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58791         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58792         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58794         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58795         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58796         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58797         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58798         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58799         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58800         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58802         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58803         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58804         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58805         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58806         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58807         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58808         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58809         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58810         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58811         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58812         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58813         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58815         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58816         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58817         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58818         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58819         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58820         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58821         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58822         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58823         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58824         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58825         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58826         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58827         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58828         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58829         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58830         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58831         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58832         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58833         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58834         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58835         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58836         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58837         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58838         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58839         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58840         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58841         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58842         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58843         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58844         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58845         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58846         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58847         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58848         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58849         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58850         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58851         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58852         (__isnanf): Likewise.
58853         (__isinf_ns): Likewise.
58854         (__isinf_nsf): Likewise.
58855         (__finite): Likewise.
58856         (__finitef): Likewise.
58857         (__ieee754_sqrt): Define as macro.
58858         (__ieee754_sqrtf): Define as macro.
58859         (__ieee754_sqrtl): Define as macro.
58860         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58861         inlined copy.
58862         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58863         __FINITE_MATH_ONLY__ consistent.
58864         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58866 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58868         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58869         of rawmemchr.
58871         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58873 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58875         * po/ja.po: Update from translation team.
58877 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58879         * locale/programs/locarchive.c (prepare_address_space): New function.
58880         (create_archive, enlarge_archive, open_archive): Use it.
58882         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58883         inside [SHARED], where it is used.
58885         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58887         * nss/getent.c (netgroup_keys): Remove unused variable.
58888         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58890 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58892         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58893         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58894         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58895         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58896         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58897         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58898         * math/Makefile (libm-calls): Add s_isinf_ns.
58899         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58900         * math/multc3.c: Likewise.
58901         * math/s_casin.c: Likewise.
58902         * math/s_casinf.c: Likewise.
58903         * math/s_casinl.c: Likewise.
58904         * math/s_ccos.c: Likewise.
58905         * math/s_ccosf.c: Likewise.
58906         * math/s_ccosl.c: Likewise.
58907         * math/s_ctan.c: Likewise.
58908         * math/s_ctanf.c: Likewise.
58909         * math/s_ctanh.c: Likewise.
58910         * math/s_ctanhf.c: Likewise.
58911         * math/s_ctanhl.c: Likewise.
58912         * math/s_ctanl.c: Likewise.
58913         * math/w_fmod.c: Likewise.
58914         * math/w_fmodf.c: Likewise.
58915         * math/w_fmodl.c: Likewise.
58916         * math/w_remainder.c: Likewise.
58917         * math/w_remainderf.c: Likewise.
58918         * math/w_remainderl.c: Likewise.
58919         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58920         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58921         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58923         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58924         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58925         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58926         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58928         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58929         of the number.
58930         * stdio-common/printf_fphex.c: Likewise.
58931         * stdio-common/printf_size.c: Likewise.
58933         * math/e_exp10.c: Include math_private.h using <...> not "...".
58934         * math/e_exp10f.c: Likewise.
58935         * math/e_exp10l.c: Likewise.
58936         * math/e_exp2l.c: Likewise.
58937         * math/e_j0l.c: Likewise.
58938         * math/e_j1l.c: Likewise.
58939         * math/e_jnl.c: Likewise.
58940         * math/e_lgammal_r.c: Likewise.
58941         * math/e_rem_pio2l.c: Likewise.
58942         * math/e_scalb.c: Likewise.
58943         * math/e_scalbf.c: Likewise.
58944         * math/e_scalbl.c: Likewise.
58945         * math/k_cosl.c: Likewise.
58946         * math/k_sinl.c: Likewise.
58947         * math/k_tanl.c: Likewise.
58948         * math/s_cacoshf.c: Likewise.
58949         * math/s_catan.c: Likewise.
58950         * math/s_catanf.c: Likewise.
58951         * math/s_catanh.c: Likewise.
58952         * math/s_catanhf.c: Likewise.
58953         * math/s_catanhl.c: Likewise.
58954         * math/s_catanl.c: Likewise.
58955         * math/s_ccosh.c: Likewise.
58956         * math/s_ccoshf.c: Likewise.
58957         * math/s_ccoshl.c: Likewise.
58958         * math/s_cexp.c: Likewise.
58959         * math/s_cexpf.c: Likewise.
58960         * math/s_cexpl.c: Likewise.
58961         * math/s_clog.c: Likewise.
58962         * math/s_clog10.c: Likewise.
58963         * math/s_clog10f.c: Likewise.
58964         * math/s_clog10l.c: Likewise.
58965         * math/s_clogf.c: Likewise.
58966         * math/s_clogl.c: Likewise.
58967         * math/s_csin.c: Likewise.
58968         * math/s_csinf.c: Likewise.
58969         * math/s_csinh.c: Likewise.
58970         * math/s_csinhf.c: Likewise.
58971         * math/s_csinhl.c: Likewise.
58972         * math/s_csinl.c: Likewise.
58973         * math/s_csqrt.c: Likewise.
58974         * math/s_csqrtf.c: Likewise.
58975         * math/s_csqrtl.c: Likewise.
58976         * math/s_ctan.c: Likewise.
58977         * math/s_ctanf.c: Likewise.
58978         * math/s_ctanh.c: Likewise.
58979         * math/s_ctanhf.c: Likewise.
58980         * math/s_ctanhl.c: Likewise.
58981         * math/s_ctanl.c: Likewise.
58982         * math/s_ldexp.c: Likewise.
58983         * math/s_ldexpf.c: Likewise.
58984         * math/s_ldexpl.c: Likewise.
58985         * math/s_significand.c: Likewise.
58986         * math/s_significandf.c: Likewise.
58987         * math/s_significandl.c: Likewise.
58988         * math/w_acos.c: Likewise.
58989         * math/w_acosf.c: Likewise.
58990         * math/w_acosh.c: Likewise.
58991         * math/w_acoshf.c: Likewise.
58992         * math/w_acoshl.c: Likewise.
58993         * math/w_acosl.c: Likewise.
58994         * math/w_asin.c: Likewise.
58995         * math/w_asinf.c: Likewise.
58996         * math/w_asinl.c: Likewise.
58997         * math/w_atan2.c: Likewise.
58998         * math/w_atan2f.c: Likewise.
58999         * math/w_atan2l.c: Likewise.
59000         * math/w_atanh.c: Likewise.
59001         * math/w_atanhf.c: Likewise.
59002         * math/w_atanhl.c: Likewise.
59003         * math/w_cosh.c: Likewise.
59004         * math/w_coshf.c: Likewise.
59005         * math/w_coshl.c: Likewise.
59006         * math/w_dremf.c: Likewise.
59007         * math/w_exp10.c: Likewise.
59008         * math/w_exp10f.c: Likewise.
59009         * math/w_exp10l.c: Likewise.
59010         * math/w_exp2.c: Likewise.
59011         * math/w_exp2f.c: Likewise.
59012         * math/w_fmod.c: Likewise.
59013         * math/w_fmodf.c: Likewise.
59014         * math/w_fmodl.c: Likewise.
59015         * math/w_hypot.c: Likewise.
59016         * math/w_hypotf.c: Likewise.
59017         * math/w_hypotl.c: Likewise.
59018         * math/w_j0.c: Likewise.
59019         * math/w_j0f.c: Likewise.
59020         * math/w_j0l.c: Likewise.
59021         * math/w_j1.c: Likewise.
59022         * math/w_j1f.c: Likewise.
59023         * math/w_j1l.c: Likewise.
59024         * math/w_jn.c: Likewise.
59025         * math/w_jnf.c: Likewise.
59026         * math/w_jnl.c: Likewise.
59027         * math/w_lgamma.c: Likewise.
59028         * math/w_lgamma_r.c: Likewise.
59029         * math/w_lgammaf.c: Likewise.
59030         * math/w_lgammaf_r.c: Likewise.
59031         * math/w_lgammal.c: Likewise.
59032         * math/w_lgammal_r.c: Likewise.
59033         * math/w_log.c: Likewise.
59034         * math/w_log10.c: Likewise.
59035         * math/w_log10f.c: Likewise.
59036         * math/w_log10l.c: Likewise.
59037         * math/w_log2.c: Likewise.
59038         * math/w_log2f.c: Likewise.
59039         * math/w_log2l.c: Likewise.
59040         * math/w_logf.c: Likewise.
59041         * math/w_logl.c: Likewise.
59042         * math/w_pow.c: Likewise.
59043         * math/w_powf.c: Likewise.
59044         * math/w_powl.c: Likewise.
59045         * math/w_remainder.c: Likewise.
59046         * math/w_remainderf.c: Likewise.
59047         * math/w_remainderl.c: Likewise.
59048         * math/w_scalb.c: Likewise.
59049         * math/w_scalbf.c: Likewise.
59050         * math/w_scalbl.c: Likewise.
59051         * math/w_sinh.c: Likewise.
59052         * math/w_sinhf.c: Likewise.
59053         * math/w_sinhl.c: Likewise.
59054         * math/w_sqrt.c: Likewise.
59055         * math/w_sqrtf.c: Likewise.
59056         * math/w_sqrtl.c: Likewise.
59057         * math/w_tgamma.c: Likewise.
59058         * math/w_tgammaf.c: Likewise.
59059         * math/w_tgammal.c: Likewise.
59061         * po/ja.po: Update from translation team.
59063 2011-09-29  Andreas Jaeger  <aj@suse.de>
59065         [BZ #13179]
59066         * sunrpc/netname.c (netname2host): Fix logic.
59068         [BZ #6779]
59069         [BZ #6783]
59070         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59071         correctly.
59072         * math/w_remainder.c (__remainder): Likewise.
59073         * math/w_remainderf.c (__remainderf): Likewise.
59074         * math/libm-test.inc (remainder_test): Add test cases.
59076 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59078         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59079         sdiv_qrnnd.
59081 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59083         * string/test-memcmp.c: Avoid unncessary #defines.
59084         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59086 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59088         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59089         Use new sse2 version for core i3 - i7 as it's faster
59090         than sse42 version.
59091         (bit_Prefer_PMINUB_for_stringop): New.
59092         * sysdeps/x86_64/rawmemchr.S: Update.
59093         Replace with faster SSE2 version.
59094         * sysdeps/x86_64/memrchr.S: New file.
59095         * sysdeps/x86_64/memchr.S: Update.
59096         Replace with faster SSE2 version.
59098 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59100         * elf/dl-load.c (lose): Add cast to avoid warning.
59102 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59104         * po/ca.po: Update from translation team.
59106         * inet/getnetgrent_r.c: Hook up nscd.
59107         * nscd/Makefile (routines): Add nscd_netgroup.
59108         (nscd-modules): Add netgroupcache.
59109         (CFLAGS-netgroupcache.c): Define.
59110         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59111         (cache_search): Add const to second parameter.
59112         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59113         INNETGR.
59114         (dbs): Add netgrdb entry.
59115         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59116         (verify_persistent_db): Handle netgrdb.
59117         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59118         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59119         GETFDNETGR.
59120         (netgroup_response_header): Define.
59121         (innetgroup_response_header): Define.
59122         (datahead): Add netgroup_response_header and innetgroup_response_header
59123         elements.
59124         * nscd/nscd.conf: Add entries for netgroup cache.
59125         * nscd/nscd.h (dbtype): Add netgrdb.
59126         (_PATH_NSCD_NETGROUP_DB): Define.
59127         (netgroup_iov_disabled): Declare.
59128         (xmalloc, xcalloc, xrealloc): Move declarations here.
59129         (cache_search): Adjust prototype.
59130         Add netgroup-related prototypes.
59131         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59132         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59133         (__nscd_innetgr): Declare.
59134         * nscd/selinux.c (perms): Use access_vector_t as element type and
59135         add netgroup-related initializers.
59136         * nscd/netgroupcache.c: New file.
59137         * nscd/nscd_netgroup.c: New file.
59138         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59139         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59140         For four parameters use innetgr.
59141         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59142         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59143         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59144         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59146         * nscd/connections.c (register_traced_file): Don't register file
59147         for disabled databases.
59149 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59151         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59153         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59154         from tree and freeing node.
59156 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59158         * nss/nsswitch.c (__nss_database_lookup): Handle
59159         nss_parse_service_list out of memory case.
59161 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59163         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59164         out of memory case.
59166 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59168         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59169         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59170         pass it down.
59171         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59172         elf_machine_rela, elf_machine_lazy_rel.
59173         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59174         (ELF_DYNAMIC_DO_REL): Likewise.
59175         (ELF_DYNAMIC_DO_RELA): Likewise.
59176         (ELF_DYNAMIC_RELOCATE): Likewise.
59177         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59178         to ELF_DYNAMIC_DO_REL.
59179         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59180         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59181         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59182         elf_machine_rela.
59183         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59184         skip_ifunc, don't call ifunc function if non-zero.
59185         (elf_machine_rela): Likewise.
59186         (elf_machine_lazy_rel): Likewise.
59187         (elf_machine_lazy_rela): Likewise.
59188         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59189         (elf_machine_lazy_rel): Likewise.
59190         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59191         Likewise.
59192         (elf_machine_lazy_rel): Likewise.
59193         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59194         Likewise.
59195         (elf_machine_lazy_rel): Likewise.
59196         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59197         (elf_machine_lazy_rel): Likewise.
59198         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59199         (elf_machine_lazy_rel): Likewise.
59200         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59201         (elf_machine_lazy_rel): Likewise.
59202         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59203         (elf_machine_lazy_rel): Likewise.
59204         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59205         (elf_machine_lazy_rel): Likewise.
59206         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59207         (elf_machine_lazy_rel): Likewise.
59209 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59211         * nss/nss_files/files-init.c (_nss_files_init): Use static
59212         initialization for all the *_traced_file variables.
59214 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59216         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59218 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59220         [BZ #13226]
59221         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59223 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59225         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59226         Reread the line before reparsing it.
59228 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59230         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59232 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59233             Maxim Kuvyrkov  <maxim@codesourcery.com>
59234             Joseph Myers  <joseph@codesourcery.com>
59236         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59237         if needed for __stack_chk_guard.
59239 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59241         * sysdeps/posix/spawni.c (script_execute): Always define it.
59242         It will be optimized away if unused.
59243         (maybe_script_execute): New function.
59244         (__spawni): Call it.
59246         * Makerules: Don't include tls.make.
59247         (config-tls): Always set to thread.
59248         * tls.make.c: File removed.
59250 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59252         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59253         * config.make.in (CPPFLAGS-config): New substituted variable.
59255 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59257         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59259         [BZ #13192]
59260         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59261         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59263 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59265         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59266         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59267         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59268         (CALL_FAIL): Likewise.
59269         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59270         (CALL_FAIL): Macro removed.
59271         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59273 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59275         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59276         for __FINITE_MATH_ONLY__ == 1.
59278 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59280         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59281         __ieee754_sqrt instead of sqrt.
59282         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59283         __ieee754_sqrtf instead of sqrtf.
59284         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59285         __floorf instead of floorf.
59286         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59287         __floorf, __truncf instead of floorf, truncf.
59289 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59291         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59293         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59294         __extern_always_inline.
59295         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59296         32-bit.
59298 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59300         * elf/rtld.c (dl_main): Also relocate in dependency order when
59301         doing symbol dependency testing.
59303 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59306         Always define `refsym'.
59308 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59310         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59311         (__FD_ELT): Renamed from __FDELT.
59312         * misc/bits/select2.h (__FD_ELT): Likewise.
59313         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59314         __FD_MASK instead of __FDELT, __FDMASK.
59315         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59316         Likewise.
59317         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59318         Likewise.
59320         * elf/Makefile (gen-ldd): Fix pattern.
59322         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59323         (init_tls): Likewise.
59325 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59327         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59329 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59331         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59332         `struct cmsghdr *' instead of `void *'.
59333         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59334         Likewise.
59336 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59338         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59339         if non-absolute.
59340         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59341         ldd_rewrite_script.
59343 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59345         * configure.in: Remove --with-tls option.
59346         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59347         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59348         out in case it is missing.
59349         * sysdeps/ia64/elf/configure.in: Likewise.
59350         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59351         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59352         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59353         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59354         * sysdeps/sh/elf/configure.in: Likewise.
59355         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59356         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59357         * sysdeps/x86_64/elf/configure.in: Likewise.
59358         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59359         * sysdeps/mach/hurd/tls.h: Likewise.
59361         [BZ #13067]
59362         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59364         [BZ #13090]
59365         * configure.in: Fix use of AC_INIT.
59367         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59369 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59371         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59372         __set_errno.
59373         * malloc/hooks.c: Likewise.
59375         [BZ #11929]
59376         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59377         variables statically.
59378         (narenas): Initialize.
59379         (list_lock): Initialize.
59380         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59381         initializtion of main_arena and list_lock.  Small cleanups.
59382         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59383         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59384         Add initializers to main_arena and mp_.
59385         (malloc_state): Remove pagesize member.  Change all users to use
59386         GLRO(dl_pagesize).
59388         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59389         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59390         is always initialized.
59392         * malloc/malloc.c: Removed unused configurations and dead code.
59393         * malloc/arena.c: Likewise.
59394         * malloc/hooks.c: Likewise.
59395         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59397         * include/tls.h: Removed.  USE___THREAD must always be defined.
59398         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59399         * elf/dl-libc.c: Likewise.
59400         * elf/dl-tsd.c: Likewise.
59401         * include/errno.h: Likewise.
59402         * include/netdb.h: Likewise.
59403         * include/resolv.h: Likewise.
59404         * inet/herrno-loc.c: Likewise.
59405         * inet/herrno.c: Likewise.
59406         * malloc/arena.c: Likewise.
59407         * malloc/hooks.c: Likewise.
59408         * malloc/malloc.c: Likewise.
59409         * resolv/res-state.c: Likewise.
59410         * resolv/res_libc.c: Likewise.
59411         * sysdeps/i386/dl-machine.h: Likewise.
59412         * sysdeps/ia64/dl-machine.h: Likewise.
59413         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59414         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59415         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59416         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59417         * sysdeps/sh/dl-machine.h: Likewise.
59418         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59419         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59420         * sysdeps/unix/i386/sysdep.S: Likewise.
59421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59422         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59424         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59427         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59431         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59432         * sysdeps/x86_64/dl-machine.h: Likewise.
59433         * tls.make.c: Likewise.
59435         * configure.in: Remove --with-__thread option.  Make tests for
59436         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59437         tls_model attribute fail if no support is available.  Remove
59438         USE_IN_LIBIO.
59439         * Makeconfig: Adjust for dropped configure option.  All features are
59440         now mandatory.
59441         * Makerules: Likewise.
59442         * Versions.def: Likewise.
59443         * argp/argp-fmtstream.c: Likewise.
59444         * argp/argp-fmtstream.h: Likewise.
59445         * argp/argp-help.c: Likewise.
59446         * assert/assert.c: Likewise.
59447         * config.h.in: Likewise.
59448         * config.make.in: Likewise.
59449         * configure: Likewise.
59450         * configure.in: Likewise.
59451         * csu/Versions: Likewise.
59452         * csu/init.c: Likewise.
59453         * elf/tst-audit2.c: Likewise.
59454         * elf/tst-tls10.c: Likewise.
59455         * elf/tst-tls10.h: Likewise.
59456         * elf/tst-tls11.c: Likewise.
59457         * elf/tst-tls12.c: Likewise.
59458         * elf/tst-tls14.c: Likewise.
59459         * elf/tst-tlsmod11.c: Likewise.
59460         * elf/tst-tlsmod12.c: Likewise.
59461         * elf/tst-tlsmod13.c: Likewise.
59462         * elf/tst-tlsmod13a.c: Likewise.
59463         * elf/tst-tlsmod14a.c: Likewise.
59464         * elf/tst-tlsmod15b.c: Likewise.
59465         * elf/tst-tlsmod16a.c: Likewise.
59466         * elf/tst-tlsmod16b.c: Likewise.
59467         * elf/tst-tlsmod7.c: Likewise.
59468         * elf/tst-tlsmod8.c: Likewise.
59469         * elf/tst-tlsmod9.c: Likewise.
59470         * gmon/gmon.c: Likewise.
59471         * grp/fgetgrent_r.c: Likewise.
59472         * grp/putgrent.c: Likewise.
59473         * hurd/fopenport.c: Likewise.
59474         * include/libc-symbols.h: Likewise.
59475         * include/tls.h: Likewise.
59476         * intl/gettextP.h: Likewise.
59477         * intl/loadinfo.h: Likewise.
59478         * locale/global-locale.c: Likewise.
59479         * locale/localeinfo.h: Likewise.
59480         * mach/devstream.c: Likewise.
59481         * malloc/arena.c: Likewise.
59482         * malloc/set-freeres.c: Likewise.
59483         * misc/err.c: Likewise.
59484         * misc/getttyent.c: Likewise.
59485         * misc/mntent_r.c: Likewise.
59486         * posix/getopt.c: Likewise.
59487         * posix/wordexp.c: Likewise.
59488         * pwd/fgetpwent_r.c: Likewise.
59489         * resolv/Versions: Likewise.
59490         * resolv/res_hconf.c: Likewise.
59491         * shadow/fgetspent_r.c: Likewise.
59492         * shadow/putspent.c: Likewise.
59493         * stdio-common/printf_fphex.c: Likewise.
59494         * stdio-common/tmpfile.c: Likewise.
59495         * stdlib/abort.c: Likewise.
59496         * stdlib/fmtmsg.c: Likewise.
59497         * sunrpc/auth_unix.c: Likewise.
59498         * sunrpc/clnt_perr.c: Likewise.
59499         * sunrpc/clnt_tcp.c: Likewise.
59500         * sunrpc/clnt_udp.c: Likewise.
59501         * sunrpc/clnt_unix.c: Likewise.
59502         * sunrpc/openchild.c: Likewise.
59503         * sunrpc/svc_simple.c: Likewise.
59504         * sunrpc/svc_tcp.c: Likewise.
59505         * sunrpc/svc_udp.c: Likewise.
59506         * sunrpc/svc_unix.c: Likewise.
59507         * sunrpc/xdr.c: Likewise.
59508         * sunrpc/xdr_array.c: Likewise.
59509         * sunrpc/xdr_rec.c: Likewise.
59510         * sunrpc/xdr_ref.c: Likewise.
59511         * sunrpc/xdr_stdio.c: Likewise.
59513 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59515         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59517 2011-07-03  Andreas Jaeger  <aj@suse.de>
59519         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59520         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59521         regenerate with gen-libm-tests.pl.
59523 2010-05-12  Petr Baudis  <pasky@suse.cz>
59525         [BZ #11589]
59526         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59527         around j0() zero points by switching to j1().
59528         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59529         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59530         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59531         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59533 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59535         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59536         instead of 0.
59537         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59538         instead of 0.
59539         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59540         Patch in part by Pavel Roskin <proski@gnu.org>.
59542         [BZ #13138]
59543         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59544         realloc.
59545         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59546         Free memory block if necessary.
59548         [BZ #12847]
59549         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59550         be NULL.  Don't lock in this case.
59552 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59554         * elf/elf.h (ELFOSABI_GNU): New macro.
59555         (ELFOSABI_LINUX): Define to that.
59557 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59559         * string/strncat.c (strncat): Undef the symbol in case it has been
59560         defined in bits/string.h.
59562 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59564         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59566         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59567         link map.
59569 2011-08-17  Andreas Jaeger  <aj@suse.de>
59571         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59573 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59574             Ian Lance Taylor  <iant@google.com>
59576         * math/libm-test.inc (lround_test): New testcase.
59577         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59579 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59581         * Makefile: Remove support for automatic cvs check-ins.
59582         * Makerules: Likewise.
59583         * config.make.in: Likewise.
59584         * configure.in: Likewise.
59585         * intl/Makefile: Likewise.
59586         * locale/Makefile: Likewise.
59587         * po/Makefile: Likewise.
59588         * posix/Makefile: Likewise.
59589         * sysdeps/gnu/Makefile: Likewise.
59590         * sysdeps/mach/hurd/Makefile: Likewise.
59591         * sysdeps/sparc/sparc32/Makefile: Likewise.
59593         [BZ #13118]
59594         * posix/Makefile (bug-regex32-ENV): Define.
59595         Patch by John Stanley <jpsinthemix@verizon.net>.
59597         * misc/Makefile (headers): Add bits/select2.h.
59598         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59599         * misc/bits/select2.h: New file.
59600         * include/bits/select2.h: New file.
59601         * debug/Makefile (routines): Add fdelt_chk.
59602         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59603         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59604         FD_ISSET.
59605         * debug/fdelt_chk.c: New file.
59607         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59608         * wcsmbs/test-wmemcmp.c: Likewise.
59609         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59610         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59612 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59614         * string/Makefile (strop-tests): Add memcmp.
59615         * string/test-wmemcmp.c: New file.
59616         * string/test-memcmp.c: Add wmemcmp support.
59618 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59620         [BZ #13153]
59621         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59622         2011-07-19 change.
59624         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59625         garbage value in a __mach_port_mod_refs call in the cases of the
59626         task-self and thread-self ports.
59628 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59630         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59632 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59634         * elf/dl-load.c (lose): Check for non-null L.
59636 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59638         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59640         * elf/dl-libc.c (dlerror_run): Pass back error code from
59641         dl_catch_error.
59643         [BZ #13123]
59644         * elf/dl-load.c (lose): Free l_origin if it is valid.
59646         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59647         names.
59648         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59649         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59650         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59651         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59652         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59653         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59655 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59657         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59658         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59659         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59660         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59661         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59662         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59663         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59664         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59665         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59666         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59668 2011-08-15  Alan Modra  <amodra@gmail.com>
59670         [BZ #13092]
59671         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59672         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59673         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59674         ppc_mcount to static-only-routines.
59675         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59676         __mcount_internal.
59677         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59678         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59680 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59682         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59683         for finite and infinity parameters.
59685 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59687         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59688         and add nop instructions for throughput optimization.
59689         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59691 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59693         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59694         aligned copy for power7 with vector-scalar instructions.
59695         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59697 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59699         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59700         AVX check.
59702 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59704         [BZ #13144]
59705         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59706         last change.
59708 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59710         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59711         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59712         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59713         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59714         clock_gettime.
59716 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59718         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59719         Forgot to demangle the pointer.
59721         * sysdeps/i386/sysdep.h: Define atom_text_section.
59722         * sysdeps/x86_64/sysdep.h: Likewise.
59723         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59724         section with atom_text_section.
59725         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59726         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59727         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59728         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59729         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59731         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59732         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59733         already be defined.  Change to take two parameters and don't assign
59734         result to variable.  Adjust all users.
59735         Define INTERNAL_GETTIME if not already defined.
59736         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59737         call.
59738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59739         HAVE_CLOCK_GETTIME_VSYSCALL.
59740         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59742         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59743         gettimeofday vsyscall, just use time.
59745 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59747         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59748         <errno.h>.
59750 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59752         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59753         syscall on x86-64.
59754         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59755         syscall.
59756         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59757         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59758         syscall if possible.
59760 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59762         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59763         e_ident.  Don't pass to find_mapsXX.
59764         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59766 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59769         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59770         * sysdeps/x86_64/multiarch/strchr.S: Update.
59771         Check bit_slow_BSF bit.
59772         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59773         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59774         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59776 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59778         [BZ #13134]
59779         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59780         before glibc 2.15.
59781         (tryshell): Define.
59782         (__spawni): Change last parameter to be flag.  Test
59783         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59784         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59785         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59786         * posix/spawni.c: Likewise.
59787         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59788         * posix/spawnp.c: Likewise.  Change normal version to use
59789         SPAWN_XFLAGS_USE_PATH.
59790         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59791         SPAWN_XFLAGS_TRY_SHELL.
59793         [BZ #13150]
59794         * posix/glob.h: Remove gcc 1.x support.
59796         [BZ #13068]
59797         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59799 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59801         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59802         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59803         strrchr-sse2-bsf
59804         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59805         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59806         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59807         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59808         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59809         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59811 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59813         * sysdeps/x86_64/wcscmp.S: New file.
59815         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59816         wcscmp-c wcscmp-sse2
59817         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59818         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59819         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59820         * wcsmbs/wcscmp.c: Allow renaming.
59822 2011-09-05  David S. Miller  <davem@davemloft.net>
59824         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59825         stack slot, rather than the struct return pointer slot.
59826         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59827         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59829         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59831 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59833         * po/ja.po: Update from translation team.
59835         [BZ #13144]
59836         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59837         kernel in 64-bit binaries.
59839 2011-09-01  David S. Miller  <davem@davemloft.net>
59841         * elf/elf.h (HWCAP_SPARC_*): Move to..
59842         * sysdeps/sparc/sysdep.h: this new file and add new values.
59843         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59844         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59845         _DL_HWCAP_COUNT to 24.
59846         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59847         entries.
59848         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59849         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59850         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59851         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59852         instead of magic constants.
59853         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59855 2011-08-31  David S. Miller  <davem@davemloft.net>
59857         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59859         Reimplement to do errno handling inline.
59860         (SYSCALL_ERROR_HANDLER): New macro.
59861         (__SYSCALL_STRING): Do not do errno handling in asm.
59862         (__CLONE_SYSCALL_STRING): Delete.
59863         (__INTERNAL_SYSCALL_STRING): Delete.
59864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59865         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59866         (PSEUDO): Reimplement to do errno handling inline.
59867         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59868         (SYSCALL_ERROR_HANDLER): New macro.
59869         (__SYSCALL_STRING): Do not do errno handling in asm.
59870         (__CLONE_SYSCALL_STRING): Delete.
59871         (__INTERNAL_SYSCALL_STRING): Delete.
59872         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59873         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59874         i386.
59875         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59876         (inline_syscall*): Add 'err' argument.
59877         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59878         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59879         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59880         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59882         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59883         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59885 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59887         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59889 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59891         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59892         directive.
59894 2011-08-24  David S. Miller  <davem@davemloft.net>
59896         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59898 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59900         * elf/Makefile: Add rules to build and run unload8 test.
59901         * elf/unload8.c: New file.
59902         * elf/unload8mod1.c: New file.
59903         * elf/unload8mod1x.c: New file.
59904         * elf/unload8mod2.c: New file.
59905         * elf/unload8mod3.c: New file.
59907         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59908         it wasn't used.
59910 2011-08-23  David S. Miller  <davem@davemloft.net>
59912         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59913         subtract stack bias.
59914         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59915         %sp not %fp in calculations.
59916         (_JMPBUF_UNWINDS_ADJ): Likewise.
59918         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59919         (aio_suspend): Call it to force an exception region around the
59920         AIO_MISC_WAIT() invocation.
59922 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59924         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59925         backslash.
59927 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59929         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59930         protection macro.
59931         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59932         and <dl-machine.h>.
59933         (Elf64_FuncDesc): Remove.
59935 2011-08-22  David S. Miller  <davem@davemloft.net>
59937         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59938         sigaltstack check, add missing cfi directives.
59939         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59940         missing cfi directives, and sigaltstack handling.
59942 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59944         [BZ #11724]
59945         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59946         object is seen twice.
59947         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59949         * elf/Makefile (distribute): Add tst-initorder2.c.
59950         (tests): Add tst-initorder2.
59951         (modules-names): Add tst-initorder2a tst-initorder2b
59952         tst-initorder2c tst-initorder2d.  Add rules to build them.
59953         ($(objpfx)tst-initorder2.out): New rule.
59954         * elf/tst-initorder2.c: New file.
59955         * elf/tst-initorder2.exp: New file.
59957 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59959         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59961         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59962         dependencies back to end of function.
59964         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59965         $(elfobjdir)/ld.so.
59967 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59969         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59970         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59971         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59972         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59973         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59974         of __vdso_gettimeofday.
59975         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59976         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59977         attribute_hidden.
59978         (_libc_vdso_platform_setup): Remove initialization of
59979         __vdso_gettimeofday and __vdso_time.
59981 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59983         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59984         and fgetc_unlocked.
59985         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59986         getc_unlocked.
59988         * elf/dl-open.c (add_to_global): Report additions to the global scope
59989         for LD_DEBUG=scopes.
59990         (dl_open_worker): Also print scope of newly loaded dependencies.
59991         (_dl_show_scope): Indicate if there is no scope.
59993         [BZ #13114]
59994         * stdio-common/Makefile (tests): Add bug24.
59995         * stdio-common/bug24.c: New file.
59997 2011-08-19  Andreas Jaeger  <aj@suse.de>
59999         [BZ #13114]
60000         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60001         non-existant file when using close-on-exec mode.
60003 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60005         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60006         the very first instruction.
60008         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60009         the CFI state in the end.
60010         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60011         inclusion of dl-trampoline.h.
60012         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60014 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60016         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60017         expectations for long double.
60019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60020         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60022 2011-08-14  David S. Miller  <davem@davemloft.net>
60024         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60025         artificual limit depends upon the system page size.
60027 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60029         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60030         * resolv/Makefile: Define CFLAGS-libresolv.
60032 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60034         * nss/makedb.c (compute_tables): Make variables used in nested
60035         function static.
60037 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60039         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60040         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60041         if buffer was too small.
60043         * elf/pldd.c (main): Attach to all threads in the process.
60044         Rewrite /proc handling to use *at functions.
60046 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60048         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60049         specifies first scope to show.
60050         (dl_open_worker): Update callers.  Move printing scope of new
60051         object to before the relocation.
60052         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60053         * sysdeps/generic/ldsodefs.h: Update declaration.
60055         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60056         string for the scope number.
60058 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60060         * nscd/servicescache.c (cache_addserv): Make sure written is always
60061         initialized.
60063 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60065         * sysdeps/i386/i486/bits/atomic.h
60066         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60067         statement expression, so as to suppress "set but not used" warning.
60068         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60070         * string/strncat.c (STRNCAT): Use prototype definition.
60072         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60073         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60074         -Iprograms here.
60075         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60076         (localedef-modules): Add localedef.
60077         (locale-modules): Add locale.
60079         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60080         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60081         to avoid a warning.
60083 2011-08-14  David S. Miller  <davem@davemloft.net>
60085         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60086         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60088 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60090         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60091         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60092         * elf/rtld.c (dl_main): Set l_name of vDSO.
60093         Call _dl_show_scope when DL_DEBUG_SCOPES.
60094         (process_dl_debug): Recognize scopes flag and also set it for all.
60095         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60096         Declare _dl_show_scope.
60098         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60099         (do_dlopen): Pass caller_dlopen to dl_open.
60100         (__libc_dlopen_mode): Initialize caller_dlopen.
60102         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60103         of libc.  Make tolower call locale-independent.  Optimize a bit by
60104         using isdigit instead of isalnum.
60105         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60107 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60109         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60110         was a dependency or dynamically loaded.
60112 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60114         * intl/l10nflist.c: Allow architecture-specific pop function.
60115         * sysdeps/x86_64/l10nflist.c: New file.
60117         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60118         classification.
60120 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60122         * include/dirent.h: Add libc_hidden_proto for scandirat and
60123         scandirat64.  Don't declare __scandirat64.
60124         * dirent/scandirat.c: Add libc_hidden_def.
60125         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60126         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60128 2011-08-10  David S. Miller  <davem@davemloft.net>
60130         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60131         enum.
60132         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60133         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60134         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60136 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60138         * Versions.def [libc]: Add GLIBC_2.15.
60139         * dirent/Makefile (routines): Add scandirat and scandirat64.
60140         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60141         GLIBC_2.15.
60142         * dirent/dirent.h: Declare scandirat and scandirat64.
60143         * dirent/scandirat.c: New file.
60144         * dirent/scandirat64.c: New file.
60145         * sysdeps/wordsize-64/scandirat.c: New file.
60146         * sysdeps/wordsize-64/scandirat64.c: New file.
60147         * dirent/opendir.c: Define opendirat.
60148         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60149         using scandirat.
60150         * dirent/scandir64.c: Adjust for scandir.c change.
60151         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60152         __scandirat64, and __scandir_cancel_handler.
60153         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60154         additional parameter and use openat instead of open (outside of ld.so).
60155         Add new __opendir as wrapper around __opendirat.
60156         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60157         here without requiring old scandirat implementation.
60159 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60161         * dirent/scandir.c (cancel_handler): Renamed to
60162         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60163         defined.  Adjust users.
60164         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60165         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60167 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60169         * string/test-string.h (IMPL): Use __STRING to expand name and then
60170         stringify it.
60172         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60173         of cleanups.
60175 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60177         * string/Makefile: Update.
60178         (strop-tests): Append strncat.
60179         * string/test-wcscmp.c: New file.
60180         New comprehensive test for wcscmp.
60181         * string/test-strcmp.c: Update.
60182         (WIDE): New define.
60184 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60186         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60187         line.
60189 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60192         encoding to ACE if AI_IDN.
60194 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60196         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60197         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60199 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60201         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60202         Fix overflow bug in strncat.
60203         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60205         * string/test-strncat.c: Update.
60206         Add new tests for checking overflow bugs.
60208 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60211         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60212         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60213         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60214         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60215         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60216         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60217         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60218         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60220         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60221         (USE_AS_STRCAT): Define.
60222         Add strcat and strncat support.
60223         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60225 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60227         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60228         __n bigger than INT_MAX+1.
60229         (__strncmp_g): Likewise.
60231 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60233         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60234         * libio/stido.h: Likewise.
60236         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60237         (AF_NFC): Define.
60238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60239         (AF_NFC): Define.
60241         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60242         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60243         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60244         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60245         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60247         [BZ #13021]
60248         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60249         installed.
60251         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60252         typo.
60253         (_dl_x86_64_save_sse): Likewise.
60255 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60258         OSXSAVE.
60259         (_dl_x86_64_save_sse): Likewise.
60261         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60263         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60265 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60268         change.
60269         (_dl_x86_64_save_sse): Use correct AVX check.
60271 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60273         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60274         bug in strncpy/strncat.
60275         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60277 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60279         * string/tester.c (test_strcat): Add tests for different alignments
60280         of source and destination.
60281         (test_strncat): Likewise.
60283 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60285         [BZ #12852]
60286         * posix/glob.c (glob): Check passed in values before using them in
60287         expressions to avoid some overflows.
60288         (glob_in_dir): Likewise.
60290         [BZ #13007]
60291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60292         check for AVX enablement so that we don't crash with old kernels and
60293         new hardware.
60294         * elf/tst-audit4.c: Add same checks here.
60295         * elf/tst-audit6.c: Likewise.
60297         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60299 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60301         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60303 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60305         * po/cs.po: Update from translation team.
60306         * po/bg.po: Likewise.
60308 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60310         * misc/sys/cdefs.h: Add support for const attribute.
60311         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60312         to gnu_dev_{major,minor,makedev} functions.
60314 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60316         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60318 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60320         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60321         strlen results.
60323 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60326         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60327         register in order to avoid conflicts with the soft frame pointer
60328         being held in r11 when necessary.
60329         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60330         (INTERNAL_VSYSCALL_NCS): Likewise.
60332 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60334         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60335         * elf/dl-fini.c (_dl_fini): Adjust caller.
60336         * elf/dl-close.c (_dl_close_worker): Likewise.
60337         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60339 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60341         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60342         "aux_cache->nlibs < 0".
60344         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60345         in the reload-count case.
60347 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60350         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60351         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60352         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60353         * sysdeps/x86_64/multiarch/strcat.S: New file.
60354         * sysdeps/x86_64/multiarch/strncat.S: New file.
60355         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60356         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60357         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60358         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60359         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60360         (USE_AS_STRCAT): Define.
60361         Add strcat and strncat support.
60362         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60363         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60364         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60365         * string/strncat.c: Update.
60366         (USE_AS_STRNCAT): Define.
60367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60368         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60369         and i7.
60370         * sysdeps/x86_64/multiarch/init-arch.h
60371         (bit_Prefer_PMINUB_for_stringop): New.
60372         (index_Prefer_PMINUB_for_stringop): Likewise.
60373         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60374         bit_Prefer_PMINUB_for_stringop.
60376 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60378         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60379         buffer64.
60380         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60381         of casting of buffer.
60382         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60383         buffer32 and buffer64.
60384         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60385         writes instead of casting of buffer.
60386         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60387         buffer32.
60388         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60389         casting of buffer.
60391 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60393         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60395 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60397         * nscd/nscd.c (termination_handler): Don't do anything for a database
60398         if it has not yet been initialized.
60400 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60402         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60404 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60406         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60408 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60410         * po/nl.po: Update from translation team.
60411         * po/sv.po: Likewise.
60413 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60415         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60416         now disallowed by GCC.
60418         * configure.in (use-default-link): Default to yes if a test -shared
60419         link meets our qualifications.
60420         * configure: Regenerated.
60422         * config.make.in (output-format): New variable.
60423         * configure.in: Check for ld --print-output-format support.
60424         * configure: Regenerated.
60425         * Makerules ($(common-objpfx)format.lds)
60426         [$(output-format) != unknown]: Just use $(output-format),
60427         instead of the linker-script munging.
60429 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60431         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60432         of $(common-objpfx)shlib.lds.
60433         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60435         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60436         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60438         * configure.in (-z relro check): Adjust test code to add a large
60439         writable data section after it.
60440         * configure: Regenerated.
60442 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60444         * configure.in (-z relro check): Fix test code to make the variable
60445         truly const.
60446         * configure: Regenerated.
60448 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60450         * nscd/nscd.h (struct traced_file): Define.
60451         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60452         elements.  Add traced_files.
60453         (inotify_fd): Declare.
60454         (register_traced_file): Declare.
60455         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60456         (inotify_fd): Export.
60457         (resolv_conf_descr): Remove.
60458         (nscd_init): Move inotify descriptor creation to main.
60459         Don't register files for notification here.
60460         (register_traced_file): New function.
60461         (invalidate_cache): Don't use reset_res to determine whether to call
60462         res_init, go through the list of registered files.
60463         (main_loop_poll): The inotify descriptors are now stored in the
60464         structures for the traced files.
60465         (main_loop_epoll): Likewise
60466         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60467         to __nss_disable_nscd.
60468         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60469         for a database anymore.  Check the records for all the registered
60470         files instead.
60471         * nss/Makefile (libnss_files-routines): Add files-init.
60472         (libnss_db-routines): Add db-init.
60473         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60474         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60475         * nss/nss_db/db-init.c: New file.
60476         * nss/nss_files/files-init.c: New file.
60477         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60478         __nss_lookup_function.
60479         (__nss_lookup_function): Call nss_load_library.
60480         (nss_load_all_libraries): New function.
60481         (__nss_disable_nscd): Take parameter with callback function for files
60482         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60483         used for the cached services.
60484         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60485         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60486         options for features to all the files in nscd.
60488         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60490 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60492         * csu/elf-init.c (__libc_csu_init): Comment typo.
60494 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60496         * po/pl.po: Update from translation team.
60497         * po/ja.po: Likewise.
60498         * po/ru.po: Likewise.
60499         * po/ko.po: Likewise.
60500         * po/fr.po: Likewise.
60502 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60504         * configure.in (.ctors/.dtors header and trailer check):
60505         Use an empirical test on a built program.
60506         * configure: Regenerated.
60508         * configure.in (-z relro check): Use an empirical test on a built DSO.
60509         Detect, but do not require, on ia64.
60510         * configure: Regenerated.
60512         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60513         Update tests that use readelf to use $READELF instead.
60514         * configure: Regenerated.
60516 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60518         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60519         if the result is not used.
60521 2011-07-05  Andreas Jaeger  <aj@suse.de>
60523         [BZ#9696]
60524         * stdlib/tst-strtod.c: Add testcase.
60526 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60528         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60529         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60530         The latter has a higher limit.  Take additional parameter to pass to
60531         the new function.
60532         (__pathconf): Pass file to __statfs_link_max.
60533         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60534         __statfs_link_max.
60535         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60536         __statfs_link_max.
60538         [BZ #12868]
60539         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60540         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60541         Handle Lustre.
60542         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60543         (__statfs_filesize_max): Likewise.
60544         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60546 2011-07-05  Andreas Jaeger  <aj@suse.de>
60548         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60550 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60552         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60553         `status' variable.
60554         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60555         Likewise.
60557 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60559         * Makefile (strop-tests): Add strncat.
60560         * string/test-strncat.c: New file.
60562 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60564         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60566 2011-06-21  Andreas Jaeger  <aj@suse.de>
60568         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60569         Copy rule from iconvdata/Makefile.
60571 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60573         [BZ #12922]
60574         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60575         but no long options are defined, just return 'W'.
60577 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60579         [BZ #9696]
60580         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60582 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60584         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60585         netgroups to read.
60586         (innetgr): Likewise.
60588 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60590         * config.make.in (install_root): Default to $(DESTDIR).
60592 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60594         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60596 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60598         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60600         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60601         containing directory rather than embedding absolute directory names.
60603         * scripts/check-local-headers.sh: Rewritten using awk.
60604         Match by word, not by line.  Print error messages for matches.
60605         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60607         * Makerules [shlib-lds-flags empty]:
60608         ($(common-objpfx)libc_pic.opts): New target.
60609         ($(common-objpfx)libc_pic.os.clean): New target.
60610         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60612         * config.make.in (OBJCOPY): New variable.
60613         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60614         * configure: Regenerated.
60616         * config.make.in (use-default-link): New variable.
60617         * configure.in (use_default_link): Grok --with-default-link to set it.
60618         * configure: Regenerated.
60619         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60620         (shlib-lds, shlib-lds-flags): Define to empty.
60622         * Makerules (shlib-lds): New variable.
60623         (shlib-lds-flags): New variable.
60624         (build-shlib, build-moduile, build-module-asneeded): Use it.
60625         ($(common-objpfx)libc.so): Use $(shlib-lds).
60626         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60627         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60629         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60630         DT_FLAGS/DT_FLAGS_1 with zero flags.
60632         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60633         linker script munging.
60635 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60637         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60638         as 128-bit value.
60639         * crypt/sha512.c (sha512_process_block): Perform total addition using
60640         128-bit if possible.
60641         (__sha512_finish_ctx): Likewise.
60642         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60643         as 64-bit value.
60644         * crypt/sha256.c (SWAP64): Define.
60645         (sha256_process_block): Perform total addition using 64-bit if
60646         possible.
60647         (__sha256_finish_ctx): Likewise.
60649 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60651         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60652         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60653         * nscd/hstcache.c (cache_addhst): Likewise.
60654         * nscd/grpcache.c (cache_addgr): Likewise.
60655         * nscd/aicache.c (addhstaiX): Likewise
60656         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60658 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60660         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60661         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60662         * nscd/hstcache.c (cache_addhst): Likewise.
60663         * nscd/grpcache.c (cache_addgr): Likewise.
60664         * nscd/aicache.c (addhstaiX): Likewise
60666 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60668         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60669         domain only when needed.
60671 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60674         is always restored.
60676 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60678         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60679         are re-adding the entry.
60680         * nscd/servicescache.c (cache_addserv): Likewise.
60682 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60684         * sysdeps/generic/dl-irel.h: fix protection against multiple
60685         inclusions.
60686         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60688 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60690         [BZ #12935]
60691         * malloc/memusage.sh: Fix quoting in message.
60692         * debug/xtrace.sh: Likewise.
60694         * configure.in: Remove support for --experimental-malloc option, make
60695         it the default.
60696         * config.make.in: Likewise.
60697         * malloc/Makefile: Likewise.
60699 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60701         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60702         two-byte characters.
60704 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60706         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60707         AC_CACHE_CHECK invocation.
60708         * configure: Regenerated.
60710         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60712 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60714         [BZ #12350]
60715         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60716         bit from old_res_options.
60718         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60720         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60721         value type for setfct.
60723 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60725         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60726         __gettimeofday instead of gettimeofday.
60728 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60730         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60732 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60734         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60737         info.
60739 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60742         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60743         strcpy-sse2-unaligned strncpy-sse2-unaligned
60744         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60745         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60746         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60747         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60748         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60749         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60750         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60751         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60752         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60753         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60754         (STRCPY): Support SSE2 and SSSE3 versions.
60756 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60758         [BZ #12874]
60759         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60760         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60761         kernels which artificially limit size of requests.
60763 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60766         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60767         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60768         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60769         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60770         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60771         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60772         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60773         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60775         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60776         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60777         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60778         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60779         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60781         Enable unaligned load optimization for Intel Core i3, i5 and i7
60782         processors.
60783         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60784         Define.
60785         (index_Fast_Unaligned_Load): Define.
60786         (HAS_FAST_UNALIGNED_LOAD): Define.
60788 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60790         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60792 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60794         [BZ #12907]
60795         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60796         until it is clear that the information is realy needed.
60797         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60799 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60803 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60805         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60806         /sys/devices/system/cpu/online if it is usable.
60808         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60809         reading the information from the /proc filesystem to once a second.
60811 2011-06-21  Andreas Jaeger  <aj@suse.de>
60813         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60814         NULL after inclusion of kernel headers.
60816 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60818         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60819         calls to internal_setent.
60821         [BZ #12885]
60822         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60823         addresses using gethostbyname4_r ignore IPv4 addresses.
60825         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60826         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60828         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60830 2011-06-20  David S. Miller  <davem@davemloft.net>
60832         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60833         inclusions.
60834         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60836         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60837         (elf_irel): Use it.
60838         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60839         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60840         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60841         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60842         * sysdeps/x86_64/dl-irel.h: Likewise.
60844         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60845         * elf/dl-sym.c: Likewise.
60847 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60849         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60850         need to dereference resplen2.
60852 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60854         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60856 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60858         * Makeconfig: Define vardbdir and inst_vardbdir.
60859         * nss/Makefile: Add rules to install db-Makefile.
60861         * nss/nss_db/db-XXX.c: Cleanup.
60863         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60864         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60865         GLIBC_PRIVATE.
60866         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60867         * nss/makedb.c: Implement -g option to specify that value strings
60868         are generated and should not be added to table iterated over for
60869         get*ent calls.
60870         * nss/nss_db/db-initgroups.c: New file.
60872         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60873         interface.
60875         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60876         (internal_getgrouplist): Adjust to name change.
60877         Update use_initgroups_entry if this is not the first call.
60878         * nss/databases.def: Add initgroups entry.
60880         * nss/makedb.c (compute_tables): Check result of multiple hash table
60881         sizes to minimize maximum chain length.
60883 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60885         * Versions.def: Add entry for libnss_db.
60886         * shlib-versions: Likewise.
60887         * nss/Makefile: Add rules to build libnss_db.
60888         * nss/Versions: Add libnss_db information.  Organize libnss_files
60889         entries better.
60890         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60891         makedb progra.  Some minor improvements to generate smaller files.
60892         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60893         here from...
60894         * nss/makedb.c: ...here.
60895         Improve database format to be smaller and require less memory at
60896         runtime.
60897         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60898         db anymore.
60899         * nss/nss_db/db-netgrp.c: Likewise.
60900         * nss/nss_db/db-open.c: Likewise.
60901         * nss/nss_files/flies-XXX.x: Adjust comments.
60902         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60903         * nss/nss_files/files-grp.c: Likewise.
60904         * nss/nss_files/files-hosts.c: Likewise.
60905         * nss/nss_files/files-network.c: Likewise.
60906         * nss/nss_files/files-proto.c: Likewise.
60907         * nss/nss_files/files-pwd.c: Likewise.
60908         * nss/nss_files/files-rpc.c: Likewise.
60909         * nss/nss_files/files-service.c: Likewise.
60910         * nss/nss_files/files-sgrp.c: Likewise.
60911         * nss/nss_files/files-spwd.c: Likewise.
60912         * nss/nss_db/db-alias.c: Removed.
60913         * nss/nss_db/dummy-db.h: Removed.
60915 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60917         * nss/makedb.c: Rewritten to not use database library.
60918         * nss/Makefile: Update to build new makedb program.
60920 2011-06-14  Andreas Jaeger  <aj@suse.de>
60922         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60923         memset declaration.
60925 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60928         tmpbuf.
60930 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60932         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60933         * elf/Makefile ($(objpfx)ld.so): Likewise.
60935         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60936         Don't list ld.so twice in dependencies.
60938         * posix/bug-regex31.c: Include <stdlib.h>.
60940         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60942         * nis/nss_compat/compat-spwd.c
60943         (getspent_next_nss_netgr): Remove unused variable.
60944         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60946         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60947         nonmembers" output to use the right array.
60949         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60951         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60953         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60954         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60955         * catgets/gencat.c (read_input_file): Likewise.
60956         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60958         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60959         variable definition inside #if's controlling its use.
60961         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60963         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60965         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60967         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60968         unreachable code.
60970         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60972         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60973         * configure: Regenerated.
60975         * Makerules: Revert last change.
60976         * elf/Makefile: Likewise.
60978 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60980         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60981         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60982         (reloc-link): Likewise.
60984 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60986         * elf/Makefile: Add rules to build pldd.
60987         * elf/pldd.c: New file.
60988         * elf/pldd-xx.c: New file.
60990 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60992         * version.h: Update for 2.15 development version.
60994 2011-06-07  David S. Miller  <davem@davemloft.net>
60996         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60997         ifuncs.
60998         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60999         elf_machine_lazy_rel): Likewise.
61000         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61001         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61002         elf_machine_lazy_rel): Likewise.
61003         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61004         dl_hwcap via passed in argument.
61005         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61006         Likewise.
61008 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61010         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61012 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61014         [BZ #12849]
61015         * manual/fdl-1.1.texi: New file, verbatim from:
61016         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61017         * manual/lgpl-2.1.texi: New file, verbatim from:
61018         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61019         * manual/Makefile (licenses): New variable, list those new file names.
61020         (texis): Use it.
61021         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61023         * manual/fdl.texi: File removed.
61024         * manual/lesser.texi: File removed.
61025         * manual/libc.texinfo (Copying, Documentation License):
61026         Use new @include file names, put @appendix directive before @include.
61028 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61030         [BZ #12841]
61031         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61032         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61033         (mq_open): Add __NTH.
61035 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61038         Assume Intel Core i3/i5/i7 processor if AVX is available.
61040 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61042         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61043         typo.
61045 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61048         memory.  Use alloca_account.  Fix memory leak when retrying.
61050 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61052         * version.h (RELEASE): Bump for 2.14 release.
61053         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61055         * config.make.in (RANLIB): Remove entry.
61057 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61059         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61060         (libc.pot): Work around missing support for .ksh extension in xgettext.
61062         [BZ #12684]
61063         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61064         if both request failed.
61065         (send_dg): In case of server errors clear resplen or *resplen2.
61067         [BZ #12454]
61068         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61069         when there are multiple maps.
61070         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61071         (_dl_fini): Remove test here.
61073         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61075 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61077         [BZ #12350]
61078         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61079         bit from old_res_options.
61080         (gaih_inet): Likewise.
61082         [BZ #11099]
61083         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61084         as signed.
61086         * resolv/res_init.c (res_setoptions): Make the code more compact.
61088         [BZ #11558]
61089         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61090         set RES_USEVC.
61092         [BZ #11634]
61093         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61095         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61097         [BZ #11781]
61098         * malloc/malloc.h: Declare malloc hook variables as volatile.
61100         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61101         in last patch.
61103         [BZ #11799]
61104         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61105         raise in the comment.
61106         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61108         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61110 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61112         [BZ #12811]
61113         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61114         grow the buffers more if it already has to be sufficient.
61115         (build_wcs_upper_buffer): Likewise.
61116         * posix/regexec.c (check_matching): Likewise.
61117         (clean_state_log_if_needed): Likewise.
61118         (extend_buffers): Don't enlarge buffers beyond size of the input
61119         buffer.
61120         Patches mostly by Emil Wojak <emil@wojak.eu>.
61121         * posix/bug-regex32.c: New file.
61122         * posix/Makefile (tests): Add bug-regex32.
61124         * locale/findlocale.c (_nl_find_locale): Return right away if
61125         _nl_explode_name failed.
61126         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61128         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61130         * debug/xtrace.sh: Unify messages.
61131         * malloc/memusage.sh: Likewise.
61133         [BZ #12813]
61134         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61135         time symbol from vDSO.  Substitute with vsyscall if not available.
61136         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61137         __vdso_time.
61139         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61140         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61141         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61142         Add sendmmsg and internal_sendmmsg.
61143         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61144         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61145         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61147         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61148         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61149         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61151 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61153         [BZ #12813]
61154         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61155         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61156         available.
61157         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61158         __vdso_getcpu.
61160         [BZ #12814]
61161         * iconvdata/Makefile (tests): Add bug-iconv9.
61162         * iconvdata/bug-iconv9.c: New file.
61164 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61166         [BZ #12814]
61167         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61169 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61171         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61172         (struct user_regs_struct): Change intcs field back to cs.
61174 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61176         * po/ja.po: Update from translation team.
61178 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61180         [BZ #12795]
61181         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61182         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61184 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61186         * stdlib/longlong.h: Update from GCC.
61188 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61190         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61191         parameter name.
61192         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61193         Add parameter name.
61194         (__sysconf): Pass it down.
61196 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61198         [BZ #12671]
61199         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61200         some situations.
61201         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61202         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61203         add in in __libc_use_alloca calls.  Adjust callers.
61204         (glob): Use malloc in some situations.
61206         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61207         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61208         pltexit.
61210 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61212         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61213         and CLOCK_BOOTTIME_ALARM.
61215         [BZ #12782]
61216         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61217         is returned.
61219         * string/_strerror.c (__strerror_r): Print negative errors as signed
61220         numbers.
61222         [BZ #12777]
61223         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61224         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61225         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61227         * configure.in: Fix typo in redirection and correct removal of test
61228         files in two cases.
61230         [BZ #12788]
61231         * locale/setlocale.c (new_composite_name): Fix test to check for
61232         identical name of all categories.
61234         [BZ #12792]
61235         * libio/filedoalloc.c (local_isatty): New function.
61236         (_IO_file_doallocate): Use local_isatty.
61237         * stdio-common/perror.c (perror): In case a new stream is used
61238         forward the stream error.
61239         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61240         error flag.
61242 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61244         [BZ #11869]
61245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61246         alloca.
61247         * include/alloca.h (extend_alloca_account): Define.
61249         [BZ #11857]
61250         * posix/regex.h: Fix comments with documentation of user-accessible
61251         fields after compilation and describe correct free'ing of pattern
61252         after re_compile_pattern.
61253         Patch by Reuben Thomas <rrt@sc3d.org>.
61255 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61257         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61258         and -mno-altivec to prevent the compiler from using Altivec and/or
61259         VSX instructions when the corresponding registers are not available.
61261 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61263         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61265 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61267         * libio/freopen.c (freopen): Use __dup2, not dup2.
61268         * libio/freopen64.c (freopen64): Likewise.
61270 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61272         [BZ #12775]
61273         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61274         * math/Makefile (tests): Add test-powl.
61275         (CFLAGS-test-powl.c): Define.
61276         * math/test-powl.c: New file.
61278 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61280         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61282 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61284         [BZ #11837]
61285         * iconvdata/gb18030.c: Update to GB18020-2005.
61287 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61289         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61290         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61291         Patch by Aharon Robbins <arnold@skeeve.com>.
61293         [BZ #11892]
61294         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61295         on the stack.
61297         [BZ #11895]
61298         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61299         through underflows.
61301         [BZ #12766]
61302         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61303         point to strings before performing equality test for error_one_per_line
61304         mode.
61306         [BZ #11697]
61307         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61309         [BZ #11820]
61310         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61311         (struct user_fpregs_struct): Avoid __uint*_t types.
61313         [BZ #6420]
61314         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61315         symbol info.  Use it instead of calling _dl_addr locally.
61316         (lock_and_info): New function.
61317         (tr_freehook): Call lock_and_info and pass symbol info as additional
61318         parameter to tr_where.
61319         (tr_mallochook): Likewise.
61320         (tr_reallochook): Likewise.
61321         (tr_memalignhook): Likewise.
61323         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61324         used and couldn't be at all thread-safe.
61326 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61328         * libio/freopen.c (freopen): Don't close old file descriptor
61329         before the new one is opened.  Instead dup the new file descriptor
61330         to the old one after the new stream is created.
61331         * libio/freopen64.c (freopen64): Likewise.
61332         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61333         * libio/fileops.c (_IO_new_file_close_it): Handle new
61334         _IO_FLAGS2_NOCLOSE flag.
61335         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61336         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61337         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61338         _IO_FLAGS2_NOCLOSE flag.
61339         * include/unistd.h: Add hidden_proto for dup3.
61340         Define __have_dup3.
61341         * io/dup3.c: Define hidden symbol.
61342         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61344         [BZ #7101]
61345         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61346         when an incomplete long option is used.
61347         * posix/tst-getopt_long1.c: New file.
61348         * posix/Makefile (tests): Add tst-getopt_long1.
61350         [BZ #10138]
61351         * scripts/config.guess: Update from autoconf-2.68.
61352         * scripts/config.sub: Likewise.
61354         [BZ #10157]
61355         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61356         tests into ...
61357         (has_cpuclock): ...this.  New function.
61358         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61359         macro here based on has_cpuclock code.
61361         [BZ #10149]
61362         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61363         First byte (not low byte) is now always NUL.
61364         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61366         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61367         Use non-cancelable interfaces.
61369         [BZ #9809]
61370         * locale/iso-639.def: Add entry for Sorani.
61372         [BZ #11901]
61373         * include/stdlib.h: Move include protection to the right place.
61374         Define abort_msg_s.  Declare __abort_msg with it.
61375         * stdlib/abort.c (__abort_msg): Adjust type.
61376         * assert/assert.c (__assert_fail_base): New function.  Majority
61377         of code from __assert_fail.  Allocate memory for __abort_msg with
61378         mmap.
61379         (__assert_fail): Now call __assert_fail_base.
61380         * assert/assert-perr.c: Remove bulk of implementation.  Use
61381         __assert_fail_base.
61382         * include/assert.hL Declare __assert_fail_base.
61383         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61384         mmap.
61385         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61387 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61389         [BZ #11952]
61390         [BZ #12453]
61391         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61392         until all modules are registered in the DTV.
61393         * elf/Makefile: Add rules to build and run tst-tls19.
61394         * elf/tst-tls19.c: New file.
61395         * elf/tst-tls19mod1.c: New file.
61396         * elf/tst-tls19mod2.c: New file.
61397         * elf/tst-tls19mod3.c: New file.
61398         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61400         [BZ #12083]
61401         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61402         correctly.
61404         [BZ #12601]
61405         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61406         two-byte sequence errors.
61407         * iconvdata/Makefile (tests): Add bug-iconv8.
61408         * iconvdata/bug-iconv8.c: New file.
61410         [BZ #12626]
61411         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61412         buf2 definition.
61414         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61416         [BZ #12432]
61417         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61418         (dummy_getcfa): New function.
61419         (init): Get _Unwind_GetCFA address, use dummy if not found.
61420         (backtrace_helper): In recursion check, also check whether CFA changes.
61421         (__backtrace): Completely initialize arg.
61423         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61424         storing incomplete byte sequence in state object.  Avoid testing for
61425         guaranteed too small input if we know there is enough data available.
61427 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61429         * Makeconfig (+link-pie): Indent.
61430         * Rules (binaries-pie): Define if $(have-fpie) and
61431         $(build-shared).
61432         (binaries-shared): Also filter out $(binaries-pie).
61433         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61434         * nscd/Makefile (others-pie): Add nscd.
61435         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61436         ($(objpfx)nscd): Remove command override.
61437         * login/Makefile (others-pie): Add pt_chown.
61438         ($(objpfx)pt_chown): Remove command override.
61439         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61440         remove command overrides.
61442 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61444         * libio/tst_putwc.c: Fix error messages.
61446         [BZ #12724]
61447         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61448         currently writing and seek to current position when not.
61449         * libio/Makefile (tests): Add bug-fclose1.
61450         * libio/bug-fclose1.c: New file.
61452 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61454         [BZ #12511]
61455         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61456         don't set DF_1_NODELETE here.
61457         (do_lookup_x): When entering new entry test for copy relocation
61458         and if necessary set DF_1_NODELETE flag.
61459         * elf/tst-unique4.cc: New file.
61460         * elf/tst-unique4.h: New file.
61461         * elf/tst-unique4lib.cc: New file.
61462         * elf/Makefile: Add rules to build and run tst-unique4.
61463         Patch by Piotr Bury <pbury@goahead.com>.
61465 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61467         [BZ #12052]
61468         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61470         [BZ #12625]
61471         * misc/mntent_r.c (addmntent): Flush the stream after the output
61473         [BZ #12393]
61474         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61475         (is_trusted_path_normalize): Skip initial colon.  Append slash
61476         to empty buffer.  Duplicate is_trusted_path code but allow
61477         constructed patch to be prefix.
61478         (is_dst): Allow $ORIGIN followed by /.
61479         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61480         Correct testing of result of is_trusted_path_normalize
61481         (decompose_rpath): Fix warning.
61483 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61485         [BZ #11257]
61486         * grp/initgroups.c (internal_getgrouplist): When we found the service
61487         list through the initgroups entry in nsswitch.conf do not always
61488         continue on a successful lookup.  Don't always use the
61489         __nss_group_database value if it is set.
61490         * nss/nsswitch.conf (initgroups): Change action for successful db
61491         lookup to continue for compatibility.
61493 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61495         [BZ #11532]
61496         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61497         and CP774 modules.
61498         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61499         and CP774 modules.
61500         * iconvdata/tst-tables.sh: Likewise.
61501         * iconvdata/cp770.c: New file.
61502         * iconvdata/cp771.c: New file.
61503         * iconvdata/cp772.c: New file.
61504         * iconvdata/cp773.c: New file.
61505         * iconvdata/cp774.c: New file.
61506         * iconvdata/testdata/CP770: New file.
61507         * iconvdata/testdata/CP770..UTF8: New file.
61508         * iconvdata/testdata/CP771: New file.
61509         * iconvdata/testdata/CP771..UTF8: New file.
61510         * iconvdata/testdata/CP772: New file.
61511         * iconvdata/testdata/CP772..UTF8: New file.
61512         * iconvdata/testdata/CP773: New file.
61513         * iconvdata/testdata/CP773..UTF8: New file.
61514         * iconvdata/testdata/CP774: New file.
61515         * iconvdata/testdata/CP774..UTF8: New file.
61517         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61518         END CHARMAP line.
61519         * iconvdata/gen-8bit-gap.sh: Likewise.
61520         * iconvdata/gen-8bit.sh: Likewise.
61522         * locale/iso-639.def: Add ary entry.
61524         [BZ #11258]
61525         * locale/C-translit.h.in: Add U20A1 transliteration.
61527         [BZ #12178]
61528         * locale/iso-639.def: Add wae entry.
61529         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61531         [BZ #12545]
61532         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61533         for n.
61535         [BZ #12711]
61536         * locale/C-translit.h.in: Add entry for U20B9.
61537         Patch by pravin.d.s@gmail.com.
61539 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61541         [BZ #12713]
61542         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61543         ENAMETOOLONG use generic getcwd.
61544         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61545         in rtld.  Use *stat64.
61546         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61547         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61548         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61549         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61550         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61551         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61552         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61553         __fstatat64 macros.
61554         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61555         * dirent/rewinddir.c: Add libc_hidden_def.
61556         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61557         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61559         * include/dirent.h (__alloc_dir): Add flags parameter.
61560         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61561         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61562         __alloc_dir.
61563         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61564         from fdopendir if O_CLOEXEC is already set.
61566 2011-03-15  Alan Modra  <amodra@gmail.com>
61568         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61569         l_tls_firstbyte_offset non-zero.  Save padding offset in
61570         l_tls_firstbyte_offset for later use.
61571         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61572         freeing static tls block.
61574 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61576         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61577         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61578         being defined by the kernel headers.
61580 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61582         [BZ #12734]
61583         * resolv/resolv.h: Define RES_NOTLDQUERY.
61584         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61585         no-tld-query and set RES_NOTLDQUERY.
61586         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61587         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61588         modern BIND to search name as TLD unless forbidden.
61590 2011-05-07  Petr Baudis  <pasky@suse.cz>
61591             Ulrich Drepper  <drepper@gmail.com>
61593         [BZ #12393]
61594         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61595         (is_trusted_path): ...to here.
61596         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61597         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61598         using is_trusted_path_normalize() in setuid scripts.
61600 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61602         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61603         __BEGIN/__END_DECLS.
61605 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61607         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61608         NSS_STATUS_NOTFOUND if no record was found.
61610 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61612         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61613         (headers-not-in-tirpc): Remove rpc/netdb.h
61614         * resolv/netdb.h: Revert last change.
61616 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61618         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61619         circular dependency between libgcc.a and libc.a.
61621 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61623         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61624         * nis/Makefile: Don't install rpcsvc/*.
61625         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61626         instead of <rpc/types.h>.
61627         (MAXHOSTNAMELEN): Define.
61629 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61631         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61633 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61635         [BZ #12714]
61636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61637         gethostbyname4_r when IPv6 results are possible.
61639 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61641         [BZ #12723]
61642         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61643         _PC_PIPE_BUF handling.
61645 2011-04-30  Bruno Haible  <bruno@clisp.org>
61647         [BZ #12717]
61648         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61649         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61650         to 'int'.
61651         * inet/getnameinfo.c (getnameinfo): Likewise.
61653 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61655         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61656         to groups setting in database lookup.
61657         * nss/nsswitch.conf: Add initgroups entry.
61659 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61661         [BZ #12685]
61662         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61663         mode string.
61664         Patch by Eric Blake <eblake@redhat.com>.
61666 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61668         * sunrpc/Makefile (need-export-routines): Add svc_run.
61669         (routines): Remove svc_run.
61670         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61671         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61672         * sunrpc/svc_run.c (svc_run): Likewise.
61673         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61675 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61677         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61678         problem in reallocation in last patch.
61680 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61682         * sunrpc/Makefile: Move inclusion of Rules.
61684 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61686         * nss/nss_files/files-initgroups.c: New file.
61687         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61688         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61689         _nss_files_initgroups_dyn.
61691 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61693         * elf/elf.h (R_ARM_IRELATIVE): Define.
61695 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61697         * po/ru.po: Update from translation team.
61699 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61701         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61702         dependencies.
61704 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61706         [BZ #12653]
61707         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61708         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61709         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61710         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61711         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61713 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61715         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61716         differing bytes.
61717         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61718         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61719         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61721 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61723         [BZ #12420]
61724         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61725         storing it.
61726         * stdlib/bug-getcontext.c: New file.
61727         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61729 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61731         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61732         instructions into .machine "z9-109".
61733         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61734         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61736 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61738         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61739         between environment variables and auxiliary vector.
61741 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61743         * Makefile: Add rules to build linkobj/libc.so.
61744         * include/libc-symbols.h: Define libc_hidden_nolink.
61745         * include/rpc/auth.h: Mark functions which are to be hidden.
61746         * include/rpc/auth_des.h: Likewise.
61747         * include/rpc/auth_unix.h: Likewise.
61748         * include/rpc/clnt.h: Likewise.
61749         * include/rpc/des_crypt.h: Likewise.
61750         * include/rpc/key_prot.h: Likewise.
61751         * include/rpc/pmap_clnt.h: Likewise.
61752         * include/rpc/pmap_prot.h: Likewise.
61753         * include/rpc/pmap_rmt.h: Likewise.
61754         * include/rpc/rpc_msg.h: Likewise.
61755         * include/rpc/svc.h: Likewise.
61756         * include/rpc/svc_auth.h: Likewise.
61757         * include/rpc/xdr.h: Likewise.
61758         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61759         * nss/Makefile: Likewise.
61760         * sunrpc/Makefile: Don't install headers.  Build library with normal
61761         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61762         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61763         for the compat linking library.  Remove use of INTDEF/INTUSE.
61764         * sunrpc/auth_none.c: Likewise.
61765         * sunrpc/auth_unix.c: Likewise.
61766         * sunrpc/authdes_prot.c: Likewise.
61767         * sunrpc/authuxprot.c: Likewise.
61768         * sunrpc/clnt_gen.c: Likewise.
61769         * sunrpc/clnt_perr.c: Likewise.
61770         * sunrpc/clnt_raw.c: Likewise.
61771         * sunrpc/clnt_simp.c: Likewise.
61772         * sunrpc/clnt_tcp.c: Likewise.
61773         * sunrpc/clnt_udp.c: Likewise.
61774         * sunrpc/clnt_unix.c: Likewise.
61775         * sunrpc/des_crypt.c: Likewise.
61776         * sunrpc/des_soft.c: Likewise.
61777         * sunrpc/get_myaddr.c: Likewise.
61778         * sunrpc/key_call.c: Likewise.
61779         * sunrpc/key_prot.c: Likewise.
61780         * sunrpc/netname.c: Likewise.
61781         * sunrpc/pm_getmaps.c: Likewise.
61782         * sunrpc/pm_getport.c: Likewise.
61783         * sunrpc/pmap_clnt.c: Likewise.
61784         * sunrpc/pmap_prot.c: Likewise.
61785         * sunrpc/pmap_prot2.c: Likewise.
61786         * sunrpc/pmap_rmt.c: Likewise.
61787         * sunrpc/publickey.c: Likewise.
61788         * sunrpc/rpc_cmsg.c: Likewise.
61789         * sunrpc/rpc_common.c: Likewise.
61790         * sunrpc/rpc_dtable.c: Likewise.
61791         * sunrpc/rpc_prot.c: Likewise.
61792         * sunrpc/rpc_thread.c: Likewise.
61793         * sunrpc/rtime.c: Likewise.
61794         * sunrpc/svc.c: Likewise.
61795         * sunrpc/svc_auth.c: Likewise.
61796         * sunrpc/svc_authux.c: Likewise.
61797         * sunrpc/svc_raw.c: Likewise.
61798         * sunrpc/svc_run.c: Likewise.
61799         * sunrpc/svc_simple.c: Likewise.
61800         * sunrpc/svc_tcp.c: Likewise.
61801         * sunrpc/svc_udp.c: Likewise.
61802         * sunrpc/svc_unix.c: Likewise.
61803         * sunrpc/svcauth_des.c: Likewise.
61804         * sunrpc/xcrypt.c: Likewise.
61805         * sunrpc/xdr.c: Likewise.
61806         * sunrpc/xdr_array.c: Likewise.
61807         * sunrpc/xdr_float.c: Likewise.
61808         * sunrpc/xdr_intXX_t.c: Likewise.
61809         * sunrpc/xdr_mem.c: Likewise.
61810         * sunrpc/xdr_rec.c: Likewise.
61811         * sunrpc/xdr_ref.c: Likewise.
61812         * sunrpc/xdr_sizeof.c: Likewise.
61813         * sunrpc/xdr_stdio.c: Likewise.
61815 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61817         [BZ #12650]
61818         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61819         * sysdeps/ia64/dl-tls.h: Likewise.
61820         * sysdeps/powerpc/dl-tls.h: Likewise.
61821         * sysdeps/s390/dl-tls.h: Likewise.
61822         * sysdeps/sh/dl-tls.h: Likewise.
61823         * sysdeps/sparc/dl-tls.h: Likewise.
61824         * sysdeps/x86_64/dl-tls.h: Likewise.
61825         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61827 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61829         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61830         rpath element also skip the following colon.
61831         (expand_dynamic_string_token): Add is_path parameter and pass
61832         down to DL_DST_REQUIRED and _dl_dst_substitute.
61833         (decompose_rpath): Call expand_dynamic_string_token with
61834         non-zero is_path.  Ignore empty rpaths.
61835         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61836         with zero is_path.
61838 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61841         Make cancelable.
61843 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61845         [BZ #12655]
61846         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61847         Patch by Filipe David Manana <fdmanana@apache.org>.
61849 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61851         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61852         Maintain aligned stack.
61853         (CHECK_RSP): Remove unused macro.
61855 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61857         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61858         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61860 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61862         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61864         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61866 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61868         [BZ #12518]
61869         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61870         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61871         * sysdeps/x86_64/memmove.c: New file.
61872         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61873         (memcpy): Renamed to ...
61874         (__new_memcpy): This.
61875         (memcpy): Provide GLIBC_2_14 memcpy.
61876         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61877         (memcpy): Provide GLIBC_2_2_5 memcpy.
61879 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61881         [BZ #12631]
61882         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61884 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61886         * misc/syncfs.c: New file.
61887         * misc/Makefile (routines): Add syncfs.
61888         * posix/unistd.h: Declare syncfs.
61889         * sysdeps/unix/syscalls.list: Add syncfs.
61891 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61893         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61894         open_by_handle_at.
61895         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61896         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61898         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61900         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61901         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61903 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61905         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61906         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61907         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61909         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61911         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61913         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61914         sync_file_range.c with -fexceptions.
61915         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61916         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61917         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61918         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61919         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61920         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61922         sync_file_range as cancellation point
61923         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61924         now a wrapper around __call_sync_file_range with cancellation handling.
61925         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61926         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61927         function name to __call_sync_file_range.
61928         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61929         Add call_sync_file_range.
61931 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61934         bits/timex.h.
61936 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61938         * iconv/iconv.h: Fix typo in comment.
61939         * io/fcntl.h: Likewise.
61940         * libio/stdio.h: Likewise.
61941         * posix/spawn.h: Likewise.
61942         * posix/unistd.h: Likewise.
61943         * stdlib/stdlib.h: Likewise.
61944         * time/time.h: Likewise.
61945         * wcsmbs/wchar.h: Likewise.
61947         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61948         open_by_handle): Add.
61949         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61950         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61951         Augment a few comments.
61952         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61954         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61956         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61957         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61958         open_by_handle.
61960         * io/fcntl.h (AT_EMPTY_PATH): Define.
61962 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61964         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61965         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61966         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61967         to...
61968         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61969         * Versions.def: Add GLIBC_2.14.
61970         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61971         Export.
61973 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61975         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61976         round counter.
61977         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61979 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61981         [BZ #12597]
61982         * string/test-strncmp.c (do_page_test): New function.
61983         (check2): Likewise.
61984         (test_main): Call check2.
61985         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61987 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61989         [BZ #12587]
61990         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61991         Handle cache information in CPU leaf 4.
61992         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61994 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61996         [BZ #12583]
61997         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61998         character representation.
61999         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62001 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62003         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62004         END(__isnan) to END(__isnanf) to match function entry point/label
62005         EALIGN(__isnanf,...).
62007 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62009         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62011 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62013         [BZ #12510]
62014         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62015         copy from the symbol referenced in the relocation to initialize the
62016         used variable.
62017         Patch by Piotr Bury <pbury@goahead.com>.
62018         * elf/Makefile: Add rules to build and tst-unique3.
62019         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62020         * elf/tst-unique3.cc: New file.
62021         * elf/tst-unique3.h: New file.
62022         * elf/tst-unique3lib.cc: New file.
62023         * elf/tst-unique3lib2.cc: New file.
62025         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62027 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62029         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62030         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62031         to _start.
62033 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62035         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62036         to-be-loaded object along a path to loader is ld.so.
62038 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62039             Ulrich Drepper  <drepper@gmail.com>
62041         * sysdeps/x86_64/memset.S: After aligning destination, code
62042         branches to different locations depending on the value of
62043         misalignment, when multiarch is enabled. Fix this.
62045 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62047         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62048         Set _x86_64_preferred_memory_instruction for AMD processsors.
62049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62050         Set bit_Prefer_SSE_for_memop for AMD processors.
62052 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62054         * libio/fmemopen.c (fmemopen): Optimize a bit.
62056 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62058         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62060 2011-03-03  Roland McGrath  <roland@redhat.com>
62062         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62064 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62066         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62067         __bzero_ultra1 instead of __memset_ultra1.
62069 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62070             Ulrich Drepper  <drepper@gmail.com>
62072         [BZ #12509]
62073         * include/link.h (struct link_map): Add l_orig_initfini.
62074         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62075         returning unsuccessfully.
62076         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62077         close of a file loaded at startup, restore the original l_initfini
62078         list.
62079         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62080         list, store the pointer.
62081         * elf/Makefile ($(objpfx)noload-mem): New rule.
62082         (noload-ENV): Define.
62083         (tests): Add $(objpfx)noload-mem.
62084         * elf/noload.c: Include <memcheck.h>.
62085         (main): Call mtrace.  Close all opened handles.
62087 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62089         [BZ #12454]
62090         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62091         dependencies are missing.
62093 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62095         Fix __if_freereq crash: Unlike the generic version which uses free,
62096         Hurd needs munmap.
62097         * sysdeps/mach/hurd/ifreq.h: New file.
62099 2011-01-27  Petr Baudis  <pasky@suse.cz>
62100             Ulrich Drepper  <drepper@gmail.com>
62102         [BZ 12445]#
62103         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62104         to extend_alloca().
62105         * stdio-common/bug23.c: New file.
62106         * stdio-common/Makefile (tests): Add bug23.
62108 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62109             Ulrich Drepper  <drepper@gmail.com>
62111         [BZ #12489]
62112         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62113         before performing relro protection.  At old place add assertion
62114         to make sure nothing changed.
62116 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62117             Glauber de Oliveira Costa  <glommer@gmail.com>
62119         * elf/elf.h: Add new ARM TLS relocs.
62121 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62124         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62125         cast from r3.
62126         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62127         'tests' variable.
62128         * sysdeps/wordsize-64/tst-writev.c: New file.
62130 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62132         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62133         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62134         insns in _dl_start to prevent a TOC reference before relocs are
62135         resolved.
62137 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62139         [BZ #12469]
62140         * Makeconfig: Remove RANLIB definition.
62141         * Makerules: Don't use RANLIB.
62142         * aclocal.m4: Remove ranlib test.
62143         * configure.in: No need to check for ranlib.
62144         * elf/rtld-Rules: Don't use RANLIB.
62146 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62148         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62149         protection macro.
62150         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62151         inclusion protection macro.
62153         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62154         SIGRTMIN and SIGRTMAX and print information in that case only when
62155         SIGRTMIN is defined.
62157 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62159         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62160         arginfo fn returning -1.
62162         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62163         and thousands string is zero terminated.
62165 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62168         sysdeps/unix/sysv/linux/bits/socket.h.
62170 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62172         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62173         (__CPU_COUNT): Remove old macros.
62174         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62175         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62176         (__CPU_ALLOC, __CPU_FREE): Add macros.
62177         (__sched_cpualloc, __sched_cpufree): Add declarations.
62179 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62181         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62182         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62183         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62184         (readdhstai): Return value of addhstaiX call.
62185         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62186         (addgrbyX): Return value returned by cache_addgr.
62187         (readdgrbyname): Return value returned by addgrbyX.
62188         (readdgrbygid): Likewise.
62189         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62190         (addpwbyX): Return value returned by cache_addpw.
62191         (readdpwbyname): Return value returned by addhstbyX.
62192         (readdpwbyuid): Likewise.
62193         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62194         (addservbyX): Return value returned by cache_addserv.
62195         (readdservbyname): Return value returned by addservbyX:
62196         (readdservbyport): Likewise.
62197         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62198         (addhstbyX): Return value returned by cache_addhst.
62199         (readdhstbyname): Return value returned by addhstbyX.
62200         (readdhstbyaddr): Likewise.
62201         (readdhstbynamev6): Likewise.
62202         (readdhstbyaddrv6): Likewise.
62203         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62204         (readdinitgroups): Return value returned by addinitgroupsX.
62205         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62206         (prune_cache): Keep track of timeout value of re-added entries.
62207         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62208         * nscd/nscd.h: Adjust prototypes of readd* functions.
62210 2011-02-04  Roland McGrath  <roland@redhat.com>
62212         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62213         (nis_stats): Likewise.
62214         * nis/nis_modify.c (nis_modify): Likewise.
62215         * nis/nis_remove.c (nis_remove): Likewise.
62216         * nis/nis_add.c (nis_add): Likewise.
62218         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62220         * posix/fnmatch_loop.c: Add some consts.
62222         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62224 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62226         [BZ #12460]
62227         * config.make.in (config-cflags-novzeroupper): Define.
62228         * configure.in: Substitute libc_cv_cc_novzeroupper.
62229         * elf/Makefile (AVX-CFLAGS): Define.
62230         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62231         (CFLAGS-tst-auditmod4a.c): Likewise.
62232         (CFLAGS-tst-auditmod4b.c): Likewise.
62233         (CFLAGS-tst-auditmod6b.c): Likewise.
62234         (CFLAGS-tst-auditmod6c.c): Likewise.
62235         (CFLAGS-tst-auditmod7b.c): Likewise.
62236         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62238 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62240         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62241         function to the callback.
62242         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62244 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62246         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62247         of errno.
62249 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62251         [BZ #11724]
62252         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62253         of constructors.
62254         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62255         of destructors.
62256         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62258         [BZ #11724]
62259         * elf/Makefile: Add rules to build and run new test.
62260         * elf/tst-initorder.c: New file.
62261         * elf/tst-initorder.exp: New file.
62262         * elf/tst-initordera1.c: New file.
62263         * elf/tst-initordera2.c: New file.
62264         * elf/tst-initordera3.c: New file.
62265         * elf/tst-initordera4.c: New file.
62266         * elf/tst-initorderb1.c: New file.
62267         * elf/tst-initorderb2.c: New file.
62268         * elf/tst-order-a1.c: New file.
62269         * elf/tst-order-a2.c: New file.
62270         * elf/tst-order-a3.c: New file.
62271         * elf/tst-order-a4.c: New file.
62272         * elf/tst-order-b1.c: New file.
62273         * elf/tst-order-b2.c: New file.
62274         * elf/tst-order-main.c: New file.
62275         New test case by George Gensure <werkt0@gmail.com>.
62277 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62279         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62280         decoding ACE if AI_CANONIDN.
62282 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62284         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62286 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62288         * version.h (RELEASE): Bump for 2.13 release.
62289         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62291         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62293         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62294         MADV_NOHUGEPAGE.
62295         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62296         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62297         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62298         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62299         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62300         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62302         * posix/getconf.c: Update copyright year.
62303         * catgets/gencat.c: Likewise.
62304         * csu/version.c: Likewise.
62305         * debug/catchsegv.sh: Likewise.
62306         * debug/xtrace.sh: Likewise.
62307         * elf/ldconfig.c: Likewise.
62308         * elf/ldd.bash.in: Likewise.
62309         * elf/sprof.c (print_version): Likewise.
62310         * iconv/iconv_prog.c: Likewise.
62311         * iconv/iconvconfig.c: Likewise.
62312         * locale/programs/locale.c: Likewise.
62313         * locale/programs/localedef.c: Likewise.
62314         * malloc/memusage.sh: Likewise.
62315         * malloc/mtrace.pl: Likewise.
62316         * nscd/nscd.c (print_version): Likewise.
62317         * nss/getent.c: Likewise.
62319         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62320         PF_CAIF, and PF_ALG.
62321         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62323 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62325         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62326         (modules-names): Use them.
62327         (ifunc-test-modules, ifunc-pie-tests): Define.
62328         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62329         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62330         (test-extras): Likewise.
62331         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62332         $(compile-command.c).
62333         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62334         (all-built-dso): Define.
62335         (check-textrel.out, check-execstack.out): Depend on it.
62337         * configure.in: Don't override --enable-multi-arch.
62339 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62341         [BZ #6812]
62342         * nscd/hstcache.c (tryagain): Define.
62343         (cache_addhst): Return tryagain not notfound for temporary errors.
62344         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62345         failed.
62347 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62349         [BZ #10563]
62350         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62351         to make the syscall.
62352         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62354         [BZ #12378]
62355         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62356         and fall back to matching as normal character if the string ends before
62357         the matching ']' is found.  This is what POSIX requires.
62358         * posix/testfnm.c: Adjust test result.
62359         * posix/globtest.sh: Adjust test result.  Add new test.
62360         * posix/tst-fnmatch.input: Likewise.
62361         * posix/tst-fnmatch2.c: Add new test.
62363 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62365         * elf/Makefile (check-execstack): Revert last change.  Depend on
62366         check-execstack.h.
62367         (check-execstack.h): New target.
62368         (generated): Add check-execstack.h.
62369         * elf/check-execstack.c: Include "check-execstack.h".
62370         (main): Revert last change.
62371         (handle_file): Return zero if GNU_STACK is absent and
62372         DEFAULT_STACK_PERMS doesn't include PF_X.
62374 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62376         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62377         in child fails because the descriptor is already closed.
62378         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62379         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62380         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62382         [BZ #12397]
62383         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62384         syscall.
62386         [BZ #10484]
62387         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62388         temporary buffer used to handle multi lookups locally.
62389         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62391 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62393         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62394         loader is ld.so.
62396 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62398         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62399         alignment for SSE2.
62401 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62403         [BZ #12394]
62404         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62405         characters.  When rounding increased number of integer digits recompute
62406         number of groups.
62407         * stdio-common/tst-grouping.c: New file.
62408         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62410 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62412         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62413         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62415         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62416         void.
62417         * bits/select.h: Likewise.
62419 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62421         * po/ja.po: Update from translation team.
62423 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62425         [BZ #11155]
62426         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62427         implementation just like for lxstat, fxstatat, et al.
62429 2010-12-27  Jim Meyering  <meyering@redhat.com>
62431         [BZ #12348]
62432         * posix/regexec.c (build_trtable): Return failure indication upon
62433         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62435 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62437         [BZ #12201]
62438         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62439         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62440         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62441         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62443         [BZ #12207]
62444         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62446         [BZ #12204]
62447         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62448         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62450 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62452         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62453         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62454         script has SORT_BY_INIT_PRIORITY.
62455         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62456         NO_CTORS_DTORS_SECTIONS is defined.
62457         * elf/soinit.c: Likewise.
62458         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62459         NO_CTORS_DTORS_SECTIONS is defined.
62460         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62461         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62462         * sysdeps/sh/init-first.c: Likewise.
62463         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62465 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62467         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62468         always use the slow path.
62470 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62472         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62473         similar rule which adds the sysdep directories to the header search in
62474         order to pick up the correct platform stackinfo.h.
62475         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62476         perform test if it is, otherwise return successfully without testing.
62477         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62478         DEFAULT_STACK_PERMS define in stackinfo.h.
62479         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62480         defined in stackinfo.h.
62481         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62482         DEFAULT_STACK_PERMS defined in stackinfo.h.
62483         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62484         * sysdeps/ia64/stackinfo.h: Likewise.
62485         * sysdeps/s390/stackinfo.h: Likewise.
62486         * sysdeps/sh/stackinfo.h: Likewise.
62487         * sysdeps/sparc/stackinfo.h: Likewise.
62488         * sysdeps/x86_64/stackinfo.h: Likewise.
62489         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62490         PF_X for powerpc64.  Retain PF_X for powerpc32.
62492 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62494         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62495         accurately.
62496         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62497         GETDENTS_64BIT_ALIGNED.
62499 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62501         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62503 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62505         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62506         _GNU_SOURCE.
62508         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62509         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62510         Remove __restrict.
62511         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62512         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62514 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62516         [BZ #11655]
62517         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62518         are initialized.
62520 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62522         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62524 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62526         * po/it.po: Update from translation team.
62528 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62531         unused codes.
62533 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62535         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62537 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62539         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62540         specially.
62541         (gaih_getanswer_slice): Likewise.
62543 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62547 2010-05-31  Petr Baudis  <pasky@suse.cz>
62549         [BZ #11149]
62550         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62551         silently even in the chroot mode.
62553 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62555         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62556         last patch a bit.  Pretty printing
62558 2010-05-31  Petr Baudis <pasky@suse.cz>
62560         [BZ #10085]
62561         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62562         initialization of skip_initgroups_dyn.
62564 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62566         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62567         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62569 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62571         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62573 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62575         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62576         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62577         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62578         ($(objpfx)tst-fnmatch-mem): New rule.
62579         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62580         * posix/tst-fnmatch.c (main): Call mtrace.
62582 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62584         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62585         Support Intel processor model 6 and model 0x2c.
62587 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62589         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62590           signed comparison.
62592 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62594         [BZ #12205]
62595         * string/test-strncasecmp.c (check_result): New function.
62596         (do_one_test): Use it.
62597         (check1): New function.
62598         (test_main): Use it.
62599         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62600         Support strcasecmp and strncasecmp.
62602 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62604         [BZ #12194]
62605         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62606         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62608 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62610         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62611         IFUNC support.
62612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62613         memset-x86-64.
62614         * sysdeps/x86_64/multiarch/bzero.S: New file.
62615         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62616         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62617         * sysdeps/x86_64/multiarch/memset.S: New file.
62618         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62620         Set bit_Prefer_SSE_for_memop for Intel processors.
62621         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62622         Define.
62623         (index_Prefer_SSE_for_memop): Define.
62624         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62626 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62628         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62629         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62631 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62633         [BZ #12191]
62634         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62635         (__x86_64_raw_data_cache_size_half): Likewise.
62636         (__x86_64_raw_shared_cache_size): Likewise.
62637         (__x86_64_raw_shared_cache_size_half): Likewise.
62639         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62640         (__x86_64_raw_data_cache_size_half): Likewise.
62641         (__x86_64_raw_shared_cache_size): Likewise.
62642         (__x86_64_raw_shared_cache_size_half): Likewise.
62643         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62644         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62645         and __x86_64_raw_shared_cache_size_half.  Round
62646         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62647         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62648         to multiple of 256 bytes.
62650 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62652         [BZ #12167]
62653         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62654         of inacessible symlinks.  Verify result of symlink before returning it.
62655         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62656         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62658 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62660         * math/math.h (isinf): Fix typo in comment.
62662 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62664         * po/da.po: Update from translation team.
62666 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62668         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62669         is added to the list.
62671 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62672             Ulrich Drepper  <drepper@gmail.com>
62674         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62675         the global list here.  Move code to...
62676         (_dl_add_to_namespace_list): ...here.  New function.
62677         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62678         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62679         * elf/dl-load.c (lose): Don't remove the element from the list.
62680         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62681         (_dl_map_object): Likewise.
62683 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62685         [BZ #12159]
62686         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62687         into all bytes of SSE register.
62688         Patch by Richard Li <richardpku@gmail.com>.
62690 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62692         [BZ #12140]
62693         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62694         perturbing.
62696 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62698         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62699         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62700         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62701         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62703         submachine.
62704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62706 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62708         * include/dlfcn.h (__RTLD_SECURE): Define.
62709         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62710         mode & __RTLD_SECURE instead.
62711         (open_path): Rename preloaded parameter to secure.
62712         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62713         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62714         * elf/dl-deps.c (openaux): Likewise.
62715         * elf/rtld.c (struct map_args): Remove is_preloaded.
62716         (map_doit): Don't use it.
62717         (dl_main): Likewise.
62718         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62719         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62721 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62723         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62724         (sysd-rules-targets): Remove duplicates.
62725         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62726         rtld-%.$o dependency.
62728 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62730         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62731         _dl_map_object do it.
62733 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62735         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62736         fast fma builtins, define the macros in the C99 standard.
62737         (FP_FAST_FMAF): Likewise.
62738         (FP_FAST_FMAL): Likewise.
62739         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62741         * bits/mathdef.h: Update copyright year.
62742         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62744 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62746         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62747         builtins, define the macros in the C99 standard.
62748         (FP_FAST_FMAF): Likewise.
62749         (FP_FAST_FMAL): Likewise.
62750         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62751         multiply/add.
62752         (FP_FAST_FMAF): Likewise.
62754 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62756         [BZ #3268]
62757         * math/libm-test.inc (fma_test): Some new testcases.
62758         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62759         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62760         y and infinite z.  Do multiplication by C already in long double.
62761         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62763         y and infinite z.  Do bitwise or of inexact bit into u.d.
62764         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62765         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62766         * sysdeps/i386/fpu/s_fma.S: Removed.
62767         * sysdeps/i386/fpu/s_fmal.S: Removed.
62769 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62771         [BZ #3268]
62772         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62774         computation is not scheduled after fetestexcept.  Fix value
62775         of minimum denormal long double.
62777 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62779         [BZ #3268]
62780         * math/libm-test.inc (fma_test): Add some more tests.
62781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62782         correctly.
62784 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62786         * scripts/data/localplt-s390-linux-gnu.data: New file.
62787         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62789 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62791         [BZ #3268]
62792         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62793         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62794         instead of dbl-64.
62795         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62796         inlines.
62797         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62799         if one of x and y is very large and the other is subnormal.
62800         * sysdeps/s390/fpu/s_fmaf.c: New file.
62801         * sysdeps/s390/fpu/s_fma.c: New file.
62802         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62803         * sysdeps/powerpc/fpu/s_fma.S: New file.
62804         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62805         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62806         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62808 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62810         [BZ #3268]
62811         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62812         fma tests.
62813         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62814         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62815         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62816         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62817         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62818         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62819         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62821 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62823         [BZ #12078]
62824         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62825         * posix/bug-regex31.input: Add test case.
62827 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62829         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62830         * posix/bug-regex31.input: New file.
62832         [BZ #12078]
62833         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62834         (parse_sub_exp): Fix last change, use postorder.
62836         * posix/bug-regex31.c: New file.
62837         * posix/Makefile: Add rules to build and run bug-regex31.
62839         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62841         [BZ #12078]
62842         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62844         [BZ #12108]
62845         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62846         to have entries in sys_siglist.
62848         [BZ #12093]
62849         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62850         be NULL.
62852 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62854         [BZ #3268]
62855         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62856         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62857         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62858         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62859         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62860         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62861         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62862         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62863         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62864         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62865         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62866         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62867         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62868         * math/ftestexcept.c (fetestexcept): Likewise.
62869         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62870         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62871         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62872         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62873         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62874         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62875         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62877 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62879         [BZ #12107]
62880         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62881         newline.
62883 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62885         * string/bug-strstr1.c: New file.
62886         * string/Makefile: Add rules to build and run bug-strstr1.
62888 2010-10-05  Eric Blake  <eblake@redhat.com>
62890         [BZ #12092]
62891         * string/str-two-way.h (two_way_long_needle): Always clear memory
62892         when skipping input due to the shift table.
62894 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62896         [BZ #12005]
62897         * malloc/mcheck.c: Handle large requests.
62899         [BZ #12077]
62900         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62901         for strncmp and strncasecmp.
62902         * string/stratcliff.c: Add tests for strcmp and strncmp.
62903         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62905 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62907         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62908         __set_fpscr.
62910 2010-09-30  Andreas Jaeger  <aj@suse.de>
62912         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62913         (CGROUP_SUPER_MAGIC): Define.
62914         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62915         Handle btrfs and cgroup file systems.
62916         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62917         Likewise.
62919 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62921         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62922         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62924 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62926         [BZ #12067]
62927         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62928         trying to locate the ELF header.
62930 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62932         [BZ #11611]
62933         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62934         Mask out sign-bit copies when constructing f_fsid.
62936 2010-09-24  Petr Baudis <pasky@suse.cz>
62938         * debug/stack_chk_fail_local.c: Add missing licence exception.
62939         * debug/warning-nop.c: Likewise.
62941 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62943         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62944         implementing getdents64 using getdents syscall, set d_type if
62945         __ASSUME_GETDENTS32_D_TYPE.
62947 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62949         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62950         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62952 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62954         [BZ #12037]
62955         * posix/unistd.h: Undo change of feature selection for ftruncate from
62956         2010-01-11.
62958 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62960         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62961         detection.
62963 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62965         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62966         fanotify_mark.
62967         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62969 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62971         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62972         variables after CHECK_SP call.
62973         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62975 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62976             Ulrich Drepper  <drepper@redhat.com>
62978         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62979         re-relocationg ld.so.
62980         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62981         _dl_init_paths call.
62982         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62983         here anymore.
62985 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62987         * resolv/res_init.c (__res_vinit): Count the default server we added.
62989 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62990             Ulrich Drepper  <drepper@redhat.com>
62992         [BZ #11968]
62993         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62994         (____longjmp_chk): Use %ebx for saving value across system call.
62995         Add unwind info.
62997 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62999         * manual/Makefile: Don't mix pattern rules with normal rules.
63001 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63003         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63004         operation.
63005         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63006         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63007         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63008         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63009         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63010         Likewise.
63012 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63014         [BZ #11979]
63015         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63016         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63018 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63020         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63021         * sysdeps/x86_64/addmul_1.S: Likewise.
63022         * sysdeps/x86_64/lshift.S: Likewise.
63023         * sysdeps/x86_64/mul_1.S: Likewise.
63024         * sysdeps/x86_64/rshift.S: Likewise.
63025         * sysdeps/x86_64/sub_n.S: Likewise.
63026         * sysdeps/x86_64/submul_1.S: Likewise.
63028 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63030         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63031         Define __sched_param instead of SCHED_* and sched_param when
63032         <bits/sched.h> is included with __need_schedparam defined.
63033         * bits/sched.h [__need_schedparam]
63034         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63035         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63036         (__defined_schedparam): Define to 1.
63037         (__sched_param): New structure, identical to sched_param.
63038         (__need_schedparam): Undefine.
63040 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63042         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63043         (epoll_create1): Declare.
63045         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63047 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63049         [BZ #7066]
63050         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63051         shifting retval into place.
63053 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63055         * nis/rpcsvc/nis.h: Update copyright notice.
63056         * nis/rpcsvc/nis.x: Likewise.
63057         * nis/rpcsvc/nis_callback.h: Likewise.
63058         * nis/rpcsvc/nis_callback.x: Likewise.
63059         * nis/rpcsvc/nis_object.x: Likewise.
63060         * nis/rpcsvc/nis_tags.h: Likewise.
63061         * nis/rpcsvc/yp.h: Likewise.
63062         * nis/rpcsvc/yp.x: Likewise.
63063         * nis/rpcsvc/ypupd.h: Likewise.
63064         * nis/yp_xdr.c: Likewise.
63065         * nis/ypupdate_xdr.c: Likewise.
63067         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63068         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63069         (pmap_getport): Use __libc_rpc_getport.
63070         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63071         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63072         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63074 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63077         fanotify_mark.
63079 2010-08-27  Roland McGrath  <roland@redhat.com>
63081         * sysdeps/i386/i686/multiarch/Makefile
63082         (CFLAGS-varshift.c): New variable.
63084 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63086         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63087         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63089         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63091         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63093 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63095         * sysdeps/x86_64/strlen.S: Unroll the loop.
63096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63097         strlen-sse2 strlen-sse2-bsf.
63098         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63099         __strlen_no_bsf if bit_Slow_BSF is set.
63100         (__strlen_sse42): Removed.
63101         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63102         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63104 2010-08-25  Roland McGrath  <roland@redhat.com>
63106         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63107         * sysdeps/x86_64/multiarch/varshift.c: New file.
63108         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63109         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63110         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63111         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63113 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63116         strlen-sse2 strlen-sse2-bsf.
63117         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63118         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63119         (__strlen_sse2): Removed.
63120         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63121         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63123         bit_Slow_BSF for Atom.
63124         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63125         (index_Slow_BSF): Define.
63126         (HAS_SLOW_BSF): Define.
63128 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63130         [BZ #10851]
63131         * resolv/res_init.c (__res_vinit): When no server address at all
63132         is given default to loopback.
63134 2010-08-24  Roland McGrath  <roland@redhat.com>
63136         * configure.in: Remove config-name.h generation.
63137         * configure: Regenerated.
63138         * config-name.in: File removed.
63139         * scripts/config-uname.sh: New file.
63140         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63141         ($(objdir)config-name.h): New target.
63143         * sunrpc/rpc_parse.h: Avoid nested comment.
63145 2010-08-24  Richard Henderson  <rth@redhat.com>
63146             Ulrich Drepper  <drepper@redhat.com>
63147             H.J. Lu  <hongjiu.lu@intel.com>
63149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63151         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63152         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63153         _mm_alignr_epi8 with _mm_loadu_si128.
63154         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63155         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63156         (__m128i_shift_right): Removed.
63157         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63158         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63159         * sysdeps/x86_64/multiarch/varshift.h: New file.
63160         * sysdeps/x86_64/multiarch/varshift.S: New file.
63162 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63164         * configure.in: Move assembler checks to before sysdep dir checking.
63166 2010-08-20  Petr Baudis  <pasky@suse.cz>
63168         * LICENSES: Sync the sunrpc license.
63170 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63172         * sunrpc/auth_des.c: Update copyright notice once again.
63173         * sunrpc/auth_none.c: Likewise.
63174         * sunrpc/auth_unix.c: Likewise.
63175         * sunrpc/authdes_prot.c: Likewise.
63176         * sunrpc/authuxprot.c: Likewise.
63177         * sunrpc/bindrsvprt.c: Likewise.
63178         * sunrpc/clnt_gen.c: Likewise.
63179         * sunrpc/clnt_perr.c: Likewise.
63180         * sunrpc/clnt_raw.c: Likewise.
63181         * sunrpc/clnt_simp.c: Likewise.
63182         * sunrpc/clnt_tcp.c: Likewise.
63183         * sunrpc/clnt_udp.c: Likewise.
63184         * sunrpc/clnt_unix.c: Likewise.
63185         * sunrpc/des_crypt.c: Likewise.
63186         * sunrpc/des_soft.c: Likewise.
63187         * sunrpc/get_myaddr.c: Likewise.
63188         * sunrpc/getrpcport.c: Likewise.
63189         * sunrpc/key_call.c: Likewise.
63190         * sunrpc/key_prot.c: Likewise.
63191         * sunrpc/openchild.c: Likewise.
63192         * sunrpc/pm_getmaps.c: Likewise.
63193         * sunrpc/pm_getport.c: Likewise.
63194         * sunrpc/pmap_clnt.c: Likewise.
63195         * sunrpc/pmap_prot.c: Likewise.
63196         * sunrpc/pmap_prot2.c: Likewise.
63197         * sunrpc/pmap_rmt.c: Likewise.
63198         * sunrpc/rpc/auth.h: Likewise.
63199         * sunrpc/rpc/auth_unix.h: Likewise.
63200         * sunrpc/rpc/clnt.h: Likewise.
63201         * sunrpc/rpc/des_crypt.h: Likewise.
63202         * sunrpc/rpc/key_prot.h: Likewise.
63203         * sunrpc/rpc/netdb.h: Likewise.
63204         * sunrpc/rpc/pmap_clnt.h: Likewise.
63205         * sunrpc/rpc/pmap_prot.h: Likewise.
63206         * sunrpc/rpc/pmap_rmt.h: Likewise.
63207         * sunrpc/rpc/rpc.h: Likewise.
63208         * sunrpc/rpc/rpc_des.h: Likewise.
63209         * sunrpc/rpc/rpc_msg.h: Likewise.
63210         * sunrpc/rpc/svc.h: Likewise.
63211         * sunrpc/rpc/svc_auth.h: Likewise.
63212         * sunrpc/rpc/types.h: Likewise.
63213         * sunrpc/rpc/xdr.h: Likewise.
63214         * sunrpc/rpc_clntout.c: Likewise.
63215         * sunrpc/rpc_cmsg.c: Likewise.
63216         * sunrpc/rpc_common.c: Likewise.
63217         * sunrpc/rpc_cout.c: Likewise.
63218         * sunrpc/rpc_dtable.c: Likewise.
63219         * sunrpc/rpc_hout.c: Likewise.
63220         * sunrpc/rpc_main.c: Likewise.
63221         * sunrpc/rpc_parse.c: Likewise.
63222         * sunrpc/rpc_parse.h: Likewise.
63223         * sunrpc/rpc_prot.c: Likewise.
63224         * sunrpc/rpc_sample.c: Likewise.
63225         * sunrpc/rpc_scan.c: Likewise.
63226         * sunrpc/rpc_scan.h: Likewise.
63227         * sunrpc/rpc_svcout.c: Likewise.
63228         * sunrpc/rpc_tblout.c: Likewise.
63229         * sunrpc/rpc_util.c: Likewise.
63230         * sunrpc/rpc_util.h: Likewise.
63231         * sunrpc/rpcinfo.c: Likewise.
63232         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63233         * sunrpc/rpcsvc/key_prot.x: Likewise.
63234         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63235         * sunrpc/rpcsvc/mount.x: Likewise.
63236         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63237         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63238         * sunrpc/rpcsvc/rex.x: Likewise.
63239         * sunrpc/rpcsvc/rstat.x: Likewise.
63240         * sunrpc/rpcsvc/rusers.x: Likewise.
63241         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63242         * sunrpc/rpcsvc/spray.x: Likewise.
63243         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63244         * sunrpc/rtime.c: Likewise.
63245         * sunrpc/svc.c: Likewise.
63246         * sunrpc/svc_auth.c: Likewise.
63247         * sunrpc/svc_authux.c: Likewise.
63248         * sunrpc/svc_raw.c: Likewise.
63249         * sunrpc/svc_run.c: Likewise.
63250         * sunrpc/svc_simple.c: Likewise.
63251         * sunrpc/svc_tcp.c: Likewise.
63252         * sunrpc/svc_udp.c: Likewise.
63253         * sunrpc/svc_unix.c: Likewise.
63254         * sunrpc/svcauth_des.c: Likewise.
63255         * sunrpc/xcrypt.c: Likewise.
63256         * sunrpc/xdr.c: Likewise.
63257         * sunrpc/xdr_array.c: Likewise.
63258         * sunrpc/xdr_float.c: Likewise.
63259         * sunrpc/xdr_mem.c: Likewise.
63260         * sunrpc/xdr_rec.c: Likewise.
63261         * sunrpc/xdr_ref.c: Likewise.
63262         * sunrpc/xdr_sizeof.c: Likewise.
63263         * sunrpc/xdr_stdio.c: Likewise.
63265         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63266         handling.
63268 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63270         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63272 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63274         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63275         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63276         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63277         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63278         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63279         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63280         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63281         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63282         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63283         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63284         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63285         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63286         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63287         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63289 2010-07-26  Anton Blanchard  <anton@samba.org>
63291         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63292         * malloc/arena.c (heap_trim): Likewise.
63294 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63296         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63297         here.  Not...
63298         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63299         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63301 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63303         * sysdeps/i386/elf/Makefile: New file.
63305 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63307         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63308         from fanotify_init.
63309         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63312 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63314         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63315         of strncasecmp_l.
63316         * sysdeps/multiarch/strcmp.S: Likewise.
63318 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63320         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63321         strncase_l-nonascii.
63322         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63323         Add strncase_l-ssse3.
63324         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63325         * sysdeps/x86_64/strcmp.S: Likewise.
63326         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63327         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63328         * sysdeps/x86_64/strncase.S: New file.
63329         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63330         * sysdeps/x86_64/strncase_l.S: New file.
63331         * string/Makefile (strop-tests): Add strncasecmp.
63332         * string/test-strncasecmp.c: New file.
63334         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63335         warning.
63337         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63338         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63340 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63342         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63344 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63346         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63347         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63348         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63350 2010-05-01  Alan Modra  <amodra@gmail.com>
63352         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63353         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63354         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63355         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63356         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63357         tidying.  Don't tail-call __sigjmp_save for static lib.
63358         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63359         save location.
63360         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63361         (CALL_MCOUNT): Add eh info, and nop after bl.
63362         (TAIL_CALL_SYSCALL_ERROR): New macro.
63363         (PSEUDO_RET): Use it.
63364         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63365         Correct save location of integer regs and cr.
63366         (_dl_profile_resolve): Correct cr save location.  Delete nops
63367         after bl when SHARED.  Reduce cfi size a little by better
63368         placement of cfi directives.
63369         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63370         make a stack frame.  Instead use parm save area as a temp.
63371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63372         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63374         Don't make a stack frame for parent, use parm save area.
63375         Increase child stack frame to 112 bytes.  Don't save unused reg,
63376         and adjust reg usage.  Set up cfi on error recovery and
63377         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63379         (__makecontext): Add dummy nop after jump to exit.
63380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63381         Use correct parm save area and cr save, reduce stack frame.
63382         Correct cfi for possible PSEUDO_RET frame setup.
63383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63384         Branch to local label emitted by PSEUDO_RET rather than
63385         __syscall_error.
63387 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63389         [BZ #11904]
63390         * locale/programs/locale.c (print_assignment): New function.
63391         (show_locale_vars): Use it.
63393 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63395         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63396         field.
63397         (struct statfs64): Likewise.
63398         (_STATFS_F_FLAGS): Define.
63399         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63400         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63401         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63402         (ST_VALID): Define locally.
63403         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63404         __statvfs_getflags, use the provided value.
63405         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63406         __ASSUME_STATFS_F_FLAGS.
63408         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63410         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63411         Add sys/fanotify.h.
63412         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63413         fanotify_mask for GLIBC_2.13.
63414         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63415         fanotify_init and fanotify_mark.
63416         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63417         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63419         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63420         Add prlimit.
63421         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63422         prlimit64 for GLIBC_2.13.
63423         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63424         prlimit64.
63425         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63426         syscall.
63427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63428         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63429         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63430         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63432         add prlimit alias.
63433         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63435         [BZ #11903]
63436         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63437         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63439         * nss/Makefile: Add rules to build and run tst-nss-test1.
63440         * shlib-versions: Add entry for libnss_test1.
63441         * nss/nss_test1.c: New file.
63442         * nss/tst-nss-test1.c: New file.
63444         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63445         (__nss_configure_lookup): Set appropriate entry in
63446         __nss_configure_lookup to true.
63447         * nss/nsswitch.h: Define enum with indeces of databases in
63448         databases and __nss_database_custom arrays.  Declare
63449         __nss_database_custom.
63450         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63451         to avoid using nscd when custom rules are installed.
63452         * nss/getXXbyYY_r.c: Likewise.
63453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63455         * nss/nss_files/files-parse.c: Whitespace fixes.
63457 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63459         [BZ #11883]
63460         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63461         * posix/fnmatch_loop.c: Likewise.
63463 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63465         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63466         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63467         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63468         * Versions.def [GLIBC_2.13]: Add.
63470 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63472         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63473         Also fail if tpwd after pwuid call is NULL.
63475 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63477         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63478         when converting to ms.
63480 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63482         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63483         EOPNOTSUPP errors with ENOTTY.
63484         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63485         EOPNOTSUPP errors with ENOTTY.
63487 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63489         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63490         Add strcasecmp_l-ssse3.
63491         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63492         strcasecmp.
63493         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63494         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63495         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63497 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63499         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63501         * string/Makefile (strop-tests): Add strcasecmp.
63502         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63503         strcasecmp_l-nonascii.
63504         (gen-as-const-headers): Add locale-defines.sym.
63505         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63506         * sysdeps/x86_64/strcasecmp.S: New file.
63507         * sysdeps/x86_64/strcasecmp_l.S: New file.
63508         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63509         * sysdeps/x86_64/locale-defines.sym: New file.
63510         * string/test-strcasecmp.c: New file.
63512         * string/test-strcasestr.c: Test both ends of the range of characters.
63513         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63515 2010-07-29  Roland McGrath  <roland@redhat.com>
63517         [BZ #11856]
63518         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63520 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63522         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63523         for ld.so.
63525 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63527         * manual/memory.texi (Malloc Tunable Parameters): Document
63528         M_PERTURB.
63530 2010-07-26  Roland McGrath  <roland@redhat.com>
63532         [BZ #11840]
63533         * configure.in (-fgnu89-inline check): Set and substitute
63534         gnu89_inline, not libc_cv_gnu89_inline.
63535         * configure: Regenerated.
63536         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63538 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63540         * string/test-strnlen.c: New file.
63541         * string/Makefile (strop-tests): Add strnlen.
63542         * string/tester.c (test_strnlen): Add a few more test cases.
63543         * string/tst-strlen.c: Better error reporting.
63545         * sysdeps/x86_64/strnlen.S: New file.
63547 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63549         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63550         lower-latency instructions.
63552 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63554         * string/test-strcasestr.c: New file.
63555         * string/test-strstr.c: New file.
63556         * string/Makefile (strop-tests): Add strstr and strcasestr.
63557         * string/str-two-way.h: Don't undefine MAX.
63558         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63560 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63563         strcasestr-nonascii.
63564         (CFLAGS-strcasestr-nonascii.c): Define.
63565         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63566         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63567         Remove unused attribute.
63569 2010-07-20  Roland McGrath  <roland@redhat.com>
63571         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63572         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63573         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63574         like LD_HWCAP_MASK can disable hwcaps.
63576 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63578         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63580 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63582         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63583         call in strcasestr.
63584         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63585         __strcasestr_sse42_nonascii.
63586         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63587         strcasestr-nonascii.c.
63588         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63590 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63592         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63593         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63594         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63595         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63597 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63599         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63600         fcntl.
63602 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63604         [BZ #11577]
63605         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63606         dl_signal_cerror.
63608 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63611         _PC_PIPE_BUF using F_GETPIPE_SZ.
63613 2010-07-05  Roland McGrath  <roland@redhat.com>
63615         * manual/arith.texi (Rounding Functions): Fix rint description
63616         implicit in round description.
63618 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63620         * elf/Makefile: Fix linking for a few tests to make recent linker
63621         happy.
63623 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63625         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63626         $(common-objpfx)libc_nonshared.a.
63628 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63630         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63631         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63632         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63633         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63634         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63635         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63636         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63637         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63652         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63653         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63654         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63655         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63656         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63657         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63658         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63659         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63660         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63661         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63662         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63663         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63679 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63681         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63682         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63683         * string/memmove.c (memmove): Renamed to ...
63684         (MEMMOVE): ...this.  Default to memmove.
63685         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63686         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63687         (END_CHK): Define.
63688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63689         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63690         mempcpy-ssse3-back memmove-ssse3-back.
63691         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63692         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63693         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63694         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63695         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63696         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63697         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63698         * sysdeps/x86_64/multiarch/memmove.c: New file.
63699         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63700         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63701         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63702         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63703         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63704         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63705         Define.
63706         (index_Fast_Copy_Backward): Define.
63707         (HAS_ARCH_FEATURE): Define.
63708         (HAS_FAST_REP_STRING): Define.
63709         (HAS_FAST_COPY_BACKWARD): Define.
63711 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63713         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63714         Restore proper fallback handling.
63716 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63718         [BZ #11701]
63719         * posix/group_member.c (__group_member): Correct checking loop.
63721         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63722         OOM in getpwuid_r correctly.  Return error number when the caller
63723         should return, otherwise -1.
63724         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63725         call returning > 0 value.
63726         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63728 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63730         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63731         libc_nonshared.a from targets in modules-names.
63733 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63735         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63736         requires it.
63738 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63740         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63741         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63742         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63745 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63747         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63749 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63751         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63752         and F_GETPIPE_SZ.
63753         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63754         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63755         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63756         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63757         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63758         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63760 2010-06-14  Roland McGrath  <roland@redhat.com>
63762         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63764 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63766         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63767         __REDIRECT followed by __THROW.
63768         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63769         * posix/getopt.h (getopt): Likewise.
63771 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63773         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63774         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63775         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63776         in AT_FLAGS.
63777         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63778         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63780 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63782         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63784 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63786         [BZ #11640]
63787         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63788         Properly check family and model.
63790 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63792         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63794 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63796         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63798 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63800         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63801         symbol reference.
63803 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63805         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63806         symbol reference.
63808 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63810         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63811         and internal_recvmmsg.
63812         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63813         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63814         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63815         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63817         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63818         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63819         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63821 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63823         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63825 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63827         POWER7 optimizations.
63828         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63829         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63831 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63833         * version.h: Update for 2.13 development version.
63835 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63837         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63838         exceptions.  Return 0.
63840 2010-05-07  Roland McGrath  <roland@redhat.com>
63842         * elf/ldconfig.c (main): Add a const.
63844 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63846         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63847         (args_options): Add no-idn option.
63848         (ahosts_keys_int): Add idn_flags to ai_flags.
63849         (parse_option): Handle 'i' option to clear idn_flags.
63851         * malloc/malloc.c (_int_free): Possible race in the most recently
63852         added check.  Only act on the data if no current modification
63853         happened.
63855 See ChangeLog.17 for earlier changes.